Move LineEdit files out of subfolder

This commit is contained in:
Chocobo1
2019-07-13 14:05:35 +08:00
parent 23ebb3134b
commit 032883e278
8 changed files with 7 additions and 21 deletions

32
src/gui/lineedit.h Normal file
View File

@@ -0,0 +1,32 @@
/****************************************************************************
**
** Copyright (c) 2007 Trolltech ASA <info@trolltech.com>
**
** Use, modification and distribution is allowed without limitation,
** warranty, liability or support of any kind.
**
****************************************************************************/
#ifndef LINEEDIT_H
#define LINEEDIT_H
#include <QLineEdit>
class QToolButton;
class LineEdit : public QLineEdit
{
Q_OBJECT
public:
LineEdit(QWidget *parent);
protected:
void resizeEvent(QResizeEvent *e) override;
void keyPressEvent(QKeyEvent *event) override;
private:
QToolButton *m_searchButton;
};
#endif // LIENEDIT_H