QKnxControlBlinds Class
The QKnxControlBlinds class is a datapoint type for controlling blinds. More...
Header: | #include <QKnxControlBlinds> |
qmake: | QT += knx |
Inherits: | QKnx3BitControlled |
Public Types
enum | Control { Up, Down } |
Public Functions
QKnxControlBlinds(Control control, NumberOfIntervals interval) | |
QKnxControlBlinds() | |
Control | control() const |
void | setControl(Control control) |
Detailed Description
To set this datapoint type, Control and NumberOfIntervals have to be set.
See also QKnx3BitControlled and Qt KNX Datapoint Type Classes.
Member Type Documentation
enum QKnxControlBlinds::Control
This enum type holds whether the blinds are being raised or lowered.
Constant | Value | Description |
---|---|---|
QKnxControlBlinds::Up | 0x00 | Blinds are being raised. |
QKnxControlBlinds::Down | 0x01 | Blinds are being lowered. |
Member Function Documentation
QKnxControlBlinds::QKnxControlBlinds(Control control, NumberOfIntervals interval)
Creates a fixed size datapoint type with the control control and the number of intervals interval.
QKnxControlBlinds::QKnxControlBlinds()
Creates a fixed size boolean datapoint type with the control set to Up and the number of intervals set to QKnx3BitControlled::Break.
Control QKnxControlBlinds::control() const
Returns the control stored in the datapoint type.
See also setControl().
void QKnxControlBlinds::setControl(Control control)
Sets the control part of the datapoint type to control.
See also control().