Definition at line 67 of file newmeasurement.h.
NewMeasurement::NewMeasurement |
( |
int |
type = QMetaType::UnknownType , |
|
|
QObject * |
parent = 0 |
|
) |
| |
|
explicit |
Constructs a Measurement.
- Parameters
-
[in] | type | the QMetaType id of the Measurement. |
[in] | parent | the parent object |
Definition at line 57 of file newmeasurement.cpp.
NewMeasurement::~NewMeasurement |
( |
| ) |
|
|
virtual |
const QString & XMEASLIB::NewMeasurement::getName |
( |
| ) |
const |
|
inline |
Returns the name of the Measurement.
- Returns
- the name of the Measurement.
Definition at line 154 of file newmeasurement.h.
bool XMEASLIB::NewMeasurement::isVisible |
( |
| ) |
const |
|
inline |
Returns whether Measurement is visible.
- Returns
- true if Measurement is visible, otherwise false.
Definition at line 181 of file newmeasurement.h.
void XMEASLIB::NewMeasurement::setName |
( |
const QString & |
name | ) |
|
|
inline |
Sets the name of the Measurement.
- Parameters
-
[in] | name | which should be set. |
Definition at line 172 of file newmeasurement.h.
void XMEASLIB::NewMeasurement::setType |
( |
int |
type | ) |
|
|
inlineprotected |
Sets the type of the Measurement. Use QMetaType::type("the type") to generate the type.
- Parameters
-
[in] | type | the QMetaType id of the Measurement. |
Definition at line 163 of file newmeasurement.h.
void XMEASLIB::NewMeasurement::setVisibility |
( |
bool |
visibility | ) |
|
|
inline |
Sets the visibility of the Measurement, whether Measurement is visible at the display or just data are send invisible.
- Parameters
-
[in] | visibility | of the Measurement. |
Definition at line 190 of file newmeasurement.h.
int XMEASLIB::NewMeasurement::type |
( |
| ) |
const |
|
inline |
Returns the type of the Measurement.
- Returns
- the type of the Measurement.
Definition at line 199 of file newmeasurement.h.
The documentation for this class was generated from the following files: