Source-highlight Qt Library
OutputFormatComboBox.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 OUTPUTFORMATCOMBOBOX_H
7 #define OUTPUTFORMATCOMBOBOX_H
8 
9 #include <QComboBox>
10 #include "Qt4SyntaxHighlighter.h"
11 
12 namespace srchiliteqt {
13 
20 class OutputFormatComboBox : public QComboBox
21 {
22  Q_OBJECT
23 public:
30  OutputFormatComboBox(const QString &path = "");
31 
38 
39 public slots:
45  void setCurrentOutputFormat(const QString &outlang);
46 
50  const QString getCurrentOutputFormat() const;
51 
57  void reload(const QString &path);
58 
59 };
60 
61 }
62 
63 #endif // OUTPUTFORMATCOMBOBOX_H
64