| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
Causing build problems due to RCC'ing 'designer/images/*.png'
Change-Id: I4d97d8514fa38e5d78b8a6b1b6647e3834c864d7
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
| |
Change-Id: I55067bb1cb9888be8e0e991fb73c9365d93d04f4
Task-number: QTBUG-51316
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
Don't resize the popup (clamping to its implicit size) unless
the popup really has to be resized in order to fit the screen.
Change-Id: I81201b77a1001ac22291ede1fc685f7208ff2916
Task-number: QTBUG-51322
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
| |
The active focus ends up to RangeSlider when using forceActiveFocus()
or QML KeyNavigation. We must forward the focus to one of the handles,
because RangeSlider handles key events for the focused handle. If
neither handle has active focus, RangeSlider doesn't do anything.
Change-Id: I61a53d0c7203fad64306b54c1f96093bd9312416
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
| |
The trasformation matrix for the indeterminate animation has to
be reset when switching back to non-indeterminate mode, or else
the indicator is translated to a wrong position.
Change-Id: I8489a504f0b9626dbd0172ba0fba842f4528d027
Task-number: QTBUG-51312
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I13329270602d5b6e59d92dc412d72b2c4714c6c2
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
| |
Change-Id: I25c683cce19436d103d3225ad098daedf6212b64
Task-number: QTBUG-51108
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I8ec0828319e91df42c0bd9540953df7d431ef476
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
| |
In general, the appropriate shade is 200 in the dark theme. Furthermore,
reduce the translucency of the ripple in the dark theme to make it
better visible.
Change-Id: I6060dfbdb2d291eded56ca648e1356d6228e3b25
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
|
|
|
|
|
|
|
| |
Change-Id: Id678a095a56f7494c9f32160326ba667a6c0dc28
Task-number: QTBUG-51257
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
|
|
|
|
|
|
| |
Change-Id: If5a2e766eff51fb21d81c44f8313d7fdc2a67678
Task-number: QTBUG-50801
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
This allows ComboBox menu to occupy more screen space and use the window
size as limit.
Task-number: QTBUG-50758
Change-Id: If430338f7baa291406f3ad0657d0cb267e17a3a2
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now that the internal popup item inherits Control, which already
provides these features, we may use them directly instead of re-doing
them in Popup.
NOTE: QQuickMenu code has lots of direct references to the content
item, which used to be stored in QQuickPopupPrivate, which is the
base class of QQuickMenuPrivate. Now that the content item is stored
by QQuickPopupItem instead, the direct references don't work. Thus,
as a temporary solution to avoid this patch growing large, we'll
store the content item in QQuickMenuPrivate.
Change-Id: I80a16d34432131a4326c1b6ae54419470be53f96
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
It's important to mention that ApplicationWindow provides
some extra support for popups.
Change-Id: Iecea78d9d4446bbc4694fcde0166d1b1c2fb62ee
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
|
|
|
|
|
|
|
| |
Exposed thanks to e19a9044.
Change-Id: I9dea1af8e9a9d47391ddaf1fd9c8f7e0c210e9d5
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
QQuickPopup is a QObject, not a QQuickControl. Then need to make
QQuickPopup::popupItem() inherit its locale from QQuickPopup::parentItem().
Task-number: QTBUG-50984
Change-Id: Ie5908f86a154502962d6406dd4067b46cc527de7
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
Same what f56ec245 did to ItemDelegate. Use a translucent color for
the highlight, so that the exact background color doesn't matter.
Change-Id: I9e1673bbc3e7348b15854d623ee0c37aea51f231
Task-number: QTBUG-51118
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
QQuickPopup is a QObject, not a QQuickControl. Then need to make
QQuickPopup::popupItem() inherit its font from QQuickPopup::parentItem().
Task-number: QTBUG-50984
Change-Id: I7f417474172b533b744eb668a0476cdcbabba868
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Iadfbc3a39de102825c9dde60a236883b88834b34
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
| |
This allow to get proper fonts for most controls.
Change-Id: I4b43ce05b09c30f59dca7d23e8d890fa9dfb74ab
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
This patch completes the support in QQuickApplicationWindow
and QQuickPage to dynamically change the header and footer
item.
Change-Id: Id230db135ca2957d94aa126e9d58ac486c88557c
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
Use a translucent color for the highlight, so that the exact background
color doesn't matter.
Change-Id: I63348137dedd04aca8110b8f7610506ca003ec87
Task-number: QTBUG-51118
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
| |
Avoid calling an uninitialized JS callback. This is a regression caused
by lazy creation of the JS callbacks in 1f146d9.
Change-Id: I1816b491ada0509c5664cffbcaa32ca987095b31
Task-number: QTBUG-51114
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I75e9c0d60a555dfb3ed494544af348bdc333f6e1
Reviewed-by: Topi Reiniƶ <topi.reinio@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Using the same auto test that already exists for TextField and TextArea
nicely exposed some difference in the behavior:
- the signal wasn't canceled on second press
- the signal was canceled right away on any tiny move. now it allows
the same little threshold than TextField and TextArea
Change-Id: I6b9bd19c614b36dd0ec7b232f821af3aa929d02a
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I49b951f8382277ee9ea86f487ee70fe954cf1ece
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I6c977e4bdc62820589a94700291d93b290d796ae
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I489e6f60bda5935e66df592f9d8eff6fb114d4a9
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 1cf60c89a8711103a37b0511f4e91ee28d984b45.
The fix wasn't good. It leaves a dangling pointer around, which makes
tst_stackview fail and often crash. Unfortunately the problem wasn't
caught by the CI, because it didn't run qmltestcases at all. :)
Change-Id: I7348f1b79a45715f8c5abec416e8a9864b0288e1
Task-number: QTBUG-50937
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
| |
Change-Id: I98d84668ce42687577539cb6356b87be9e2bdd98
Task-number: QTBUG-50937
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
Request Segoe if exists, fallback to the system font. Even if we
fallback to the system font, set the sizes and weights appropriately.
Change-Id: I6cd34efcb5e41171758ffb2fbab22dc9d52c95a4
Task-number: QTBUG-50971
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Request Roboto or Noto if exists, fallback to the system font. Even if
we fallback to the system font, set the sizes appropriately. The latest
spec for tabs says that the font size 14sp (scaled px) and all caps.
https://www.google.com/design/spec/components/tabs.html#tabs-specs
Change-Id: I34ecadf21306921e2115630ea41771dfef627b48
Task-number: QTBUG-50971
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
The handles were hard to touch. This change makes it choose the nearest
handle, so that the interaction becomes similar to what Slider has.
Change-Id: Ie94eeed6a8466f44e8eee0ce0ba0a45cfb3f6924
Task-number: QTBUG-50972
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
If the value changes when snapped on release, the position is updated
accordingly. However, if the value doesn't change, the position must
be updated manually or the handle doesn't snap as it should.
Change-Id: I3648e08c2f897d73c84c6d91510795e4aede41d7
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
Same as the recent fix for Slider. The step size needs to
be normalized when added to or subtracted from the position.
Change-Id: I490d105f88db361fb0e1888017e1717e9d79e4c8
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
| |
According to design guidelines, padding should be at least 12.
Change-Id: Ifbe57107fc7e15e3a7e09a3923549ba23dc2f7e3
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The value range and step size are configurable, whereas position is
always in the range [0.0..1.0]. The snap handling was applying step
size to the position as is, without taking the value range into
account. Thus, snapping worked correctly only for the default
[0.0..1.0] value range, which happens to match with the position range.
Change-Id: If2f48d36c95554de25598d507842576a49e643b9
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I41e96a61bfb25b81bad748f559894bf8e2984427
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
The Material design specifies 48dp as a height for tabs, which is
also the minimum touch target size.
Change-Id: I7c67e3e0aec92d197df14fd60bbd1ebcd55131f6
Reviewed-by: Nikita Krupenko <krnekit@gmail.com>
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I26b519e03700d163af12ec2d08097b1d51d9e119
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
It deserves a wireframe to explain, but a minimal docs are better
for now than a TODO comment.
Change-Id: I3fa1bfb13478065e0c9f4a3f3693ad90a54b3385
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I314514bca07f9b23ac821d68ba8f3ce05341f1d9
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I7df64587bf3ba289ba027f6dbe9872362532ec41
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I5e552762c9beee7747f6bbd1d50d6ae6f50cfe69
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
| |
Change-Id: I75cc70df9f5eef5a1e0132ea8ec90938305dfde2
Task-number: QTBUG-50575
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Drawing a double-dashed focus rectangle gets seemingly expensive if
the active focus control is eg. a SwipeView that covers the whole
screen. In fact, SwipeView does not even request a focus rectangle
(useSystemFocusVisuals: false), so it makes no sense to waste CPU
cycles drawing a huge double-dashed rectangle. It's a bit unclear
why QQuickPaintedItem even calls paint() when it's hidden...
Change-Id: I57a8dd309674b8a6e99749544242a00dc02471ee
Task-number: QTBUG-50575
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
| |
This matches the Qt Quick application template in Qt Creator.
Change-Id: I509481ee60b3f06a5a29202753767f32023e37b8
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
Use QFont::exactMatch() to find out whether the font exists.
Change-Id: Ie4f0a3a55c9337c504684aa285c93391e41279aa
Task-number: QTBUG-50815
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Iff06544f14964e442b66901d5c23254786008293
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using ApplicationWindow is highly recommended. First of all, with a
plain Window, QQuickPopup attempts to set a high z-value, but cannot
guarantee correct stacking order. Secondly, we cannot provide style-
specific background dimming for modal popups, because it is styled
as part of ApplicationWindow. Last but not least, QQuickPopup has to
install a window-level event filter, which is far less efficient than
how event handling done in QQuickOverlay.
Change-Id: I08915abce7a1764177b92f7539eef77c054a405a
Task-number: QTBUG-49921
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|