summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/qstylehelper.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Compile with gcc 4.0.1Olivier Goffart2010-05-201-2/+1
| | | | | | | | | | qstylehelper_p.h now includes qstringbuilder.h This triggers a gcc 4.0.1 bug when doing addition or % on annonymous enum - include qstylehelper_p.h last to avoid errors in 3rd party header - explicitly cast enums to int in qwindowsstyle.cpp Reviewed-by: Thierry
* Optimized pixmapcache key generation for icons and stylesOlivier Goffart2010-05-171-53/+9
| | | | | | | | | This re-apply commit c8d2e18c4b431870560f324a17f20904bb47ae68 from Jens that was reverted in b0f4dab4 because it did not compile. Added the missing include to make it compile on mac Task-number: QTBUG-9850
* Mac: compile fixRichard Moe Gustavsen2010-03-081-1/+2
| | | | | | | Needed to move the inclusion of qstringbuilder.h after any system headers has been included. Otherwise, strange compile errors occur. Reviewed-by: msorvig
* Speed up creation of the pixmap cache keyHarald Fernengel2010-03-031-9/+55
| | | | | | As discussed with Jens and Joao Reviewed-by: Robert Griebl
* Update copyright year to 2010Jason McDonald2010-01-061-1/+1
| | | | Reviewed-by: Trust Me
* qreal-izationAleksandar Sasha Babic2009-12-151-1/+1
| | | | | | | | | Using math wrapper functions instead direct call. This gives us top-level control to what (single/double) precision we are effectively using. Task-number: QTBUG-4894 Reviewed-by: janarve Reviewed-by: Kim Motoyoshi Kalland
* Update license headers again.Jason McDonald2009-09-091-4/+4
| | | | Reviewed-by: Trust Me
* Update tech preview license header for files that are new in 4.6.Jason McDonald2009-08-311-13/+13
| | | | Reviewed-by: Trust Me
* Update contact URL in license headers.Jason McDonald2009-08-121-1/+1
| | | | Reviewed-by: Trust Me
* fix warnings for the qreal == float caseJoerg Bornemann2009-08-111-9/+9
| | | | Reviewed-by: mauricek
* Fix warnings for mingwThierry Bastian2009-07-151-4/+3
| | | | | did a small refactor and used QStyleHelper::uniqueName in plastique and windows styles
* Improved support for DPI on Mac and Vista/7Jens Bache-Wiig2009-06-251-1/+26
| | | | | | | | | | | | | | | This significantly improves the support for higher DPI-values on these platforms by ensuring that common pixelmetrics are scaled accordingly. In addition we mark all Qt apps as DPI-aware on Windows 7 by calling SetProcessDPIAware. We also changed the way we draw pixmaps on the mac paintengine when using dpi scaling > 1 to ensure smooth pixmap scaling. Reviewed-by: nrc Task-id: 242417
* Update license headers in files that are new in 4.6.Jason McDonald2009-06-171-2/+2
| | | | Reviewed-by: Trust Me
* Removed the internal UsePixmapCache flag in the style code.jasplin2009-06-041-1/+0
| | | | | | | | In the style code, the internal UsePixmapCache flag made no sense in practice, so it was removed. A fortunate side-effect of the patch is that the code is now accepted by Sun CC 5.5. Reviewed-by: jbache
* Work on getting unified toolbars to look more native.Norwegian Rock Cat2009-04-221-6/+64
| | | | | | | | | | | 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.
* Visual tweaks on the new dialJens Bache-Wiig2009-04-021-9/+9
| | | | | Increased contrast and size of indicator line. Reviewed-by: nrc
* Removed warnings by using qreal instead of floatThierry Bastian2009-03-301-7/+7
| | | | Reviewed-by: ogoffart
* Style QDial to look betterJens Bache-Wiig2009-03-271-0/+295
This widget has been needing an update in appearance for years as it is still featured in our style gallery. This introduces a new and better looking nob control to cleanlooks, gtk, mac, windows xp, vista and cleanlooks. Reviewed-by: nrc Task-number: 159934