Source-highlight Qt Library
StyleComboBox.h
1 /*
2  * Copyright (C) 2008-2010 Lorenzo Bettini, http://www.lorenzobettini.it
3  * License: See COPYING file that comes with this distribution
4  */
5 
6 #ifndef STYLECOMBOBOX_H
7 #define STYLECOMBOBOX_H
8 
9 #include <QComboBox>
10 
11 namespace srchiliteqt {
12 
17 class StyleComboBox : public QComboBox
18 {
19  Q_OBJECT
20 public:
27  StyleComboBox(const QString &path = "");
28 
29 public slots:
35  void setCurrentStyle(const QString &styleFile);
36 
40  const QString getCurrentStyle() const;
41 
47  void reload(const QString &path);
48 
49 };
50 
51 }
52 
53 #endif // STYLECOMBOBOX_H