25 #ifndef DIGIKAM_ALBUM_LABELS_TREEVIEW_H
26 #define DIGIKAM_ALBUM_LABELS_TREEVIEW_H
30 #include <QTreeWidget>
57 explicit LabelsTreeView(QWidget*
const parent =
nullptr,
bool setCheckable =
false);
125 void initRatingsTree();
126 void initPicksTree();
127 void initColorsTree();
131 void slotSettingsChanged();
Definition: labelstreeview.h:43
void doLoadState() override
Loading and saving state function inherited from StateSavingObject.
Definition: labelstreeview.cpp:254
QHash< Labels, QList< int > > selectedLabels()
Provide the current selection from the tree-view hierarchy.
Definition: labelstreeview.cpp:197
QPixmap colorRectPixmap(const QColor &color) const
Creates a 30*30 rectangular pixmap with specific color.
Definition: labelstreeview.cpp:181
Labels
Definition: labelstreeview.h:49
@ Ratings
Definition: labelstreeview.h:50
@ Colors
Definition: labelstreeview.h:52
@ Picks
Definition: labelstreeview.h:51
void setCurrentAlbum()
Emits a signal to the search handler to set the Current album from currently selected labels.
Definition: labelstreeview.cpp:354
void doSaveState() override
Definition: labelstreeview.cpp:326
void restoreSelectionFromHistory(QHash< Labels, QList< int > > neededLabels)
Restores the selection state from the AlbumHistory class.
Definition: labelstreeview.cpp:504
QPixmap goldenStarPixmap(bool fillin=true) const
Definition: labelstreeview.cpp:155
void signalSetCurrentAlbum()
LabelsTreeView(QWidget *const parent=nullptr, bool setCheckable=false)
Definition: labelstreeview.cpp:102
~LabelsTreeView() override
Definition: labelstreeview.cpp:140
bool isCheckable() const
Definition: labelstreeview.cpp:145
bool isLoadingState() const
Definition: labelstreeview.cpp:150
Definition: statesavingobject.h:76
Definition: datefolderview.cpp:43