![]() |
NDEVR
API Documentation
|
An icon along with defined behavior describing how that icon should interact with a parent QCustomDial object. More...
Public Member Functions | |
| void | setImageID (const StringView &id) |
| Sets the icon image by resource ID and clears cached pixmaps. | |
Public Attributes | |
| bool | fullsize = false |
| Whether the icon should fill the entire dial area. | |
| String | image_id |
| The resource identifier for the icon image. | |
| bool | make_shadow = false |
| Whether to render a drop shadow behind the icon. | |
| QPixmap | pixmap |
| The loaded pixmap for the icon. | |
| bool | rotate = false |
| Whether the icon should rotate with the dial value. | |
| Angle< fltp08 > | rotation_offset = Angle<fltp08>(0) |
| An angular offset applied to the icon rotation. | |
| QPixmap | scaled_pixmap |
| Cached scaled pixmap to avoid redundant scaling when size has not changed. | |
| fltp08 | size = 1.0 |
| A size multiplier for the icon relative to the dial. | |
An icon along with defined behavior describing how that icon should interact with a parent QCustomDial object.
Definition at line 43 of file QCustomDial.h.
|
inline |
Sets the icon image by resource ID and clears cached pixmaps.
| [in] | id | The resource identifier for the new image. |
Definition at line 57 of file QCustomDial.h.
References image_id, pixmap, and scaled_pixmap.