00001 #ifndef STYLECOMBOBOX_H 00002 #define STYLECOMBOBOX_H 00003 00004 #include <QComboBox> 00005 00006 namespace srchiliteqt { 00007 00012 class StyleComboBox : public QComboBox 00013 { 00014 Q_OBJECT 00015 public: 00022 StyleComboBox(const QString &path = ""); 00023 00024 public slots: 00030 void setCurrentStyle(const QString &styleFile); 00031 00035 const QString getCurrentStyle() const; 00036 00042 void reload(const QString &path); 00043 00044 }; 00045 00046 } 00047 00048 #endif // STYLECOMBOBOX_H