aboutsummaryrefslogtreecommitdiffstats
path: root/dist/changes-5.12.0
blob: fd9b1ba358e74e88421a96041d7b59a9f6c64634 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
Qt 5.12 introduces many new features and improvements as well as bugfixes
over the 5.11.x series. For more details, refer to the online documentation
included in this distribution. The documentation is also available online:

https://doc.qt.io/qt-5/index.html

The Qt version 5.12 series is binary compatible with the 5.11.x series.
Applications compiled for 5.11 will continue to run with 5.12.

Some of the changes listed in this file include issue tracking numbers
corresponding to tasks in the Qt Bug Tracker:

https://bugreports.qt.io/

Each of these identifiers can be entered in the bug tracker to obtain more
information about a particular change.

****************************************************************************
*                                 Controls                                 *
****************************************************************************

 - AbstractButton:
   * Added implicitIndicatorWidth and implicitIndicatorHeight properties.

 - ComboBox:
   * Added implicitIndicatorWidth and implicitIndicatorHeight properties.

 - Control:
   * Added horizontalPadding and verticalPadding properties as a convenient
     way to set both left and right, or top and bottom paddings in one go.
   * Unless explicitly specified, baselineOffset is now automatically
     updated based on the top padding of the control and the baselineOffset
     of the contentItem. Styles no longer need to specify the
     baselineOffset in QML.
   * [QTBUG-60156] Added implicitBackgroundWidth and
     implicitBackgroundHeight properties that can be used to simplify
     complex implicit size bindings.
   * Added implicitContentWidth and implicitContentHeight properties that
     can be used to simplify complex implicit size bindings.
   * [QTBUG-60156] Added topInset, bottomInset, leftInset, and rightInset
     properties to control the geometry of the background similarly to how
     paddings control the geometry of the contentItem.

 - Dial:
   * [QTBUG-56323] Added the inputMode property. This property controls how
     the dial is interacted with. The circular input mode (default, old
     behavior) operates on an absolute input system, whereas the horizontal
     and vertical input modes use a relative input system.

 - Dialog:
   * Added implicitHeaderWidth, implicitHeaderHeight, implicitFooterWidth,
     and implicitFooterHeight properties.

 - DialogButtonBox:
   * Added buttonLayout property that can be used to arrange the buttons.
   * Added contentWidth and contentHeight properties.

 - GroupBox:
   * Added implicitLabelWidth and implicitLabelHeight properties.

 - Label:
   * Added implicitBackgroundWidth and implicitBackgroundHeight properties
     that can be used to simplify complex implicit size bindings.
     [ChangeLog][Controls][TextArea] Added implicitBackgroundWidth and
     implicitBackgroundHeight properties that can be used to simplify
     complex implicit size bindings. [ChangeLog][Controls][TextField] Added
     implicitBackgroundWidth and implicitBackgroundHeight properties that
     can be used to simplify complex implicit size bindings.
   * Added topInset, bottomInset, leftInset, and rightInset properties to
     control the geometry of the background similarly to how paddings
     control the geometry of the contentItem.

 - Page:
   * Added implicitHeaderWidth, implicitHeaderHeight, implicitFooterWidth,
     and implicitFooterHeight properties.

 - Popup:
   * Added horizontalPadding and verticalPadding properties as a convenient
     way to set both left and right, or top and bottom paddings in one go.
   * [QTBUG-60354] Added anchors.centerIn to Popup to allow a covenient way
     of centering a popup.
   * Added implicitBackgroundWidth, implicitBackgroundHeight,
     implicitContentWidth, and implicitContentHeight properties.
   * [QTBUG-60156] Added topInset, bottomInset, leftInset, and rightInset
     properties to control the geometry of the background similarly to how
     paddings control the geometry of the contentItem.

 - QQuickStyle:
   * [QTBUG-67062] Added stylePathList() and addStylePath() methods for
     managing the list of directories where Qt Quick Controls 2 searches
     for available styles.

 - RangeSlider:
   * [QTBUG-67311] Added a moved() signal to each handle (similar to the
     Slider's moved() signal) to react to the values being interactively
     changed by the user.
   * [QTBUG-67317] Added a valueAt() function to allow accessing each
     handle's value when the live property is set to false.
   * Added first.implicitHandleWidth, first.implicitHandleHeight,
     second.implicitHandleWidth, and second.implicitHandleHeight
     properties.
   * [QTBUG-62784] Added touchDragThreshold property for configuring the
     threshold to initiate the touch 'drag' of the handle of the slider. The
     mouse 'drag' won't be affected by the property.

 - Slider:
   * Added implicitHandleWidth and implicitHandleHeight properties.
   * [QTBUG-62784] Added touchDragThreshold property for configuring the
     threshold to initiate the touch 'drag' of the handle of the slider. The
     mouse 'drag' won't be affected by the property.

 - SpinBox:
   * Added up.implicitIndicatorWidth, up.implicitIndicatorHeight,
     down.implicitIndicatorWidth, and down.implicitIndicatorHeight
     properties.

 - SwipeView:
   * Added contentWidth and contentHeight properties.

 - TextArea:
   * Added topInset, bottomInset, leftInset, and rightInset properties to
     control the geometry of the background similarly to how paddings
     control the geometry of the contentItem.
   * Added placeholderTextColor property for user convenience to customize
     the placeholderText color to fit the backgrounds.

 - TextField:
   * Added topInset, bottomInset, leftInset, and rightInset properties to
     control the geometry of the background similarly to how paddings
     control the geometry of the contentItem.
   * [QTBUG-66260] Added placeholderTextColor property for user convenience
     to customize the placeholderText color to fit the backgrounds.

 - ToolTip:
   * [QTBUG-62890] Added non-attached show() and hide() methods to make it
     more flexible to meet certain requirements.

 - Tumbler:
   * [QTBUG-66358] Added positionViewAtIndex() function that calls the
     respective PathView/ListView function, depending on the value of wrap.
     This allows changing currentIndex without animations.

****************************************************************************
*                                 Material                                 *
****************************************************************************

 - [QTBUG-51109] Added Dense variant of the Material style for use on
   desktop platforms. Some controls are slightly smaller in height and use
   smaller font sizes. The variant can be enabled by setting
   QT_QUICK_CONTROLS_MATERIAL_VARIANT to Dense or setting Variant=Dense in
   the qtquickcontrols.conf file.

****************************************************************************
*                                 Platform                                 *
****************************************************************************

 - Menu:
   * [QTBUG-67730] Deprecated iconName and iconSource properties in favor
     of icon.name and icon.source grouped properties.
   * [QTBUG-67730] Added icon.mask grouped property.
     [ChangeLog][Platform][MenuItem] Added icon.mask grouped property.
     [ChangeLog][Platform][SystemTrayIcon] Added icon.mask grouped
     property.

 - MenuItem:
   * [QTBUG-67730] Deprecated iconName and iconSource properties in favor
     of icon.name and icon.source grouped properties.

 - SystemTrayIcon:
   * [QTBUG-67730] Deprecated iconName and iconSource properties in favor
     of icon.name and icon.source grouped properties.