summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativetextinput_p.h
Commit message (Collapse)AuthorAgeFilesLines
* QML focus API updates.Michael Brasser2010-07-211-2/+2
| | | | | | | | | The wantsFocus property has been renamed to activeFocus, to better reflect its value. Reading and writing the focus property is also now consistent -- this property represents focus within a scope. Other small changes were made to keep things consistent with the new naming. Reviewed-by: Aaron Kennedy
* Add copy(), cut() and paste() support to TextInputJoona Petrell2010-07-121-0/+5
| | | | | Task-number: QTBUG-12086 Reviewed-by: Michael Brasser
* Make Text, TextInput, and TextEdit all have the same size for the same text.Warwick Allison2010-07-071-0/+2
| | | | | | | | | | | | This may mean that the cursor is to the right of the width, so components should cater for that with a margin if they are boxed / clipped. TextInput used to try to account for right bearing (and left bearing incorrectly since it added it on the right). This is removed. Potentially this means that for some fonts the text repaints incorrectly on the left or right, but if that is the case Text and TextEdit already had such a problem (undetected), and all will need fixing. Task-number: QTBUG-11983
* Don't export declarative private classesMartin Jones2010-07-011-1/+1
| | | | | Those required by creator are still exported. Everything else is no longer exported.
* Ensure micro focus is updated in TextEdit and TextInputMartin Jones2010-06-291-1/+1
| | | | Task-number: QTBUG-11552
* Handle TextInput inputMethodEvent() properlyMartin Jones2010-06-221-0/+1
| | | | | Follow the pattern of other text input classes and QML key handling classes.
* Write TextInput.positionToRectangle docs.Alan Alpert2010-06-161-1/+1
| | | | | | Also renamed the argument to be more accurate. Task-number: QTBUG-11168
* Remove unnecessary CloseSoftwareInputPanel events after TextEdit or ↵Joona Petrell2010-06-071-1/+0
| | | | | | | TextInput has lost focus Task-number: Reviewed-by: Warwick Allison
* Take into account platform differences in input panel supportJoona Petrell2010-06-021-5/+0
| | | | | Task-number: Reviewed-by: Warwick Allison
* More autoScroll fixesWarwick Allison2010-06-021-0/+1
| | | | Task-number: QTBUG-11143
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2010-06-011-8/+8
|\ | | | | | | | | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: Fix example code and image Fix doc Fix some bugs in the QML Web Browser buttons Fix zoom bug in QML Web Browser demo Fix Typo Various doc fixes and improvements Document issues with rectangle border width of 1 where clipping is used Simplify selection setting. Make TextInput more like TextEdit.
| * Simplify selection setting. Make TextInput more like TextEdit.Warwick Allison2010-05-311-8/+8
| | | | | | | | | | | | By making selectionStart/End read-only, and adding adding select(). Task-number: QTBUG-11056
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into ↵Qt Continuous Integration System2010-05-311-1/+6
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2: (21 commits) Doc: Fixed an off-by-one error in an example. Fix QT_NO_TEXTHTMLPARSER Fix QT_NO_DOM Fix QT_NO_TEXTSTREAM compilation errors. Fix QT_NO_VALIDATOR compilation. Doc: Removed a misleading sentence about a class constructor. Doc: correcting docs in QDrag::exec Doc: Adding note about QDrag::exec() Revert behavior of QTextLayout::boundingRect() when line width is set Fix unreasonably large width of QTextLayout::boundingRect() Doc: replacing old image Fix compilation with stricts compilers. Fix QT_NO_DIRMODEL build error in QtDeclarative. Revert "Added native key support to QSharedMemory API." Revert "Improved documentation for QSharedMemory's key/setKey functions." Fix a simple mistake in QXmlStreamReader::atEnd() docs. Improved documentation for QSharedMemory's key/setKey functions. Added native key support to QSharedMemory API. Make test work with shadow builds again. Doc: Corrected the documentation about the compression threshold. ...
| * Fix QT_NO_VALIDATOR compilation.Tasuku Suzuki2010-05-311-1/+6
| | | | | | | | | | Merge-request: 648 Reviewed-by: Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>
* | Add selection methods to TextEditWarwick Allison2010-05-301-1/+1
|/ | | | | | | | Sufficient to allow different selection look and feel (see whacky example) Task-number: QTBUG-10968 Reviewed-by: Michael Brasser Reviewed-by: Alan Alpert
* Add a way to control when software input panels are shown in TextInput and ↵Joona Petrell2010-05-261-0/+10
| | | | | | | TextEdit elements Task-number: QTBUG-10841 Reviewed-by: Warwick Allison
* Disable mouse-based selection in TextInput/TextEditWarwick Allison2010-05-191-0/+5
| | | | | | | | Can still be turned back on, if people only want to target platforms where the behaviour is acceptable. Task-number: QTBUG-10684 Reviewed-by: Michael Brasser
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Alan Alpert2010-04-121-2/+6
|\ | | | | | | | | | | Conflicts: src/declarative/graphicsitems/qdeclarativetextinput.cpp src/declarative/graphicsitems/qdeclarativetextinput_p.h
| * Remove QT_VERSION checks in QMLAaron Kennedy2010-04-091-2/+0
| | | | | | | | We only support Qt 4.7 now.
| * Make the TextInput element nicer. It has scrolling.Alexis Menard2010-04-091-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | The TextInput has support for scrolling now so it's quite usable. You can deactivate the auto scrolling with a property if you want to do crazy animation while scrolling. This commit also fixed several bugs with the current implementation especially regarding aligments : selection was broken, moving the cursor also -> fixed. I have also added a tiny fix when the TextInput lost the focus -> the selection is cleared. Task-number:QT-2745 Reviewed-by:Michael Brasser
* | Add some TextInput properties and methodsAlan Alpert2010-04-121-3/+12
|/ | | | | | | | | | | | | | | | | | Adds the properties -passwordCharacter -displayText And the method -moveCursorSelection(int pos) These just provide a QML way to access existing QLineControl functionality, and are necessary to create desktop style LineEdits (the existing TextInput QML API was designed with a focus on touch input LineEdits) Includes tests and documentation. Task-number: QT-321 Reviewed-by: Aaron Kennedy
* Update #include of private headers in QtDeclarativeThiago Macieira2010-04-021-2/+2
| | | | | Always use private/. The WinSCW compiler doesn't search the current directory, for whatever reason.
* Make QDeclarativeItem NOTIFY signals canonicalJoona Petrell2010-03-091-2/+0
| | | | | Task-number: QTBUG-7193 Reviewed-by: akennedy
* Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to ↵Warwick Allison2010-02-241-0/+232
QDeclarativeXXX.