digiKam
|
Public Types | |
enum | Operation { All , OneOf , InTree } |
enum | Type { TypeAlbum , TypeTag } |
enum | WidgetRectType { LabelAndValueWidgetRects , ValueWidgetRectsOnly } |
Public Member Functions | |
bool | isVisible () override |
void | read (SearchXmlCachingReader &reader) override |
void | reset () override |
SearchFieldAlbum (QObject *const parent, Type type) | |
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 | updateState () |
Protected Member Functions | |
virtual void | setupLabels (QGridLayout *layout, int line) |
void | setValidValueState (bool valueIsValid) |
Protected Attributes | |
AlbumTreeViewSelectComboBox * | m_albumComboBox |
bool | m_categoryLabelVisible |
AnimatedClearButton * | m_clearButton |
QLabel * | m_detailLabel |
QLabel * | m_label |
AbstractCheckableAlbumModel * | m_model |
QString | m_name |
SqueezedComboBox * | m_operation |
TagTreeViewSelectComboBox * | m_tagComboBox |
Type | m_type |
bool | m_valueIsValid |
QWidget * | m_wrapperBox |
|
inherited |
Digikam::SearchFieldAlbum::SearchFieldAlbum | ( | QObject *const | parent, |
Type | type | ||
) |
|
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(), 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, TypeAlbum, 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 Digikam::SearchXml::AllOf, Digikam::SearchXmlCachingReader::fieldRelation(), Digikam::AlbumManager::findPAlbum(), Digikam::AlbumManager::findTAlbum(), Digikam::Album::id(), Digikam::AlbumManager::instance(), Digikam::TagsCache::instance(), Digikam::SearchXml::InTree, m_model, m_operation, m_type, Digikam::SearchXml::OneOf, Digikam::AbstractCheckableAlbumModel::setChecked(), TypeAlbum, TypeTag, and Digikam::SearchXmlCachingReader::valueToIntOrIntList().
|
overridevirtual |
Implements Digikam::SearchField.
References m_model, m_operation, and Digikam::AbstractCheckableAlbumModel::resetCheckedAlbums().
|
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 Digikam::AbstractAlbumTreeViewSelectComboBox::addCheckUncheckContextMenuActions(), Digikam::SqueezedComboBox::addSqueezedItem(), Digikam::SearchXml::InTree, m_albumComboBox, m_model, m_operation, m_tagComboBox, m_type, m_wrapperBox, Digikam::AlbumSelectComboBox::model(), Digikam::SearchXml::OneOf, Digikam::AlbumTreeViewSelectComboBox::setDefaultModel(), Digikam::TagTreeViewSelectComboBox::setDefaultModel(), Digikam::AlbumSelectComboBox::setNoSelectionText(), TypeAlbum, TypeTag, and updateState().
|
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(), updateState(), Digikam::SearchFieldLabels::updateState(), Digikam::SearchFieldRangeInt::valueChanged(), Digikam::SearchFieldRangeDouble::valueChanged(), Digikam::SearchFieldRangeDate::valueChanged(), and Digikam::SearchFieldText::valueChanged().
|
overridevirtual |
Implements Digikam::SearchField.
References m_wrapperBox.
|
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::AbstractCheckableAlbumModel::checkedAlbums(), m_model, and Digikam::SearchField::setValidValueState().
Referenced by setupValueWidgets().
|
overridevirtual |
Implements Digikam::SearchField.
References m_wrapperBox.
|
inherited |
|
overridevirtual |
Implements Digikam::SearchField.
References Digikam::SearchXml::AllOf, Digikam::AbstractCheckableAlbumModel::checkedAlbums(), Digikam::SearchXml::Equal, Digikam::SearchXmlWriter::finishField(), Digikam::Album::id(), Digikam::SearchXml::InTree, m_model, Digikam::SearchField::m_name, m_operation, Digikam::SearchXml::OneOf, Digikam::SearchXmlWriter::writeField(), and Digikam::SearchXmlWriter::writeValue().
|
protected |
Referenced by setupValueWidgets().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
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().
|
protected |
Referenced by read(), reset(), setupValueWidgets(), updateState(), and write().
|
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(), write(), Digikam::SearchFieldRating::write(), Digikam::SearchFieldComboBox::write(), Digikam::SearchFieldCheckBox::write(), Digikam::SearchFieldLabels::write(), and Digikam::SearchFieldMonthDay::write().
|
protected |
Referenced by read(), reset(), setupValueWidgets(), and write().
|
protected |
Referenced by setupValueWidgets().
|
protected |
Referenced by read(), and setupValueWidgets().
|
protectedinherited |
Referenced by Digikam::SearchField::SearchField(), and Digikam::SearchField::setValidValueState().
|
protected |
Referenced by setupValueWidgets(), setValueWidgetsVisible(), and valueWidgetRects().