git-svn-id: svn://db.shs.com.ru/libs@188 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
36
qad/widgets/ecombobox.h
Normal file
36
qad/widgets/ecombobox.h
Normal file
@@ -0,0 +1,36 @@
|
||||
#ifndef ECOMBOBOX_H
|
||||
#define ECOMBOBOX_H
|
||||
|
||||
#include <QComboBox>
|
||||
#include <QBoxLayout>
|
||||
#include <QTreeView>
|
||||
#include <QLabel>
|
||||
#include "clineedit.h"
|
||||
|
||||
|
||||
class EComboBox: public QComboBox
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit EComboBox(QWidget * parent = 0);
|
||||
|
||||
QSize sizeHint() const;
|
||||
|
||||
public slots:
|
||||
virtual void showPopup();
|
||||
|
||||
private:
|
||||
QTreeView iv;
|
||||
QWidget header;
|
||||
QLabel icon;
|
||||
CLineEdit filter;
|
||||
QFont nfont, ifont;
|
||||
|
||||
private slots:
|
||||
void filterChanged(const QString & text, bool first = false);
|
||||
|
||||
signals:
|
||||
|
||||
};
|
||||
|
||||
#endif // ECOMBOBOX_H
|
||||
Reference in New Issue
Block a user