summaryrefslogtreecommitdiffstats
path: root/src/tools/uic/ui4.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/uic/ui4.h')
-rw-r--r--src/tools/uic/ui4.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/tools/uic/ui4.h b/src/tools/uic/ui4.h
index 577baa3766..7244d1d59b 100644
--- a/src/tools/uic/ui4.h
+++ b/src/tools/uic/ui4.h
@@ -1645,6 +1645,11 @@ public:
inline bool hasElementKerning() const { return m_children & Kerning; }
void clearElementKerning();
+ inline QString elementHintingPreference() const { return m_hintingPreference; }
+ void setElementHintingPreference(const QString &a);
+ inline bool hasElementHintingPreference() const { return m_children & HintingPreference; }
+ void clearElementHintingPreference();
+
private:
// child element data
@@ -1659,6 +1664,7 @@ private:
bool m_antialiasing = false;
QString m_styleStrategy;
bool m_kerning = false;
+ QString m_hintingPreference;
enum Child {
Family = 1,
@@ -1670,7 +1676,8 @@ private:
StrikeOut = 64,
Antialiasing = 128,
StyleStrategy = 256,
- Kerning = 512
+ Kerning = 512,
+ HintingPreference = 1024
};
};