|
ADTF Qt5
|
Legacy version namespace for all functionality of the ADTF UI SDK taken over from ADTF v3.19. More...
Classes | |
| class | cThemedIconColorMapping |
Enumerations | |
| enum class | eThemedIcon { OpenFile , LED_Red , LED_Green , LED_Yellow , LED_Grey , Status_Error , Status_Warning , Status_Debug , Arrow_Left , Arrow_Up , Arrow_Right , Arrow_Down , Help , Info , Edit_Add , Edit_Remove , Edit_Cut , Edit_Copy , Edit_Paste , Edit_Modify , Edit_Undo , Edit_Redo , Zoom , Zoom_In , Zoom_Out } |
Functions | |
| QColor | get_color (size_t maxColors, size_t colorIndex) |
Get tableau 10 colors. If maxColors is greater or equal to 20 it uses tableau 20 colors. | |
| QIcon | create_themed_icon (QString file, cThemedIconColorMapping themedIconColorMapping=cThemedIconColorMapping::GetDefaultColorMapping()) |
| Creates a themed icon from given svg file with color mapping. | |
| QIcon | create_themed_icon (eThemedIcon icon) |
| Creates a predefined themed icon. | |
Legacy version namespace for all functionality of the ADTF UI SDK taken over from ADTF v3.19.
|
strong |
Enum for accessing various icons already delivered in XSystem.
| QIcon adtf::ui::thor::create_themed_icon | ( | eThemedIcon | icon | ) |
Creates a predefined themed icon.
| icon | The enum value for the desired icon. |
| QIcon adtf::ui::thor::create_themed_icon | ( | QString | file, |
| cThemedIconColorMapping | themedIconColorMapping = cThemedIconColorMapping::GetDefaultColorMapping() ) |
Creates a themed icon from given svg file with color mapping.
| file | The icon file |
| themedIconColorMapping | The color mapping for the icon, emtpy for default color mapping. |
| QColor adtf::ui::thor::get_color | ( | size_t | maxColors, |
| size_t | colorIndex ) |
Get tableau 10 colors. If maxColors is greater or equal to 20 it uses tableau 20 colors.
| maxColors | Number of distinguishable colors. |
| colorIndex | Index of the color. |