summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/qstylehelper_p.h
diff options
context:
space:
mode:
authorNorwegian Rock Cat <qt-info@nokia.com>2009-04-02 07:31:50 (GMT)
committerNorwegian Rock Cat <qt-info@nokia.com>2009-04-22 11:36:37 (GMT)
commita8d14ae567c7e847c6dbba644c36fbc6c6afc468 (patch)
tree08df810ad56d16766aaf3faadc67d5ea9d0014fa /src/gui/styles/qstylehelper_p.h
parent65398953e6ebaab177046b9516f15920b1f9d1a4 (diff)
downloadQt-a8d14ae567c7e847c6dbba644c36fbc6c6afc468.zip
Qt-a8d14ae567c7e847c6dbba644c36fbc6c6afc468.tar.gz
Qt-a8d14ae567c7e847c6dbba644c36fbc6c6afc468.tar.bz2
Work on getting unified toolbars to look more native.
Basically we try to get the toggled look correct and we've shrunk the size of the toolbar by a good 10 pixels. We still look a bit "off" for toggled on Tiger, but frankely that look is a bit odd. We are a bit taller than the pure Cocoa toolbar (2 px), but given that we are embedding our QToolbar, that's probably the best we can do. All-in-all, it looks much better.
Diffstat (limited to 'src/gui/styles/qstylehelper_p.h')
-rw-r--r--src/gui/styles/qstylehelper_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/styles/qstylehelper_p.h b/src/gui/styles/qstylehelper_p.h
index d9b2e28..24b4948 100644
--- a/src/gui/styles/qstylehelper_p.h
+++ b/src/gui/styles/qstylehelper_p.h
@@ -32,6 +32,9 @@ namespace QStyleHelper
int calcBigLineSize(int radius);
void drawDial(const QStyleOptionSlider *dial, QPainter *painter);
#endif //QT_NO_DIAL
+ void drawBorderPixmap(const QPixmap &pixmap, QPainter *painter, const QRect &rect,
+ int left = 0, int top = 0, int right = 0,
+ int bottom = 0);
}
QT_END_NAMESPACE