QKnxControlDimming Class

The QKnxControlDimming class is a datapoint type for controlling dimming. More...

Header: #include <QKnxControlDimming>
qmake: QT += knx
Inherits: QKnx3BitControlled

Public Types

enum Control { Decrease, Increase }

Public Functions

QKnxControlDimming()
QKnxControlDimming(QKnxControlDimming::Control control, QKnx3BitControlled::NumberOfIntervals interval)
QKnxControlDimming::Control control() const
void setControl(QKnxControlDimming::Control control)

Additional Inherited Members

Detailed Description

The QKnxControlDimming class is a datapoint type for controlling dimming.

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 QKnxControlDimming::Control

This enum type holds whether dimming decreases or increases.

ConstantValue
QKnxControlDimming::Decrease0x00
QKnxControlDimming::Increase0x01

Member Function Documentation

QKnxControlDimming::QKnxControlDimming()

Creates a fixed size datapoint type with the control set to Decrease and the number of intervals set to QKnx3BitControlled::Break.

QKnxControlDimming::QKnxControlDimming(QKnxControlDimming::Control control, QKnx3BitControlled::NumberOfIntervals interval)

Creates a fixed size datapoint type with the control control and the number of intervals interval.

QKnxControlDimming::Control QKnxControlDimming::control() const

Returns the control stored in the datapoint type.

See also setControl().

void QKnxControlDimming::setControl(QKnxControlDimming::Control control)

Sets the control part of the datapoint type to control.

See also control().

© 2018 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.