Source-highlight Qt Library
|
00001 /* 00002 * Copyright (C) 2008-2010 Lorenzo Bettini, http://www.lorenzobettini.it 00003 * License: See COPYING file that comes with this distribution 00004 */ 00005 00006 #ifndef STYLECOMBOBOX_H 00007 #define STYLECOMBOBOX_H 00008 00009 #include <QComboBox> 00010 00011 namespace srchiliteqt { 00012 00017 class StyleComboBox : public QComboBox 00018 { 00019 Q_OBJECT 00020 public: 00027 StyleComboBox(const QString &path = ""); 00028 00029 public slots: 00035 void setCurrentStyle(const QString &styleFile); 00036 00040 const QString getCurrentStyle() const; 00041 00047 void reload(const QString &path); 00048 00049 }; 00050 00051 } 00052 00053 #endif // STYLECOMBOBOX_H