|
| MusicGenericTree (MusicGenericTree *parent, const QString &name, const QString &action="", MythUIButtonListItem::CheckState check=MythUIButtonListItem::CantCheck, bool showArrow=true) |
|
| ~MusicGenericTree () override=default |
|
QString | getAction (void) const |
|
MythUIButtonListItem::CheckState | getCheck (void) const |
|
void | setCheck (MythUIButtonListItem::CheckState state) |
|
void | setDrawArrow (bool flag) |
|
MythUIButtonListItem * | CreateListButton (MythUIButtonList *list) override |
|
| MythGenericTree (QString a_string="", int an_int=0, bool selectable_flag=false) |
|
virtual | ~MythGenericTree () |
|
void | ensureSortFields (void) |
|
MythGenericTree * | addNode (const QString &a_string, int an_int=0, bool selectable_flag=false, bool visible=true) |
|
MythGenericTree * | addNode (const QString &a_string, const QString &sortText="", int an_int=0, bool selectable_flag=false, bool visible=true) |
|
MythGenericTree * | addNode (MythGenericTree *child) |
|
void | DetachParent (void) |
| Detach this node/branch from it's parent without deleting it, it can then be reattached elsewhere or used on it's own. More...
|
|
void | removeNode (MythGenericTree *child) |
|
void | deleteNode (MythGenericTree *child) |
|
MythGenericTree * | findLeaf () |
|
MythGenericTree * | findNode (QList< int > route_of_branches) |
|
MythGenericTree * | nextSibling (int number_down) |
|
MythGenericTree * | prevSibling (int number_up) |
|
MythGenericTree * | getSelectedChild (bool onlyVisible=false) const |
|
MythGenericTree * | getVisibleChildAt (uint reference) const |
|
MythGenericTree * | getChildAt (uint reference) const |
|
MythGenericTree * | getChildByName (const QString &a_name) const |
|
MythGenericTree * | getChildById (int an_int) const |
|
QList< MythGenericTree * > * | getAllChildren () const |
|
int | getChildPosition (MythGenericTree *child) const |
|
int | getPosition (void) |
|
QList< int > | getRouteById (void) |
|
QStringList | getRouteByString (void) |
|
QList< MythGenericTree * > | getRoute (void) |
|
void | setInt (int an_int) |
|
int | getInt () const |
|
void | setParent (MythGenericTree *a_parent) |
|
MythGenericTree * | getParent (void) const |
|
void | SetText (const QString &text, const QString &name="", const QString &state="") |
|
void | SetTextFromMap (const InfoMap &infoMap, const QString &state="") |
|
void | SetTextCb (mgtCbFn fn, void *data) |
|
QString | GetText (const QString &name="") const |
|
QString | GetSortText () const |
|
void | SetSortText (const QString &text) |
|
void | SetImage (const QString &filename, const QString &name="") |
|
void | SetImageFromMap (const InfoMap &infoMap) |
|
void | SetImageCb (mgtCbFn fn, void *data) |
|
QString | GetImage (const QString &name="") const |
|
void | DisplayState (const QString &state, const QString &name="") |
|
void | DisplayStateFromMap (const InfoMap &infoMap) |
|
void | SetStateCb (mgtCbFn fn, void *data) |
|
QString | GetState (const QString &name="") const |
|
void | SetData (QVariant data) |
|
QVariant | GetData (void) const |
|
int | childCount (void) const |
|
uint | visibleChildCount () const |
|
int | siblingCount (void) const |
|
int | currentDepth (void) |
| Establish how deep in the current tree this node lies. More...
|
|
void | setSelectable (bool flag) |
|
bool | isSelectable () const |
|
void | SetVisible (bool visible) |
|
bool | IsVisible () const |
|
void | IncVisibleCount () |
|
void | DecVisibleCount () |
|
void | becomeSelectedChild (void) |
|
void | setSelectedChild (MythGenericTree *a_node) |
|
void | sortByString () |
|
void | sortBySelectable () |
|
void | deleteAllChildren () |
|
void | MoveItemUpDown (MythGenericTree *item, bool flag) |
|
Definition at line 38 of file playlisteditorview.h.