diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-04-27 13:40:53 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-04-27 13:52:07 (GMT) |
commit | 68a498284e206e2bb000bc35331c966f3790f607 (patch) | |
tree | 869b9624cf1652453dbde223da96cb2a396c9e8f /demos/spreadsheet/printview.h | |
parent | f328a68d898ebe74897132e3dae1ce75de496d3b (diff) | |
download | Qt-68a498284e206e2bb000bc35331c966f3790f607.zip Qt-68a498284e206e2bb000bc35331c966f3790f607.tar.gz Qt-68a498284e206e2bb000bc35331c966f3790f607.tar.bz2 |
Be able to set a border-image on plain QWidget
we were not able to set border-image on plain QWidget,
QDialog, QMainWindow, QFrame, QMenu, and more. And for some,
not even border was working.
PE_Widget used to only draw the background, now it draws both the whole
rule (background + border)
Since menu now have a PanelMenu, let's use that insead of PE_Widget +
PE_FrameMenu. As for QFrame, we do not need to draw the border in
CE_ShapedFrame, as PE_Widget does it.
This patch mostly move code arounds.
Reviewed-by: Jens Bache-Wiig
Diffstat (limited to 'demos/spreadsheet/printview.h')
0 files changed, 0 insertions, 0 deletions