Sidebar widget containing the all filter widgets.
More...
|
|
void | slotFilterMatchesForText (bool) |
| |
|
void | slotResetFilters () |
| | Resets all selected filters.
|
| |
|
| | FilterSideBarWidget (QWidget *const parent, TagModel *const tagFilterModel) |
| | Constructor.
|
| |
|
| ~FilterSideBarWidget () override |
| | Destructor.
|
| |
| void | doLoadState () override |
| | Implement this hook method for state loading.
|
| |
| void | doSaveState () override |
| | Implement this hook method for state saving.
|
| |
| void | setConfigGroup (const KConfigGroup &group) override |
| | Sets a dedicated config group that will be used to store and reload the state from.
|
| |
|
void | setFocusToTextFilter () |
| |
|
| DVBox (QWidget *const parent=nullptr) |
| |
|
| DHBox (QWidget *const parent=nullptr) |
| |
|
QSize | minimumSizeHint () const override |
| |
|
void | setContentsMargins (const QMargins &margins) |
| |
|
void | setContentsMargins (int left, int top, int right, int bottom) |
| |
|
void | setSpacing (int space) |
| |
|
void | setStretchFactor (QWidget *const widget, int stretch) |
| |
|
QSize | sizeHint () const override |
| |
| | StateSavingObject (QObject *const host) |
| | Constructor.
|
| |
|
virtual | ~StateSavingObject () |
| | Destructor.
|
| |
| StateSavingDepth | getStateSavingDepth () const |
| | Returns the depth used for state saving or loading.
|
| |
|
void | loadState () |
| | Invokes loading the class' state.
|
| |
|
void | saveState () |
| | Invokes saving the class' state.
|
| |
| virtual void | setEntryPrefix (const QString &prefix) |
| | Define a prefix that will be used for every entry in the config group.
|
| |
| void | setStateSavingDepth (const StateSavingDepth depth) |
| | Sets the depth used for state saving or loading.
|
| |
◆ FilterSideBarWidget()
| Digikam::FilterSideBarWidget::FilterSideBarWidget |
( |
QWidget *const |
parent, |
|
|
TagModel *const |
tagFilterModel |
|
) |
| |
|
explicit |
- Parameters
-
| parent | the parent for qt parent child mechanism |
| tagFilterModel | tag model to work on |
◆ doLoadState()
| void Digikam::FilterSideBarWidget::doLoadState |
( |
| ) |
|
|
overridevirtual |
◆ doSaveState()
| void Digikam::FilterSideBarWidget::doSaveState |
( |
| ) |
|
|
overridevirtual |
◆ setConfigGroup()
| void Digikam::FilterSideBarWidget::setConfigGroup |
( |
const KConfigGroup & |
group | ) |
|
|
overridevirtual |
If this method is not called, a group based on the object name is used.
You can re-implement this method to pass the group set here to child objects. Don't forget to call this method in your implementation.
- Parameters
-
| group | config group to use for state saving and restoring |
Reimplemented from Digikam::StateSavingObject.
◆ signalTagFilterChanged
| void Digikam::FilterSideBarWidget::signalTagFilterChanged |
( |
const QList< int > & |
includedTags, |
|
|
const QList< int > & |
excludedTags, |
|
|
ItemFilterSettings::MatchingCondition |
matchingCond, |
|
|
bool |
showUnTagged, |
|
|
const QList< int > & |
clTagIds, |
|
|
const QList< int > & |
plTagIds |
|
) |
| |
|
signal |
- Parameters
-
| includedTags | a list of included tag ids |
| excludedTags | a list of excluded tag ids |
| matchingCond | condition to join the selected tags |
| showUnTagged | if this is true, only photos without a tag shall be shown |
| clTagIds | a list of color label tag ids |
| plTagIds | a list of pick label tag ids |