The DirectoryContextMenu class.
More...
#include <DirectoryContextMenu.h>
|
enum | Mode {
Dir =0,
File
} |
|
enum | Entry {
EntryCreateDir = Library::ContextMenu::EntryLast,
EntryRename = Library::ContextMenu::EntryLast << 1,
EntryRenameByTag = Library::ContextMenu::EntryLast << 2,
EntryCollapseAll = Library::ContextMenu::EntryLast << 3,
EntryMoveToLib = Library::ContextMenu::EntryLast << 4,
EntryCopyToLib = Library::ContextMenu::EntryLast << 5,
EntryViewInFM = Library::ContextMenu::EntryLast << 6
} |
|
using | Entries = uint64_t |
|
|
void | sigCreateDirectoryClicked () |
|
void | sigRenameClicked () |
|
void | sigRenameByTagClicked () |
|
void | sigCollapseAllClicked () |
|
void | sigViewInFileManagerClicked () |
|
void | sigMoveToLibrary (LibraryId id) |
|
void | sigCopyToLibrary (LibraryId id) |
|
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 (Mode mode, QWidget *parent) |
|
void | refresh (int count=0) |
|
ContextMenu::Entries | entries () const override |
| get all visible entries More...
|
|
void | showActions (ContextMenu::Entries entries) override |
| show a specific amount of Entries More...
|
|
void | showDirectoryAction (ContextMenu::Entry entry, bool b) |
|
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 DirectoryContextMenu class.
◆ entries()
ContextMenu::Entries Directory::ContextMenu::entries |
( |
| ) |
const |
|
overridevirtual |
◆ showAction()
show/hide a specific Entry
- Parameters
-
The | entry of interest |
visible | |
Reimplemented in SC::ContextMenu.
◆ showActions()
void Directory::ContextMenu::showActions |
( |
ContextMenu::Entries |
entries | ) |
|
|
overridevirtual |
show a specific amount of Entries
- Parameters
-
entries | bitwise combination of Entry |
Reimplemented from Library::ContextMenu.