title filter

This commit is contained in:
2019-04-01 14:43:01 +02:00
parent a95957e2fc
commit 7bccf8fb19
8 changed files with 304 additions and 29 deletions
+78 -19
View File
@@ -30,6 +30,34 @@ public:
*/
void saveSettings();
/*!
\brief
\fn clearTitleList
*/
void clearTitleList();
/*!
\brief
\param titleList
\fn setTitleList
*/
void setTitleList(QStringList titleList);
/*!
\brief
\param titleList
\fn updateTitleList
*/
void updateTitleList(QStringList& titleList);
/*!
\brief
\fn selectedTitle
\return QStringList
*/
QStringList selectedTitle();
/*!
\brief
@@ -111,10 +139,37 @@ public:
*/
QList<qint32> selectedTag();
/*!
\brief
\fn onTitleChanged
*/
void onTitleChanged();
/*!
\brief
\fn onPersonChanged
*/
void onPersonChanged();
/*!
\brief
\fn onLocationChanged
*/
void onLocationChanged();
/*!
\brief
\fn onTagChanged
*/
void onTagChanged();
private:
Ui::cFilterPanel* ui;
bool m_bLoading; /*!< TODO: describe */
QStandardItemModel* m_lpTitleListModel; /*!< TODO: describe */
QStandardItemModel* m_lpPersonListModel; /*!< TODO: describe */
cPersonList* m_lpPersonList; /*!< TODO: describe */
@@ -136,26 +191,23 @@ private:
\fn createActions
*/
void createActions();
/*!
\brief
\fn onPersonChanged
*/
void onPersonChanged();
/*!
\brief
\fn onLocationChanged
*/
void onLocationChanged();
/*!
\brief
\fn onTagChanged
*/
void onTagChanged();
private slots:
/*!
\brief
\fn onTitleFilter
\param bToggle
*/
void onTitleFilter(bool bToggle);
/*!
\brief
\fn onTitleChanged
\param topLeft
\param bottomright
\param roles
*/
void onTitleChanged(const QModelIndex& topLeft, const QModelIndex& bottomright, const QVector<int>& roles);
/*!
\brief
@@ -226,6 +278,13 @@ private slots:
*/
void onTagChanged(const QModelIndex& topLeft, const QModelIndex& bottomright, const QVector<int>& roles);
signals:
/*!
\brief
\fn titleChanged
\param titleList
*/
void titleChanged(QStringList titleList);
/*!
\brief