summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets
Commit message (Collapse)AuthorAgeFilesLines
* Make the spinbox and doublespinbox better accept intermediate inputThierry Bastian2009-11-251-65/+35
| | | | | Task-number: QTBUG-5008 Reviewed-by: ogoffart
* Merge commit 'upstream/4.6' into oslo-staging-2/4.6Olivier Goffart2009-11-251-0/+24
|\
| * Merge commit 'oslo-staging-2/4.6' into upstream/4.6Olivier Goffart2009-11-254-4/+14
| |\
| * | Fix softkeys for QDialogButtonBoxes created without a parent.Jason Barron2009-11-241-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Inthe case where a QDialogButtonBox was created without a parent, for example in the FTP example, the softkeys that are automatically created inside the button box were not being added to the right widget when the button box was given a parent (or added to a layout) later. This patch resolves that issue by handling the ParentChange event and then adding the softkeys at this point. Task-number: QTBUG-6086 Reviewed-by: axis
* | | Make sure the cursor of the lineedit doesn't blink when a key is pressedThierry Bastian2009-11-251-0/+4
| |/ |/| | | | | | | | | | | This was a regression against 4.5 Task-number: QTBUG-4944 Reviewed-by: ogoffart
* | Make paste + undo behave in QLineEdit as it does in QTextEditThierry Bastian2009-11-241-1/+6
| | | | | | | | | | | | | | On the undo/redo stack, it needs to be treated as a separate command Task-number: QTBUG-5786 Reviewed-by: ogoffart
* | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6-staging2axis2009-11-242-2/+7
|\ \ | |/
| * Docs : Add details to QMdiArea::removeSubWindow()Dean Dettman2009-11-241-2/+4
| | | | | | | | | | | | | | Clarifying that the behaviour is different depending on what is passed in. Reviewed-by: Morten Engvoldsen
| * Merge remote branch 'origin/4.6' into 4.6-ceninerider2009-11-233-3/+6
| |\
| * | WinCE: only use native menu bars for windows mobileninerider2009-11-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | On Windows CE the native menubar must not be used. The corresponding flag was never set for Windows CE. Task-number: QT-2530 Reviewed-by: Maurice
* | | Make the menubar filter out EScape only if there is a current actionThierry Bastian2009-11-231-1/+2
| | | | | | | | | | | | | | | Task-number: QTBUG-4965 Reviewed-by: gabi
* | | Make the buttons react on mouse release only if it was pressedThierry Bastian2009-11-232-2/+6
| |/ |/| | | | | | | Task-number: QTBUG-3521 Reviewed-by: prasanth
* | Revert "Do not extend the last toolbar in a line when moving it"Thierry Bastian2009-11-202-8/+6
| | | | | | | | | | | | make a real fix for the problem is defaulting to sizehint when there is no preferred size set (ie the toolbar hasn't been moved) This reverts commit a2c247ed521d88f99a21b4207cdff8ea03e949be.
* | Do not extend the last toolbar in a line when moving itThierry Bastian2009-11-202-5/+7
| |
* | Fix for tabwidget usesScrollButton being overriden by stylesheetOlivier Goffart2009-11-202-2/+5
|/ | | | | | | | | | | Setting a stylesheet or reparenting a widget into a widget using style sheet would cause the usesScrollButtons to be reset. Instead we now keep the flag whenever it has been explicitly set by the user rather than querying from the style again. Task-number: QTBUG-3370 Reviewed-by: jbache
* Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-s60-public into ↵axis2009-11-202-4/+74
|\ | | | | | | 4.6-staging2
| * QAbstractSlider: keypad navigation is slow.Frans Englich2009-11-192-4/+74
| | | | | | | | | | | | | | Add logic to make keypad navigation faster when auto repeating. Task-number: QTBUG-5988 Reviewed-by: Gareth Stockwell
* | On main window, the sizegrip visibility was not correctly updatedThierry Bastian2009-11-191-8/+21
| | | | | | | | | | Task-number: QTBUG-4334 Reviewed-by: ogoffart
* | Fixes: QCommandLinkButton crop large icons.Olivier Goffart2009-11-191-1/+2
|/ | | | | Task-number: QTBUG-1976 Reviewed-by: Gabi
* Ran the script utils/normalizeOlivier Goffart2009-11-185-16/+16
| | | | Over src/ tools/ examples/ and demos/
* MAke a readonly QLineEdit not show "write" actions in its context menuThierry Bastian2009-11-181-18/+28
| | | | | Task-number: QTBUG-2494 Reviewed-by: Gabriel
* QMenu: make the menu follow its parent/caused layout directionThierry Bastian2009-11-182-0/+25
| | | | | | | The autotest are included Task-number: QTBUG-5884 Reviewed-by: ogoffart
* Merge oslo-staging-2/4.6 into upstream/4.6Olivier Goffart2009-11-174-4/+16
|\
| * Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-s60-public into ↵axis2009-11-163-3/+6
| |\ | | | | | | | | | 4.6-staging2
| | * Maemo4 fix Hildon input method for graphics viewRalf Engels2009-11-163-3/+6
| | | | | | | | | | | | Signed-off-by: axis <qt-info@nokia.com>
| * | QMenu: do not crash if action is destroyed in the triggered signal.Olivier Goffart2009-11-161-1/+2
| |/ | | | | | | | | Task-number: QTBUG-4480 Reviewed-by: Thierry
| * Made widgets not clear their contents after losing edit focus.axis2009-11-162-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a behavior change from Qt 4.5. The motivation for the change is the following use case: A user types into a line or text edit, and gets interrupted by for example phone call or an SMS. This causes the active application to lose focus, which again causes edit focus to be lost. When resuming the application the focus gets set back, but the edit focus does not (nor should it). However, when the user types the next character, the line edit will erase *all* contents of the widget because it did not have edit focus. This is extremely destructive for a mobile phone user, especially since undo is not easily available. Another reason for doing that fix is that it seems that this is the mode of operation that most existing phones use. The fix is enabled for Symbian only at the moment, but will be followed by a patch for all platforms which will go into 4.7. Task: QTBUG-5698 RevBy: Jason Barron
* | Merge remote branch 'staging/4.6' into 4.6Simon Hausmann2009-11-171-2/+4
|\ \ | |/ |/|
| * doc: Fixed qdoc errors.Martin Smith2009-11-161-1/+1
| |
| * Doc: Adding explanation to QTextEditMorten Engvoldsen2009-11-161-1/+1
| | | | | | | | | | | | | | Specifying explanation on tabStopWidth : int QTBUG-5470 David Boddie
| * Doc: Added short explanation to textEdit->toPlainText()Morten Engvoldsen2009-11-161-1/+3
| | | | | | | | Explaining(nbsp) the exception in character conversion.
* | Fixed a regression in mainwindow that would not restore correctlyThierry Bastian2009-11-131-3/+2
| | | | | | | | | | | | The size of the dockwidgets would be ignored. Reviewed-by: ogoffart
* | Merge commit upstream/4.6 into oslo-staging-2/4.6Olivier Goffart2009-11-131-2/+2
|\ \ | |/
| * Merge oslo-staging-2/4.6 into upstream/4.6Olivier Goffart2009-11-1313-74/+78
| |\
| * | doc: Fixed some qdoc errors, numXxx() to xxxCount(), etc.Martin Smith2009-11-111-1/+8
| | |
| * | Doc: Fix warnings caused by deprecations.David Boddie2009-11-091-2/+2
| | | | | | | | | | | | Reviewed-by: Trust Me
* | | Fixed: QCalendarWidget::showNextMonth() followed by a click on the ↵Olivier Goffart2009-11-131-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | navigation button causes it to go to the first possible month QCalendarWidget::setCurrentPage did not set the current index on the model. This is required in order to get QCalendarWidgetPrivate::getCurrentDate working. (and this is used by the calendar widget to navigate) This intentionaly do not check if the date is inside the minimumDate or maximumDate range. This was possible before, and the autotests tests that behaviour. Task-number: QTBUG-4058 Reviewed-by: Prasanth Ullattil
* | | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-s60-public into ↵axis2009-11-122-9/+21
|\ \ \ | | | | | | | | | | | | 4.6-staging2
| * | | Fix for qmessagebox default softkey visibility + some tab/space fixes.Janne Anttila2009-11-111-8/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Default actions get added after the QDialogButtonBox::event receives show event. That's why 'ok' softkey action will not get added to the widget. Changed implementation so that softkey actions are added to widget when they are created. This implementation is also more safe in a sence that if actions are changed when message box is visible, the softkeys will be updated. Task-number: QTBUG-5644 Task-number: QT-2211 Reviewed-by: Sami Merila
| * | | Long-press shortcuts for symbols on QWERTY keyboard don't workJouni Hiltunen2009-11-101-1/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Qt key event was not handled properly in the case of long key press. With long key press, QCoeFepInputContext::commitCurrentString gets called 3 times("q", "", "1"). (Normal key press is causing one call). This is how aknfep works, so commitCurrentString was modified to replace first character if long key press event detected. E.g. "q" is replaced with "1". qlinecontrol modified to keep cursor position correct. Signed-off-by: axis <qt-info@nokia.com>
* | | QLabel: Fixed text underlined when te label has a control and the text ↵Olivier Goffart2009-11-122-17/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | contains & We need to search for '&' in the text each time the QTextControl's document is updated. Also make sure not to match && Task-number: QTBUG-4154 Reviewed-by: Thierry
* | | Fixa regression that could make a dockwidget disappear if unfloatableThierry Bastian2009-11-121-0/+3
| |/ |/| | | | | | | Task-number: QTBUG-5740 Reviewed-by: ogoffart
* | Merge commit 'widget/4.6' into oslo-staging-2/4.6Olivier Goffart2009-11-1113-74/+78
|\ \ | | | | | | | | | | | | Conflicts: src/gui/painting/qbrush.cpp
| * | Fixed: QFontComboBox emits the currentFontChanged() signal twiceOlivier Goffart2009-11-111-1/+3
| | | | | | | | | | | | | | | Task-number: QTBUG-2438 Reviewed-by: Thierry
| * | QAbstractScrollArea: Wheel over a scrollarea that has only one horizontal ↵Olivier Goffart2009-11-112-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | scrollbar If the vertical scrollbar is hidden, scroll using the other scrollbar. Reviewed-by: Thierry Task-number: QTBUG-1760
| * | Fix Font combobox: one can set the current font without it being changedThierry Bastian2009-11-111-0/+7
| | | | | | | | | | | | | | | Task-number: QTBUG-5693 Reviewed-by: ogoffart
| * | QDockWidget also emits dockLocationChanged when the state is restoredThierry Bastian2009-11-101-2/+1
| | | | | | | | | | | | | | | | | | | | | ...on the main window. Task-number: QTBUG-1304 Reviewed-by: ogoffart
| * | Make it possible for QMainWindow to restore the geom of undocked widgetThierry Bastian2009-11-101-3/+3
| | | | | | | | | | | | | | | Task-number: QTBUG-5663 Reviewed-by: ogoffart
| * | Menubars in dual screen mode now popup the menus on the correct screenThierry Bastian2009-11-101-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | If an item is split then its menu appears on the screen which contains most of it. Task-number: QTBUG-773 Reviewed-by: ogoffart
| * | Make sure the context menus also clear the status tip when neededThierry Bastian2009-11-102-26/+19
| | | | | | | | | | | | | | | Task-number: QTBUG-2700 Reviewed-by: ogoffart