Qt: minor cleanup

This commit is contained in:
Megamouse 2020-04-17 10:06:58 +02:00
parent 06d4505992
commit e361bac945
6 changed files with 38 additions and 33 deletions

View file

@ -42,6 +42,9 @@ namespace gui
// Returns the font of the QLabels with object_name
QFont get_label_font(const QString& object_name);
// Returns the width of the text
int get_label_width(const QString& text);
// Returns the part of the image loaded from path that is inside the bounding box of its opaque areas
QImage get_opaque_image_area(const QString& path);