aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports
Commit message (Collapse)AuthorAgeFilesLines
* Control::availableWidth & availableHeightJ-P Nurmi2015-06-031-2/+2
| | | | | | | | | 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>
* Button: revert automatic label layoutingJ-P Nurmi2015-05-231-0/+5
| | | | | | | | | | 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>
* Theme: fix int->realJ-P Nurmi2015-05-223-33/+33
| | | | | Change-Id: I9833aee821e4c7d436e0c999dbeefe3e12b34875 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Expose read-only bool Control::mirrored property for convenienceJ-P Nurmi2015-05-226-26/+10
| | | | | Change-Id: Icbb39aa1c3ac6f4b00adbc59c09a6c79e99bafd3 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Remove window flags from AbstractApplicationWindow.Friedemann Kleint2015-05-221-1/+0
| | | | | | | | | | | | 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>
* Button docsJ-P Nurmi2015-04-281-1/+5
| | | | | Change-Id: I387ecb0cac328e99645b92371687cfc3678b5c71 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* Button: provide a default size for the label delegateJ-P Nurmi2015-04-281-5/+0
| | | | | | | | | | | 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>
* Use Theme.disabledColor to get sensible looks in disabled stateJ-P Nurmi2015-04-2312-43/+33
| | | | | Change-Id: I28831c979f8fa040fc3388eec6f2256930a3d91d Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Add Theme::disabledColorJ-P Nurmi2015-04-235-0/+53
| | | | | Change-Id: I8bfc5a89aa75addd4cb1a5c0d5b58ea8b2bcf67c Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Rename qquickcalendar2 & qquickextras2 to be consistentJ-P Nurmi2015-04-232-2/+2
| | | | | Change-Id: I2abeb51c1c202a69626b6e4ae16c161b44a856f7 Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
* Fix buid issue: qtquickcontrols-private => qtquickcontrols2-privateCaroline Chao2015-04-233-3/+3
| | | | | | | The module name has been change to qtquickcontrols2. Change-Id: I023fca6086251e151752ef6f18fe8bf6ffcaf1e1 Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
* Fix Slider trackJ-P Nurmi2015-04-151-4/+3
| | | | | | | | | 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>
* Fix vertical SliderJ-P Nurmi2015-04-141-4/+5
| | | | | Change-Id: Idaa1416bdc09ad2ff469f7ddebcf8212bdeb1b2c Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* TabBar: remove a signal handlerJ-P Nurmi2015-04-131-4/+1
| | | | | Change-Id: Ide1da96f028d665a3b660960787be94f71b67820 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Remove "abstract" prefix from the C++ classesJ-P Nurmi2015-04-103-52/+52
| | | | | | | | | | 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>
* Implement StackView in C++J-P Nurmi2015-04-096-1171/+9
| | | | | Change-Id: Ia5387aa16325453c676a2542f80c827d4c069ca9 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Rename Style to ThemeJ-P Nurmi2015-04-0833-443/+443
| | | | | Change-Id: I0186cd36f0b42ca015b70a09af27f8a3517d4a60 Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
* Remove SpinBoxJ-P Nurmi2015-03-304-136/+0
| | | | | | | | | | SpinBox is a desktop centric control. It won't be provided in Qt Quick Controls 2.0, but maybe later when desktop support is re-considered. Qt Quick Controls 2.0 will focus on embedded and mobile. SpinBox is still available in 1.x Change-Id: I272b030734bad58de7e5b26c522189e0c520fca5 Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
* Specify link color & use StyledTextJ-P Nurmi2015-03-281-0/+1
| | | | | Change-Id: If6d087b4bb66bf4d293a8bcccf3ab01fa9266152 Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
* Remove SplitViewJ-P Nurmi2015-03-234-561/+1
| | | | | | | | | | SplitView is a very centric control. It won't be provided in Qt Quick Controls 2.0, but maybe later when desktop support is re-considered. Qt Quick Controls 2.0 will focus on embedded and mobile. SplitView is still available in 1.x Change-Id: I3bc1c7a525d4e1e75153205ca806dc4dcee7e601 Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
* QQuickAbstractLabel: inherit QQuickTextJ-P Nurmi2015-03-182-3/+6
| | | | | Change-Id: I98679c8f3dffde96531c41c8219b60050d1e33dd Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
* QQuickStyle: fix build on Linux / GCC 4.9J-P Nurmi2015-03-112-2/+2
| | | | | Change-Id: Ic42631cdcb207df98fe0337398580c686605a8f6 Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
* Implement Style as an attached propertyJ-P Nurmi2015-03-1133-158/+1409
| | | | | Change-Id: I006ee566647e31d1a14919d164d7dd68539aae10 Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
* import QtQuick 2.6J-P Nurmi2015-03-0627-27/+27
| | | | | Change-Id: I2a8a1c6884e65383f0938763497a419d2f0fcbd6 Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
* QQuickAbstractTextArea: inherit QQuickTextEditJ-P Nurmi2015-03-062-20/+6
| | | | | Change-Id: I974dd801d3cd3cf3d7024e1c8727ec0607e084f3 Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
* QQuickAbstractTextField: inherit QQuickTextInputJ-P Nurmi2015-03-062-24/+10
| | | | | Change-Id: Ibd98bd712fa247b2c20c1099fa031ab8184b7f20 Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
* Add Control::padding for convenienceJ-P Nurmi2015-03-0616-63/+16
| | | | | Change-Id: I9a472e2378854ba07ce34ad571f54b0fa4a3755c Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
* Update src/imports to use top/left/right/bottomPaddingJ-P Nurmi2015-03-0323-176/+222
| | | | | Change-Id: I9c72db2d8f44429a7c87baaad663b88c7e1f1bb9 Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
* Replace grouped padding property with top/left/right/bottomPaddingJ-P Nurmi2015-03-031-2/+0
| | | | | | | This is consistent with QQuickText, QQuickTextInput, QQuickTextEdit... Change-Id: I06aafa1bf73311cbb24ad9411872cac131863d47 Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
* Import the Qt Quick Controls 2 prototypeJ-P Nurmi2015-02-0547-0/+4544
Change-Id: Ib8c0c4160958e5cfea29a6e9df1b3f1fb19715fc Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>