summaryrefslogtreecommitdiffstats
path: root/src/gui
Commit message (Collapse)AuthorAgeFilesLines
* Fixes a focusWidget when showing a toplevel that accepts keyboard input.Denis Dzyubenko2009-03-241-1/+3
| | | | | | | | | | When a toplevel window is the widget that can accept keyboard input, it doesn't get focus when shown. The fix is to check if the toplevel is activated and noone has focus, then give focus to the toplevel itself. Reviewed-by: Brad Task-number: 244607
* Don't commit an empty string to the widget when it looses focus.Denis Dzyubenko2009-03-242-2/+9
| | | | | | | | | When a wiget that accepts keyboard input looses focus and the input context is resetted we should clear the old preedit string by sending an empty commit string only if the widget received non-empty pre-edit string before. Reviewed-by: Brad
* Fix some extra file system stats that we were doing in the model.Alexis Menard2009-03-244-14/+29
| | | | | | | | | This patch basically ensure that we share the same QFileinfo all over the place for each nodes (then we benefit of the cache). It fix also an extra stat due of a bugfix that was not optimal. Task-number: 247645 Reviewed-by: jasplin
* Make sure the sorting is updated when dynamic sorting is enabled and the ↵Olivier Goffart2009-03-241-0/+5
| | | | | | | model is reset Task-number: 248868 (part 2) Reviewed-by: Thierry
* Make sure QSortFilterProxyModel::sort always sort when DynamicSort is not usedOlivier Goffart2009-03-241-1/+1
| | | | | Task-number: 248868 (part 1) Reviewed-by: Thierry
* Do not cache the sizeHint() while we're in QGraphicsWidget's constructor.Jan-Arve Sæther2009-03-243-0/+6
| | | | | | | | | Do not send a QFontChange event before the item has been polished. This is because we cannot call a virtual function while we're in the ctor. This is basically the same as how we do it in QWidget. Task-number: 246215 Reviewed-by: alexis
* Handle monochrome CGColors as well.Norwegian Rock Cat2009-03-241-0/+2
| | | | | | | | It seems that snow leopard is storing some colors as grayscale. This means that we need to handle them or otherwise things go very black. It's an easy case to do as well, so just do it. Reviewed-by: Bradley T. Hughes
* Compile in Snow LeopardTrenton Schulz2009-03-241-0/+4
| | | | | | GCC 4.2 needs to have this extern (and likely every compiler != gcc 4. Reviewed-by: Trust Me
* Rendering error (one pixel offset) when drawing ARGB32_PM on RGB16.Samuel Rødal2009-03-241-0/+2
| | | | | | | Missing increments in the blend function's tail code. Task-number: 247492 Reviewed-by: Paul
* Fixes compile on win32 with MinGW.Rohan McGovern2009-03-241-1/+1
| | | | Reviewed-by: Lorn Potter
* Fixes: Crash in QPixmap under X11.Trond Kjernaasen2009-03-232-0/+7
| | | | | | | | | Task: 246446 RevBy: Olivier AutoTest: tst_qpixmap::test_246446() Details: The new QX11PixmapData object wasn't referenced (e.g. the ref count would be 0) after calling setMask() on a 32 bit QPixmap when Xrender was used.
* Long live Qt 4.5!Lars Knoll2009-03-231183-0/+670192