summaryrefslogtreecommitdiffstats
path: root/src/gui/image
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Fix links and silence qdoc warnings.Volker Hilsheimer2009-08-161-13/+15
|
* QVariant: added toFloat and toRealThierry Bastian2009-08-141-1/+1
| | | | | | | | Made better use of qreal all over the place. We were previously using QVariant::toDouble a lot. That is triggering unnecessary conversions between float and double on embedded. Reviewed-by: ogoffart
* Eliminate last mentions of "Qt Software".Jason McDonald2009-08-122-2/+2
| | | | Reviewed-by: Trust Me
* Update contact URL in license headers.Jason McDonald2009-08-1262-62/+62
| | | | Reviewed-by: Trust Me
* Compile QtGui on Linux with no Gtk development package present.Friedemann Kleint2009-08-111-0/+4
|
* Make compile.Bill King2009-08-112-0/+2
|
* Doc: Fix links and qdoc warnings.Volker Hilsheimer2009-08-101-3/+3
|
* Introducing icon theme supportJens Bache-Wiig2009-08-106-66/+1095
| | | | | | | | | | | | Added some static functions to QIcon to support desktop themes based on the freedesktop spec. It is not intended to replace KIcon and the intention is to use it when available to share icon cache between applications. Applications currently using icon themes are Assistant, Designer and the textedit demo. Reviewed-by: ogoffart
* Compile fix with namespaceshjk2009-08-101-0/+3
|
* Wizard background images incorrect in Snow Leopard.Prasanth Ullattil2009-08-031-0/+1
| | | | | | | We need to clear the QPixmap before the image is drawn using the CGContextDrawImage(). Reviewed-by: Norwegian Rock Cat
* Merge branch 'texture_from_pixmap'Tom Cooksey2009-07-308-44/+238
|\
| * Refactor texture_from_pixmap to not re-create the gl surface each bindTom Cooksey2009-07-291-0/+1
| | | | | | | | | | | | | | | | Make a clear seperation between the GL texture and the GLX pixmap. A GLXPixmap is valid in any GL context and thus does not need to be re-created every time the pixmap has changed. Reviewed-By: Samuel
| * Move uninit & readonly into a flags member of QX11PixmapDataTom Cooksey2009-07-293-16/+23
| | | | | | | | | | | | | | Also add 2 new flags and a new member to store any GL bound pixmap surface (GLXPixmap or EGLPixmapSurface). Reviewed-By: Samuel
| * Refactor QImage/QPixmap cleanup hooks into a seperate classTom Cooksey2009-07-285-28/+214
| | | | | | | | | | | | | | The new class alows more than one hook to be installed at a time and, for QPixmaps, the hook is told which pixmap is getting deleted. Reviewed-By: Samuel
* | Doc: Re-apply relevant change from 1368c210ef9976f68eb9fb1c3e4dc14f4fa4edd2Volker Hilsheimer2009-07-281-4/+11
|/ | | | | Clarified that the format used in QImage::fromData() is the image format, not the pixel format.
* Doc: Obsolete QMatrix and QPainter APIs using it.Volker Hilsheimer2009-07-271-1/+2
| | | | | | | | | QTransform and respective APIs should be used. Still some changes required - Some references to QMatrix left in documentation - Qt code uses QMatrix APIs (ie translationX) Reviewed-by: Samuel
* Doc: Replace links to obsolete APIs.Volker Hilsheimer2009-07-251-3/+2
|
* Revert "Doc: Clarified that the format used in QImage::fromData() is the image"Volker Hilsheimer2009-07-251-31/+27
| | | | | This reverts commit 1368c210ef9976f68eb9fb1c3e4dc14f4fa4edd2, which accidentially reverted previous commits.
* Doc: \em is not a qdoc command, \e is correctVolker Hilsheimer2009-07-251-2/+2
|
* Nested classes need to be exported as well.Volker Hilsheimer2009-07-241-1/+1
| | | | | | This makes the QPixmapCache autotest link and pass on Windows. Reviewed-by: Trustme
* Remove all the last vestiges of QuickDraw in Qt/Mac.Norwegian Rock Cat2009-07-243-94/+3
| | | | | | | Panther was the last reason for having this around. We don't touch this code anywhere else in Qt. As a result it's orphaned and can be safely removed. It truly is the end of an era, but it's definitely worth celebrating. Quartz4Life!
* Doc: Clarified that the format used in QImage::fromData() is the imageDavid Boddie2009-07-231-27/+31
| | | | | | format, not the pixel format. Reviewed-by: Trust Me
* Doc: More docu for the QPixmapCache::KeyVolker Hilsheimer2009-07-211-1/+13
|
* Doc: mark QImage/QPixmap alphaChannel and setAlphaChannel as obsolete.Volker Hilsheimer2009-07-212-41/+38
| | | | | | | They are expensive - which is why QImage::setALphaChannel had been obsoleted in Qt 4.5. Reviewed-by: Gunnar
* doc: Changed several \reimp to \internalMartin Smith2009-07-201-10/+0
| | | | The base function was \internal pr private.
* Doc: A few cleanups, fixes and improvements.Volker Hilsheimer2009-07-193-3/+5
|
* Doc: add \since 4.6 for new APIsVolker Hilsheimer2009-07-191-0/+3
|
* Move QMacStyle icon handling down to the common style.Norwegian Rock Cat2009-07-171-19/+0
| | | | | | | | | | | | | This is more follow the cue of what is done on X11, mainly, if you are creating things like messageboxes or file views, you want them to follow the desktop (yes, you do). If you disable desktop settings aware, you get the old look. This also meant shifting around some functions into qt_cocoa_helpers_mac to make them more readily available instead of living in differnt files. People who use standard pixmap get the old values, but I think that's fine. If you haven't moved onto standardIcon (introduced in 4.1), you don't get the latest bling. Review-by: Jens Bache-Wiig
* Doc: Review of documentation forDavid Boddie2009-07-141-31/+30
| | | | | Task-number: 254461 Reviewed-by: Alexis Menard
* src/gui: Remove QT_WA and non-Unicode code paths, dropping Win9x and NT supportminiak2009-07-011-9/+3
| | | | | | | | | | | | | Also - Make winPeekMessage() & winPostMessage() obsolete - FlashWindowEx, IsValidLanguageGroup functions no longer resolved dynamically (available on >= Windows 2000) - LoadIcon/LoadCursor -> LoadImage w/LR_SHARED for system icons/cursors - qsystemtrayicon_win: use Shell_NotifyIconGetRect if available (Windows 7) Merge-request: 604 Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
* Remove these colorspace references.Norwegian Rock Cat2009-06-242-4/+4
| | | | | | | It is only used for creating the bitmap context, so there is no reason to keep it around. Reviewed-by: Morten Sørvig
* More culling of Panther Code.Norwegian Rock Cat2009-06-233-74/+14
| | | | | | Removed lots of places where we check for Tiger. Now we can assume it. Reviewed-by: Morten Sørvig
* Improve flushing performance in the raster window surface on Mac.Morten Sørvig2009-06-231-2/+6
| | | | | | Use the display color space for QNativeImage to avoid format conversions. Reviewed-by: Samuel
* Use QTransform more efficiently.Bjørn Erik Nilsen2009-06-182-16/+9
| | | | Reviewed-by: Samuel
* Speed up QPixmap::width(), height(), isNull() and depth().Andreas Aardal Hanssen2009-06-179-18/+47
| | | | | | | | | | | | | | | | This change moves the w, h, d variables to QPixmapData and introduces is_null to keep track of nullness. This is possible only because QPixmapData is internal API; otherwise we'd have to be smarter. The optimization makes the QPixmap::width() function take 7 instructions, down from 34 before. For the calculator demo in the declarative ui branch this reduces a block of 750000 instructions (out of 30000000) to around 100000-150000 instructions. Tested on Windows, Linux, Mac. Raster, X11 and OpenGL paint engines. Have not tested the DirectFB engine. Reviewed-by: Trond
* Update license headers in files that are new in 4.6.Jason McDonald2009-06-171-2/+2
| | | | Reviewed-by: Trust Me
* Merge license header changes from 4.5Volker Hilsheimer2009-06-1656-112/+112
|\
| * Update license headers as requested by the marketing department.Jason McDonald2009-06-1656-112/+112
| | | | | | | | Reviewed-by: Trust Me
* | Merge commit 'origin/4.5'Bjørn Erik Nilsen2009-06-121-0/+5
|\ \ | |/ | | | | | | | | | | | | | | | | Conflicts: demos/boxes/glshaders.cpp src/gui/graphicsview/qgraphicsitem.cpp tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp tools/linguist/shared/cpp.cpp translations/linguist_ja.qm translations/qt_ru.qm
| * Make sure QImage::mirrored() doesn't crash if it runs out of memory.Trond Kjernåsen2009-06-101-0/+5
| | | | | | | | | | Task-number: 255742 Reviewed-by: Kim
* | Removed qApp and replaced with QApplication:: for static member callsThierry Bastian2009-06-111-1/+1
| |
* | small changes in private headersThierry Bastian2009-06-091-1/+1
| |
* | Fix QT_NO_DATASTREAM macro checks and improve readabilityRitt Konstantin2009-06-084-2/+6
| | | | | | | | | | | | | | | | Some checks where in the wrong locations, and some endifs where hard to read. Merge-request: 611 Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
* | All of Qt's own code compiles with -pedantic now (but pcre and webkit don't ↵David Faure2009-06-041-1/+1
| | | | | | | | | | | | | | seem fixable easily) Merge-request: 594 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* | Add an extra explanation for the API extension.Alexis Menard2009-06-041-1/+4
| | | | | | | | Reviewed-by:David Boddie
* | Merge branch '4.5' of scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-06-021-3/+6
|\ \ | |/ | | | | | | | | | | | | Conflicts: src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp tests/auto/qgraphicswidget/tst_qgraphicswidget.cpp tests/auto/selftests/expected_skip.txt tests/auto/selftests/tst_selftests.cpp
| * Fixed a problem with streaming QIcons containing multiple pixmaps.Trond Kjernåsen2009-05-281-3/+6
| | | | | | | | | | | | | | | | | | If pixmaps were added through QIcon::addFile() with different sizes than the sizes of the pixmaps themselves, streaming the icon in didn't work properly. Task-number: 254374 Reviewed-by: Kim
* | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-05-274-87/+95
|\ \ | |/ | | | | | | Conflicts: tests/auto/qtreeview/tst_qtreeview.cpp
| * qdoc: Moved some qdoc comments to a common cpp file.Martin Smith2009-05-254-87/+95
| | | | | | | | Task-number: 252488
* | Integrate merge-request #419 into branch 'master'Simon Hausmann2009-05-271-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Daniël (1): Memory of fixedKernel is never returned, found by cppcheck. Request-url: http://qt.gitorious.org/qt/qt/merge_requests/419 Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com> Merge commit 'd8a2e52e4db873a2cfd39630df47b61bec502fd1' into HEAD