47 explicit LabelsTreeView(QWidget*
const parent =
nullptr,
bool setCheckable =
false);
115 void initRatingsTree();
116 void initPicksTree();
117 void initColorsTree();
122 QTreeWidgetItem* getOrCreateItem(QTreeWidgetItem*
const parent);
126 void slotSettingsChanged();
135 Private*
const d =
nullptr;
Definition labelstreeview.h:33
void doLoadState() override
Loading and saving state function inherited from StateSavingObject.
Definition labelstreeview.cpp:273
QHash< Labels, QList< int > > selectedLabels()
Provide the current selection from the tree-view hierarchy.
Definition labelstreeview.cpp:214
QPixmap colorRectPixmap(const QColor &color) const
Creates a 30*30 rectangular pixmap with specific color.
Definition labelstreeview.cpp:198
Labels
Definition labelstreeview.h:39
@ Ratings
Definition labelstreeview.h:40
@ Colors
Definition labelstreeview.h:42
@ Picks
Definition labelstreeview.h:41
void setCurrentAlbum()
Emits a signal to the search handler to set the Current album from currently selected labels.
Definition labelstreeview.cpp:381
void doSaveState() override
Definition labelstreeview.cpp:353
void restoreSelectionFromHistory(QHash< Labels, QList< int > > neededLabels)
Restores the selection state from the AlbumHistory class.
Definition labelstreeview.cpp:535
QPixmap goldenStarPixmap(bool fillin=true) const
Definition labelstreeview.cpp:168
void signalSetCurrentAlbum()
~LabelsTreeView() override
Definition labelstreeview.cpp:128
bool isCheckable() const
Definition labelstreeview.cpp:133
bool isLoadingState() const
Definition labelstreeview.cpp:138
Definition statesavingobject.h:66
Definition datefolderview.cpp:34