summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews
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 /src/gui/itemviews
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 'src/gui/itemviews')
0 files changed, 0 insertions, 0 deletions