QCAD Application Framework
CAD Application Development and Automation.
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
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
22
RLineweight::Lineweight
getLineweight
();
23
void
setLineweight
(
RLineweight::Lineweight
lw);
24
25
bool
getOnlyFixed
();
26
void
setOnlyFixed
(
bool
onlyFixed
);
27
28
signals:
29
void
valueChanged
(
RLineweight::Lineweight
lw);
30
31
public
slots:
32
void
lineweightChanged
(
int
index);
33
34
private
:
35
RLineweight::Lineweight
currentLineweight
;
36
bool
onlyFixed
;
37
};
38
39
Q_DECLARE_METATYPE
(
RLineweightCombo
*)
40
41
#endif
src
gui
RLineweightCombo.h
Generated on Tue Jun 26 2012 18:41:08 for QCAD Application Framework by
1.8.1.1