aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates/qquickabstractbutton_p_p.h
diff options
context:
space:
mode:
authorSanthosh Kumar <santhosh.kumar.selvaraj@qt.io>2023-10-17 10:12:21 +0200
committerSanthosh Kumar <santhosh.kumar.selvaraj@qt.io>2024-02-09 10:53:01 +0100
commit2451ff25a531a2427825726f4b5f015fb01d2663 (patch)
treeee0993d99b0d2c6de68f0f30bd682bd8766d9adb /src/quicktemplates/qquickabstractbutton_p_p.h
parent32b5ee7842b8042e3d805209d13a34bb873ee280 (diff)
Set default layout size policies for quick items
The quick items are initiliazed with default layout size policy. This size policy can be either Preferred or Fixed and it can vary depending on controls and its orientation. [ChangeLog][QtQuick][Item Behavior Changes] The QtQuick items now set their default size policy and it would be effective when used within QtQuick Layouts. The following types now behave differently by default when used in layouts: Button, CheckBox, ComboBox, Dial, DialogButtonBox, Frame, Flickable, GridView, GroupBox, HorizontalHeaderView, ListView, Page, Pane, PathView, ProgressBar, RadioButton, RangeSlider, RoundButton, ScrollBar, ScrollIndicator, ScrollView, Slider, SpinBox, SplitView, StackView, SwipeView, Switch, TabBar, TabButton, TableView, TextArea, TextEdit, TextField, TextInput, ToolButton, TreeView, Tumbler, VerticalHeaderView. Task-number: QTBUG-117597 Pick-to: 6.7 Change-Id: I41fe73a2e466e396f26604a14d1f15b8b42df338 Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/quicktemplates/qquickabstractbutton_p_p.h')
-rw-r--r--src/quicktemplates/qquickabstractbutton_p_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quicktemplates/qquickabstractbutton_p_p.h b/src/quicktemplates/qquickabstractbutton_p_p.h
index 4c3bddda06..ea9a02c99d 100644
--- a/src/quicktemplates/qquickabstractbutton_p_p.h
+++ b/src/quicktemplates/qquickabstractbutton_p_p.h
@@ -68,6 +68,7 @@ public:
void actionTextChange();
void setText(const QString &text, bool isExplicit);
+ void init();
void updateEffectiveIcon();