|
tuned-switcher 1.1.0
Performance profile manager
|
Functions | |
| QRect | GetDefaultFormPosition (const QWidget *) |
| bool | CheckGeometryValid (const QByteArray &) |
| QIcon | GetApplicationIcon () |
| QPixmap | GetApplicationPixmap (const int size=128) |
Namespace with static methods for working with GUI.
| bool GuiHelpers::CheckGeometryValid | ( | const QByteArray & | geometry | ) |
Check whether the geometry value is valid.
| geometry | The geometry value for checking. |
| true | The geometry value is valid. |
| false | The geometry value is not valid. |
| QIcon GuiHelpers::GetApplicationIcon | ( | ) |
Get the application icon from the installed theme or form the included resource.
| QPixmap GuiHelpers::GetApplicationPixmap | ( | const int | size = 128 | ) |
Get the application icon from the installed theme or form the included resource as a pixmap.
| size | The desired icon size. Default - 128 px. |
| QRect GuiHelpers::GetDefaultFormPosition | ( | const QWidget * | widget | ) |
Get the default form position at the center of the screen.
| widget | Widget instance. |