git-svn-id: svn://db.shs.com.ru/libs@1 a8b55f48-bf90-11e4-a774-851b48703e85
35 lines
504 B
C++
35 lines
504 B
C++
#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);
|
|
|
|
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
|