mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 21:42:13 +00:00
b10a817f7e
Remove some useless includes from the launcher See merge request OpenMW/openmw!775 (cherry picked from commit a84bd643b334eb6ac715681c497184ac22212ced) d3fff8cf Remove some useless includes from the launcher
42 lines
821 B
C++
42 lines
821 B
C++
/****************************************************************************
|
|
**
|
|
** 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>
|
|
#include <QStylePainter>
|
|
#include <QToolButton>
|
|
|
|
class QToolButton;
|
|
|
|
class LineEdit : public QLineEdit
|
|
{
|
|
Q_OBJECT
|
|
|
|
QString mPlaceholderText;
|
|
|
|
public:
|
|
LineEdit(QWidget *parent = nullptr);
|
|
|
|
protected:
|
|
void resizeEvent(QResizeEvent *) override;
|
|
|
|
private slots:
|
|
void updateClearButton(const QString &text);
|
|
|
|
protected:
|
|
QToolButton *mClearButton;
|
|
|
|
void setupClearButton();
|
|
};
|
|
|
|
#endif // LIENEDIT_H
|
|
|