CuteHMI - Graphical User Interface (CuteHMI.GUI.0)
|
Number display. More...
Properties | |
alias | font |
Font. More... | |
real | leftPadding |
Left padding. More... | |
real | rightPadding |
Right padding. More... | |
real | topPadding |
Top padding. More... | |
real | bottomPadding |
Bottom padding. More... | |
real | value |
Value. More... | |
int | fractionalWidth |
Fractional width. More... | |
int | integralWidth |
Integral width. More... | |
string | unit |
Unit of measurment. More... | |
var | textFormatter |
Text formatter. More... | |
Properties inherited from CuteHMI::GUI::Element | |
Units | units |
Units used by the element. More... | |
Palette | palette |
Palette. More... | |
ColorSet | color |
This property defines current colors that should be used to draw element contents. More... | |
ColorSet | colorSet |
Active color set. More... | |
bool | neutral |
Denotes if element is neutral (it does not distinguish between active, inactive, warning and alarm states). More... | |
bool | active |
Denotes if an item is in active state. More... | |
bool | warning |
Denotes if an item is in warning state. More... | |
bool | alarm |
Denotes if an item is in alarm state. More... | |
bool | indirectWarning |
Denotes if item is in indirect warning state. More... | |
bool | indirectAlarm |
Denotes if item is in indirect alarm state. More... | |
Additional Inherited Members | |
Public Member Functions inherited from CuteHMI::GUI::Element | |
ColorSet | currentStateColorSet () |
Pick color set based on active, warning and alarm property states. More... | |
Number display.
Number display can be used to conveniently display numerical values with corresponding units of measurement. Number display tries to keep constant width. If that's not possible it expands to fit the content.
real CuteHMI::GUI::NumberDisplay::bottomPadding |
Bottom padding.
alias CuteHMI::GUI::NumberDisplay::font |
Font.
Font that is used by the display. It may be desirable to set some monospace font.
int CuteHMI::GUI::NumberDisplay::fractionalWidth |
Fractional width.
int CuteHMI::GUI::NumberDisplay::integralWidth |
Integral width.
real CuteHMI::GUI::NumberDisplay::leftPadding |
Left padding.
real CuteHMI::GUI::NumberDisplay::rightPadding |
Right padding.
var CuteHMI::GUI::NumberDisplay::textFormatter |
Text formatter.
real CuteHMI::GUI::NumberDisplay::topPadding |
Top padding.
string CuteHMI::GUI::NumberDisplay::unit |
Unit of measurment.
real CuteHMI::GUI::NumberDisplay::value |
Value.