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
RLinetypeCombo.h
Go to the documentation of this file.
1
#ifndef RLINETYPECOMBO_H_
2
#define RLINETYPECOMBO_H_
3
4
#include <QComboBox>
5
#include <QColor>
6
7
#include "
RDocument.h
"
8
#include "
RLinetype.h
"
9
13
class
RLinetypeCombo
:
public
QComboBox {
14
15
Q_OBJECT
16
Q_PROPERTY(
bool
onlyFixed
READ
getOnlyFixed
WRITE
setOnlyFixed
);
17
18
public
:
19
RLinetypeCombo
(QWidget *parent = 0);
20
21
RLinetype
getLinetype
();
22
void
setLinetype
(
const
RLinetype
& linetype);
23
void
init
();
24
bool
getOnlyFixed
();
25
void
setOnlyFixed
(
bool
onlyFixed
);
26
27
signals:
28
void
valueChanged
(
const
RLinetype
& linetype);
29
30
public
slots:
31
void
linetypeChanged
(
int
index);
32
33
private
:
34
bool
onlyFixed
;
35
};
36
37
Q_DECLARE_METATYPE
(
RLinetypeCombo
*)
38
39
#endif
src
gui
RLinetypeCombo.h
Generated on Tue Jun 26 2012 18:41:08 for QCAD Application Framework by
1.8.1.1