| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A much simpler, scalable and mobile friendly UI.
Some of the more complex controls, such as TextArea and TableView,
are intentionally left out. They are scrollable on their own, so
they wouldn't play nice inside scrollable pages. Furthermore, adding
them as standlone pages would increase the amount of tabs too much.
Those controls are demonstrated in the Text Editor and Table View
examples, respectively.
Task-number: QTBUG-41307
Change-Id: Ib3efb346e621e388087f3f14c73b3b54279db280
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
|
| |
|
|
|
| |
Change-Id: I314be395ba82b89f89d6b84702e17f3adcabf1b1
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
| |
|
|
|
| |
Change-Id: I82be07e215b1784039b1b3a2c5398d4fc0f19b84
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
| |
|
|
|
|
|
|
| |
This is material for a manual _desktop_ test application.
Change-Id: I9fe10ca05184410b53331bdd7b3157daaceb7640
Reviewed-by: Jan Arve Sæther <jan-arve.saether@theqtcompany.com>
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
|
| |
|
|
|
|
|
|
| |
The content is identical to the Basic Layouts example.
Task-number: QTBUG-41307
Change-Id: I781d741ccfb9cc1443eae7410990d968ff6a209d
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
|
| |
|
|
|
|
|
|
|
| |
It's not a good example to rely on instances "somewhere in the outer
context" => move things where they are used so they can be referenced
via IDs that are in the scope.
Change-Id: I352dca270de92590b5d620e529e84b9d18105082
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
|
| |
|
|
|
|
|
|
|
| |
ApplicationWindow sets the background color as appropriate => no need
to use SystemPalette there. The child window was unnecessarily creating
an extra Rectangle just for the background color => use Window::color.
Change-Id: Id109c9e5f4d633baf1133afd3a1e9af277310e98
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
|
| |
|
|
|
| |
Change-Id: I5caf76c8fb225760bc742b20e699c2cc40403e3c
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
|
| |
|
|
|
| |
Change-Id: Idc0b93cbfc2fe23e8be3bcaece672d06555a81f6
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
|
| |
|
|
|
| |
Change-Id: Ifc9719ec6fbbd80b866c01eebc471d0ed121bd16
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
|
| |
|
|
|
| |
Change-Id: If364332017669732fa429efe90c26000b01b0580
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
|
| |
|
|
|
|
| |
Change-Id: I7c0f5565161719905e973d3fd1a75b3c9d8a4007
Reviewed-by: David Edmundson <davidedmundson@kde.org>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
|
| |
|
|
|
| |
Change-Id: Ie683c9d6dca577193f6a5a2cee40916b263719d6
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
|
| |
|
|
|
|
|
|
|
|
| |
- Better scalability
- Retina support
- Added glow filter to Private
- Added focus rects
Change-Id: I2ec36a9db546c21e20408429c5e17fde8d67b7c3
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
|
| |
|
|
|
|
|
|
|
| |
We instead do this in the layout code. It seems to make sense to support
the use case where only the indicator is visible without adding
extra padding to it.
Change-Id: Ib55c3a97d7c23a52a14121b46be84299d1ad2132
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
|
| |
|
|
|
|
|
|
|
|
| |
This should make it useable on hight dpi
tablets and desktops where font sizes are
larger.
Change-Id: I8c8e7688927a0b54e3f95c276c743aaa31e8a4d9
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We factor out part the menu item container logic from Menu into
ColumnMenuContent, which takes care of scrolling and mouse hovering,
and selection. This makes possible to extend the menu items layout.
The pop-over and pull-down look is specified by the menu style
component by overriding the ScrollView style. The popup's maximum
height is also specified by the menu style.
The gallery example can finally use a font families combo box.
Task-number: QTBUG-31568
Change-Id: I34a7278f476471c0eb51ef51dde3dd83e13002fe
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In addition
- Added text completion
- Added validator
- Added accepted signal
- Added activated signal
- Added textAt function
- Added find function
- Added keyboard indexing for non-editable as well
Note that we do not support adding values to the model,
but leave this up to the user to handle in onAccepted.
Change-Id: I1d76fa83aea0e488959c418d22ce7b6027675d86
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
|
| |
|
|
|
| |
Change-Id: Ibf1b68d4c63ca02c603d5203128bb94984a809f2
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
|
| |
|
|
|
| |
Change-Id: Icb4c6d78225c072da787e4646a55d8cf71a5db7a
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
|
| |
|
|
|
|
|
|
| |
A basic BusyIndicator to indicate activity while blocking
the UI.
Change-Id: Iec88b6a4c7f23b630ebdf445c4cb288684c24cb7
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
Before this was simply not implemented. It is still a bit unclear
how we should treat stepSize == 0 as the results are somewhat
undefined.
Task-number: QTBUG-31261
Change-Id: I7a8b877649a945cd6cb303cc034df677b0199a90
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
|
| |\
| |
| |
| | |
Change-Id: I05931c5fbcd0ce61e09803239f97713f910588cc
|
| | |
| |
| |
| |
| |
| | |
Change-Id: I089a01bee10b92f85dcdd338c695a3b796b0ecd1
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
|
| |/
|
|
|
| |
Change-Id: I7c306093c1afc9f5dfe942cd29da427c6a57d869
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
|
| |
|
|
|
|
|
|
|
|
| |
- I noticed we incorrectly exposed sliderPosition.
- This adds some more custom style examples for the gallery and
makes the second column actually different from the first.
Change-Id: I73f0d613f51f6e75aaf734fd4e4c9fdb890e3e42
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
|
| |
|
|
|
| |
Change-Id: I0433e350634b4a2bea6161f53e7c7363654e2cf6
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
|
| |
|
|
|
|
|
|
| |
We want to use more layouts in our examples as it is the
recommended way to create tool bars etc.
Change-Id: Ib3b1e8e907cc5277d522557a19d2c294a7d251b1
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
|
| |
|
|
|
|
|
|
| |
This adds some pixel tweaks on mac, adds minimum
size to fit the label and fixes dpi scaling on Windows
Change-Id: I4c43ba4a7815be87356336a9dafc1a217437940b
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
|
| |
|
|
|
| |
Change-Id: I8f977a171ea18420e326b79181d634eeb43b1de8
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
|
| |
|
|
|
| |
Change-Id: If56b5ca4af119d7897425609dcaf04336f77e032
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
We now implicitly add the margins to GroupBox so that you
can easily add them to a layout.
This also gets rid of the silly Sidebar example and adds a much
more useful Layout tab for effective testing.
Change-Id: I6026c32b2a198062d9b11a67245df0529aa61f8a
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
|
| |
|
|
|
|
|
|
| |
Adding the right margin of TableView and adding some extra margins
makes the example look a bit more polished
Change-Id: If969230fe2e1068a42f92708df311550f88fb060
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
|
| |
|
|
|
|
|
|
| |
Empty corner items may be used as padding, so TabViewStyle::left/rightCorner
effectively replaces TabViewStyle::left/rightPadding.
Change-Id: I01f3a1552c3395352e8953456d3956f4f8c29aed
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Removed contentWidth and contentHeight since it is not needed
- Exposed contentItem so that it can be designable.
- Respect the implicit width or height of the contentItem if it is the
only item of the GroupBox. Otherwise childrenRect is used.
- Modified the style so that the style takes care of only the
padding size and not the entire size of the group box.
- Fixed flat and checkable appearance for custom style
Change-Id: I2c7ec4cb7d5e6f96863847e8d8d6d6f52428364e
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
|
| |
|
|
|
|
| |
Change-Id: I87a6a582824363197f66f6b7f6f29aa603123458
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
|
| |
|
|
|
| |
Change-Id: I10271c860abd9b45a262e3548628e6a3026e1a4f
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
|
| |
|
|
|
| |
Change-Id: I6b97624338c3cfa4663e79bc243327ce9f494ccf
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
|
| |
|
|
|
| |
Change-Id: I97ce3f35153beee2d7b1113880f25fd01904ce5f
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
|
|
|
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>
|