Choreonoid  1.8
StringListComboBox.h
Go to the documentation of this file.
1 #ifndef CNOID_BASE_STRING_LIST_COMBO_BOX_H
2 #define CNOID_BASE_STRING_LIST_COMBO_BOX_H
3 
4 #include <QComboBox>
5 #include "exportdecl.h"
6 
7 namespace cnoid {
8 
13 class CNOID_EXPORT StringListComboBox : public QComboBox
14 {
15  Q_OBJECT
16 
17  Q_PROPERTY(QStringList labels READ labels WRITE setLabels USER true)
18 
19 public:
20  StringListComboBox(QWidget* widget = 0);
21 
22  QStringList labels() const;
23  void setLabels(QStringList labels);
24 };
25 
26 }
27 
28 #endif
cnoid::StringListComboBox
Definition: StringListComboBox.h:13
cnoid
Definition: AbstractSceneLoader.h:11