![]() |
Sayonara Player
|
Public Types | |
| enum | Mode { Dir =0, File } |
| enum | Entry { EntryNone =0, EntryInfo =(1<<0), EntryEdit =(1<<1), EntryLyrics =(1<<2), EntryRemove =(1<<3), EntryDelete =(1<<4), EntryPlayNext =(1<<5), EntryAppend =(1<<6), EntryRefresh =(1<<7), EntryClear =(1<<8), EntryRating =(1<<9), EntryClearSelection =(1<<10), EntryCoverView =(1<<11), EntryPlay =(1<<12), EntryPlayNewTab =(1<<13), EntryLast =(1<<14) } |
| This enum indicates which entries should be visible. | |
Public Member Functions | |
| DirectoryContextMenu (Mode mode, QWidget *parent) | |
| void | set_create_dir_visible (bool b) |
| void | set_rename_visible (bool b) |
| void | set_collapse_all_visibled (bool b) |
| virtual LibraryContexMenuEntries | get_entries () const |
| get all visible entries More... | |
| virtual void | show_actions (LibraryContexMenuEntries entries) |
| show a specific amount of Entries More... | |
| virtual void | show_action (Entry entry, bool visible) |
| show/hide a specific Entry More... | |
| virtual void | show_all () |
| show all possible entries | |
| void | set_rating (int rating) |
| set rating for the rating entry More... | |
| QAction * | get_action (Entry entry) const |
| QAction * | add_preference_action (PreferenceAction *action) |
| virtual void | showEvent (QShowEvent *e) override |
Protected Member Functions | |
| void | language_changed () override |
| void | skin_changed () override |
| QAction * | init_rating_action (int rating) |
Protected Attributes | |
| Settings * | _settings =nullptr |
|
virtualinherited |
get all visible entries
|
inherited |
set rating for the rating entry
| rating | from 0 to 5 |
|
virtualinherited |
show/hide a specific Entry
| The | entry of interest |
| visible |
|
virtualinherited |
show a specific amount of Entries
| entries | bitwise combination of Entry |
1.8.14