Go to the documentation of this file. 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);
52 void setDrawArrow(
bool flag);
58 QPointer<MusicButtonItem> m_buttonItem {
nullptr};
60 bool m_showArrow {
true};
73 bool Create(
void)
override;
void updateSonglist(MusicGenericTree *node)
static void getSmartPlaylistCategories(MusicGenericTree *node)
Q_DECLARE_METATYPE(MusicGenericTree *)
void treeItemClicked(MythUIButtonListItem *item)
PlaylistEditorView(MythScreenStack *parent, MythScreenType *parentScreen, const QString &layout, bool restorePosition=false)
bool Create(void) override
static void getSmartPlaylistTracks(MusicGenericTree *node, int playlistID)
Screen in which all other widgets are contained and rendered.
static void getPlaylists(MusicGenericTree *node)
void updateSelectedTracks(void)
void smartPLChanged(const QString &category, const QString &name)
QList< MetadataPtrList * > m_deleteList
void ShowMenu(void) override
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
void deletePlaylist(bool ok)
QString getAction(void) const
virtual MythUIButtonListItem * CreateListButton(MythUIButtonList *list)
void deleteSmartPlaylist(bool ok)
~PlaylistEditorView(void) override
static void treeItemVisible(MythUIButtonListItem *item)
static void getCDTracks(MusicGenericTree *node)
void restoreTreePosition(const QStringList &route)
All purpose text widget, displays a text string.
void customEvent(QEvent *event) override
MythMenu * createPlaylistMenu(void)
MythUIText * m_positionText
void createRootNode(void)
void saveTreePosition(void)
static void getPlaylistTracks(MusicGenericTree *node, int playlistID)
static void getSmartPlaylists(MusicGenericTree *node)
MythMenu * createSmartPlaylistMenu(void)
void treeNodeChanged(MythGenericTree *node)
MythUIButtonListItem::CheckState getCheck(void) const
MythUIButtonTree * m_playlistTree
MusicGenericTree * m_rootNode
bool restorePosition(int trackID)
void filterTracks(MusicGenericTree *node)
MythUIText * m_breadcrumbsText