![]() |
digiKam Developer Documentation
Professional Photo Management with the Power of Open Source
|
Public Types | |
enum | WidgetRectType { LabelAndValueWidgetRects , ValueWidgetRectsOnly } |
Signals | |
void | signalVisibilityChanged () |
Public Member Functions | |
SearchField (QObject *const parent) | |
bool | isVisible () override |
virtual void | read (SearchXmlCachingReader &reader)=0 |
virtual void | reset ()=0 |
void | setCategoryLabelVisible (bool visible) |
void | setCategoryLabelVisibleFromPreviousField (SearchField *const previousField) |
void | setFieldName (const QString &fieldName) |
virtual void | setText (const QString &label, const QString &detailLabel) |
void | setup (QGridLayout *const layout, int row=-1) |
void | setVisible (bool visible) override |
virtual bool | supportsField (const QString &fieldName) |
QList< QRect > | widgetRects (WidgetRectType=ValueWidgetRectsOnly) const |
virtual void | write (SearchXmlWriter &writer)=0 |
Static Public Member Functions | |
static SearchField * | createField (const QString &fieldName, SearchFieldGroup *const parent) |
Protected Slots | |
void | clearButtonClicked () |
Protected Attributes | |
bool | m_categoryLabelVisible = true |
AnimatedClearButton * | m_clearButton = nullptr |
QLabel * | m_detailLabel = nullptr |
QLabel * | m_label = nullptr |
QString | m_name |
bool | m_valueIsValid = false |
|
static |
|
overridevirtual |
Implements Digikam::VisibilityObject.
|
overridevirtual |
Implements Digikam::VisibilityObject.
|
pure virtual |
Implemented in Digikam::SearchFieldRangeInt.