digiKam
Digikam::SearchGroup Class Reference
+ Inheritance diagram for Digikam::SearchGroup:

Public Types

enum  Type { FirstGroup , ChainGroup }
 

Public Slots

SearchGroupaddSearchGroup ()
 
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...
 
SearchGroupcreateSearchGroup () 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
 
SearchGroupLabelm_label
 
QVBoxLayout * m_layout
 
QVBoxLayout * m_subgroupLayout
 
SearchViewm_view
 

Member Enumeration Documentation

◆ Type

Enumerator
FirstGroup 
ChainGroup 

Constructor & Destructor Documentation

◆ SearchGroup()

Digikam::SearchGroup::SearchGroup ( SearchView *const  parent)
explicit

Referenced by createSearchGroup().

Member Function Documentation

◆ addGroupToLayout()

void Digikam::SearchGroup::addGroupToLayout ( SearchGroup group)
overrideprotectedvirtual

Re-implement: Adds a newly created group to the layout structures.

Implements Digikam::AbstractSearchGroupContainer.

References m_subgroupLayout.

◆ addSearchGroup

◆ createSearchGroup()

SearchGroup * Digikam::SearchGroup::createSearchGroup ( )
overrideprotectedvirtual

Re-implement: create and setup a search group.

Implements Digikam::AbstractSearchGroupContainer.

References ChainGroup, m_view, SearchGroup(), and setup().

◆ finishReadingGroups()

void Digikam::AbstractSearchGroupContainer::finishReadingGroups ( )
protectedinherited

◆ groupType()

SearchGroup::Type Digikam::SearchGroup::groupType ( ) const

◆ read()

◆ readGroup()

void Digikam::AbstractSearchGroupContainer::readGroup ( SearchXmlCachingReader reader)
protectedinherited

◆ removeRequested

void Digikam::SearchGroup::removeRequested ( )
signal

Referenced by setup().

◆ removeSearchGroup

void Digikam::AbstractSearchGroupContainer::removeSearchGroup ( SearchGroup group)
slotinherited

◆ removeSendingSearchGroup

void Digikam::AbstractSearchGroupContainer::removeSendingSearchGroup ( )
protectedslotinherited

◆ reset()

◆ setup()

◆ startReadingGroups()

void Digikam::AbstractSearchGroupContainer::startReadingGroups ( SearchXmlCachingReader reader)
protectedinherited

Call before reading the XML part that could contain group elements.

References Digikam::AbstractSearchGroupContainer::m_groupIndex.

Referenced by Digikam::SearchView::read(), and read().

◆ startupAnimationArea()

◆ startupAnimationAreaOfGroups()

QList< QRect > Digikam::AbstractSearchGroupContainer::startupAnimationAreaOfGroups ( ) 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().

◆ write()

◆ writeGroups()

void Digikam::AbstractSearchGroupContainer::writeGroups ( SearchXmlWriter writer) const
protectedinherited

Write contained groups to writer.

References Digikam::AbstractSearchGroupContainer::m_groups, and write().

Referenced by Digikam::SearchView::write(), and write().

Member Data Documentation

◆ m_fieldGroups

QList<SearchFieldGroup*> Digikam::SearchGroup::m_fieldGroups
protected

◆ m_fieldLabels

QList<SearchFieldGroupLabel*> Digikam::SearchGroup::m_fieldLabels
protected

Referenced by setup().

◆ m_groupIndex

◆ m_groups

◆ m_groupType

Type Digikam::SearchGroup::m_groupType
protected

Referenced by groupType(), and setup().

◆ m_label

SearchGroupLabel* Digikam::SearchGroup::m_label
protected

Referenced by read(), reset(), setup(), and write().

◆ m_layout

QVBoxLayout* Digikam::SearchGroup::m_layout
protected

Referenced by setup().

◆ m_subgroupLayout

QVBoxLayout* Digikam::SearchGroup::m_subgroupLayout
protected

Referenced by addGroupToLayout(), and setup().

◆ m_view

SearchView* Digikam::SearchGroup::m_view
protected

Referenced by createSearchGroup(), and setup().


The documentation for this class was generated from the following files: