Changeset View
Changeset View
Standalone View
Standalone View
src/controls/PageRow.qml
Show First 20 Lines • Show All 127 Lines • ▼ Show 20 Line(s) | 41 | //BEGIN PROPERTIES | |||
---|---|---|---|---|---|
128 | * @since 5.38 | 128 | * @since 5.38 | ||
129 | */ | 129 | */ | ||
130 | property alias separatorVisible: columnView.separatorVisible | 130 | property alias separatorVisible: columnView.separatorVisible | ||
131 | 131 | | |||
132 | /** | 132 | /** | ||
133 | * globalToolBar: grouped property | 133 | * globalToolBar: grouped property | ||
134 | * Controls the appearance of an optional global toolbar for the whole PageRow. | 134 | * Controls the appearance of an optional global toolbar for the whole PageRow. | ||
135 | * It's a grouped property comprised of the following properties: | 135 | * It's a grouped property comprised of the following properties: | ||
136 | * * style: (Kirigami.ApplicationHeaderStyle) can have the following values: | 136 | * * style (Kirigami.ApplicationHeaderStyle): can have the following values: | ||
137 | * ** Auto: depending on application formfactor, it can behave automatically like other values, such as a Breadcrumb on mobile and ToolBar on desktop | 137 | * * Auto: depending on application formfactor, it can behave automatically like other values, such as a Breadcrumb on mobile and ToolBar on desktop | ||
138 | * ** Breadcrumb: it will show a breadcrumb of all the page titles in the stack, for easy navigation | 138 | * * Breadcrumb: it will show a breadcrumb of all the page titles in the stack, for easy navigation | ||
139 | * ** Titles: each page will only have its own tile on top | 139 | * * Titles: each page will only have its own tile on top | ||
140 | * ** TabBar: the global toolbar will look like a TabBar to select the pages | 140 | * * TabBar: the global toolbar will look like a TabBar to select the pages | ||
141 | * ** ToolBar: each page will have the title on top together buttons and menus to represent all of the page actions: not available on Mobile systems. | 141 | * * ToolBar: each page will have the title on top together buttons and menus to represent all of the page actions: not available on Mobile systems. | ||
142 | * ** None: no global toolbar will be shown | 142 | * * None: no global toolbar will be shown | ||
143 | * | 143 | * | ||
144 | * * actualStyle: this will represent the actual style of the toolbar: it can be different from style in the case style is Auto | 144 | * * actualStyle: this will represent the actual style of the toolbar: it can be different from style in the case style is Auto | ||
145 | * * showNavigationButtons: OR flags combination of ApplicationHeaderStyle.ShowBackButton and ApplicationHeaderStyle.ShowForwardButton | 145 | * * showNavigationButtons: OR flags combination of ApplicationHeaderStyle.ShowBackButton and ApplicationHeaderStyle.ShowForwardButton | ||
146 | * * toolbarActionAlignment: How to horizontally align the actions when using the ToolBar style. Note that anything but Qt.AlignRight will cause the title to be hidden (default: Qt.AlignRight) | 146 | * * toolbarActionAlignment: How to horizontally align the actions when using the ToolBar style. Note that anything but Qt.AlignRight will cause the title to be hidden (default: Qt.AlignRight) | ||
147 | * * minimumHeight: (int) minimum height of the header, which will be resized when scrolling, only in Mobile mode (default: preferredHeight, sliding but no scaling) | 147 | * * minimumHeight (int): minimum height of the header, which will be resized when scrolling, only in Mobile mode (default: preferredHeight, sliding but no scaling) | ||
148 | property int preferredHeight: (int) the height the toolbar will usually have | 148 | * * preferredHeight (int): the height the toolbar will usually have | ||
149 | property int maximumHeight: (int) The height the toolbar will have in mobile mode when the app is in reachable mode (default: preferredHeight * 1.5) | 149 | * * maximumHeight (int): the height the toolbar will have in mobile mode when the app is in reachable mode (default: preferredHeight * 1.5) | ||
150 | * * leftReservedSpace: (int, readonly) how many pixels are reserved at the left of the page toolBar (for navigation buttons or drawer handle) | 150 | * * leftReservedSpace (int, readonly): how many pixels are reserved at the left of the page toolbar (for navigation buttons or drawer handle) | ||
151 | property int rightReservedSpace: (int, readonly) how many pixels are reserved at the right of the page toolbar (drawer handle) | 151 | * * rightReservedSpace (int, readonly): how many pixels are reserved at the right of the page toolbar (drawer handle) | ||
152 | * | ||||
152 | * @since 5.48 | 153 | * @since 5.48 | ||
153 | */ | 154 | */ | ||
154 | readonly property alias globalToolBar: globalToolBar | 155 | readonly property alias globalToolBar: globalToolBar | ||
155 | 156 | | |||
156 | implicitWidth: contentItem.implicitWidth + leftPadding + rightPadding | 157 | implicitWidth: contentItem.implicitWidth + leftPadding + rightPadding | ||
157 | implicitHeight: contentItem.implicitHeight + topPadding + bottomPadding | 158 | implicitHeight: contentItem.implicitHeight + topPadding + bottomPadding | ||
158 | //END PROPERTIES | 159 | //END PROPERTIES | ||
159 | 160 | | |||
▲ Show 20 Lines • Show All 456 Lines • Show Last 20 Lines |