summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfont.h
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@nokia.com>2010-07-05 15:38:51 (GMT)
committerTor Arne Vestbø <tor.arne.vestbo@nokia.com>2010-07-08 11:05:44 (GMT)
commit6d5655089fa4e2231a1a8edc98ecbb6b29e344e1 (patch)
treebd6c9a184fc6e2f1a74416248383a2af0543a788 /src/gui/text/qfont.h
parentebf175b3d68e28cd808204adaba1ec8942ac5a8f (diff)
downloadQt-6d5655089fa4e2231a1a8edc98ecbb6b29e344e1.zip
Qt-6d5655089fa4e2231a1a8edc98ecbb6b29e344e1.tar.gz
Qt-6d5655089fa4e2231a1a8edc98ecbb6b29e344e1.tar.bz2
Add three new style-hints to QFont to match CSS' generic font families
The defaults were chosen to match major web browsers. See: http://xhva.net/log/?p=160 Reviewed-by: Simon Hausmann
Diffstat (limited to 'src/gui/text/qfont.h')
-rw-r--r--src/gui/text/qfont.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/text/qfont.h b/src/gui/text/qfont.h
index 6f62424..2cc41e1 100644
--- a/src/gui/text/qfont.h
+++ b/src/gui/text/qfont.h
@@ -72,7 +72,10 @@ public:
Courier, TypeWriter = Courier,
OldEnglish, Decorative = OldEnglish,
System,
- AnyStyle
+ AnyStyle,
+ Cursive,
+ Monospace,
+ Fantasy
};
enum StyleStrategy {