CCIMXDesktop
 
Loading...
Searching...
No Matches
LabelStyleReader.h
1#ifndef LABELSTYLEREADER_H
2#define LABELSTYLEREADER_H
3
9#include <QLabel>
10#include <QFont>
11#include <QColor>
12
20public:
26 static QFont font(const QLabel* label);
27
33 static int fontSize(const QLabel* label);
34
40 static QColor textColor(const QLabel* label);
41};
42
43#endif // LABELSTYLEREADER_H
Provides static methods to read style information from QLabel widgets.
Definition LabelStyleReader.h:19
static QFont font(const QLabel *label)
Gets the font used in the label.
Definition LabelStyleReader.cpp:3
static QColor textColor(const QLabel *label)
Gets the text color of the label.
Definition LabelStyleReader.cpp:17
static int fontSize(const QLabel *label)
Gets the font size of the label in points.
Definition LabelStyleReader.cpp:10