1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-03 03:45:39 +00:00
openmw/components/esxselector/view/comboboxlineedit.hpp

38 lines
780 B
C++
Raw Normal View History

2013-02-14 10:20:47 +00:00
/****************************************************************************
**
** 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;
namespace EsxView
2013-02-14 10:20:47 +00:00
{
class ComboBoxLineEdit : public QLineEdit
{
Q_OBJECT
2013-02-14 10:20:47 +00:00
public:
ComboBoxLineEdit(QWidget *parent = 0);
2013-02-14 10:20:47 +00:00
protected:
void resizeEvent(QResizeEvent *);
2013-02-14 10:20:47 +00:00
private slots:
void updateClearButton(const QString &text);
2013-02-14 10:20:47 +00:00
private:
QToolButton *mClearButton;
};
}
2013-02-14 10:20:47 +00:00
#endif // LIENEDIT_H