summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@nokia.com>2011-01-07 07:32:24 (GMT)
committerMartin Smith <martin.smith@nokia.com>2011-01-07 07:32:24 (GMT)
commitf9400e81d6e817eb16651e01bb3710cf8562c926 (patch)
treec1aa61336f887ebfcdf90c0b25c0469edeb3e63a /src
parente3a3ae24e54a4461498ae8185b89bdf429e68574 (diff)
downloadQt-f9400e81d6e817eb16651e01bb3710cf8562c926.zip
Qt-f9400e81d6e817eb16651e01bb3710cf8562c926.tar.gz
Qt-f9400e81d6e817eb16651e01bb3710cf8562c926.tar.bz2
qdoc: Replaced many raw-html cases with \div {something}.
Diffstat (limited to 'src')
-rw-r--r--src/corelib/global/qnamespace.qdoc90
1 files changed, 17 insertions, 73 deletions
diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc
index 6b1aa17..060b979 100644
--- a/src/corelib/global/qnamespace.qdoc
+++ b/src/corelib/global/qnamespace.qdoc
@@ -231,81 +231,25 @@
/*!
\enum Qt::GlobalColor
- \raw HTML
- <style type="text/css" id="colorstyles">
- #white { background-color: #ffffff; color: #000000 }
- #black { background-color: #000000; color: #ffffff }
- #red { background-color: #ff0000; color: #000000 }
- #darkRed { background-color: #800000; color: #ffffff }
- #green { background-color: #00ff00; color: #000000 }
- #darkGreen { background-color: #008000; color: #ffffff }
- #blue { background-color: #0000ff; color: #ffffff }
- #darkBlue { background-color: #000080; color: #ffffff }
- #cyan { background-color: #00ffff; color: #000000 }
- #darkCyan { background-color: #008080; color: #ffffff }
- #magenta { background-color: #ff00ff; color: #000000 }
- #darkMagenta { background-color: #800080; color: #ffffff }
- #yellow { background-color: #ffff00; color: #000000 }
- #darkYellow { background-color: #808000; color: #ffffff }
- #gray { background-color: #a0a0a4; color: #000000 }
- #darkGray { background-color: #808080; color: #ffffff }
- #lightGray { background-color: #c0c0c0; color: #000000 }
- </style>
- \endraw
-
Qt's predefined QColor objects:
- \value white \raw HTML
- White <tt id="white">(#ffffff)</tt>
- \endraw
- \value black \raw HTML
- Black <tt id="black">(#000000)</tt>
- \endraw
- \value red \raw HTML
- Red <tt id="red">(#ff0000)</tt>
- \endraw
- \value darkRed \raw HTML
- Dark red <tt id="darkRed">(#800000)</tt>
- \endraw
- \value green \raw HTML
- Green <tt id="green">(#00ff00)</tt>
- \endraw
- \value darkGreen \raw HTML
- Dark green <tt id="darkGreen">(#008000)</tt>
- \endraw
- \value blue \raw HTML
- Blue <tt id="blue">(#0000ff)</tt>
- \endraw
- \value darkBlue \raw HTML
- Dark blue <tt id="darkBlue">(#000080)</tt>
- \endraw
- \value cyan \raw HTML
- Cyan <tt id="cyan">(#00ffff)</tt>
- \endraw
- \value darkCyan \raw HTML
- Dark cyan <tt id="darkCyan">(#008080)</tt>
- \endraw
- \value magenta \raw HTML
- Magenta <tt id="magenta">(#ff00ff)</tt>
- \endraw
- \value darkMagenta \raw HTML
- Dark magenta <tt id="darkMagenta">(#800080)</tt>
- \endraw
- \value yellow \raw HTML
- Yellow <tt id="yellow">(#ffff00)</tt>
- \endraw
- \value darkYellow \raw HTML
- Dark yellow <tt id="darkYellow">(#808000)</tt>
- \endraw
- \value gray \raw HTML
- Gray <tt id="gray">(#a0a0a4)</tt>
- \endraw
- \value darkGray \raw HTML
- Dark gray <tt id="darkGray">(#808080)</tt>
- \endraw
- \value lightGray \raw HTML
- Light gray <tt id="lightGray">(#c0c0c0)</tt>
- \endraw
+ \value white \div {id="color-white"} White (#ffffff) \enddiv
+ \value black \div {id="color-black"} Black (#000000) \enddiv
+ \value red \div {id="color-red"} Red (#ff0000) \enddiv
+ \value darkRed \div {id="color-darkRed"} Dark red (#800000) \enddiv
+ \value green \div {id="color-green"} Green (#00ff00) \enddiv
+ \value darkGreen \div {id="color-darkGreen"} Dark green (#008000) \enddiv
+ \value blue \div {id="color-blue"} Blue (#0000ff) \enddiv
+ \value darkBlue \div {id="color-darkBlue"} Dark blue (#000080) \enddiv
+ \value cyan \div {id="color-cyan"} Cyan (#00ffff) \enddiv
+ \value darkCyan \div {id="color-darkCyan"} Dark cyan (#008080) \enddiv
+ \value magenta \div {id="color-magenta"} Magenta (#ff00ff) \enddiv
+ \value darkMagenta \div {id="color-darkMagenta"} Dark magenta (#800080) \enddiv
+ \value yellow \div {id="color-yellow"} Yellow (#ffff00) \enddiv
+ \value darkYellow \div {id="color-darkYellow"} Dark yellow (#808000) \enddiv
+ \value gray \div {id="color-gray"} Gray (#a0a0a4) \enddiv
+ \value darkGray \div {id="color-darkGray"} Dark gray (#808080) \enddiv
+ \value lightGray \div {id="color-lightGray"} Light gray (#c0c0c0) \enddiv
\value transparent a transparent black value (i.e., QColor(0, 0, 0, 0))
\value color0 0 pixel value (for bitmaps)
\value color1 1 pixel value (for bitmaps)