CuteHMI - Graphical User Interface (CuteHMI.GUI.1)
PropItem Class Reference

Prop item. More...

Inheritance diagram for PropItem:

Properties

real thickness
 Prop thickness. More...
 
color color
 Prop color. More...
 
real leftPadding
 Left padding. More...
 
real rightPadding
 Right padding. More...
 
real topPadding
 Top padding. More...
 
real bottomPadding
 Bottom padding. More...
 
alias contentData
 Content data. More...
 

Detailed Description

Prop item.

Since
1.0

This simple item can be used to draw small props around an actual item, which can be placed inside PropItem. Prop size can be controlled with padding properties (leftPadding, rightPadding, topPadding, bottomPadding).

Prop item preview

Above image has been obtained with the following sample code demonstrating basic use of prop item.

value: 100
}
}
value: 100
}
}
Number display.
Definition: NumberDisplay.qml:16
Prop item.
Definition: PropItem.qml:16
real bottomPadding
Bottom padding.
Definition: PropItem.qml:41
real leftPadding
Left padding.
Definition: PropItem.qml:29
real rightPadding
Right padding.
Definition: PropItem.qml:33

Property Documentation

◆ bottomPadding

real PropItem::bottomPadding
read

Bottom padding.

◆ color

color PropItem::color
read

Prop color.

◆ contentData

alias PropItem::contentData
read

Content data.

Remarks
This is the default property

◆ leftPadding

real PropItem::leftPadding
read

Left padding.

◆ rightPadding

real PropItem::rightPadding
read

Right padding.

◆ thickness

real PropItem::thickness
read

Prop thickness.

◆ topPadding

real PropItem::topPadding
read

Top padding.