digiKam
|
Public Types | |
enum | WidgetRectType { LabelAndValueWidgetRects , ValueWidgetRectsOnly } |
Public Member Functions | |
bool | isVisible () override |
void | read (SearchXmlCachingReader &reader) override |
void | reset () override |
SearchFieldRating (QObject *const parent) | |
void | setBetweenText (const QString &text) |
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 | firstValueChanged () |
void | secondValueChanged () |
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 |
RatingComboBox * | m_firstBox |
QLabel * | m_label |
QString | m_name |
RatingComboBox * | m_secondBox |
bool | m_valueIsValid |
|
inherited |
|
explicit |
References m_betweenLabel, m_firstBox, and m_secondBox.
|
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, Digikam::SearchFieldRangeDate::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, Digikam::SearchFieldRangeDate::setBetweenText(), Digikam::SearchFieldRangeInt::setBetweenText(), Digikam::SearchFieldRangeDouble::setBetweenText(), 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().
|
protectedslot |
References m_firstBox, m_secondBox, Digikam::RatingComboBox::NoRating, Digikam::RatingComboBox::Null, Digikam::RatingComboBox::Rating0, Digikam::RatingComboBox::Rating5, Digikam::RatingComboBox::ratingValue(), Digikam::RatingComboBox::setRatingValue(), and Digikam::SearchField::setValidValueState().
Referenced by setupValueWidgets().
|
overridevirtualinherited |
Implements Digikam::VisibilityObject.
References Digikam::SearchField::m_detailLabel.
Referenced by Digikam::SearchFieldGroup::areaOfMarkedFields().
|
overridevirtual |
Implements Digikam::SearchField.
References 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_firstBox, m_secondBox, Digikam::RatingComboBox::setRatingValue(), Digikam::SearchXmlCachingReader::valueToInt(), and Digikam::SearchXmlCachingReader::valueToIntList().
|
overridevirtual |
Implements Digikam::SearchField.
References m_firstBox, m_secondBox, Digikam::RatingComboBox::Null, and Digikam::RatingComboBox::setRatingValue().
|
protectedslot |
References m_firstBox, m_secondBox, Digikam::RatingComboBox::Null, Digikam::RatingComboBox::Rating0, Digikam::RatingComboBox::Rating5, Digikam::RatingComboBox::ratingValue(), Digikam::RatingComboBox::setRatingValue(), and Digikam::SearchField::setValidValueState().
Referenced by setupValueWidgets().
void Digikam::SearchFieldRating::setBetweenText | ( | const QString & | text | ) |
References m_betweenLabel.
Referenced by Digikam::SearchField::createField().
|
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 firstValueChanged(), m_betweenLabel, m_firstBox, m_secondBox, and secondValueChanged().
|
protectedinherited |
References Digikam::AnimatedClearButton::animateVisible(), Digikam::SearchField::m_clearButton, and Digikam::SearchField::m_valueIsValid.
Referenced by firstValueChanged(), Digikam::SearchFieldComboBox::indexChanged(), secondValueChanged(), Digikam::SearchFieldMonthDay::slotIndexChanged(), Digikam::SearchFieldCheckBox::slotToggled(), Digikam::SearchFieldChoice::updateComboText(), Digikam::SearchFieldAlbum::updateState(), Digikam::SearchFieldLabels::updateState(), Digikam::SearchFieldRangeInt::valueChanged(), Digikam::SearchFieldRangeDouble::valueChanged(), Digikam::SearchFieldRangeDate::valueChanged(), and Digikam::SearchFieldText::valueChanged().
|
overridevirtual |
Implements Digikam::SearchField.
References m_betweenLabel, m_firstBox, and m_secondBox.
|
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().
|
overridevirtual |
Implements Digikam::SearchField.
References m_firstBox, and m_secondBox.
|
inherited |
|
overridevirtual |
Implements Digikam::SearchField.
References Digikam::SearchXml::Equal, Digikam::SearchXmlWriter::finishField(), Digikam::SearchXml::GreaterThanOrEqual, Digikam::SearchXml::Interval, Digikam::SearchXml::LessThanOrEqual, m_firstBox, Digikam::SearchField::m_name, m_secondBox, Digikam::RatingComboBox::NoRating, Digikam::RatingComboBox::Null, Digikam::RatingComboBox::ratingValue(), Digikam::SearchXmlWriter::writeField(), and Digikam::SearchXmlWriter::writeValue().
|
protected |
Referenced by SearchFieldRating(), setBetweenText(), setupValueWidgets(), and setValueWidgetsVisible().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
Referenced by firstValueChanged(), read(), reset(), SearchFieldRating(), secondValueChanged(), 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(), Digikam::SearchFieldRangeDate::write(), Digikam::SearchFieldChoice::write(), Digikam::SearchFieldAlbum::write(), write(), Digikam::SearchFieldComboBox::write(), Digikam::SearchFieldCheckBox::write(), Digikam::SearchFieldLabels::write(), and Digikam::SearchFieldMonthDay::write().
|
protected |
Referenced by firstValueChanged(), read(), reset(), SearchFieldRating(), secondValueChanged(), setupValueWidgets(), setValueWidgetsVisible(), valueWidgetRects(), and write().
|
protectedinherited |
Referenced by Digikam::SearchField::SearchField(), and Digikam::SearchField::setValidValueState().