summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets
Commit message (Collapse)AuthorAgeFilesLines
* Make the member variable names in QLineControl consistent.Marius Bugge Monsen2009-07-144-245/+253
|
* Some minor style and whitespace fixes.Marius Bugge Monsen2009-07-142-38/+44
|
* Add '\internal' to the QLineControl documentation.Marius Bugge Monsen2009-07-141-40/+102
|
* Cleanup some incorrect changes to QLineEditAlan Alpert2009-07-141-9/+8
|
* qlinecontrol_p_p.h isn't actually used at all, remove file.Alan Alpert2009-07-141-105/+0
|
* Replace Q_ASSERT with qWarningAlan Alpert2009-07-141-2/+4
| | | | This is probably more correct, but is also the way it used to behave.
* Actually, some of that can't be moved back into QLineEditAlan Alpert2009-07-142-38/+43
| | | | | Also it should be executed a little later to avoid accidental behaviour changes.
* Move some keypad navigation code back out of QLineControlAlan Alpert2009-07-142-50/+48
|
* Fix some minor mistakesAlan Alpert2009-07-102-4/+4
|
* Accidental Behavioural changes have been identified and rectified.Alan Alpert2009-07-081-4/+11
| | | | | | createStandardContextMenu should still only cut/copy in normal echo mode and the Qt3Support function validateAndSet will again only set if it is validated.
* Fixed one of the QT3_SUPPORT constructors.Alan Alpert2009-07-081-8/+3
| | | | | It was accidentally left commented out instead of working with QLineControl.
* Forgot to bring in the change to QAbstractSpinBoxAlan Alpert2009-07-072-3/+3
| | | | | | QAbstractSpinBox had some code using QLineEdit internals, this had to be move to use QLineControl as well. This commit also includes fixing some typos in my last commit.
* Finish remaining TODOs for QLineControlAlan Alpert2009-07-073-11/+23
| | | | | Didn't notice there were still some TODO markers left. They have now all been done.
* Manually integrate 099a32d121 to QLineControlAlan Alpert2009-07-071-1/+2
| | | | | This change to QLineEdit didn't merge, as it needs to be applied to QLineControl in this case.
* Manual cherrypick of QLineControl from kinetic-declarativeui-qfxlineeditAlan Alpert2009-07-079-1840/+3010
| | | | | | | | | | Splits out the control logic of QLineEdit into QLineControl, which is somewhat similar to QTextEdit. This was originally worked on in the ianws-qt-lineedit-textedit-research repository, and then further developed in kinetic in the kinetic-declarativeui-qfxlineedit branch. Note that this also includes a tiny change to qvalidator.h which allows validators to be used in qml.
* QMenu: the scroller now takes the qapp's global strut into accountThierry Bastian2009-07-062-25/+25
| | | | Task-number: 257118
* QMenu: scrolling in menus was brokenThierry Bastian2009-07-062-16/+24
|
* doc: Added not about Mac OS X.Martin Smith2009-07-061-0/+7
| | | | | | | On Mac OS X, QMenuBar::clear() does not remove menu items that have been merged into the system menu bar. Task-number: 255222
* QToolBar: avoid repaints when entering/leaving a toolbarThierry Bastian2009-07-031-0/+4
| | | | | | HoverEnter/Leave now do nothing. Task-number: 256103
* QPlainTextEdit pixel dust redrawing problem on clear()mae2009-07-021-3/+2
| | | | | With document margins, the mapping from content-coordinates to visual coordinates went wrong.
* Refactored gesture apiDenis Dzyubenko2009-07-028-3/+106
| | | | | | | | | | | | | | | | Rewritten the api almost from scratch, making it simplier and more flexible at the same time. The current implementation will not have complex gseturemanager class inside Qt, but the QGesture base class, which represents both a gesture recognizer and a gesture itself with a set of properties. A set of common gestures that can use used in third-party applications (and in Qt itself internally) is supposed to be found in qstandardgestures.h, and a base class for user-defined gestures is in qgesture.h Gesture implementation for Pan on Windows7 has also been added as a reference implementation for platform gestures.
* Don't insert text into a text widget when a modifier is pressed.Denis Dzyubenko2009-07-021-1/+2
| | | | | | | | For example when an unhandled key sequence (i.e. that has now shortcut assosiated with it) like Alt-L is pressed, we shouldn't insert the 'L' text from the QKeyEvent::text() into the text widget. Reviewed-by: Thomas Zander
* Merge branch '4.5'Thiago Macieira2009-07-021-3/+4
|\
| * Document unified toolbar change with regard to full screen change.Norwegian Rock Cat2009-07-011-3/+4
| |
* | QMainWindow: cleanup of code in QWidgetAnimatorThierry Bastian2009-07-016-107/+66
| |
* | src/gui: Remove QT_WA and non-Unicode code paths, dropping Win9x and NT supportminiak2009-07-015-89/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Set the focus to a child widget when set on a QGroupBoxBenjamin Poulain2009-06-301-3/+2
| | | | | | | | | | | | | | | | | | When the focus is set on a QGroupBox with the policy NoFocus, the focus should be propagated to one of the child if it accepts the focus. This was failing because QWidget::focusWidget() returns the QGroupBox itself. Task-number: 257158 Reviewed-by: Denis
* | Merge commit 'origin/4.5'Oswald Buddenhagen2009-06-302-9/+10
|\ \ | |/
| * Doc: Fixed a doc bug in QPlainTextEdit class description.Geir Vattekar2009-06-301-7/+7
| | | | | | | | | | Task-number: 256762 Reviewed-by: TrustMe
| * Doc: About menu on the Mac gets the application name from Info.plist.Geir Vattekar2009-06-301-2/+3
| | | | | | | | | | Task-number: 256818 Reviewed-by: Trenton Schulz
* | QDockArea: remove coverity warningThierry Bastian2009-06-301-1/+1
| |
* | QToolBar: fix coverity warningsThierry Bastian2009-06-303-27/+18
| | | | | | | | I also changed a bit the way the timer for the popup is working
* | Merge branch '4.5'Marius Storm-Olsen2009-06-301-2/+0
|\ \ | |/
| * Remove unused variablesAnders Bakken2009-06-291-2/+0
| | | | | | | | | | | | These variables are never used. Reviewed-by: TrustMe
* | QMenuBar: make sure to update the geometries when neededThierry Bastian2009-06-301-0/+4
| |
* | QMenu: when we access the actions geometry, it's now always up2dateThierry Bastian2009-06-301-0/+5
| |
* | QMenu: fixed a crash when clicking on a menu with a submenuThierry Bastian2009-06-301-1/+2
| |
* | QMenuBar: adding autotest for the geometry calculationThierry Bastian2009-06-291-5/+6
| | | | | | | | Also fixed a bug that would take the VMargin 3 times instead of 2.
* | Fix some coverity warningsThierry Bastian2009-06-294-8/+6
| |
* | QMenuBar: some private members weren't initializedThierry Bastian2009-06-291-1/+4
| | | | | | | | This was a coverity warning
* | QMenuBar: adding autotest and simplify/fix geometry calculationThierry Bastian2009-06-292-15/+9
| |
* | QMenu: adding autotest for the geometry calculationsThierry Bastian2009-06-291-4/+4
| | | | | | | | I also fixed an off-by-1 pixel bug
* | QMenu: fixed geometry problem that was adding twice the panel widthThierry Bastian2009-06-291-5/+6
| |
* | QMenuBar: simplification of codeThierry Bastian2009-06-293-114/+99
| | | | | | | | More to come: calculation of geometry
* | Doc - Improved the Detailed Description section for QCheckBox withKavindra Devi Palaraja2009-06-291-58/+71
| | | | | | | | | | | | | | | | | | | | screenshots and some cleaned up sentences. Reviewed-By: TrustMe Details: Also fixed the error in the sentence mentioning that QButtonGroup can be used to group buttons visually thanks to a bug report.
* | Compile.Norwegian Rock Cat2009-06-291-1/+1
| | | | | | | | | | I now need to get the index of the action before I can find any corresponding window item.
* | Fixed QPushButton sizeHint recalculation bug.jasplin2009-06-292-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch causes the size hint of QPushButton to be recalculated in cases where the value of the autoDefault property may have changed due to changes in the ancestor chain. If not explicitly set, the value of the autoDefault property depends on the presence of a QDialog ancestor. Note: The new autotest covers two different use cases related to this behavior. Reviewed-by: janarve Task-number: 255581
* | QMenu: refactor for the QWidgetActions' widget.Thierry Bastian2009-06-262-30/+24
| | | | | | | | | | We now use QList/QVector over QHash. It is more efficient because most of the time we iterate over the list of actions anyway.
* | QMenu: refactor of the update of the geometry to have one central placeThierry Bastian2009-06-262-183/+144
| | | | | | | | of calculation (ie. updateActionRects)
* | QMenu: Fixed a painting regressionThierry Bastian2009-06-262-7/+14
| |