Merged feature-filter into master
This commit is contained in:
31
filterlineedit.h
Normal file
31
filterlineedit.h
Normal file
@@ -0,0 +1,31 @@
|
||||
#ifndef FILTERLINEEDIT_H
|
||||
#define FILTERLINEEDIT_H
|
||||
|
||||
#include <QLineEdit>
|
||||
#include <QToolButton>
|
||||
|
||||
class FilterLineEdit : public QLineEdit
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit FilterLineEdit(QWidget *parent = 0);
|
||||
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
|
||||
private slots:
|
||||
void updateCloseButton(const QString &text);
|
||||
|
||||
protected:
|
||||
void focusInEvent(QFocusEvent *e);
|
||||
void focusOutEvent(QFocusEvent *e);
|
||||
|
||||
void resizeEvent(QResizeEvent *e);
|
||||
|
||||
private:
|
||||
QToolButton *clearButton;
|
||||
|
||||
};
|
||||
|
||||
#endif // FILTERLINEEDIT_H
|
Reference in New Issue
Block a user