digiKam
|
Public Types | |
enum | Type { DateOnly , DateTime } |
enum | WidgetRectType { LabelAndValueWidgetRects , ValueWidgetRectsOnly } |
Public Member Functions | |
bool | isVisible () override |
void | read (SearchXmlCachingReader &reader) override |
void | reset () override |
SearchFieldRangeDate (QObject *const parent, Type type) | |
void | setBetweenText (const QString &between) |
void | setBoundary (const QDateTime &min, const QDateTime &max) |
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 | setupValueWidgets (QGridLayout *layout, int row, int column) override |
void | setValueWidgetsVisible (bool visible) override |
void | setVisible (bool visible) override |
virtual bool | supportsField (const QString &fieldName) |
QList< QRect > | valueWidgetRects () const override |
QList< QRect > | widgetRects (WidgetRectType=ValueWidgetRectsOnly) const |
void | write (SearchXmlWriter &writer) override |
Static Public Member Functions | |
static SearchField * | createField (const QString &fieldName, SearchFieldGroup *const parent) |
Protected Slots | |
void | clearButtonClicked () |
void | valueChanged () |
Protected Member Functions | |
virtual void | setupLabels (QGridLayout *layout, int line) |
void | setValidValueState (bool valueIsValid) |
Protected Attributes | |
QLabel * | m_betweenLabel |
bool | m_categoryLabelVisible |
AnimatedClearButton * | m_clearButton |
QLabel * | m_detailLabel |
DDateEdit * | m_firstDateEdit |
QTimeEdit * | m_firstTimeEdit |
QLabel * | m_label |
QString | m_name |
DDateEdit * | m_secondDateEdit |
QTimeEdit * | m_secondTimeEdit |
Type | m_type |
bool | m_valueIsValid |
|
inherited |
Digikam::SearchFieldRangeDate::SearchFieldRangeDate | ( | QObject *const | parent, |
Type | type | ||
) |
References m_betweenLabel.
|
protectedslotinherited |
References Digikam::SearchField::reset().
Referenced by Digikam::SearchField::setup().
|
staticinherited |
References Digikam::DatabaseItem::Audio, Digikam::DImg::CIELAB, Digikam::DImg::CMYK, Digikam::DImg::COLORMODELRAW, Digikam::DImg::colorModelToString(), Digikam::DImg::COLORMODELUNKNOWN, DateTime, Digikam::CoreDbAccess::db(), Digikam::SearchFieldRangeInt::enableFractionMagic(), Digikam::MetadataInfo::ExposureMode, Digikam::MetadataInfo::ExposureProgram, Digikam::MetadataInfo::FlashMode, Digikam::ApplicationSettings::getAlbumCategoryNames(), Digikam::CoreDB::getListFromImageMetadata(), Digikam::DImg::GRAYSCALE, Digikam::DatabaseItem::Image, Digikam::DImg::INDEXED, Digikam::ApplicationSettings::instance(), Digikam::DatabaseFields::Lens, Digikam::DatabaseFields::Make, Digikam::MetadataInfo::MeteringMode, Digikam::DatabaseFields::Model, Digikam::DImg::MONOCHROME, Digikam::MetadataInfo::Orientation, Digikam::DMetadata::possibleValuesForEnumField(), Digikam::DImg::RGB, setBetweenText(), Digikam::SearchFieldRangeInt::setBetweenText(), Digikam::SearchFieldRangeDouble::setBetweenText(), Digikam::SearchFieldRating::setBetweenText(), Digikam::SearchFieldRangeDouble::setBoundary(), Digikam::SearchFieldRangeInt::setBoundary(), Digikam::SearchFieldChoice::setChoice(), Digikam::SearchFieldRangeDouble::setFactor(), Digikam::SearchField::setFieldName(), Digikam::SearchFieldCheckBox::setLabel(), Digikam::SearchFieldRangeDouble::setNoValueText(), Digikam::SearchFieldRangeInt::setNumberPrefixAndSuffix(), Digikam::SearchFieldRangeDouble::setNumberPrefixAndSuffix(), Digikam::SearchFieldRangeDouble::setSingleSteps(), Digikam::SearchFieldRangeInt::setSingleSteps(), Digikam::SearchFieldRangeDouble::setSuggestedInitialValue(), Digikam::SearchFieldRangeInt::setSuggestedInitialValue(), Digikam::SearchFieldRangeDouble::setSuggestedValues(), Digikam::SearchFieldRangeInt::setSuggestedValues(), Digikam::SearchField::setText(), Digikam::ItemPropertiesTab::shortenedMakeInfo(), Digikam::ItemPropertiesTab::shortenedModelInfo(), Digikam::MetadataInfo::SubjectDistanceCategory, Digikam::SearchFieldAlbum::TypeAlbum, Digikam::SearchFieldAlbum::TypeTag, Digikam::DatabaseItem::Video, Digikam::DMetadata::VIDEOCOLORMODEL_BT601, Digikam::DMetadata::VIDEOCOLORMODEL_BT709, Digikam::DMetadata::VIDEOCOLORMODEL_OTHER, Digikam::DMetadata::VIDEOCOLORMODEL_SRGB, Digikam::DMetadata::videoColorModelToString(), Digikam::MetadataInfo::WhiteBalance, and Digikam::DImg::YCBCR.
Referenced by Digikam::SearchGroup::setup().
|
overridevirtualinherited |
Implements Digikam::VisibilityObject.
References Digikam::SearchField::m_detailLabel.
Referenced by Digikam::SearchFieldGroup::areaOfMarkedFields().
|
overridevirtual |
Implements Digikam::SearchField.
References DateTime, Digikam::SearchXml::Equal, Digikam::SearchXmlCachingReader::fieldRelation(), Digikam::SearchXml::GreaterThan, Digikam::SearchXml::GreaterThanOrEqual, Digikam::SearchXml::Interval, Digikam::SearchXml::IntervalOpen, Digikam::SearchXml::LessThan, Digikam::SearchXml::LessThanOrEqual, m_firstDateEdit, m_firstTimeEdit, m_secondDateEdit, m_secondTimeEdit, m_type, Digikam::DDateEdit::setDate(), valueChanged(), Digikam::SearchXmlCachingReader::valueToDateTime(), and Digikam::SearchXmlCachingReader::valueToDateTimeList().
|
overridevirtual |
Implements Digikam::SearchField.
References DateTime, m_firstDateEdit, m_firstTimeEdit, m_secondDateEdit, m_secondTimeEdit, m_type, Digikam::DDateEdit::setDate(), and valueChanged().
void Digikam::SearchFieldRangeDate::setBetweenText | ( | const QString & | between | ) |
References m_betweenLabel.
Referenced by Digikam::SearchField::createField().
void Digikam::SearchFieldRangeDate::setBoundary | ( | const QDateTime & | min, |
const QDateTime & | max | ||
) |
|
inherited |
|
inherited |
References Digikam::SearchField::m_label, and Digikam::SearchField::setCategoryLabelVisible().
Referenced by Digikam::SearchFieldGroup::addField().
|
inherited |
References Digikam::SearchField::m_name.
Referenced by Digikam::SearchField::createField().
|
virtualinherited |
References Digikam::SearchField::m_detailLabel, and Digikam::SearchField::m_label.
Referenced by Digikam::SearchField::createField().
|
inherited |
References Digikam::SearchField::clearButtonClicked(), Digikam::SearchField::m_clearButton, Digikam::AnimatedClearButton::setPixmap(), Digikam::SearchField::setupLabels(), Digikam::SearchField::setupValueWidgets(), and Digikam::AnimatedClearButton::stayVisibleWhenAnimatedOut().
Referenced by Digikam::SearchFieldGroup::addField().
|
protectedvirtualinherited |
References Digikam::SearchField::m_detailLabel, and Digikam::SearchField::m_label.
Referenced by Digikam::SearchField::setup().
|
overridevirtual |
Implements Digikam::SearchField.
References DateOnly, m_betweenLabel, m_firstDateEdit, m_firstTimeEdit, m_secondDateEdit, m_secondTimeEdit, m_type, and valueChanged().
|
protectedinherited |
References Digikam::AnimatedClearButton::animateVisible(), Digikam::SearchField::m_clearButton, and Digikam::SearchField::m_valueIsValid.
Referenced by Digikam::SearchFieldRating::firstValueChanged(), Digikam::SearchFieldComboBox::indexChanged(), Digikam::SearchFieldRating::secondValueChanged(), Digikam::SearchFieldMonthDay::slotIndexChanged(), Digikam::SearchFieldCheckBox::slotToggled(), Digikam::SearchFieldChoice::updateComboText(), Digikam::SearchFieldAlbum::updateState(), Digikam::SearchFieldLabels::updateState(), Digikam::SearchFieldRangeInt::valueChanged(), Digikam::SearchFieldRangeDouble::valueChanged(), valueChanged(), and Digikam::SearchFieldText::valueChanged().
|
overridevirtual |
Implements Digikam::SearchField.
References m_betweenLabel, m_firstDateEdit, m_firstTimeEdit, m_secondDateEdit, and m_secondTimeEdit.
|
overridevirtualinherited |
Implements Digikam::VisibilityObject.
References Digikam::SearchField::m_categoryLabelVisible, Digikam::SearchField::m_clearButton, Digikam::SearchField::m_detailLabel, Digikam::SearchField::m_label, Digikam::AnimatedClearButton::setShallBeShown(), and Digikam::SearchField::setValueWidgetsVisible().
|
virtualinherited |
References Digikam::SearchField::m_name.
Referenced by Digikam::SearchFieldGroup::fieldForName().
|
protectedslot |
References Digikam::DDateEdit::date(), m_firstDateEdit, m_secondDateEdit, and Digikam::SearchField::setValidValueState().
Referenced by read(), reset(), and setupValueWidgets().
|
overridevirtual |
Implements Digikam::SearchField.
References m_firstDateEdit, m_firstTimeEdit, m_secondDateEdit, and m_secondTimeEdit.
|
inherited |
|
overridevirtual |
Implements Digikam::SearchField.
References Digikam::DDateEdit::date(), DateOnly, DateTime, Digikam::SearchXml::Equal, Digikam::SearchXmlWriter::finishField(), Digikam::SearchXml::GreaterThanOrEqual, Digikam::SearchXml::Interval, Digikam::SearchXml::LessThan, m_firstDateEdit, m_firstTimeEdit, Digikam::SearchField::m_name, m_secondDateEdit, m_secondTimeEdit, m_type, Digikam::startOfDay(), Digikam::SearchXmlWriter::writeField(), and Digikam::SearchXmlWriter::writeValue().
|
protected |
Referenced by SearchFieldRangeDate(), setBetweenText(), setupValueWidgets(), and setValueWidgetsVisible().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
Referenced by read(), reset(), setupValueWidgets(), setValueWidgetsVisible(), valueChanged(), valueWidgetRects(), and write().
|
protected |
Referenced by read(), reset(), setupValueWidgets(), setValueWidgetsVisible(), valueWidgetRects(), and write().
|
protectedinherited |
Referenced by Digikam::SearchField::SearchField(), Digikam::SearchField::setCategoryLabelVisible(), Digikam::SearchField::setCategoryLabelVisibleFromPreviousField(), Digikam::SearchField::setText(), Digikam::SearchField::setupLabels(), Digikam::SearchField::setVisible(), and Digikam::SearchField::widgetRects().
|
protectedinherited |
Referenced by Digikam::SearchField::setFieldName(), Digikam::SearchField::supportsField(), Digikam::SearchFieldText::write(), Digikam::SearchFieldKeyword::write(), Digikam::SearchFieldRangeInt::write(), Digikam::SearchFieldRangeDouble::write(), write(), Digikam::SearchFieldChoice::write(), Digikam::SearchFieldAlbum::write(), Digikam::SearchFieldRating::write(), Digikam::SearchFieldComboBox::write(), Digikam::SearchFieldCheckBox::write(), Digikam::SearchFieldLabels::write(), and Digikam::SearchFieldMonthDay::write().
|
protected |
Referenced by read(), reset(), setupValueWidgets(), setValueWidgetsVisible(), valueChanged(), valueWidgetRects(), and write().
|
protected |
Referenced by read(), reset(), setupValueWidgets(), setValueWidgetsVisible(), valueWidgetRects(), and write().
|
protected |
Referenced by read(), reset(), setupValueWidgets(), and write().
|
protectedinherited |
Referenced by Digikam::SearchField::SearchField(), and Digikam::SearchField::setValidValueState().