24 #ifndef DIGIKAM_SEARCH_VIEW_H
25 #define DIGIKAM_SEARCH_VIEW_H
35 class QDialogButtonBox;
42 class SearchViewBottomBar;
43 class SearchXmlCachingReader;
44 class SearchXmlWriter;
127 void read(
const QString& search);
128 QString
write()
const;
153 void showEvent(QShowEvent* event)
override;
180 QWidget*
const parent =
nullptr);
Definition: searchview.h:62
void removeSearchGroup(SearchGroup *group)
Definition: searchview.cpp:73
int m_groupIndex
Definition: searchview.h:108
void startReadingGroups(SearchXmlCachingReader &reader)
Call before reading the XML part that could contain group elements.
Definition: searchview.cpp:88
QList< QRect > startupAnimationAreaOfGroups() const
Collects the data from the same method of all contained groups (position relative to this widget)
Definition: searchview.cpp:141
QList< SearchGroup * > m_groups
Definition: searchview.h:109
AbstractSearchGroupContainer(QWidget *const parent=nullptr)
Definition: searchview.cpp:55
void removeSendingSearchGroup()
Definition: searchview.cpp:136
void finishReadingGroups()
Call when the XML part is finished.
Definition: searchview.cpp:111
void readGroup(SearchXmlCachingReader &reader)
Call when a group element is the current element.
Definition: searchview.cpp:93
void writeGroups(SearchXmlWriter &writer) const
Write contained groups to writer.
Definition: searchview.cpp:128
SearchGroup * addSearchGroup()
Definition: searchview.cpp:61
virtual SearchGroup * createSearchGroup()=0
Re-implement: create and setup a search group.
virtual void addGroupToLayout(SearchGroup *group)=0
Re-implement: Adds a newly created group to the layout structures.
Definition: searchgroup.h:49
Definition: searchview.h:174
void paintEvent(QPaintEvent *) override
Definition: searchview.cpp:549
QDialogButtonBox * m_buttonBox
Definition: searchview.h:198
QPushButton * m_resetButton
Definition: searchview.h:200
QHBoxLayout * m_mainLayout
Definition: searchview.h:196
QPushButton * m_addGroupsButton
Definition: searchview.h:199
SearchViewBottomBar(SearchViewThemedPartsCache *const cache, QWidget *const parent=nullptr)
Definition: searchview.cpp:504
SearchViewThemedPartsCache * m_themeCache
Definition: searchview.h:202
Definition: searchview.h:47
virtual QPixmap groupLabelPixmap(int w, int h)=0
virtual QPixmap bottomBarPixmap(int w, int h)=0
SearchViewThemedPartsCache()=default
virtual ~SearchViewThemedPartsCache()=default
Definition: searchview.h:116
void setTheme()
Definition: searchview.cpp:387
void setBottomBar(SearchViewBottomBar *const bar)
Definition: searchview.cpp:221
SearchView()
Definition: searchview.cpp:177
~SearchView() override
Definition: searchview.cpp:183
QPixmap groupLabelPixmap(int w, int h) override
Definition: searchview.cpp:492
QPixmap cachedBannerPixmap(int w, int h) const
Definition: searchview.cpp:473
void read(const QString &search)
Definition: searchview.cpp:241
void timeLineFinished()
Definition: searchview.cpp:329
void slotAddGroupButton()
Definition: searchview.cpp:285
QString write() const
Definition: searchview.cpp:306
void setup()
Definition: searchview.cpp:188
SearchGroup * createSearchGroup() override
Re-implement: create and setup a search group.
Definition: searchview.cpp:277
void slotResetButton()
Definition: searchview.cpp:290
void addGroupToLayout(SearchGroup *group) override
Re-implement: Adds a newly created group to the layout structures.
Definition: searchview.cpp:270
QPixmap bottomBarPixmap(int w, int h) override
Definition: searchview.cpp:497
void startAnimation()
Definition: searchview.cpp:316
void animationFrame(int)
Definition: searchview.cpp:324
void paintEvent(QPaintEvent *e) override
Definition: searchview.cpp:351
void showEvent(QShowEvent *event) override
Definition: searchview.cpp:342
Definition: coredbsearchxml.h:376
Definition: coredbsearchxml.h:224
Definition: piwigotalker.h:48
Definition: datefolderview.cpp:43