The PlaylistContextMenu class.
More...
#include <PlaylistContextMenu.h>
|
enum | Entry {
EntryRating =(Library::ContextMenu::EntryLast << 1),
EntryBookmarks =(EntryRating << 1),
EntryCurrentTrack =(EntryBookmarks << 1),
EntryFindInLibrary =(EntryCurrentTrack << 1)
} |
|
using | Entries = uint64_t |
|
|
void | sig_rating_changed (Rating rating) |
|
void | sig_bookmark_pressed (Seconds timestamp) |
|
void | sig_jump_to_current_track () |
|
void | sig_find_track_triggered () |
|
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 () |
|
|
| ContextMenu (QWidget *parent) |
|
ContextMenu::Entries | get_entries () const override |
| get all visible entries More...
|
|
void | show_actions (ContextMenu::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 (ContextMenu::Entry entry, bool visible) |
| show/hide a specific Entry More...
|
|
virtual void | show_all () |
| show all possible entries
|
|
QAction * | get_action (ContextMenu::Entry entry) const |
|
QAction * | get_action_after (ContextMenu::Entry entry) const |
|
QAction * | add_preference_action (Gui::PreferenceAction *action) |
|
QAction * | before_preference_action () const |
|
void | set_action_shortcut (ContextMenu::Entry entry, const QString &shortcut) |
|
void | set_extensions (const Gui::ExtensionSet &extensions) |
|
void | set_selection_count (int num_selections) |
|
QKeySequence | shortcut (ContextMenu::Entry entry) const |
|
virtual void | showEvent (QShowEvent *e) override |
|
The PlaylistContextMenu class.
◆ get_entries()
ContextMenu::Entries Playlist::ContextMenu::get_entries |
( |
| ) |
const |
|
overridevirtual |
◆ set_rating()
void Playlist::ContextMenu::set_rating |
( |
Rating |
rating | ) |
|
set rating for the rating entry
- Parameters
-
◆ show_action()
show/hide a specific Entry
- Parameters
-
The | entry of interest |
visible | |
◆ show_actions()
void Playlist::ContextMenu::show_actions |
( |
ContextMenu::Entries |
entries | ) |
|
|
overridevirtual |
show a specific amount of Entries
- Parameters
-
entries | bitwise combination of Entry |
Reimplemented from Library::ContextMenu.