diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-05-30 14:58:43 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-05-30 14:59:01 +0200 |
commit | 480be7577e78a874e122432c49ab715abac677a0 (patch) | |
tree | 8a54ac6d8d40e8e35f79918f9b65118625f05da6 /src/imports/controls/doc/src | |
parent | cf76b81b68292155d0924257d361c69512e0027d (diff) | |
parent | 7281aadd0f4b79f9850a74676c81a1e5efcc419a (diff) |
Merge remote-tracking branch 'origin/5.7.0' into 5.7
Change-Id: Idbb9ab39b53136cd90c5c9ed564f02eaa0fb231b
Diffstat (limited to 'src/imports/controls/doc/src')
5 files changed, 158 insertions, 22 deletions
diff --git a/src/imports/controls/doc/src/qtquickcontrols2-default.qdoc b/src/imports/controls/doc/src/qtquickcontrols2-default.qdoc index 8ff518f5..88faf25a 100644 --- a/src/imports/controls/doc/src/qtquickcontrols2-default.qdoc +++ b/src/imports/controls/doc/src/qtquickcontrols2-default.qdoc @@ -45,6 +45,8 @@ does not implement a certain control, the Default style implementation of that control is selected. + \b {See also} \l {Material Style}, \l {Universal Style} + \section1 Related Information \list diff --git a/src/imports/controls/doc/src/qtquickcontrols2-differences.qdoc b/src/imports/controls/doc/src/qtquickcontrols2-differences.qdoc index c80f8ccd..31c8b196 100644 --- a/src/imports/controls/doc/src/qtquickcontrols2-differences.qdoc +++ b/src/imports/controls/doc/src/qtquickcontrols2-differences.qdoc @@ -130,7 +130,7 @@ \li C++ \endtable - \b {* No hover support} + \b {* No hover effects} \section2 Porting Qt Quick Controls Code @@ -180,15 +180,18 @@ This works with both modules, and will reduce the amount of work needed when the migration begins. - \section3 Type Changes + \section3 Type Comparison Table \table \header - \li Qt Quick Controls - \li Qt Quick Controls 2 + \li Qt Quick Controls 1, Qt Quick Extras + \li Qt Quick Controls 2, Qt Labs Calendar + \row + \li \mdash + \li \l [QML QtQuickControls2] {AbstractButton} \row \li \l [QML QtQuickControls] {Action} - \li No equivalent; see \l [QML QtQuick] {Shortcut} instead. + \li \span {} {\mdash \nbsp \sub {(see \l [QML QtQuick] {Shortcut} instead)}} \row \li \l [QML QtQuickControls] {ApplicationWindow} \li \l [QML QtQuickControls2] {ApplicationWindow} @@ -199,23 +202,52 @@ \li \l [QML QtQuickControls] {Button} \li \l [QML QtQuickControls2] {Button} \row + \li \l [QML QtQuickExtras] {CircularGauge} + \li \mdash + \row + \li \mdash + \li \l [QML QtQuickControls2] {Control} + \row + \li \mdash + \li \l [QML QtQuickControls2] {Container} + \row \li \l [QML QtQuickControls] {Calendar} - \li No equivalent; see \l [QML] {MonthGrid}, \l [QML] {DayOfWeekRow} and \l [QML] {WeekNumberColumn} instead. + \li \l [QML QtLabsCalendar] {MonthGrid}, + \l [QML QtLabsCalendar] {DayOfWeekRow}, + \l [QML QtLabsCalendar] {WeekNumberColumn} \row \li \l [QML QtQuickControls] {CheckBox} \li \l [QML QtQuickControls2] {CheckBox} \row + \li \mdash + \li \l [QML QtQuickControls2] {CheckDelegate} + \row \li \l [QML QtQuickControls] {ComboBox} \li \l [QML QtQuickControls2] {ComboBox} \row + \li \l [QML QtQuickExtras] {DelayButton} + \li \mdash + \row + \li \l [QML QtQuickExtras] {Dial} + \li \l [QML QtQuickControls2] {Dial} + \row + \li \mdash + \li \l [QML QtQuickControls2] {Drawer} + \row \li \l [QML QtQuickControls] {ExclusiveGroup} \li \l [QML QtQuickControls2] {ButtonGroup} \row + \li \mdash + \li \l [QML QtQuickControls2] {Frame} + \row + \li \l [QML QtQuickExtras] {Gauge} + \li \mdash + \row \li \l [QML QtQuickControls] {GroupBox} - - \li \l [QtQuickControls2] {GroupBox}, or \l [QML QtQuickControls2] {Frame} - if a title is not required. - + \li \l [QML QtQuickControls2] {GroupBox} + \row + \li \mdash + \li \l [QML QtQuickControls2] {ItemDelegate} \row \li \l [QML QtQuickControls] {Label} \li \l [QML QtQuickControls2] {Label} @@ -223,12 +255,39 @@ \li \l [QML QtQuickControls] {Menu} \li \l [QML QtQuickControls2] {Menu} \row + \li \l [QML QtQuickControls] {MenuItem} + \li \l [QML QtQuickControls2] {MenuItem} + \row + \li \mdash + \li \l [QML QtQuickControls2] {Page} + \row + \li \mdash + \li \l [QML QtQuickControls2] {PageIndicator} + \row + \li \mdash + \li \l [QML QtQuickControls2] {Pane} + \row + \li \l [QML QtQuickExtras] {Picture} + \li \mdash + \row + \li \l [QML QtQuickExtras] {PieMenu} + \li \mdash + \row + \li \mdash + \li \l [QML QtQuickControls2] {Popup} + \row \li \l [QML QtQuickControls] {ProgressBar} \li \l [QML QtQuickControls2] {ProgressBar} \row \li \l [QML QtQuickControls] {RadioButton} \li \l [QML QtQuickControls2] {RadioButton} \row + \li \mdash + \li \l [QML QtQuickControls2] {RadioDelegate} + \row + \li \mdash + \li \l [QML QtQuickControls2] {RangeSlider} + \row \li \l [QML QtQuickControls] {ScrollView} \li \l [QML QtQuickControls2] {ScrollBar}, \l [QML QtQuickControls2] {ScrollIndicator} @@ -239,24 +298,36 @@ \li \l [QML QtQuickControls] {SpinBox} \li \l [QML QtQuickControls2] {SpinBox} \row - \li \l [QML QtQuickControls] {Stack}, - \l [QML QtQuickControls] {StackView}, - \l [QML QtQuickControls] {StackViewDelegate} + \li \l [QML QtQuickControls] {StackView}, + \l [QML QtQuickControls] {StackViewDelegate}, + \l [QML QtQuickControls] {Stack} \li \l [QML QtQuickControls2] {StackView} \row \li \l [QML QtQuickControls] {StatusBar} - \li No equivalent + \li \mdash + \row + \li \l [QML QtQuickExtras] {StatusIndicator} + \li \mdash + \row + \li \mdash + \li \l [QML QtQuickControls2] {SwipeDelegate} + \row + \li \mdash + \li \l [QML QtQuickControls2] {SwipeView} \row \li \l [QML QtQuickControls] {Switch} \li \l [QML QtQuickControls2] {Switch} \row - \li \l [QML QtQuickControls] {Tab}, - \l [QML QtQuickControls] {TabView} - \li \l [QML QtQuickControls2] {TabBar} in combination with, for example, - \l [QML QtQuickControls2] {SwipeView}. + \li \mdash + \li \l [QML QtQuickControls2] {SwitchDelegate} + \row + \li \l [QML QtQuickControls] {TabView}, + \l [QML QtQuickControls] {Tab} + \li \l [QML QtQuickControls2] {TabBar}, + \l [QML QtQuickControls2] {TabButton} \row \li \l [QML QtQuickControls] {TableView} - \li No equivalent + \li \mdash \row \li \l [QML QtQuickControls] {TextArea} \li \l [QML QtQuickControls2] {TextArea} @@ -264,21 +335,32 @@ \li \l [QML QtQuickControls] {TextField} \li \l [QML QtQuickControls2] {TextField} \row + \li \l [QML QtQuickExtras] {ToggleButton} + \li \mdash + \row \li \l [QML QtQuickControls] {ToolBar} \li \l [QML QtQuickControls2] {ToolBar} \row \li \l [QML QtQuickControls] {ToolButton} \li \l [QML QtQuickControls2] {ToolButton} \row + \li \mdash + \li \l [QML QtQuickControls2] {ToolTip} + \row \li \l [QML QtQuickControls] {TreeView} - \li No equivalent + \li \mdash + \row + \li \l [QML QtQuickExtras] {Tumbler}, + \l [QML QtQuickExtras] {TumblerColumn} + \li \l [QML QtQuickControls2] {Tumbler} \endtable \section1 Related Information \list \li \l{Qt Quick} - \li \l{Qt Quick Controls} \li \l{Qt Quick Controls 2 QML Types} + \li \l{Qt Quick Controls QML Types} + \li \l{Qt Quick Extras QML Types} \endlist */ diff --git a/src/imports/controls/doc/src/qtquickcontrols2-material.qdoc b/src/imports/controls/doc/src/qtquickcontrols2-material.qdoc index 45e0e9ce..3d5ce7ec 100644 --- a/src/imports/controls/doc/src/qtquickcontrols2-material.qdoc +++ b/src/imports/controls/doc/src/qtquickcontrols2-material.qdoc @@ -44,6 +44,12 @@ \li \l {theme-attached-prop}{\b theme} : enumeration \endlist + \section1 Attached Methods + + \list + \li color \l {color-attached-method}{\b color}(enumeration predefined) + \endlist + \section1 Detailed Description \target detailed-desc-material @@ -200,6 +206,8 @@ \value Material.Grey \stylecolor {#9E9E9E} {} \value Material.BlueGrey \stylecolor {#607D8B} {} + \b {See also} \l {Default Style}, \l {Universal Style} + \section1 Attached Property Documentation \styleproperty {Material.accent} {color} {accent-attached-prop} @@ -257,6 +265,24 @@ \endstyleproperty + \section1 Attached Method Documentation + + \stylemethod {color} {color} {enumeration} {predefined} {color-attached-method} + \target color-attached-method + This attached method returns the color value of the specified \l {pre-defined colors} + {pre-defined color}. + + \qml + import QtQuick 2.0 + import QtQuick.Controls.Material 2.0 + + Rectangle { + color: Material.color(Material.Red) + } + \endqml + + \endstylemethod + \section1 Related Information \list diff --git a/src/imports/controls/doc/src/qtquickcontrols2-styles.qdoc b/src/imports/controls/doc/src/qtquickcontrols2-styles.qdoc index 787feef7..1ad0c228 100644 --- a/src/imports/controls/doc/src/qtquickcontrols2-styles.qdoc +++ b/src/imports/controls/doc/src/qtquickcontrols2-styles.qdoc @@ -83,7 +83,7 @@ \section2 Using QQuickStyle in C++ - \l QQuickStyle provides API configuring a specific style. The following + \l QQuickStyle provides API for configuring a specific style. The following example runs a Qt Quick Controls 2 application with the Material style: \code diff --git a/src/imports/controls/doc/src/qtquickcontrols2-universal.qdoc b/src/imports/controls/doc/src/qtquickcontrols2-universal.qdoc index efb70a6e..cb1b7127 100644 --- a/src/imports/controls/doc/src/qtquickcontrols2-universal.qdoc +++ b/src/imports/controls/doc/src/qtquickcontrols2-universal.qdoc @@ -43,6 +43,12 @@ \li \l {theme-attached-prop}{\b theme} : enumeration \endlist + \section1 Attached Methods + + \list + \li color \l {color-attached-method}{\b color}(enumeration predefined) + \endlist + \section1 Detailed Description \target detailed-desc-universal @@ -159,6 +165,8 @@ style-specific tweaks can be applied without creating a hard dependency to a style. + \b {See also} \l {Default Style}, \l {Material Style} + \section1 Attached Property Documentation \styleproperty {Universal.accent} {color} {accent-attached-prop} @@ -220,6 +228,24 @@ \endstyleproperty + \section1 Attached Method Documentation + + \stylemethod {color} {color} {enumeration} {predefined} {color-attached-method} + \target color-attached-method + This attached method returns the color value of the specified \l {pre-defined colors} + {pre-defined color}. + + \qml + import QtQuick 2.0 + import QtQuick.Controls.Universal 2.0 + + Rectangle { + color: Universal.color(Universal.Red) + } + \endqml + + \endstylemethod + \section1 Related Information \list |