1#ifndef PLAYLISTEDITORVIEW_H_
2#define PLAYLISTEDITORVIEW_H_
29 const QString& image =
"",
bool checkable =
false,
30 CheckState state = CantCheck,
bool showArrow =
false,
31 int listPosition = -1):
42 const QString &
action =
"",
44 bool showArrow =
true);
58 QPointer<MusicButtonItem> m_buttonItem {
nullptr};
60 bool m_showArrow {
true};
73 bool Create(
void)
override;
bool restorePosition(int trackID)
MythUIButtonListItem::CheckState getCheck(void) const
QString getAction(void) const
~MusicGenericTree() override=default
Screen in which all other widgets are contained and rendered.
All purpose text widget, displays a text string.
static void getCDTracks(MusicGenericTree *node)
MythUIText * m_positionText
MythUIText * m_breadcrumbsText
void ShowMenu(void) override
void filterTracks(MusicGenericTree *node)
static void getSmartPlaylistTracks(MusicGenericTree *node, int playlistID)
bool Create(void) override
void updateSelectedTracks(void)
MusicGenericTree * m_rootNode
static void getSmartPlaylistCategories(MusicGenericTree *node)
void treeItemClicked(MythUIButtonListItem *item)
static void getSmartPlaylists(MusicGenericTree *node)
static void treeItemVisible(MythUIButtonListItem *item)
void deletePlaylist(bool ok)
static void getPlaylists(MusicGenericTree *node)
void saveTreePosition(void)
~PlaylistEditorView(void) override
QList< MetadataPtrList * > m_deleteList
void treeNodeChanged(MythGenericTree *node)
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
void smartPLChanged(const QString &category, const QString &name)
void createRootNode(void)
static void getPlaylistTracks(MusicGenericTree *node, int playlistID)
MythUIButtonTree * m_playlistTree
void restoreTreePosition(const QStringList &route)
MythMenu * createPlaylistMenu(void)
MythMenu * createSmartPlaylistMenu(void)
void deleteSmartPlaylist(bool ok)
void customEvent(QEvent *event) override
void updateSonglist(MusicGenericTree *node)
PlaylistEditorView(MythScreenStack *parent, MythScreenType *parentScreen, const QString &layout, bool restorePosition=false)
Q_DECLARE_METATYPE(MusicGenericTree *)