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

Public Slots

SearchGroupaddSearchGroup ()
 
void removeSearchGroup (SearchGroup *group)
 

Signals

void searchCancel ()
 
void searchOk ()
 
void searchTryout ()
 

Public Member Functions

QPixmap bottomBarPixmap (int w, int h) override
 
QPixmap groupLabelPixmap (int w, int h) override
 
void read (const QString &search)
 
 SearchView ()
 
void setBottomBar (SearchViewBottomBar *const bar)
 
void setup ()
 
QString write () const
 
 ~SearchView () override
 

Protected Slots

void animationFrame (int)
 
void removeSendingSearchGroup ()
 
void setTheme ()
 
void slotAddGroupButton ()
 
void slotResetButton ()
 
void startAnimation ()
 
void timeLineFinished ()
 

Protected Member Functions

void addGroupToLayout (SearchGroup *group) override
 Re-implement: Adds a newly created group to the layout structures. More...
 
QPixmap cachedBannerPixmap (int w, int h) const
 
SearchGroupcreateSearchGroup () override
 Re-implement: create and setup a search group. More...
 
void finishReadingGroups ()
 Call when the XML part is finished. More...
 
void paintEvent (QPaintEvent *e) override
 
void readGroup (SearchXmlCachingReader &reader)
 Call when a group element is the current element. More...
 
void showEvent (QShowEvent *event) override
 
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

int m_groupIndex
 
QList< SearchGroup * > m_groups
 

Constructor & Destructor Documentation

◆ SearchView()

Digikam::SearchView::SearchView ( )

◆ ~SearchView()

Digikam::SearchView::~SearchView ( )
override

Member Function Documentation

◆ addGroupToLayout()

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

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

Implements Digikam::AbstractSearchGroupContainer.

◆ addSearchGroup

◆ animationFrame

void Digikam::SearchView::animationFrame ( int  )
protectedslot

Referenced by setup().

◆ bottomBarPixmap()

QPixmap Digikam::SearchView::bottomBarPixmap ( int  w,
int  h 
)
overridevirtual

◆ cachedBannerPixmap()

QPixmap Digikam::SearchView::cachedBannerPixmap ( int  w,
int  h 
) const
protected

◆ createSearchGroup()

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

◆ finishReadingGroups()

void Digikam::AbstractSearchGroupContainer::finishReadingGroups ( )
protectedinherited

◆ groupLabelPixmap()

QPixmap Digikam::SearchView::groupLabelPixmap ( int  w,
int  h 
)
overridevirtual

◆ paintEvent()

void Digikam::SearchView::paintEvent ( QPaintEvent *  e)
overrideprotected

◆ read()

◆ readGroup()

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

◆ removeSearchGroup

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

◆ removeSendingSearchGroup

void Digikam::AbstractSearchGroupContainer::removeSendingSearchGroup ( )
protectedslotinherited

◆ searchCancel

void Digikam::SearchView::searchCancel ( )
signal

Referenced by setBottomBar().

◆ searchOk

void Digikam::SearchView::searchOk ( )
signal

Referenced by setBottomBar().

◆ searchTryout

void Digikam::SearchView::searchTryout ( )
signal

Referenced by setBottomBar().

◆ setBottomBar()

void Digikam::SearchView::setBottomBar ( SearchViewBottomBar *const  bar)

◆ setTheme

void Digikam::SearchView::setTheme ( )
protectedslot

Referenced by setup().

◆ setup()

◆ showEvent()

void Digikam::SearchView::showEvent ( QShowEvent *  event)
overrideprotected

References startAnimation().

◆ slotAddGroupButton

void Digikam::SearchView::slotAddGroupButton ( )
protectedslot

◆ slotResetButton

void Digikam::SearchView::slotResetButton ( )
protectedslot

◆ startAnimation

void Digikam::SearchView::startAnimation ( )
protectedslot

Referenced by read(), and showEvent().

◆ 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 read(), and Digikam::SearchGroup::read().

◆ 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 Digikam::SearchGroup::startupAnimationArea().

Referenced by paintEvent(), and Digikam::SearchGroup::startupAnimationArea().

◆ timeLineFinished

void Digikam::SearchView::timeLineFinished ( )
protectedslot

Referenced by setup().

◆ write()

◆ writeGroups()

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

Write contained groups to writer.

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

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

Member Data Documentation

◆ m_groupIndex

◆ m_groups


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