summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/doc_src_qtscript.js
diff options
context:
space:
mode:
authorSami Merila <sami.merila@nokia.com>2011-03-15 11:31:39 (GMT)
committerSami Merila <sami.merila@nokia.com>2011-03-15 11:31:39 (GMT)
commit7dfa50a9b97d28813341329a55aa1a4b5a7de527 (patch)
tree9d448570877badc14a37475254dc605886ca7131 /doc/src/snippets/code/doc_src_qtscript.js
parent7480f77039bf104c0b9a0763898038ce988dc4b3 (diff)
downloadQt-7dfa50a9b97d28813341329a55aa1a4b5a7de527.zip
Qt-7dfa50a9b97d28813341329a55aa1a4b5a7de527.tar.gz
Qt-7dfa50a9b97d28813341329a55aa1a4b5a7de527.tar.bz2
QS60Style: use placeholder texture when polishing widgets and palette
Background texture is not created until it is actually painted. This allows skipping the whole background texture creation, if app overwrites the QPalette::Window with its own data (image or color). When widget is drawn and style notices that the widget is still using a placeholder (1*1 red QPixmap) texture, it creates the real texture and uses that for drawing. Note that accessing QPalette::Window will give the placeholder pixmap. Which is then again replaced with the real texture, if it is drawn through the qt_s60_fill_background(). Task-number: QTBUG-14910 Reviewed-by: Laszlo Agocs
Diffstat (limited to 'doc/src/snippets/code/doc_src_qtscript.js')
0 files changed, 0 insertions, 0 deletions