Commits (43)
-
Kai Koehne authored
This makes sure all examples are in a separate directory for the Qt source packages. It also is in line with how the other repositories are structured. Task-number: QTBUG-30886 Change-Id: Idc2856e5dfaf467c8cb9764aee327a3b20c7b2d0 Reviewed-by:
Caroline Chao <caroline.chao@digia.com>
5ee66382 -
Jan Arve Saether authored
This enables us to find the effective size hints without allocating a QQuickGridLayoutItem. Change-Id: I827e3196c0a3979a2f6f5a0d6f3622cd6d121645 Reviewed-by:
Richard Moe Gustavsen <richard.gustavsen@digia.com>
2b205db8 -
Gabriel de Dietrich authored
These are for tweaking the popup position according to the current style. First usage goes to ComboBox. Also prepares for proper support of 'small' and 'mini' style hints. Change-Id: I7bc682d5d82bf6fa7a36916a9d4c64dfb2bdb56e Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
4059b38a -
Gabriel de Dietrich authored
Currently supports Button and ComboBox. Change-Id: I0c051e7c6f93d53861e6b8869f3fd3a9478cdee0 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
01518ec2 -
J-P Nurmi authored
Change-Id: I4996f5156b111d5dc40a50ff0c845bf0dc62ea27 Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com> Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
ba105170 -
J-P Nurmi authored
Change-Id: I096571283dc66acbe86f75310b55d2da3ef808af Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
3337fad0 -
Jan Arve Saether authored
The previous code was a bit rough in how it determined if the item was supposed to be ignored or not. For instance, it did not ignore items with Layout.maximumWidth: 0 or Layout.preferredWidth: 0 Layout.fillWidth: false The following patch will use QQuickLayoutItem::effectiveSizeHints_helper. Since that is now shared, it should make the behavior more consistent. The patch also fixes a bug where ignored items (e.g. a hidden item) was not re-added to the layout if it became visible again. (QTBUG-30796) We use a QSet to keep track of the ignored items, and repopulate the layout if any of the items in the QSet changed some properties relevant for the layout. Task-number: QTBUG-30796 Change-Id: Ia4b0584ed61e1b24efaca322551f6bb1a4228ca6 Reviewed-by:
Richard Moe Gustavsen <richard.gustavsen@digia.com>
15377099 -
Gabriel de Dietrich authored
Change-Id: I97ce3f35153beee2d7b1113880f25fd01904ce5f Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
0bba341d -
Caroline Chao authored
Change-Id: Id48fea5609cb52b5a79d9ad345a07774112b26d2 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
5a737745 -
Jens Bache-Wiig authored
We have to take the current focus state into account. Task-number:30778 Change-Id: I95b519585e1e6221ac17b7c9d23700bf8132cb94 Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com> Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
903c3c0e -
Caroline Chao authored
Don't return a get function when the model is an array and the return value is a string. So resolveTextValue() won't try to retrieve a textRole in that case. Change-Id: Ifc85eacc67accd34d63805487e20ae5829523c14 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
f573157c -
Jens Bache-Wiig authored
Change-Id: Id2bbf2bb9d440bb9473f28699488fd58fa19f3f3 Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
c763c70f -
Tasuku Suzuki authored
Change-Id: I89e86cf0fc3f6421e1dadd41771dfc689dcdeb8a Reviewed-by:
Jan Arve Sæther <jan-arve.saether@digia.com>
0cde4af6 -
Caroline Chao authored
"warning: unused variable 'menu' [-Wunused-variable]" Change-Id: Ie7cab810475a575f9ffa375380cf62d67c0bc836 Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
a0173a8b -
Jan Arve Saether authored
These static function are only used by effectiveSizeHints_helper. This broke because of commit 2b205db8 Change-Id: I189a59195d2576f4212b28fff4596bd803f25f49 Reviewed-by:
Richard Moe Gustavsen <richard.gustavsen@digia.com>
038a27e8 -
Jan Arve Saether authored
Change-Id: I9312c49f54cd231dd1129e1dbbed93aa959f67f0 Reviewed-by:
Richard Moe Gustavsen <richard.gustavsen@digia.com>
589a5532 -
Jens Bache-Wiig authored
Also adds @2x for retina displays. Change-Id: I77937690b0990ee54404f0ff26540393b8f70248 Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
7a43a8d8 -
Gabriel de Dietrich authored
Change-Id: I01b657135e94d9649e5773a7987439f50de48cdd Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
aa8ade9a -
Caroline Chao authored
Add this property to the testbench and also sortIndicatorVisible and sortColumnIndex. Change-Id: I0a3b375d170f4cbedce3c2edb0624044df1eb019 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
321fbffe -
Caroline Chao authored
Change-Id: I953d0b1803a69acec04ab4ff542ab4629a4df1c4 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
f4bfc438 -
Jens Bache-Wiig authored
Change-Id: I6b97624338c3cfa4663e79bc243327ce9f494ccf Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
e1d5a982 -
Jens Bache-Wiig authored
Change-Id: I9305a96d981f19ae85104facf2da01b2b215f316 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by:
Caroline Chao <caroline.chao@digia.com>
94e475f2 -
Caroline Chao authored
Check the styles can be loaded. Change-Id: Ie95ef0de8844372b193249ee467136561d07d099 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
a185543c -
Caroline Chao authored
'Warning: Property declaration __font has no READ accessor function or associated MEMBER variable. The property will be invalid.' Task-number: QTBUG-30988 Change-Id: I7530310d0da03ecd59bfe1cc3e221e776c17d4f7 Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
c97e9109 -
Caroline Chao authored
Change-Id: I633467448dbae8518760d380b1f7d6bee33377ff Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
2e3dc46f -
Jens Bache-Wiig authored
Change-Id: If09c39341833e6162921c280bcc7583cca2fb15f Reviewed-by:
Caroline Chao <caroline.chao@digia.com>
666762d6 -
Gabriel de Dietrich authored
Up and left pointing arrows would look off-center. Vertical handle would overlap 1px with top button, and miss 1px to bottom button. Change-Id: I6fe4ce96e62d864e9d6a7c835067e3c95f51bac4 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
03bc870a -
Nico Vertriest authored
Task-number: QTBUG-30318 Change-Id: I9839470fbac1d14c1788766d275aba3fac6ec8b1 Reviewed-by:
Jerome Pasion <jerome.pasion@digia.com> Reviewed-by:
Caroline Chao <caroline.chao@digia.com>
b5b612ed -
Jan Arve Saether authored
Change-Id: I7a92428e910435f0ecd63577cb12d5ce5b7653bc Reviewed-by:
Richard Moe Gustavsen <richard.gustavsen@digia.com>
dad6794d -
Nico Vertriest authored
Task-number: QTBUG-30318 Change-Id: If3916f3250f202a5da4b1f8034ecfba984367af3 Reviewed-by:
Jerome Pasion <jerome.pasion@digia.com> Reviewed-by:
Jan Arve Sæther <jan-arve.saether@digia.com> Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
fbd18c8b -
Caroline Chao authored
Those controls are not properly tested nor documented. They are not part of the release. Remove them for now to avoid confusion. Change-Id: Ic8bb536e9e91f4fb763f0e1c9b00602e87dd8c44 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
1667675f -
Richard Moe Gustavsen authored
Set the implicit size of the SplitView based on the sizes of the split items. Change-Id: I775b938215216831d10cb50868e4c6733e157eeb Reviewed-by:
Jan Arve Sæther <jan-arve.saether@digia.com>
a781a5e0 -
Richard Moe Gustavsen authored
This function was added in a previous patch, so reuse it for already existing code. Change-Id: Icd5daf195af7e249d4273bbc32a290bed5f0eaa5 Reviewed-by:
Jan Arve Sæther <jan-arve.saether@digia.com>
95a02b76 -
Richard Moe Gustavsen authored
Rename variables to the new Layout terminology, to ease future maintenance/understanding of the code. Change-Id: I619f62a0280238fafefe261fae3f00eb575bb699 Reviewed-by:
Jan Arve Sæther <jan-arve.saether@digia.com>
ab936c26 -
Richard Moe Gustavsen authored
If the user sets Layout.maximumWidth on the fillWidth item, we now respect it. This can potentially make the splitview look buggy, since the fillWidth item might then be restrained from filling out remaining space. The same with the height of each item; you can now control the maximum height. This means that each item can end up with a different height. The upshot is that if you add items to a splitview that cannot grow, splitview will not try to resize it. Change-Id: If1cc82aefa939898a3b159da6b006f95af42599f Reviewed-by:
Jan Arve Sæther <jan-arve.saether@digia.com>
a2bec516 -
Tasuku Suzuki authored
Change-Id: I416febce983b44528611d46adc1aac8ce25507ac Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
094e7593 -
Caroline Chao authored
Change-Id: Iff2eb9f6083dbb4e3f49a1a099b0c4c2f004f02d Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
390c6fa6 -
Topi Reinio authored
Create an initial set of documentation for the examples - brief descriptions and screenshots. Change-Id: I29939ab4ab81b78d1c83718a696d56932a3a285c Reviewed-by:
Jerome Pasion <jerome.pasion@digia.com>
80811537 -
Caroline Chao authored
Change-Id: Ia73015655ea75ee24cd1f2761df705c42894d12e Reviewed-by:
Topi Reiniö <topi.reinio@digia.com> Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
bb7e55b7 -
J-P Nurmi authored
There are three ways to add tabs: - declare 'static' Tab { } child elements - call addTab() / insertTab() - Component::createObject(tabView) => Do not rely on the calling order of Component.onCompleted() and make sure that the same tabs are not accidentally re-inserted. Task-number: QTBUG-30873 Change-Id: Ib30cfb676debbb302c5e9f7d757f66aab6fcc684 Reviewed-by:
Caroline Chao <caroline.chao@digia.com>
a6deb27b -
Caroline Chao authored
The mousearea in TableView has to accept mouse event in onPressed to receive upcoming double click event. Regression introduced by Iff3e5c1. Instead of not accepting the event in onPressed, set the MouseArea property propagateComposedEvents to true and does not accept the onClicked event. Also uses QStyle::SH_ItemView_ActivateItemOnSingleClick to check if the table is activated on single or double-clicking. By default, it is activated on double-clicking. Change-Id: I744174d7b31efebfae5e8db4db7b99a544ecf50f Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
533b4535 -
Caroline Chao authored
Task-number: QTBUG-29893 Change-Id: I7c80a68d9d45c3df3e0bf691b69c4510ccd1649d Reviewed-by:
J-P Nurmi <jpnurmi@digia.com> Reviewed-by:
Jerome Pasion <jerome.pasion@digia.com>
2dfcdfd7 -
Caroline Chao authored
The bug QTBUG_30379 has been fixed. Change-Id: Ic05f70e3dec528cacefba44d14a76952b5636315 Reviewed-by:
Liang Qi <liang.qi@digia.com>
2ae89b14
Showing
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved