digiKam
|
Public Types | |
enum | Type { FirstGroup , ChainGroup } |
Public Slots | |
SearchGroup * | addSearchGroup () |
void | removeSearchGroup (SearchGroup *group) |
Signals | |
void | removeRequested () |
Public Member Functions | |
Type | groupType () const |
void | read (SearchXmlCachingReader &reader) |
void | reset () |
SearchGroup (SearchView *const parent) | |
void | setup (Type type=FirstGroup) |
QList< QRect > | startupAnimationArea () const |
void | write (SearchXmlWriter &writer) |
Protected Slots | |
void | removeSendingSearchGroup () |
Protected Member Functions | |
void | addGroupToLayout (SearchGroup *group) override |
Re-implement: Adds a newly created group to the layout structures. More... | |
SearchGroup * | createSearchGroup () override |
Re-implement: create and setup a search group. More... | |
void | finishReadingGroups () |
Call when the XML part is finished. More... | |
void | readGroup (SearchXmlCachingReader &reader) |
Call when a group element is the current element. More... | |
void | startReadingGroups (SearchXmlCachingReader &reader) |
Call before reading the XML part that could contain group elements. More... | |
QList< QRect > | startupAnimationAreaOfGroups () const |
Collects the data from the same method of all contained groups (position relative to this widget) More... | |
void | writeGroups (SearchXmlWriter &writer) const |
Write contained groups to writer. More... | |
Protected Attributes | |
QList< SearchFieldGroup * > | m_fieldGroups |
QList< SearchFieldGroupLabel * > | m_fieldLabels |
int | m_groupIndex |
QList< SearchGroup * > | m_groups |
Type | m_groupType |
SearchGroupLabel * | m_label |
QVBoxLayout * | m_layout |
QVBoxLayout * | m_subgroupLayout |
SearchView * | m_view |
|
explicit |
Referenced by createSearchGroup().
|
overrideprotectedvirtual |
Re-implement: Adds a newly created group to the layout structures.
Implements Digikam::AbstractSearchGroupContainer.
References m_subgroupLayout.
|
slotinherited |
References Digikam::AbstractSearchGroupContainer::addGroupToLayout(), Digikam::AbstractSearchGroupContainer::createSearchGroup(), Digikam::AbstractSearchGroupContainer::m_groups, and Digikam::AbstractSearchGroupContainer::removeSendingSearchGroup().
Referenced by Digikam::AbstractSearchGroupContainer::readGroup(), Digikam::SearchView::setup(), and Digikam::SearchView::slotAddGroupButton().
|
overrideprotectedvirtual |
Re-implement: create and setup a search group.
Implements Digikam::AbstractSearchGroupContainer.
References ChainGroup, m_view, SearchGroup(), and setup().
|
protectedinherited |
Call when the XML part is finished.
References Digikam::AbstractSearchGroupContainer::m_groupIndex, and Digikam::AbstractSearchGroupContainer::m_groups.
Referenced by Digikam::SearchView::read(), and read().
SearchGroup::Type Digikam::SearchGroup::groupType | ( | ) | const |
References m_groupType.
Referenced by Digikam::AbstractSearchGroupContainer::removeSearchGroup().
void Digikam::SearchGroup::read | ( | SearchXmlCachingReader & | reader | ) |
References Digikam::SearchXmlReader::defaultFieldOperator(), Digikam::SearchFieldGroup::fieldForName(), Digikam::SearchXmlCachingReader::fieldName(), Digikam::AbstractSearchGroupContainer::finishReadingGroups(), Digikam::SearchXmlCachingReader::groupOperator(), Digikam::SearchXmlReader::isFieldElement(), Digikam::SearchXmlReader::isGroupElement(), m_fieldGroups, m_label, Digikam::SearchFieldGroup::markField(), Digikam::SearchField::read(), Digikam::AbstractSearchGroupContainer::readGroup(), Digikam::SearchXmlCachingReader::readNext(), Digikam::SearchXmlReader::readToEndOfElement(), reset(), Digikam::SearchGroupLabel::setDefaultFieldOperator(), Digikam::SearchFieldGroup::setFieldsVisible(), Digikam::SearchGroupLabel::setGroupOperator(), and Digikam::AbstractSearchGroupContainer::startReadingGroups().
Referenced by Digikam::AbstractSearchGroupContainer::readGroup().
|
protectedinherited |
Call when a group element is the current element.
References Digikam::AbstractSearchGroupContainer::addSearchGroup(), Digikam::AbstractSearchGroupContainer::m_groupIndex, Digikam::AbstractSearchGroupContainer::m_groups, and read().
Referenced by Digikam::SearchView::read(), and read().
|
signal |
Referenced by setup().
|
slotinherited |
References FirstGroup, groupType(), and Digikam::AbstractSearchGroupContainer::m_groups.
Referenced by Digikam::AbstractSearchGroupContainer::removeSendingSearchGroup().
|
protectedslotinherited |
void Digikam::SearchGroup::reset | ( | ) |
void Digikam::SearchGroup::setup | ( | Type | type = FirstGroup | ) |
References Digikam::SearchFieldGroup::addField(), Digikam::SearchField::createField(), m_fieldGroups, m_fieldLabels, m_groupType, m_label, m_layout, m_subgroupLayout, m_view, removeRequested(), reset(), Digikam::SearchFieldGroup::setFieldsVisible(), Digikam::SearchFieldGroup::setLabel(), and Digikam::SearchFieldGroupLabel::setTitle().
Referenced by createSearchGroup(), and Digikam::SearchView::createSearchGroup().
|
protectedinherited |
Call before reading the XML part that could contain group elements.
References Digikam::AbstractSearchGroupContainer::m_groupIndex.
Referenced by Digikam::SearchView::read(), and read().
QList< QRect > Digikam::SearchGroup::startupAnimationArea | ( | ) | const |
|
protectedinherited |
Collects the data from the same method of all contained groups (position relative to this widget)
References Digikam::AbstractSearchGroupContainer::m_groups, and startupAnimationArea().
Referenced by Digikam::SearchView::paintEvent(), and startupAnimationArea().
void Digikam::SearchGroup::write | ( | SearchXmlWriter & | writer | ) |
References Digikam::SearchGroupLabel::defaultFieldOperator(), Digikam::SearchXmlWriter::finishGroup(), Digikam::SearchGroupLabel::groupOperator(), m_fieldGroups, m_label, Digikam::SearchXmlWriter::setDefaultFieldOperator(), Digikam::SearchXmlWriter::setGroupOperator(), Digikam::SearchFieldGroup::write(), Digikam::SearchXmlWriter::writeGroup(), and Digikam::AbstractSearchGroupContainer::writeGroups().
Referenced by Digikam::AbstractSearchGroupContainer::writeGroups().
|
protectedinherited |
Write contained groups to writer.
References Digikam::AbstractSearchGroupContainer::m_groups, and write().
Referenced by Digikam::SearchView::write(), and write().
|
protected |
Referenced by read(), reset(), setup(), startupAnimationArea(), and write().
|
protected |
Referenced by setup().
|
protectedinherited |
|
protectedinherited |
Referenced by Digikam::AbstractSearchGroupContainer::addSearchGroup(), Digikam::SearchView::createSearchGroup(), Digikam::AbstractSearchGroupContainer::finishReadingGroups(), Digikam::AbstractSearchGroupContainer::readGroup(), Digikam::AbstractSearchGroupContainer::removeSearchGroup(), Digikam::SearchView::slotResetButton(), Digikam::AbstractSearchGroupContainer::startupAnimationAreaOfGroups(), and Digikam::AbstractSearchGroupContainer::writeGroups().
|
protected |
Referenced by groupType(), and setup().
|
protected |
|
protected |
Referenced by setup().
|
protected |
Referenced by addGroupToLayout(), and setup().
|
protected |
Referenced by createSearchGroup(), and setup().