◆ WidgetRectType
Enumerator |
---|
LabelAndValueWidgetRects | |
ValueWidgetRectsOnly | |
◆ SearchField()
Digikam::SearchField::SearchField |
( |
QObject *const |
parent | ) |
|
|
explicit |
◆ clearButtonClicked
void Digikam::SearchField::clearButtonClicked |
( |
| ) |
|
|
protectedslot |
◆ createField()
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(), Digikam::SearchFieldRating::setBetweenText(), Digikam::SearchFieldRangeDouble::setBoundary(), Digikam::SearchFieldRangeInt::setBoundary(), Digikam::SearchFieldChoice::setChoice(), Digikam::SearchFieldRangeDouble::setFactor(), 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(), 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().
◆ isVisible()
bool Digikam::SearchField::isVisible |
( |
| ) |
|
|
overridevirtual |
◆ read()
Implemented in Digikam::SearchFieldMonthDay, Digikam::SearchFieldLabels, Digikam::SearchFieldPageOrientation, Digikam::SearchFieldColorDepth, Digikam::SearchFieldCheckBox, Digikam::SearchFieldRating, Digikam::SearchFieldAlbum, Digikam::SearchFieldChoice, Digikam::SearchFieldRangeDate, Digikam::SearchFieldRangeDouble, Digikam::SearchFieldRangeInt, Digikam::SearchFieldKeyword, and Digikam::SearchFieldText.
Referenced by Digikam::SearchGroup::read().
◆ reset()
virtual void Digikam::SearchField::reset |
( |
| ) |
|
|
pure virtual |
Implemented in Digikam::SearchFieldMonthDay, Digikam::SearchFieldLabels, Digikam::SearchFieldCheckBox, Digikam::SearchFieldComboBox, Digikam::SearchFieldRating, Digikam::SearchFieldAlbum, Digikam::SearchFieldChoice, Digikam::SearchFieldRangeDate, Digikam::SearchFieldRangeDouble, Digikam::SearchFieldRangeInt, and Digikam::SearchFieldText.
Referenced by clearButtonClicked(), and Digikam::SearchFieldGroup::reset().
◆ setCategoryLabelVisible()
void Digikam::SearchField::setCategoryLabelVisible |
( |
bool |
visible | ) |
|
◆ setCategoryLabelVisibleFromPreviousField()
void Digikam::SearchField::setCategoryLabelVisibleFromPreviousField |
( |
SearchField *const |
previousField | ) |
|
◆ setFieldName()
void Digikam::SearchField::setFieldName |
( |
const QString & |
fieldName | ) |
|
◆ setText()
void Digikam::SearchField::setText |
( |
const QString & |
label, |
|
|
const QString & |
detailLabel |
|
) |
| |
|
virtual |
◆ setup()
void Digikam::SearchField::setup |
( |
QGridLayout *const |
layout, |
|
|
int |
row = -1 |
|
) |
| |
◆ setupLabels()
void Digikam::SearchField::setupLabels |
( |
QGridLayout * |
layout, |
|
|
int |
line |
|
) |
| |
|
protectedvirtual |
◆ setupValueWidgets()
virtual void Digikam::SearchField::setupValueWidgets |
( |
QGridLayout * |
layout, |
|
|
int |
row, |
|
|
int |
column |
|
) |
| |
|
protectedpure virtual |
Implemented in Digikam::SearchFieldMonthDay, Digikam::SearchFieldLabels, Digikam::SearchFieldPageOrientation, Digikam::SearchFieldColorDepth, Digikam::SearchFieldCheckBox, Digikam::SearchFieldComboBox, Digikam::SearchFieldRating, Digikam::SearchFieldAlbum, Digikam::SearchFieldChoice, Digikam::SearchFieldRangeDate, Digikam::SearchFieldRangeDouble, Digikam::SearchFieldRangeInt, and Digikam::SearchFieldText.
Referenced by setup().
◆ setValidValueState()
void Digikam::SearchField::setValidValueState |
( |
bool |
valueIsValid | ) |
|
|
protected |
References Digikam::AnimatedClearButton::animateVisible(), m_clearButton, and 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(), Digikam::SearchFieldRangeDate::valueChanged(), and Digikam::SearchFieldText::valueChanged().
◆ setValueWidgetsVisible()
virtual void Digikam::SearchField::setValueWidgetsVisible |
( |
bool |
visible | ) |
|
|
protectedpure virtual |
Implemented in Digikam::SearchFieldMonthDay, Digikam::SearchFieldLabels, Digikam::SearchFieldCheckBox, Digikam::SearchFieldComboBox, Digikam::SearchFieldRating, Digikam::SearchFieldAlbum, Digikam::SearchFieldChoice, Digikam::SearchFieldRangeDate, Digikam::SearchFieldRangeDouble, Digikam::SearchFieldRangeInt, and Digikam::SearchFieldText.
Referenced by setVisible().
◆ setVisible()
void Digikam::SearchField::setVisible |
( |
bool |
visible | ) |
|
|
overridevirtual |
◆ supportsField()
bool Digikam::SearchField::supportsField |
( |
const QString & |
fieldName | ) |
|
|
virtual |
◆ valueWidgetRects()
virtual QList<QRect> Digikam::SearchField::valueWidgetRects |
( |
| ) |
const |
|
protectedpure virtual |
Implemented in Digikam::SearchFieldMonthDay, Digikam::SearchFieldLabels, Digikam::SearchFieldCheckBox, Digikam::SearchFieldComboBox, Digikam::SearchFieldRating, Digikam::SearchFieldAlbum, Digikam::SearchFieldChoice, Digikam::SearchFieldRangeDate, Digikam::SearchFieldRangeDouble, Digikam::SearchFieldRangeInt, and Digikam::SearchFieldText.
Referenced by widgetRects().
◆ widgetRects()
◆ write()
Implemented in Digikam::SearchFieldMonthDay, Digikam::SearchFieldLabels, Digikam::SearchFieldCheckBox, Digikam::SearchFieldComboBox, Digikam::SearchFieldRating, Digikam::SearchFieldAlbum, Digikam::SearchFieldChoice, Digikam::SearchFieldRangeDate, Digikam::SearchFieldRangeDouble, Digikam::SearchFieldRangeInt, Digikam::SearchFieldKeyword, and Digikam::SearchFieldText.
Referenced by Digikam::SearchFieldGroup::write().
◆ m_categoryLabelVisible
bool Digikam::SearchField::m_categoryLabelVisible |
|
protected |
◆ m_clearButton
◆ m_detailLabel
QLabel* Digikam::SearchField::m_detailLabel |
|
protected |
◆ m_label
QLabel* Digikam::SearchField::m_label |
|
protected |
◆ m_name
QString Digikam::SearchField::m_name |
|
protected |
Referenced by setFieldName(), supportsField(), Digikam::SearchFieldText::write(), Digikam::SearchFieldKeyword::write(), Digikam::SearchFieldRangeInt::write(), Digikam::SearchFieldRangeDouble::write(), Digikam::SearchFieldRangeDate::write(), Digikam::SearchFieldChoice::write(), Digikam::SearchFieldAlbum::write(), Digikam::SearchFieldRating::write(), Digikam::SearchFieldComboBox::write(), Digikam::SearchFieldCheckBox::write(), Digikam::SearchFieldLabels::write(), and Digikam::SearchFieldMonthDay::write().
◆ m_valueIsValid
bool Digikam::SearchField::m_valueIsValid |
|
protected |
The documentation for this class was generated from the following files: