summaryrefslogtreecommitdiffstats
path: root/src/gui
Commit message (Collapse)AuthorAgeFilesLines
* Use the correct font for QLineEditPaul Olav Tvete2009-08-131-0/+1
| | | | | | | We don't get a FontChange event initially, so the control ended up with the default font instead. Reviewed-by: Andreas
* Fix focus proxy deletion bugs/crashes in QGraphicsItem.Andreas Aardal Hanssen2009-08-134-14/+24
| | | | | | | | | | | | | | | | | | | This change would have been much simpler if either QGraphicsItem inherited QObject, or if we had some similar QPointer-like class that supported QGraphicsItem. The issue is this: Each item can delegate another item to be its focus proxy. That item can be a parent or child, or something completely unrelated. Either of the two items can be deleted independently. The former solution was to store backpointers in a map in the scene. Problem is, the items may not be in a scene when this happens, they may be removed from the scene, and the items may be moved between two scenes. The bad part about this fix is that it adds another pointer to QGraphicsItemPrivate. Reviewed-by: Shane Kearns <shane.kearns@sosco.com>
* fix tab and hold for Windows CE and scrollbarsThomas Hartmann2009-08-131-0/+6
| | | | | Task-number: 258378 Reviewed-by: Maurice
* Compile with QT_KEYPAD_NAVIGATION definedAlan Alpert2009-08-131-3/+2
| | | | | | | Also, try not to regress in functionality (which the last compile fix did just a little) Reviewed-by: Thomas Hartmann
* Ugly round corners when no border is drawnGabriel de Dietrich2009-08-122-7/+14
| | | | | | | | | | | | | | | When specifying round corners with QStyleSheetStyle and no border-width specified, the round corners were not rendered with antialiasing. Furthermore, if border-width was set to 0, part of the border was rendered in discordance with CSS3. The background in now rendered directly instead of drawing a clipped rectangle. The actual border width is checked before rendering. A test has been added at tests/auto/uiloader/baseline/css_borderradius_allwidgets.ui Task-number: 230362 Reviewed-by: olivier
* fixing warnings for qreal=floatThomas Hartmann2009-08-121-1/+1
| | | | Reviewed-by: Joerg
* QGraphicsRotation and QGraphicsRotation3D are now merged into 1 classThierry Bastian2009-08-122-119/+94
| | | | | | | | You can now also set the axis following hte Qt::Axis enum Note: I'm not 100% sure about the maths in QGraphicsRotation::applyTo Feel free to fix it. Reviewed-by: ogoffart
* Mouse move events delivered toa blocked widget.Prasanth Ullattil2009-08-121-1/+1
| | | | | | | | On windows we were not checking whether the widgets receiving the mouse events are blocked by another modal widget or not. Task-number: 255912 Reviewed-by: Thierry Bastian
* fix decoration of DontShowOnScreen widgets on Windows CEJoerg Bornemann2009-08-121-1/+1
| | | | | | | | Widgets with the WA_DontShowOnScreen attribute must not have a window decoration. Autotest: tst_QWidget::initialPosForDontShowOnScreenWidgets Reviewed-by: thartman
* usage of Q_OS_WINCE fixedJoerg Bornemann2009-08-121-2/+2
| | | | | | There's no QT_OS_WINCE define. Reviewed-by: mauricek
* Compile fix for Windows CE standard SDKThomas Hartmann2009-08-122-6/+8
| | | | | | Q_WS_SINCE_WM ifdefs were broken Reviewed-by: Joerg
* Replace some mentions of Trolltech with more appropriate terms.Jason McDonald2009-08-124-14/+14
| | | | Reviewed-by: Trust Me
* Update references to online documentation.Jason McDonald2009-08-122-2/+2
| | | | Reviewed-by: Trust Me
* Eliminate last mentions of "Qt Software".Jason McDonald2009-08-126-6/+6
| | | | Reviewed-by: Trust Me
* Update URL's to use new domain.Jason McDonald2009-08-124-6/+6
| | | | Reviewed-by: Trust Me
* Update contact URL in license headers.Jason McDonald2009-08-121034-1034/+1034
| | | | Reviewed-by: Trust Me
* QMenuBar does not respect the border-image stylesheet propertyGabriel de Dietrich2009-08-111-1/+16
| | | | | | | | | | | Added WA_StyledBackground to QMenuBar when using style sheets. This also implies that CE_PanelMenuBar (drawing only the menubar border) no longer needs to be drawn. Tested in uiloader/baselne/css_borderimage_allwidgets.ui. Task-number: 230363 Reviewed-by: olivier
* Optimize qt_format_text test operations: try not to detachOswald Buddenhagen2009-08-111-40/+28
| | | | Reviewed-by: Oswald Buddenhagen
* Change QFontMetrics::width to return the width of the longest variant if the ↵Olivier Goffart2009-08-111-2/+4
| | | | | | | string is a multi-length one Task-number: QT-10 Reviewed-by: Oswald Buddenhagen
* Make QFontMetrics::elidedText aware of multi-length stringsOlivier Goffart2009-08-111-2/+15
| | | | | Reviewed-by: Oswald Buddenhagen Task-number: QT-10
* Add the Qt::TextLongestVariant flag so QFontMetrics::size returns the size ↵Olivier Goffart2009-08-112-2/+3
| | | | | | | | | of the biggest string In case the strings contains multiple strings separated by \x9c Reviewed-by: Oswald Buddenhagen Task-number: QT-10
* Handle multi-length strings in the low-level formatting codeOlivier Goffart2009-08-111-13/+21
| | | | | | | | | | | Patch originally from Oswald on Jira QT-10, with few a modifications. If a string contains multiple variants sorted by decreasing length, separated by \x9c, it will try to paint the longest variant which fits into the bounding box. Reviewed-by: Oswald Buddenhagen Task-Number: QT-10
* fix QTextFormat::doubleProperty where qreal is floatJoerg Bornemann2009-08-111-3/+4
| | | | | | | | This function was too strict. It returned 0 if the property wasn't of type QVariant::Double. Now it tests for QMetaType::Float too. Reviewed-by: kh1 Reviewed-by: mauricek
* fix warnings for the qreal == float caseJoerg Bornemann2009-08-112-11/+11
| | | | Reviewed-by: mauricek
* QWidget::isHidden documentation clarification.Jocelyn Turcotte2009-08-111-3/+6
| | | | Reviewed-by: Kavindra
* QDateTimeEdit: setFrame property is respected when a popup calendarMatthew Cattell2009-08-111-0/+1
| | | | | | | | | | has been set. The hasFrame() or frame property of the QStyleOptionSpinBox was not being copiedthrough to the QStyleOptionComboBox inside the paintEvent method if a calendarPopup had been enabled. Task-number:259510 Reviewed-by:Jens Bache-Wiig
* Merge commit 'remotes/wm65/wm65'Thomas Hartmann2009-08-113-368/+4127
|\
| * Cleanup of Windows Mobile StyleThomas Hartmann2009-08-111-76/+61
| | | | | | | | Reviewed-by: Maurice
| * activate wm65 style only for wm65Thomas Hartmann2009-08-111-1/+1
| |
| * adding qt_wince_is_windows_mobile_65()Thomas Hartmann2009-08-111-0/+25
| |
| * using proxy()Thomas Hartmann2009-08-111-103/+103
| |
| * Adding Windows Mobile 6.5 styleThomas Hartmann2009-08-112-271/+4020
| |
* | Merge commit 'remotes/wm65/wm65'Thomas Hartmann2009-08-111-0/+1
|\ \ | |/ | | | | | | Conflicts: src/gui/dialogs/qfiledialog_win.cpp
| * Fixes build for Windows MobileThomas Hartmann2009-07-201-1/+0
| | | | | | | | Reviewed-by: Joerg
* | Merge branch '4.5'Thiago Macieira2009-08-111-6/+7
|\ \ | | | | | | | | | | | | | | | Conflicts: configure tests/auto/moc/tst_moc.cpp
| * | Fix crash in QX11Data::xdndHandleEnter when XGetWindowProperty failsOctavian Voicu2009-08-061-6/+7
| | | | | | | | | | | | | | | | | | | | | Task-number: 259143 Merge-request: 1119 Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
* | | QTableView with swapped headers PageUp/PageDown bugGabriel de Dietrich2009-08-111-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | QTableView with header-swapped rows wouldn't scroll correctly when PageUp or PageDown pressed. Simplified calculation for next currentIndex provided in QTableView::moveCursor. Task-number: 259308 Reviewed-by: olivier
* | | Compile QtGui on Linux with no Gtk development package present.Friedemann Kleint2009-08-111-0/+4
| | |
* | | compile fix for Win32Maurice Kalinowski2009-08-111-1/+1
| | | | | | | | | | | | | | | | | | use correct function pointer (Get) Reviewed-by: Thomas Hartmann
* | | Make compile.Bill King2009-08-112-0/+2
| | |
* | | Doc: Fix links and qdoc warnings.Volker Hilsheimer2009-08-101-3/+3
| | |
* | | Better implementation for commit d13418effc5f00474541ae513a30c9a42c2a1cb3. TheGabriel de Dietrich2009-08-102-26/+36
| | | | | | | | | | | | | | | | | | previous version could run in an endless loop with infinite models. Reviewed-by: olivier
* | | fixing the Windows CE build after adding gesture supportJoerg Bornemann2009-08-101-4/+11
| | | | | | | | | | | | | | | | | | We must guard the code with QT_WINCE_GESTURES. Reviewed-by: TrustMe
* | | Make QGtkStyle react properly to font changes in GNOMEJens Bache-Wiig2009-08-103-18/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | We only reacted to font changes before when the whole theme changed. Two things had to be fixed to support this. We need to check if the font changed in QGtkStyle::updateTheme and we need to make sure that QApplication does not reset these settings for us. Reviewed-by: joao
* | | Introducing icon theme supportJens Bache-Wiig2009-08-1016-1253/+1370
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Manual mergeThomas Hartmann2009-08-101-3/+1
| | |
* | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtThomas Hartmann2009-08-103-2/+10
|\ \ \
| * | | respect QAbstractSpinBox::NoButtons in windowsce / windowsmobile stylesJoerg Bornemann2009-08-102-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Code is adapted from QCommonStyle which handles this case for other styles. Reviewed-by: thartman
| * | | Make chooseConfig work on some EGL implementationsHarald Fernengel2009-08-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to the spec, if we pass a 0 out pointer, EGL should tell us how many configurations are available. However, we pass a 0 out pointer, but say that it's 256 elements big, it confuses some implementations. Fix that by passing a 0 out pointer and saying that it has space for 0 elements. Now we correctly get the amount of available configs. Reviewed-by: Rhys Weatherley <rhys.weatherley@nokia.com>
* | | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtThomas Hartmann2009-08-1030-483/+942
|\ \ \ \ | |/ / / | | | | | | | | | | | | Conflicts: src/gui/kernel/qapplication_win.cpp