 |
Sayonara Player
|
75 QPixmap
pixmap(
const QString& iconName,
IconTheme themeName, QSize sz,
bool keepAspect=
true);
85 QImage
image(
const QString& iconName,
IconTheme themeName, QSize sz,
bool keepAspect=
true);
106 QScreen* getBiggestScreen();
114 void placeInScreenCenter(QWidget* widget,
float relativeSizeX,
float relativeSizeY);
116 int textWidth(
const QFontMetrics& fm,
const QString& text);
117 int textWidth(QWidget* widget,
const QString& text);
Definition: EngineUtils.h:33
QPixmap pixmap(const QString &iconName, IconTheme themeName)
fetch a pixmap from resources
Helper functions.
Definition: GenreView.h:36
QIcon icon(const QString &iconName, IconTheme themeName)
fetch a icon from resources
void setMainWindow(QMainWindow *window)
set the applications' main window
QMainWindow * mainWindow()
get the applications' main window
IconTheme
The IconTheme enum.
Definition: GuiUtils.h:51
QImage image(const QString &iconName, IconTheme themeName)
see pixmap()