summaryrefslogtreecommitdiff
path: root/src/controls/Styles/iOS
Commit message (Collapse)AuthorAgeFilesLines
* iOS: Let CursorDelegate respond to cursorFlashTime from style hintsRichard Moe Gustavsen2016-04-261-2/+6
| | | | | Change-Id: I4d8cf26272767a82c89cc1119afecfe1a0fedabd Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* iOS: Remove text selection handlingRichard Moe Gustavsen2016-04-262-4/+0
| | | | | | | | Text selection and overlay are now done from the iOS platform plugin. Change-Id: I3903ab05816775f75708e915780f549e62797135 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Make the iOS style a plugin so that it can be built for static correctlyAndy Shaw2016-03-182-27/+28
| | | | | Change-Id: I60ae4aa9e0e1ffdc8f74a611202fef10df023b05 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Unify license header usageAntti Kokko2016-02-0426-312/+390
| | | | | | | Update old header.LGPL3 to header.LGPL Change-Id: I3c851bc24da89f6300b94199387d1adf16ca4f48 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* iOS: implement SliderStyleJochen Seemann2015-04-101-1/+49
| | | | | Change-Id: I49c416816471714672aaa2e72df5049ac0ec990d Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com>
* Controls: update license headersJ-P Nurmi2015-02-1126-772/+694
| | | | | | | Change-Id: I77e7a218a958d76ac7ef7780f4be52a81f76fa6b Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com> Reviewed-by: Mitch Curtis <mitch.curtis@digia.com> Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
* Let the cursor handle be visible regardless of selectionJ-P Nurmi2014-11-071-0/+1
| | | | | | | | | | The cursor handle is visible on Android even when there's no selection. Let the style decide when to show/hide the handles, but make sure to disable the corresponding MouseArea when a handle is hidden. Change-Id: I211c122998223ad25279bee2841c5b5e14d4c48e Reviewed-by: Mitch Curtis <mitch.curtis@digia.com> Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
* Make the cursor and selection handle delegates private for nowJ-P Nurmi2014-10-304-12/+12
| | | | | | | | | | | | | | | | | | The API is not ideal, we don't want to lock this thing down like as it is now. All styles implemented so far created CursorHandleStyle.qml and SelectionHandleStyle.qml so perhaps that's the better way to go. Furthermore, there's never going to be multiple occurrences of the handle pairs, so it should be one shared instance. Thus, the relevant style delegates probably shouldn't be sprinkled around various control styles... So, for now, the most pragmatic solution is to make the handles and cursors internal since we don't have time to revamp it before 5.4.0. Change-Id: Ib9fcc4a431bb510c8c55a760159f4d6a631554b3 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com> Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
* iOS style: import private to get ToolButtonStyleRichard Moe Gustavsen2014-10-151-0/+1
| | | | | Change-Id: I1360af2aa6a559e821f2b4ef6f3c9af6ab0a3b26 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* iOS: let TableViewStyle use aliasesRichard Moe Gustavsen2014-10-081-8/+8
| | | | | Change-Id: I2de63405cebe2b1b20799990a0cd81c03121d17f Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* iOS style: enhance cursor delegateRichard Moe Gustavsen2014-10-081-3/+15
| | | | | | | | | | | This patch fixes two issues: 1. The cursor should not blink while the user is typing. So when the cursor position changes, we restart the timer. 2. There is no need for the timer to be active if the cursor is not visible. Change-Id: I01b194faf1f7fe9f9f9c6372bc611b4b45e61591 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* iOS style: add cursor delegate to text itemsRichard Moe Gustavsen2014-10-066-1/+83
| | | | | Change-Id: Iefaac84eda3eefeff709f592ad41637f31b0fdd3 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* iOS style: let TableViewStyle inherit ScrollViewStyleRichard Moe Gustavsen2014-10-031-2/+22
| | | | | | | | | The same problem as described in previous commit regarding TextAreaStyle. We need to ensure that TableViewStyle picks the correct ScrollViewStyle to inherit. Change-Id: I8d16638fe3bd048111529d3e8c40e60e7655df90 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* iOS style: let TextAreaStyle inherit ScrollViewStyleRichard Moe Gustavsen2014-10-031-4/+13
| | | | | | | | | | | | | | | | | TextAreaStyle (iOS) inherits TextAreaStyle (base). And TextAreaStyle (base) inherits ScrollViewStyle. The problem is that since TextAreaStyle (base) is in the base folder, it will also choose the ScrollViewStyle from that folder as subclass. But what we want is to use the ScrollViewStyle from the iOS folder. It seems like the correct way is to not let TextAreaStyle (iOS) inherit TextAreaStyle (base), but instead ScrollViewStyle (iOS) directly. This means that we also need to redefine the same properties in TextAreaStyle (iOS) as in TextAreaStyle (base) Change-Id: If2ea16c5c334a0c5858cef1dc7886757fdbf2bd9 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* iOS: enhance scrollviewstyle for iOSRichard Moe Gustavsen2014-10-031-1/+72
| | | | | Change-Id: Ibead105c519f4ea52284505c13082e2833014573 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* iOS: fix ToolButtonStyleJ-P Nurmi2014-10-011-1/+1
| | | | | Change-Id: Ib54f50af8471d4207fd714650ab03a2a1f3137ee Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
* iOS style: add selection handles to input controlsRichard Moe Gustavsen2014-09-197-5/+161
| | | | | Change-Id: Ie9ae35806d98155cc522456c23486297de44adfd Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Add iOS style stub (NOTE: cherry-pick of faa5f59)J-P Nurmi2014-09-1825-0/+996
The current look and feel on iOS (with the default Base style) is terrible. This commit alone doesn't change anything, but it allows us to do minor iOS-specific tweaks that will greatly improve the usability on iOS already in Qt 5.4. Change-Id: I86764dd92bdfaae8170a8cd6709177a9a064cda8 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>