Context menu with some additional actions compared to Gui::LibraryContextMenu.
More...
#include <CoverViewContextMenu.h>
|
enum | Entry {
EntryShowUtils =(LibraryContextMenu::EntryLast << 1),
EntrySorting =(EntryShowUtils << 1),
EntryZoom =(EntrySorting << 1),
EntryShowArtist =(EntryZoom << 1)
} |
|
using | Entries = LibraryContextMenu::Entries |
|
|
void | sig_zoom_changed (int zoom) |
|
void | sig_sorting_changed (Library::SortOrder sortorder) |
|
void | sig_info_clicked () |
|
void | sig_edit_clicked () |
|
void | sig_lyrics_clicked () |
|
void | sig_remove_clicked () |
|
void | sig_delete_clicked () |
|
void | sig_play_clicked () |
|
void | sig_play_new_tab_clicked () |
|
void | sig_play_next_clicked () |
|
void | sig_append_clicked () |
|
void | sig_refresh_clicked () |
|
void | sig_clear_clicked () |
|
void | sig_filter_triggered (const QString &extension, bool b) |
|
void | sig_reload_clicked () |
|
|
| CoverViewContextMenu (QWidget *parent) |
|
CoverViewContextMenu::Entries | get_entries () const override |
| get all visible entries More...
|
|
void | show_actions (CoverViewContextMenu::Entries entries) override |
|
virtual void | show_actions (LibraryContextMenu::Entries entries) |
| show a specific amount of Entries More...
|
|
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 * | get_action_after (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) |
|
void | set_extensions (const ExtensionSet &extensions) |
|
void | set_selection_count (int num_selections) |
|
QKeySequence | shortcut (LibraryContextMenu::Entry entry) const |
|
|
void | showEvent (QShowEvent *e) override |
|
Context menu with some additional actions compared to Gui::LibraryContextMenu.
◆ get_entries()
CoverViewContextMenu::Entries Library::CoverViewContextMenu::get_entries |
( |
| ) |
const |
|
overridevirtual |
◆ show_action()
show/hide a specific Entry
- Parameters
-
The | entry of interest |
visible | |
◆ show_actions()
virtual void Gui::LibraryContextMenu::show_actions |
( |
LibraryContextMenu::Entries |
entries | ) |
|
|
virtualinherited |
show a specific amount of Entries
- Parameters
-
entries | bitwise combination of Entry |