LiveRuntime Class
Collects properties to be used for an enhanced QML Live runtime. More...
Header: | #include <LiveRuntime> |
Inherits: | QObject |
Properties
- screenHeight : qreal
- screenWidth : qreal
Public Functions
LiveRuntime(QObject *parent = 0) | |
qreal | screenHeight() const |
qreal | screenWidth() const |
Public Slots
void | setScreenHeight(qreal arg) |
void | setScreenWidth(qreal arg) |
Signals
void | screenHeightChanged(qreal arg) |
void | screenWidthChanged(qreal arg) |
Detailed Description
This runtime is used in a live enhanced QML project to be able to access more advanced features. Currently it does nothing
Property Documentation
screenHeight : qreal
This propety defines the screen height
Access functions:
qreal | screenHeight() const |
void | setScreenHeight(qreal arg) |
Notifier signal:
void | screenHeightChanged(qreal arg) |
screenWidth : qreal
This propety defines the screen width
Access functions:
qreal | screenWidth() const |
void | setScreenWidth(qreal arg) |
Notifier signal:
void | screenWidthChanged(qreal arg) |
Member Function Documentation
LiveRuntime::LiveRuntime(QObject *parent = 0)
Standard constructor using parent as parent
[slot]
void LiveRuntime::setScreenHeight(qreal arg)
Sets the screen height value arg
Note: Setter function for property screenHeight.
See also screenHeight().
[slot]
void LiveRuntime::setScreenWidth(qreal arg)
Sets the screen width value arg
Note: Setter function for property screenWidth.
See also screenWidth().
qreal LiveRuntime::screenHeight() const
Return the screen height
Note: Getter function for property screenHeight.
See also setScreenHeight().
qreal LiveRuntime::screenWidth() const
Return the screen width
Note: Getter function for property screenWidth.
See also setScreenWidth().
© 2019 Luxoft Sweden AB. 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.