mirror of
https://github.com/YACReader/yacreader
synced 2025-07-27 01:15:07 -04:00
added support for search modifiers, added [read] [unread] as examples
This commit is contained in:
@ -2,6 +2,9 @@
|
||||
#define YACREADER_SEARCH_LINE_EDIT_H
|
||||
|
||||
#include <QLineEdit>
|
||||
#include <QCompleter>
|
||||
|
||||
#include "yacreader_global.h"
|
||||
|
||||
class QToolButton;
|
||||
class QLabel;
|
||||
@ -16,12 +19,18 @@ public:
|
||||
protected:
|
||||
void resizeEvent(QResizeEvent *);
|
||||
|
||||
signals:
|
||||
void filterChanged(const YACReader::SearchModifiers, QString);
|
||||
|
||||
private slots:
|
||||
void updateCloseButton(const QString &text);
|
||||
void processText(const QString & text);
|
||||
|
||||
private:
|
||||
QToolButton *clearButton;
|
||||
QLabel * searchLabel;
|
||||
QCompleter * modifiersCompleter;
|
||||
QStringList modifiers;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user