summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qlinecontrol_p.h
Commit message (Collapse)AuthorAgeFilesLines
* For an empty line edit the cursor position is depending on input languageLars Knoll2010-06-091-1/+4
| | | | | | | | Ensure the cursor is on the right if the keyboard layout is for a right to left language. Task-number: Part of Qt-3292 Reviewed-by: Simon Hausmann
* Correct BiDi behavior of QLineEditLars Knoll2010-06-091-2/+6
| | | | | | | | | * LayoutDirectionChange event doesn't affect the text anymore. * Default text direction is determined from string * Qt::Key_Direction_L/R forces the layout direction Task-number: Part of Qt-3292 Reviewed-by: Simon Hausmann
* Fix warnings and build on mingwThierry Bastian2010-03-251-470/+141
|
* Make QTextControl-based classes and QLineEdit understand Ctrl+Shift+InsertThiago Macieira2010-03-101-1/+1
| | | | | | | | On X11, this key is reserved for pasting the text selection (a.k.a. the PRIMARY selection). KDE apps already honour this, not all GNOME ones do, but it was agreed with them on xdg@freedesktop.org. Reviewed-By: mae <qt-info@nokia.com>
* Always redraw the complete control when an input event comes in.Robert Griebl2010-03-031-1/+1
| | | | | | | | | The problem here is that a pre-edit string won't be detected by updateDisplayText(), so the control thinks nothing has changed when a new pre-edit string is set. Reviewed-By: Simon Hausmann (cherry picked from commit 16f30906f6eea3e00351478555f153697a6e186d)
* Make sure cursor is painted at the correct position when we are using IM.Jan-Arve Sæther2010-01-211-1/+4
| | | | | | | | | When the line edit was refactored into a line control this regression was introduced. This regression was introduced by change fb7d86cf23227302d48db279ec589221d11a1f6a. Task-number: QTBUG-4789 Reviewed-by: Alan Alpert
* Update copyright year to 2010Jason McDonald2010-01-061-1/+1
| | | | Reviewed-by: Trust Me
* Fix ValidatorJørgen Lind2009-10-291-0/+6
| | | | Reviewed-by: tom
* Fix QLineEdit::setPaletteAlan Alpert2009-09-151-0/+13
| | | | | | | QLineControl has a separate palette that wasn't getting updated. Task-number: 261239 Reviewed-by: mbm
* Update license headers again.Jason McDonald2009-09-091-4/+4
| | | | Reviewed-by: Trust Me
* Fixed QLineEdit to correctly adjust the horizontal scrollingAdriano Rezende2009-09-081-0/+6
| | | | | | | | | The widget needs to use the naturalTextWidth to adjust the horizontal scrolling, otherwise it will not fit correctly the text in the visible area when resized. Merge-request: 1410 Reviewed-by: Alan Alpert
* Update tech preview license header for files that are new in 4.6.Jason McDonald2009-08-311-13/+13
| | | | Reviewed-by: Trust Me
* QLineEdit: reenable the delete action from the context menuThierry Bastian2009-08-261-1/+1
| | | | | | | We now need to connect to the slot in the QLineControl and not to the slot of the QLineEdit (the QLineEdit slot is now also removed). Reviewed-by: Alan Alpert
* Fix use of uninitialized memory in QLineEditOlivier Goffart2009-08-251-3/+3
| | | | Reviewed-by: Thierry
* Update contact URL in license headers.Jason McDonald2009-08-121-1/+1
| | | | Reviewed-by: Trust Me
* Fix test failure in tst_QDateTimeEdit::task118867Eskil Abrahamsen Blomfeldt2009-08-061-1/+1
| | | | | | | setCursorPosition() should be able to set the cursor at the end of the string. This is a copy-paste error made when refactoring QLineEdit. Reviewed-by: Gunnar
* Compile Fix for QT_KEYPAD_NAVIGATIONAlan Alpert2009-08-061-0/+3
|
* Use correct license header.Volker Hilsheimer2009-07-291-2/+2
|
* Move QLineEdit logic into QLineControlAlan Alpert2009-07-291-0/+741
Manually merged from the kinetic repository, where it has been used for a while. Like QTextControl, there is no auto test for the control, just for the widgets built with it. The purpose of this change is so that we can build stuff like QLineEdit in other places (like kinetic). Also included is a trivial change to QValidator, needed to use it with QLineControl in QML. Reviewed-by: mbm