![]() |
Sayonara Player
|
Public Types | |
| enum | Entry { EntryRating =(LibraryContextMenu::EntryLast << 1), EntryBookmarks =(EntryRating << 1) } |
| using | Entries = LibraryContextMenu::Entries |
Public Member Functions | |
| PlaylistContextMenu (QWidget *parent) | |
| PlaylistContextMenu::Entries | get_entries () const override |
| get all visible entries More... | |
| void | show_actions (PlaylistContextMenu::Entries entries) override |
| show a specific amount of Entries More... | |
| void | set_rating (Rating rating) |
| set rating for the rating entry More... | |
| void | set_metadata (const MetaData &md) |
| virtual void | show_action (LibraryContextMenu::Entry entry, bool visible) |
| show/hide a specific Entry More... | |
| virtual void | show_all () |
| show all possible entries | |
| QAction * | get_action (LibraryContextMenu::Entry entry) const |
| QAction * | add_preference_action (PreferenceAction *action) |
| QAction * | before_preference_action () const |
| void | set_action_shortcut (LibraryContextMenu::Entry entry, const QString &shortcut) |
| virtual void | showEvent (QShowEvent *e) override |
Protected Attributes | |
| Settings * | _settings =nullptr |
|
overridevirtual |
| void PlaylistContextMenu::set_rating | ( | Rating | rating | ) |
set rating for the rating entry
| rating | from 0 to 5 |
|
virtualinherited |
show/hide a specific Entry
| The | entry of interest |
| visible |
|
overridevirtual |
show a specific amount of Entries
| entries | bitwise combination of Entry |
Reimplemented from LibraryContextMenu.
1.8.14