summaryrefslogtreecommitdiffstats
path: root/examples/themes/themes.doc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/themes/themes.doc')
-rw-r--r--examples/themes/themes.doc55
1 files changed, 55 insertions, 0 deletions
diff --git a/examples/themes/themes.doc b/examples/themes/themes.doc
new file mode 100644
index 000000000..eefdea1b5
--- /dev/null
+++ b/examples/themes/themes.doc
@@ -0,0 +1,55 @@
+/*
+*/
+/*! \page themes-example.html
+
+ \ingroup examples
+ \title Themes (Styles)
+
+ This examples demonstrates how to let widgets be drawn in different
+ styles (themes). As an example, themes looking like wood and metal
+ are implemented. You can switch between the different styles
+ during runtime using the pulldown menu.
+
+ <hr>
+
+ Header file of the Wood theme:
+
+ \include themes/wood.h
+
+ <hr>
+
+ Implementation of the Wood theme:
+
+ \include themes/wood.cpp
+
+ <hr>
+
+ Header file of the Metal theme:
+
+ \include themes/metal.h
+
+ <hr>
+
+ Implementation of the Metal theme:
+
+ \include themes/metal.cpp
+
+ <hr>
+
+ Header file of the example:
+
+ \include themes/themes.h
+
+ <hr>
+
+ Implementation of the example:
+
+ \include themes/themes.cpp
+
+ <hr>
+
+ Main:
+
+ \include themes/main.cpp
+*/
+