| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This ensures that singletons are excluded from the numbers.
Change-Id: I14422b7b15d57273dd11717892ebd11eba650902
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
Add support for VERBOSE=1 to get detailed object list, and improve the
warmup by importing both controls and loading an image to avoid plugin
loaders and image format plugins showing up in the numbers.
Change-Id: I26cfdc6d71fe36b45b706164f696bbb7f055f078
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I71df0935e69690775a58e868694632be9fbd7f78
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Id6509da9434e77349be068a84beb31e1f9edd124
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
The recently introduced contentWidth/Height was ambiguous. It had even
different semantics than in Containers, TextXxx & Flickable etc. Thus,
replace with availableWidth/Height.
Change-Id: Iaeef25ec82b395c602724d222ca73666460ffd29
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
- width follows only if x and width are both not specified
- height follows only if y and height are both not specified
Change-Id: Ib881daa9da339baac53f7f9d4de6e5bdad7723e2
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
It was emitted only when LayoutMirroring.enabled changed, but
it also needs to be emitted when layoutDirection changes...
Change-Id: I9424fdf232c11669780c9abace5c162a0df69dbe
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Iaeb851371810283cc272d755f32ffdafaff16118
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Id686a132fc9e7933c86e5314056f28fc50f6c61f
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
| |
It got ugly and hackish, and broke for QQuickButton subclasses.
Instead, use simple and pretty bindings (thanks to newly introduced
contentWidth and contentHeight) to give the label a default size and
position.
Change-Id: I4cd705e86a12e8c9ffa0b7a768b1878bba797036
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
| |
This is the control width and height without padding.
Change-Id: Iebee2a0d3fd6b5475fef1dad507c72efba12d903
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I9833aee821e4c7d436e0c999dbeefe3e12b34875
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Icbb39aa1c3ac6f4b00adbc59c09a6c79e99bafd3
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I44df09c17d6d20cfd929af4e331e15f48b19587e
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
The setters were already exposed as slots, but the properties should
be writable to let apps implement eg. "infinite" scrolling using pure
declarative bindings.
Change-Id: I6c827803559b6d0f1bb97b90345874173ef107e4
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The default window flags (Qt::Window) should be mapped to
the default decoration. The old value
Qt.Window | Qt.WindowFullscreenButtonHint caused a small border
on Windows. Platforms that support Qt.WindowFullscreenButtonHint
should add it to the default decoration.
Change-Id: I1fb30073e350d038bcc50433f9c30e384a19fff1
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
$$[QT_INSTALL_EXAMPLES]/<module>/<example>
Change-Id: I82267c740b5e7750cd0e9149b241a03837aea8e2
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
|
|
|
|
|
|
|
| |
Ignore non-developer build artifacts and intermediate
files to make 'git status' more pleasant to read.
Change-Id: Ie587bc31bcaf673db7c33251e92661ac1e5417b0
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: If10ef6f111b4a91216bbb2d0b52bc182533edaa8
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This API is cleaner than having to connect to each signal
handler namually.
We solve the 'pressed' signal problem by connecting to the
other signal accessor, namely 'onPressed'. And we do so for
all signals.
We also lay foundation to capture the signal parameters as
each signal is emitted. What we may do with those values is
not clear yet.
Auto-tests updated accordingly.
Change-Id: Ieda96a43072ca7dff2b183e07f6f67aa49c8cf5d
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
|
|
|
|
|
|
| |
Also made a few cosmetic changes to the output of ControlSpy.
Change-Id: Iec6982b3de3dda3aaa312e29801d0708ef8d739e
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Allows specifying expected sequences on signals for a control,
and optionally test for property values when each signal is
emitted.
Rewrote Button auto-test suite using ControlSpy.
Change-Id: Id27c1b9ca7ee070898bcd008379e06959341ee04
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We now support the following pattern:
1. Press the mouse button => emit pressed
2. Move the mouse cursor outside the button => pressed = false
3. Release the mouse button => emit canceled
Note that getting the mouse grabbed away by another item, at any
stage, will also emit the canceled signal.
Change-Id: I97e485327370ea47943dfef75553000cee449a01
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I387ecb0cac328e99645b92371687cfc3678b5c71
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
|
|
|
|
| |
Change-Id: I31da59c893681455ab276c6ef3bf8a44bfa27f29
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
If the label delegate has no explicit size defined, make it follow the
size of the button minus padding. This should be a convenient default
behavior that satisfies the most users, and saves a few of QML bindings.
Makes also the upcoming "the default delegate implementation looks like
this" -snippet nice and short. ;)
Change-Id: I574439c1e52c2904746be7d830f9536d4cfd9083
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
This way it works out of the box and can be used with visible true/false
etc. It's also in line with what qtquickcontrols (1) do.
Change-Id: Ib82b0a60a7a78b6646452704f4ffb96fbd16923c
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
Some controls will resize delegates inside the padding. In this
case reacting to geometryChange() is not enough, they must handle
paddingChange() as well.
Change-Id: I424454732a31db6d5a99ee1423f75cf753c80259
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
|
|
|
|
| |
Change-Id: I4d6f555faac81e56c32c6baf0a9ede14849a5855
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I943d7df19c50e1e02b38c0b8e337d9d6a5aa7fdb
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
After renaming the module to get the doc build working, the exports are wrong.
Change-Id: If92c06c0ce1c59a86d99d1f3d1b73ed6beeed297
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I28831c979f8fa040fc3388eec6f2256930a3d91d
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I8bfc5a89aa75addd4cb1a5c0d5b58ea8b2bcf67c
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I2abeb51c1c202a69626b6e4ae16c161b44a856f7
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
|
|
|
|
|
|
|
| |
The module name has been change to qtquickcontrols2.
Change-Id: I023fca6086251e151752ef6f18fe8bf6ffcaf1e1
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
const struct QV4::Value’ has no member named ‘asString’
following QtDeclarative change fc5a11aad.
Change-Id: Ide645978e484e1fed43f87039a0206136a6a29db
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
|
|
|
|
|
|
|
| |
error: no member named 'asString' in 'QV4::Value'
Change-Id: If0bb37c59d1533f501677022485fe925a468be7f
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
This allows to co-install the documentation since it ends up in
doc/qtquickcontrols2, otherwise it overrides the qtquickcontrols (1)
docs.
Change-Id: Ie328d2db75c4023ea0db5106029b8fa14fbaf6e1
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I3f2227241bbb37320b83aecb8cd8c4d2e16388d9
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I7abcadf4aa6432a59f831ba4321a5bba0b9c49fe
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
| |
error: no member named 'asArrayObject' in 'QV4::Value'
Change-Id: I462cab09129916cd6d2834755751dcb3811a9df7
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I47a70f189e0573b9128a4f2953ae9f6df8f7921f
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
Avoid an id that conflicts with a property name. The id would take
presedence in implicitWidth/Height bindings => wrong implicit size
with a custom track.
Change-Id: Ieb18844c27400ee0826e8e915b549364140c5d14
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I5942457258e1c666a0d67dbc5a9a5611d4ed5967
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
| |
New item is the first, old item the second argument.
Change-Id: I9e4255d1046b3f02d15633b0979eb56ca79e4dbb
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I37e2ab2c1f64f907b5895f41ee278b58af4e2655
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
|
|
|
|
| |
Change-Id: Ica038e064fef3e513bc95f147ed9f23c54de385b
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Idaa1416bdc09ad2ff469f7ddebcf8212bdeb1b2c
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Ide1da96f028d665a3b660960787be94f71b67820
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
| |
The QML type registration is still using Abstract-prefix to avoid
conflicts, until QTBUG-43581 & QTBUG-43582 have been resolved so that
the public types can be used for accessing attached properties and
enums.
Change-Id: I469712461f706a83c226e4017282ca1d6914c670
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|