QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RLineweightCombo.h
Go to the documentation of this file.
1 #ifndef RLINEWEIGHTCOMBO_H_
2 #define RLINEWEIGHTCOMBO_H_
3 
4 #include <QComboBox>
5 
6 #include "RGlobal.h"
7 #include "RLineweight.h"
8 
12 class RLineweightCombo: public QComboBox {
13 
14 Q_OBJECT
15 Q_PROPERTY(bool onlyFixed READ getOnlyFixed WRITE setOnlyFixed);
16 
17 public:
18  RLineweightCombo(QWidget *parent = 0);
19 
20  void init();
21 
24 
25  bool getOnlyFixed();
26  void setOnlyFixed(bool onlyFixed);
27 
28 signals:
30 
31 public slots:
32  void lineweightChanged(int index);
33 
34 private:
36  bool onlyFixed;
37 };
38 
40 
41 #endif