QIviWindowControl Class

Provides an interface to the window control. More...

Header: #include <QIviWindowControl>
qmake: QT += ivivehiclefunctions
Instantiated By: WindowControl
Inherits: QIviAbstractZonedFeature

Properties

  • blindMode : QtIviVehicleFunctionsModule::BlindMode
  • blindState : const QtIviVehicleFunctionsModule::WindowState
  • heater : const bool
  • heaterMode : QtIviVehicleFunctionsModule::HeaterMode
  • state : const QtIviVehicleFunctionsModule::WindowState

Public Functions

QIviWindowControl(const QString &zone = QString(), QObject *parent = nullptr)
QtIviVehicleFunctionsModule::BlindMode blindMode() const
QtIviVehicleFunctionsModule::WindowState blindState() const
bool heater() const
QtIviVehicleFunctionsModule::HeaterMode heaterMode() const
QtIviVehicleFunctionsModule::WindowState state() const

Public Slots

void close()
void open()
void setBlindMode(QtIviVehicleFunctionsModule::BlindMode blindMode)
void setHeaterMode(QtIviVehicleFunctionsModule::HeaterMode heaterMode)

Signals

void blindModeChanged(QtIviVehicleFunctionsModule::BlindMode blindMode)
void blindStateChanged(QtIviVehicleFunctionsModule::WindowState blindState)
void heaterChanged(bool heater)
void heaterModeChanged(QtIviVehicleFunctionsModule::HeaterMode heaterMode)
void stateChanged(QtIviVehicleFunctionsModule::WindowState state)

Additional Inherited Members

Detailed Description

Provides an interface to the window control.

The QIviWindowControl provides an interface to control the physical windows of the vehicle. All properties are exposed through zone objects. The zones are retrieved using the zoneAt method. The QIviWindowControl expects a single backend to be available. It is recommended to use it with discoveryMode set to zoneAt.

Property Documentation

blindMode : QtIviVehicleFunctionsModule::BlindMode

Holds the current mode of the window blind.

Access functions:

QtIviVehicleFunctionsModule::BlindMode blindMode() const
void setBlindMode(QtIviVehicleFunctionsModule::BlindMode blindMode)

Notifier signal:

void blindModeChanged(QtIviVehicleFunctionsModule::BlindMode blindMode)

blindState : const QtIviVehicleFunctionsModule::WindowState

Holds the current state of the window blind.

Access functions:

QtIviVehicleFunctionsModule::WindowState blindState() const

Notifier signal:

void blindStateChanged(QtIviVehicleFunctionsModule::WindowState blindState)

heater : const bool

Indicates whether the window heater is currently running.

Access functions:

bool heater() const

Notifier signal:

void heaterChanged(bool heater)

heaterMode : QtIviVehicleFunctionsModule::HeaterMode

Holds the current mode of the window heater.

Access functions:

QtIviVehicleFunctionsModule::HeaterMode heaterMode() const
void setHeaterMode(QtIviVehicleFunctionsModule::HeaterMode heaterMode)

Notifier signal:

void heaterModeChanged(QtIviVehicleFunctionsModule::HeaterMode heaterMode)

state : const QtIviVehicleFunctionsModule::WindowState

Holds the current state of the window.

Access functions:

QtIviVehicleFunctionsModule::WindowState state() const

Notifier signal:

void stateChanged(QtIviVehicleFunctionsModule::WindowState state)

Member Function Documentation

QIviWindowControl::QIviWindowControl(const QString &zone = QString(), QObject *parent = nullptr)

Default constructs an instance of QIviWindowControl to the given zone.

If zone is not provided the General zone will be created.

The parent argument is passed on to the QIviAbstractZonedFeature base class.

[slot] void QIviWindowControl::close()

Closes the window, if not already in the QIviWindowControl::Closed state.

[slot] void QIviWindowControl::open()

Opens the window, if not already in the QIviWindowControl::FullyOpen state.

© 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.