| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: I6f946994f789704aa2efa94aaea0129d0d73d005
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I93205a226cd2a66236f9dd98e0b9039363900d75
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I6c4cdd97fcdaa86c2bdc5a8f465c2d9b6eddcf13
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I0e17a6c25dfd89fdb547720e9a626c2ec9d7765a
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
| |
Decrease the padding and swap the label/indicator order.
Change-Id: I0ee2528d3c3111024fe1a6e52acc0da1a0d30990
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Ib7d74b556378f7ec5ac3156c92a02d6834bff82e
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
Fixes the "QObject: Cannot create children for a parent that is in a
different thread." -warnings.
Change-Id: I94ed34c6c4c7a6b6507e91e74a354630b0ad6d04
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
Now that we have a good place for it, we can share a common base class
for QQuickMaterialStyle and QQuickUniversalStyle. QQuickStyle implements
the inheritance pattern for attached styles, in one place.
Change-Id: I459d98f96ce7c6de1ce7ef716e859f459278d8ad
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
An item-based menu derived from QQuickPanel. Eventually we'd like to
make Panel itself a QQuickItem, as it makes both the implementation
and the actual usage of Menu a lot easier.
Change-Id: Ic1bf2a05ab98d9e17824c402ed8326ef65d26c69
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
| |
Also applied to QQuickLabel, QQuickTextArea and QQuickTextField.
Change-Id: Icf10500905980445809eb2375e8957db2c41e03c
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Ib3fe1809887bbcf3db1822c6eb0182e0181cf70f
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I90d91ceaea245dc19d2c0de683cb7c1172e1042e
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The map between controls and QPlatformTheme::Font:
* QQuickControl and etc: SystemFont
* QQuickButton: PushButtonFont
* QQuickToolButton: ToolButtonFont
* QQuickCheckBox: CheckBoxFont
* QQuickRadioButton: RadioButtonFont
* QQuickLabel: LabelFont
* QQuickGroupBox: MdiSubWindowTitleFont (tmp)
* QQuickTabButton: DockWidgetTitleFont (tmp)
Change-Id: If8c0239ece673941164fd97f52240ef27d97b950
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I0e34c99564f30aef9ab17a8faa4ead6fa3829f5f
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
This paves the road for QQuickStyle, a common base class for
QQuickMaterialStyle and QQuickUniversalStyle. QQuickStyle will
be in a static library -> no BC requirements -> no pimpl.
Change-Id: Ibac37bef3a9282a3b7aaf29c4de854cab3cd8d7d
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Id2a412175f9907651d8e4e0fdacb624ac2444552
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
| |
Command line argument has more priority than environment variable.
Change-Id: Id76f703d1d4395b6bae1a2e6be162a9250fb8dfa
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I0e42b339ddfff81ad9029cfbff14e21aee5178ff
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
| |
Populating and accessing is faster than QHash, and the array is
initialized once per application. The original hash map was also
meant to be static, but it slipped in as non-static meaning that
the colors were initialized once per style instance.
Change-Id: I915615a4294e11f49d2fb47b3c50f0e5c50adbe2
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
Constructing colors from QRgb (typedef unsigned int) is a million
times faster than parsing named color strings.
Change-Id: I01453c6d6c500e32736f3e331569e7034140c644
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I0e33ff9d87b336e7b55958632c4ee5440d2e7916
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I45582349a97f0ed5b265da4d4f617b1f12f0d48d
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I7b8aaedf3a3c645db7bf6a1ca88472d8458de568
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I59810b3b116ba8bd3aae938ab571ee83ce2802bd
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using QtQC2 in an application on iOS was failing during linking with:
duplicate symbol __Z13initResourcesv in:
.../controls/libqtlabscontrolsplugin_iphonesimulator.a(qtlabscontrolsplugin.o)
.../controls/material/libqtlabsmaterialstyleplugin_iphonesimulator.a(qtlabsmaterialstyleplugin.o)
duplicate symbol __Z13initResourcesv in:
.../controls/libqtlabscontrolsplugin_iphonesimulator.a(qtlabscontrolsplugin.o)
.../controls/universal/libqtlabsuniversalstyleplugin_iphonesimulator.a(qtlabsuniversalstyleplugin.o)
Making initResources() static inline as intended.
Change-Id: I340b5eb711aaa195f4110f049bcc3a6eb84341cc
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I56f9e26fa96955d25adf47c8963e7e23765266ba
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
I didn't have the original SVG, so I remade it, hence the slight
change in size.
Change-Id: I24c8049655dbc379577b8c7913d2db31c12da6d2
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I9cdb652f20deb3c0e7b1705d37f69ff4f954e233
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
Given the presence of alternative styles, we'd like to focus on making
the default style as performant as possible. Removing Theme usage
is a step towards this.
Change-Id: I8f76dc98442e6c02703885591a44758f40c7a362
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
| |
Also moved to QtLabsControls lib.
Change-Id: I8ed1256da2b9aa63db4ca3b51a0ace3ba730e542
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Ieaa2fa1b876d75f94f48a7fce0c47c166b969d57
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- hide the cursor and stop the timer when the editor doesn't
have active focus
- bring the cursor visible when gaining focus, and keep it
visible while it's being moved
- make use of QStyleHints::cursorFlashTime()
- fix background positioning
- set selection color to avoid the default blue
Change-Id: I588f1f1cceaa2a6c9930cbdb1f0d1680117e0eef
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I868475a828e35a08c3f9c65996e896863a372bae
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before:
tst_ObjectCount::material(CheckBox):
QQuickItems: 5 (total of QObjects: 28 )
tst_CreationTime::material():"CheckBox":
0.28 msecs per iteration (total: 72, iterations: 256)
After:
tst_ObjectCount::material(CheckBox):
QQuickItems: 5 (total of QObjects: 19 )
tst_CreationTime::material():"CheckBox":
0.20 msecs per iteration (total: 53, iterations: 256)
Change-Id: I63a76f5bfb190655237d21d68397d5dc93941fe0
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
| |
Change-Id: I4845a7beac2edc0f0bcc1c810edd7d9e86f31c87
Task-number: QTBUG-49468
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I133be230d0d4b2fd36565f8f05d91426c314a085
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
| |
Change-Id: I4151421420838d66931aa00ab08ddbfecdf8944c
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
QQuickScrollBar was relying on itemGeometryChanged() for the attached
flickable. If the flickable geometry didn't change _after_ scroll bar
was attached, the bar was not positioned and resized as appropriate.
Change-Id: I8f8695b468596acf570e028dae96f7c31d73ffba
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
| |
QQuickScrollIndicator was relying on itemGeometryChanged() for the
attached flickable. If the flickable geometry didn't change _after_
scroll indicator was attached, the indicator was not positioned and
resized as appropriate.
Change-Id: Ib5b4816b4ba96ad73873722045ac4e3b7e47038d
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I75ce73d77fdd5dfab824fb98ba8a7cd670316cc8
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I72c535c2be99d345e1474a70e5c639f3b5a68e10
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
| |
Change-Id: I1c638c0b70a0ba8d0f5cfe1d7e41fd514c38c1c9
Task-number: QTBUG-49551
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Id59eee0982cc7dd197de26b6579947d615449d8b
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I0daf2780fdf7c9f9155a27e1f3ef2e1a28fb4052
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
If accessibility is already enabled at construction time, QQuickControl
does not get a notification of accessibility activation change. This
patch fixes the issue that the attached property object was not created
at all, by calling accessibilityActiveChange(true) when appropriate at
component completion.
Change-Id: I5d763d66c97a540687b217b8ae453d073f6bfdb4
Task-number: QTBUG-49361
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
|
|
|
|
|
|
|
| |
There are still more changes to come.
Change-Id: I94ed2c5d649d72d90e43120841c2457091200b59
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: If98b7296964b457e6a073cb232ca2ef1e024fb1d
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I1446e88d7102ebae0e9933710e8e67d8ce925c5b
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I0133870a273ff44a07ee1a372498c2c242a63b36
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Ifdf779c8a7ab85a303d4a018397b8700e48e85fd
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|