mkRPG
src/editor/GUI/quietwidgets.h
Go to the documentation of this file.
00001 #ifndef QUIETWIDGETS_H
00002 #define QUIETWIDGETS_H
00003 
00004 #include <QComboBox>
00005 
00006 
00007 
00021 class QuietComboBox : public QComboBox
00022 {
00023     Q_OBJECT
00024 public:
00025     explicit QuietComboBox(QWidget *parent = nullptr);
00026 signals:
00027     void userChangedCurrentIndex(int);
00028 public slots:
00029     void setModel(QAbstractItemModel *model);
00030     void setCurrentIndex(int index);
00031 private slots:
00032     void signalFilter(int index);
00033 private:
00034     bool waiting;
00035 };
00036 
00037 
00038 #endif // QUIETWIDGETS_H
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Defines