Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qtquickcontrols-ios.qdoc
Go to the documentation of this file.
1
// Copyright (C) 2022 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4
/*!
5
\page qtquickcontrols-ios.html
6
\title iOS Style
7
8
The iOS Style is a native-looking style for iOS based on image assets.
9
\l{detailed-desc-iOS}{More...}
10
11
\styleimport {QtQuick.Controls.iOS} {Qt 6.4}
12
13
\section1 Detailed Description
14
\target detailed-desc-iOS
15
16
The iOS style is designed to look and feel as similar as possible to the native controls in UIKit.
17
Most of the controls make use of \l
18
{https://developer.android.com/guide/topics/graphics/2d-graphics.html#nine-patch}{9-patch
19
images} to draw their components, in order to accommodate controls of varying sizes.
20
For controls that do not have a native counterpart in UIKit, the iOS style
21
provides a custom look based on colors and styles following \l
22
{https://developer.apple.com/design/human-interface-guidelines/ios/visual-design/color/}
23
{iOS' Human Interface Guidelines }.
24
The iOS style is not a native iOS style, and as such, can run on platforms other than iOS.
25
However, for the time being, it is made available only for applications running on macOS
26
and iOS and should look the same on both platforms, besides minor differences that may occur
27
due to differences in available system fonts and font rendering engines.
28
29
\include style-screenshots.qdocinc {file} {iOS} {ios}
30
31
To run an application with the iOS style, see
32
\l {Using Styles in Qt Quick Controls}.
33
34
\section2 Current state
35
36
The \l Tumbler control is not yet implemented for the iOS style and will fall back
37
to use the \l {Basic Style}.
38
39
\section2 Customization
40
41
\section3 Palette
42
43
The iOS style supports palette customization via the \l {Item::}{palette}
44
property and the \l {Palette Configuration}{qtquickcontrols2.conf} file.
45
As with other styles, the exact \l[QML]{Palette}{palette roles}
46
that the iOS style uses are style-dependent. However, as most of the visual
47
appearance of controls (for example: backgrounds) is managed through image assets,
48
only the roles that are typically used for text will have an effect.
49
*/
qtdeclarative
src
quickcontrols
doc
src
qtquickcontrols-ios.qdoc
Generated on
for Qt by
1.14.0