The PlaylistContextMenu class.
More...
#include <PlaylistContextMenu.h>
|
| enum | Entry {
EntryRating = (Library::ContextMenu::EntryLast << 1)
,
EntryBookmarks = (Library::ContextMenu::EntryLast << 2)
,
EntryCurrentTrack = (Library::ContextMenu::EntryLast << 3)
,
EntryFindInLibrary = (Library::ContextMenu::EntryLast << 4)
,
EntryReverse = (Library::ContextMenu::EntryLast << 5)
} |
| |
|
using | Entries = uint64_t |
| |
|
|
void | sigRatingChanged (Rating rating) |
| |
|
void | sigBookmarkPressed (Seconds timestamp) |
| |
|
void | sigJumpToCurrentTrack () |
| |
|
void | sigFindTrackTriggered () |
| |
|
void | sigReverseTriggered () |
| |
|
void | sigInfoClicked () |
| |
|
void | sigEditClicked () |
| |
|
void | sigLyricsClicked () |
| |
|
void | sigRemoveClicked () |
| |
|
void | sigDeleteClicked () |
| |
|
void | sigPlayClicked () |
| |
|
void | sigPlayNewTabClicked () |
| |
|
void | sigPlayNextClicked () |
| |
|
void | sigAppendClicked () |
| |
|
void | sigRefreshClicked () |
| |
|
void | sigClearClicked () |
| |
|
void | sigFilterTriggered (const QString &extension, bool b) |
| |
|
void | sigReloadClicked () |
| |
|
|
| ContextMenu (DynamicPlaybackChecker *dynamicPlaybackChecker, QWidget *parent) |
| |
| ContextMenu::Entries | entries () const override |
| | get all visible entries More...
|
| |
| void | showActions (ContextMenu::Entries entries) override |
| | show a specific amount of Entries More...
|
| |
|
ContextMenu::Entries | setTrack (const MetaData &track, bool isCurrentTrack) |
| |
|
void | clearTrack () |
| |
| virtual void | showAction (ContextMenu::Entry entry, bool visible) |
| | show/hide a specific Entry More...
|
| |
|
virtual void | showAll () |
| | show all possible entries
|
| |
|
QAction * | action (ContextMenu::Entry entry) const |
| |
|
QAction * | actionAfter (ContextMenu::Entry entry) const |
| |
|
QAction * | addPreferenceAction (Gui::PreferenceAction *action) |
| |
|
QAction * | beforePreferenceAction () const |
| |
|
void | setActionShortcut (ContextMenu::Entry entry, const QString &shortcut) |
| |
|
void | setExtensions (const Gui::ExtensionSet &extensions) |
| |
|
void | setSelectionCount (int selectionSount) |
| |
|
QKeySequence | shortcut (ContextMenu::Entry entry) const |
| |
|
virtual void | showEvent (QShowEvent *e) override |
| |
|
|
void | languageChanged () override |
| |
|
void | skinChanged () override |
| |
The PlaylistContextMenu class.
◆ entries()
| ContextMenu::Entries Playlist::ContextMenu::entries |
( |
| ) |
const |
|
overridevirtual |
◆ showAction()
show/hide a specific Entry
- Parameters
-
| The | entry of interest |
| visible | |
Reimplemented in SC::ContextMenu.
◆ showActions()
| void Playlist::ContextMenu::showActions |
( |
ContextMenu::Entries |
entries | ) |
|
|
overridevirtual |
show a specific amount of Entries
- Parameters
-
| entries | bitwise combination of Entry |
Reimplemented from Library::ContextMenu.