RinUI 0.0.11__py3-none-any.whl → 0.1.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- RinUI/__init__.py +4 -4
- RinUI/assets/fonts/FluentSystemIcons-Index.js +5255 -5255
- RinUI/assets/img/default_app_icon.png +0 -0
- RinUI/components/Base.qml +78 -78
- RinUI/components/BasicInput/Button.qml +146 -147
- RinUI/components/BasicInput/CheckBox.qml +98 -98
- RinUI/components/BasicInput/ComboBox.qml +159 -159
- RinUI/components/BasicInput/DropDownButton.qml +20 -20
- RinUI/components/BasicInput/Hyperlink.qml +17 -17
- RinUI/components/BasicInput/PillButton.qml +10 -10
- RinUI/components/BasicInput/RadioButton.qml +94 -94
- RinUI/components/BasicInput/RoundButton.qml +26 -26
- RinUI/components/BasicInput/Slider.qml +212 -212
- RinUI/components/BasicInput/Switch.qml +101 -101
- RinUI/components/BasicInput/ToggleButton.qml +10 -10
- RinUI/components/BasicInput/ToolButton.qml +30 -30
- RinUI/components/ContextMenu.qml +183 -183
- RinUI/components/DateAndTime/DatePicker.qml +142 -140
- RinUI/components/DateAndTime/PickerView.qml +223 -223
- RinUI/components/DateAndTime/TimePicker.qml +114 -114
- RinUI/components/DialogsAndFlyouts/Dialog.qml +106 -106
- RinUI/components/DialogsAndFlyouts/DialogButtonBox.qml +47 -47
- RinUI/components/DialogsAndFlyouts/Flyout.qml +87 -144
- RinUI/components/DialogsAndFlyouts/Popup.qml +110 -106
- RinUI/components/FocusIndicator.qml +33 -33
- RinUI/components/IconWidget.qml +52 -52
- RinUI/components/Indicator.qml +89 -89
- RinUI/components/Layout/Expander.qml +159 -159
- RinUI/components/Layout/SettingExpander.qml +66 -66
- RinUI/components/Layout/SettingItem.qml +70 -70
- RinUI/components/ListAndCollections/Clip.qml +21 -21
- RinUI/components/ListAndCollections/Frame.qml +43 -43
- RinUI/components/ListAndCollections/ListView.qml +104 -104
- RinUI/components/ListAndCollections/ListViewDelegate.qml +82 -82
- RinUI/components/ListAndCollections/SettingCard.qml +72 -72
- RinUI/components/ListAndCollections/TableView.qml +81 -81
- RinUI/components/ListAndCollections/TableViewDelegate.qml +88 -88
- RinUI/components/Media/Avatar.qml +83 -0
- RinUI/components/MenusAndToolbars/Menu.qml +150 -150
- RinUI/components/MenusAndToolbars/MenuBar.qml +42 -42
- RinUI/components/MenusAndToolbars/MenuItem.qml +131 -131
- RinUI/components/MenusAndToolbars/MenuItemGroup.qml +43 -43
- RinUI/components/MenusAndToolbars/MenuSeparator.qml +13 -13
- RinUI/components/MenusAndToolbars/TextInputMenu.qml +37 -37
- RinUI/components/MenusAndToolbars/ToolSeparator.qml +16 -16
- RinUI/components/Navigation/ErrorPage.qml +48 -48
- RinUI/components/Navigation/NavigationBar.qml +179 -179
- RinUI/components/Navigation/NavigationItem.qml +193 -193
- RinUI/components/Navigation/NavigationSubItem.qml +103 -103
- RinUI/components/Navigation/NavigationView.qml +228 -227
- RinUI/components/Navigation/Segmented.qml +17 -0
- RinUI/components/Navigation/SegmentedItem.qml +108 -0
- RinUI/components/Navigation/SelectorBar.qml +12 -57
- RinUI/components/Navigation/SelectorBarItem.qml +89 -0
- RinUI/components/ScrollBar.qml +204 -204
- RinUI/components/ScrollView.qml +12 -12
- RinUI/components/Shadow.qml +47 -47
- RinUI/components/StatusAndInfo/InfoBadge.qml +77 -77
- RinUI/components/StatusAndInfo/InfoBar.qml +256 -251
- RinUI/components/StatusAndInfo/ProgressBar.qml +126 -126
- RinUI/components/StatusAndInfo/ProgressRing.qml +149 -0
- RinUI/components/StatusAndInfo/Toast.qml +236 -236
- RinUI/components/StatusAndInfo/ToolTip.qml +93 -93
- RinUI/components/Text/SpinBox.qml +150 -133
- RinUI/components/Text/Text.qml +44 -44
- RinUI/components/Text/TextArea.qml +117 -117
- RinUI/components/Text/TextField.qml +113 -113
- RinUI/components/Text/TextInput.qml +47 -47
- RinUI/components/qmldir +80 -77
- RinUI/core/__init__.py +4 -4
- RinUI/core/config.py +129 -129
- RinUI/core/launcher.py +129 -129
- RinUI/core/theme.py +339 -339
- RinUI/core/translator.py +25 -25
- RinUI/hooks/__init__.py +3 -3
- RinUI/hooks/hook-RinUI.py +3 -3
- RinUI/qmldir +108 -97
- RinUI/themes/Appearance.qml +36 -0
- RinUI/themes/Colors.qml +36 -0
- RinUI/themes/dark.qml +145 -136
- RinUI/themes/light.qml +145 -136
- RinUI/themes/qmldir +9 -6
- RinUI/themes/theme.qml +151 -149
- RinUI/themes/utils.qml +37 -37
- RinUI/utils/Animation.qml +12 -12
- RinUI/utils/FloatLayer.qml +132 -123
- RinUI/utils/FontIconLoader.qml +13 -13
- RinUI/utils/Position.qml +19 -19
- RinUI/utils/Severity.qml +13 -13
- RinUI/utils/Typography.qml +17 -17
- RinUI/utils/qmldir +4 -4
- RinUI/windows/CtrlBtn.qml +118 -118
- RinUI/windows/FluentPage.qml +92 -92
- RinUI/windows/FluentWindow.qml +31 -30
- RinUI/windows/FluentWindowBase.qml +158 -158
- RinUI/windows/TitleBar.qml +135 -135
- RinUI/windows/qmldir +7 -7
- RinUI/windows/window/ApplicationWindow.qml +8 -8
- RinUI/windows/window/Window.qml +118 -118
- {rinui-0.0.11.data → rinui-0.1.1.data}/data/LICENSE +21 -21
- {rinui-0.0.11.data → rinui-0.1.1.data}/data/README.md +100 -97
- {rinui-0.0.11.dist-info → rinui-0.1.1.dist-info}/METADATA +116 -112
- rinui-0.1.1.dist-info/RECORD +112 -0
- {rinui-0.0.11.dist-info → rinui-0.1.1.dist-info}/WHEEL +1 -1
- {rinui-0.0.11.dist-info → rinui-0.1.1.dist-info/licenses}/LICENSE +21 -21
- RinUI/__pycache__/__init__.cpython-38.pyc +0 -0
- RinUI/config/rin_ui.json +0 -8
- RinUI/core/__pycache__/__init__.cpython-38.pyc +0 -0
- RinUI/core/__pycache__/config.cpython-38.pyc +0 -0
- RinUI/core/__pycache__/launcher.cpython-38.pyc +0 -0
- RinUI/core/__pycache__/theme.cpython-38.pyc +0 -0
- RinUI/core/__pycache__/translator.cpython-38.pyc +0 -0
- rinui-0.0.11.dist-info/RECORD +0 -112
- {rinui-0.0.11.dist-info → rinui-0.1.1.dist-info}/entry_points.txt +0 -0
- {rinui-0.0.11.dist-info → rinui-0.1.1.dist-info}/top_level.txt +0 -0
@@ -1,82 +1,82 @@
|
|
1
|
-
import QtQuick 2.15
|
2
|
-
import QtQuick.Controls.Basic 2.15
|
3
|
-
import QtQuick.Layouts 2.15
|
4
|
-
import "../../themes"
|
5
|
-
import "../../components"
|
6
|
-
|
7
|
-
TableView {
|
8
|
-
id: root
|
9
|
-
clip: true
|
10
|
-
|
11
|
-
// 滚动条 / ScrollBar //
|
12
|
-
ScrollBar.vertical: ScrollBar {
|
13
|
-
policy: ScrollBar.AsNeeded
|
14
|
-
}
|
15
|
-
ScrollBar.horizontal: ScrollBar {
|
16
|
-
policy: ScrollBar.AsNeeded
|
17
|
-
}
|
18
|
-
|
19
|
-
// 交换动画
|
20
|
-
// move: Transition {
|
21
|
-
// NumberAnimation { property: "y"; duration: 200 }
|
22
|
-
// }
|
23
|
-
// moveDisplaced: Transition {
|
24
|
-
// NumberAnimation { property: "y"; duration: 200 }
|
25
|
-
// }
|
26
|
-
|
27
|
-
// displaced: Transition {
|
28
|
-
// NumberAnimation {
|
29
|
-
// property: "y"
|
30
|
-
// duration: Utils.animationSpeedMiddle
|
31
|
-
// easing.type: Easing.OutQuint
|
32
|
-
// }
|
33
|
-
// }
|
34
|
-
//
|
35
|
-
// add: Transition {
|
36
|
-
// ParallelAnimation{
|
37
|
-
// NumberAnimation {
|
38
|
-
// property: "opacity"
|
39
|
-
// from: 0
|
40
|
-
// to: 1
|
41
|
-
// duration: Utils.animationSpeed
|
42
|
-
// easing.type: Easing.OutQuint
|
43
|
-
// }
|
44
|
-
// NumberAnimation {
|
45
|
-
// properties: "scale"
|
46
|
-
// from: 0.9
|
47
|
-
// to: 1
|
48
|
-
// duration: Utils.animationSpeed
|
49
|
-
// easing.type: Easing.OutQuint
|
50
|
-
// }
|
51
|
-
// }
|
52
|
-
// }
|
53
|
-
//
|
54
|
-
// // 删除动画
|
55
|
-
// remove: Transition {
|
56
|
-
// ParallelAnimation{
|
57
|
-
// NumberAnimation {
|
58
|
-
// property: "opacity"
|
59
|
-
// from: 1
|
60
|
-
// to: 0
|
61
|
-
// duration: Utils.animationSpeed
|
62
|
-
// easing.type: Easing.OutQuint
|
63
|
-
// }
|
64
|
-
// NumberAnimation {
|
65
|
-
// properties: "scale"
|
66
|
-
// from: 1
|
67
|
-
// to: 0.9
|
68
|
-
// duration: Utils.animationSpeed
|
69
|
-
// easing.type: Easing.OutQuint
|
70
|
-
// }
|
71
|
-
// }
|
72
|
-
// }
|
73
|
-
|
74
|
-
delegate: TableViewDelegate {
|
75
|
-
middleArea: [
|
76
|
-
Text {
|
77
|
-
Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft
|
78
|
-
text: model.display
|
79
|
-
}
|
80
|
-
]
|
81
|
-
}
|
1
|
+
import QtQuick 2.15
|
2
|
+
import QtQuick.Controls.Basic 2.15
|
3
|
+
import QtQuick.Layouts 2.15
|
4
|
+
import "../../themes"
|
5
|
+
import "../../components"
|
6
|
+
|
7
|
+
TableView {
|
8
|
+
id: root
|
9
|
+
clip: true
|
10
|
+
|
11
|
+
// 滚动条 / ScrollBar //
|
12
|
+
ScrollBar.vertical: ScrollBar {
|
13
|
+
policy: ScrollBar.AsNeeded
|
14
|
+
}
|
15
|
+
ScrollBar.horizontal: ScrollBar {
|
16
|
+
policy: ScrollBar.AsNeeded
|
17
|
+
}
|
18
|
+
|
19
|
+
// 交换动画
|
20
|
+
// move: Transition {
|
21
|
+
// NumberAnimation { property: "y"; duration: 200 }
|
22
|
+
// }
|
23
|
+
// moveDisplaced: Transition {
|
24
|
+
// NumberAnimation { property: "y"; duration: 200 }
|
25
|
+
// }
|
26
|
+
|
27
|
+
// displaced: Transition {
|
28
|
+
// NumberAnimation {
|
29
|
+
// property: "y"
|
30
|
+
// duration: Utils.animationSpeedMiddle
|
31
|
+
// easing.type: Easing.OutQuint
|
32
|
+
// }
|
33
|
+
// }
|
34
|
+
//
|
35
|
+
// add: Transition {
|
36
|
+
// ParallelAnimation{
|
37
|
+
// NumberAnimation {
|
38
|
+
// property: "opacity"
|
39
|
+
// from: 0
|
40
|
+
// to: 1
|
41
|
+
// duration: Utils.animationSpeed
|
42
|
+
// easing.type: Easing.OutQuint
|
43
|
+
// }
|
44
|
+
// NumberAnimation {
|
45
|
+
// properties: "scale"
|
46
|
+
// from: 0.9
|
47
|
+
// to: 1
|
48
|
+
// duration: Utils.animationSpeed
|
49
|
+
// easing.type: Easing.OutQuint
|
50
|
+
// }
|
51
|
+
// }
|
52
|
+
// }
|
53
|
+
//
|
54
|
+
// // 删除动画
|
55
|
+
// remove: Transition {
|
56
|
+
// ParallelAnimation{
|
57
|
+
// NumberAnimation {
|
58
|
+
// property: "opacity"
|
59
|
+
// from: 1
|
60
|
+
// to: 0
|
61
|
+
// duration: Utils.animationSpeed
|
62
|
+
// easing.type: Easing.OutQuint
|
63
|
+
// }
|
64
|
+
// NumberAnimation {
|
65
|
+
// properties: "scale"
|
66
|
+
// from: 1
|
67
|
+
// to: 0.9
|
68
|
+
// duration: Utils.animationSpeed
|
69
|
+
// easing.type: Easing.OutQuint
|
70
|
+
// }
|
71
|
+
// }
|
72
|
+
// }
|
73
|
+
|
74
|
+
delegate: TableViewDelegate {
|
75
|
+
middleArea: [
|
76
|
+
Text {
|
77
|
+
Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft
|
78
|
+
text: model.display
|
79
|
+
}
|
80
|
+
]
|
81
|
+
}
|
82
82
|
}
|
@@ -1,89 +1,89 @@
|
|
1
|
-
import QtQuick 2.15
|
2
|
-
import QtQuick.Controls.Basic 2.15
|
3
|
-
import QtQuick.Layouts 2.15
|
4
|
-
import "../../themes"
|
5
|
-
import "../../components"
|
6
|
-
|
7
|
-
|
8
|
-
ItemDelegate {
|
9
|
-
id: delegate
|
10
|
-
width: TableView.view ? TableView.view.width : 200
|
11
|
-
height: contents.implicitHeight + 20 // 自适应
|
12
|
-
highlighted: false
|
13
|
-
focusPolicy: Qt.StrongFocus
|
14
|
-
|
15
|
-
// accessibility
|
16
|
-
FocusIndicator {
|
17
|
-
control: parent
|
18
|
-
}
|
19
|
-
|
20
|
-
property alias leftArea: leftArea.data
|
21
|
-
property alias middleArea: middleArea.data
|
22
|
-
property alias rightArea: rightArea.data
|
23
|
-
|
24
|
-
contentItem: RowLayout {
|
25
|
-
id: contents
|
26
|
-
anchors.fill: parent
|
27
|
-
anchors.leftMargin: 5 + 11
|
28
|
-
anchors.rightMargin: 5
|
29
|
-
anchors.topMargin: 3
|
30
|
-
spacing: 8
|
31
|
-
|
32
|
-
Row {
|
33
|
-
id: leftArea
|
34
|
-
// CheckBox {
|
35
|
-
// id: checkBox
|
36
|
-
// implicitWidth: height * 1
|
37
|
-
// Layout.fillHeight: true
|
38
|
-
// checked: false
|
39
|
-
// visible: tableCell.column === 0
|
40
|
-
// }
|
41
|
-
}
|
42
|
-
|
43
|
-
ColumnLayout {
|
44
|
-
id: middleArea
|
45
|
-
Layout.fillHeight: true
|
46
|
-
}
|
47
|
-
|
48
|
-
RowLayout {
|
49
|
-
id: rightArea
|
50
|
-
spacing: 16
|
51
|
-
Layout.fillWidth: true
|
52
|
-
Layout.fillHeight: true
|
53
|
-
}
|
54
|
-
}
|
55
|
-
|
56
|
-
background: Rectangle {
|
57
|
-
id: itemBg
|
58
|
-
anchors.fill: parent
|
59
|
-
// anchors.leftMargin: 5
|
60
|
-
// anchors.rightMargin: 5
|
61
|
-
anchors.topMargin: 3
|
62
|
-
radius: Theme.currentTheme.appearance.buttonRadius
|
63
|
-
color: pressed
|
64
|
-
? Theme.currentTheme.colors.subtleTertiaryColor
|
65
|
-
: (highlighted || hovered)
|
66
|
-
? Theme.currentTheme.colors.subtleSecondaryColor
|
67
|
-
: Theme.currentTheme.colors.subtleColor
|
68
|
-
|
69
|
-
RowLayout {
|
70
|
-
anchors.fill: parent
|
71
|
-
anchors.leftMargin: 11
|
72
|
-
anchors.rightMargin: 11
|
73
|
-
anchors.topMargin: 6
|
74
|
-
anchors.bottomMargin: 8
|
75
|
-
}
|
76
|
-
|
77
|
-
// 选择指示器
|
78
|
-
Indicator {
|
79
|
-
currentItemHeight: delegate.height
|
80
|
-
visible: highlighted
|
81
|
-
}
|
82
|
-
|
83
|
-
Behavior on color { ColorAnimation { duration: Utils.appearanceSpeed; easing.type:Easing.InOutQuart } }
|
84
|
-
}
|
85
|
-
|
86
|
-
onClicked: {
|
87
|
-
// TableView.selected = row
|
88
|
-
}
|
1
|
+
import QtQuick 2.15
|
2
|
+
import QtQuick.Controls.Basic 2.15
|
3
|
+
import QtQuick.Layouts 2.15
|
4
|
+
import "../../themes"
|
5
|
+
import "../../components"
|
6
|
+
|
7
|
+
|
8
|
+
ItemDelegate {
|
9
|
+
id: delegate
|
10
|
+
width: TableView.view ? TableView.view.width : 200
|
11
|
+
height: contents.implicitHeight + 20 // 自适应
|
12
|
+
highlighted: false
|
13
|
+
focusPolicy: Qt.StrongFocus
|
14
|
+
|
15
|
+
// accessibility
|
16
|
+
FocusIndicator {
|
17
|
+
control: parent
|
18
|
+
}
|
19
|
+
|
20
|
+
property alias leftArea: leftArea.data
|
21
|
+
property alias middleArea: middleArea.data
|
22
|
+
property alias rightArea: rightArea.data
|
23
|
+
|
24
|
+
contentItem: RowLayout {
|
25
|
+
id: contents
|
26
|
+
anchors.fill: parent
|
27
|
+
anchors.leftMargin: 5 + 11
|
28
|
+
anchors.rightMargin: 5
|
29
|
+
anchors.topMargin: 3
|
30
|
+
spacing: 8
|
31
|
+
|
32
|
+
Row {
|
33
|
+
id: leftArea
|
34
|
+
// CheckBox {
|
35
|
+
// id: checkBox
|
36
|
+
// implicitWidth: height * 1
|
37
|
+
// Layout.fillHeight: true
|
38
|
+
// checked: false
|
39
|
+
// visible: tableCell.column === 0
|
40
|
+
// }
|
41
|
+
}
|
42
|
+
|
43
|
+
ColumnLayout {
|
44
|
+
id: middleArea
|
45
|
+
Layout.fillHeight: true
|
46
|
+
}
|
47
|
+
|
48
|
+
RowLayout {
|
49
|
+
id: rightArea
|
50
|
+
spacing: 16
|
51
|
+
Layout.fillWidth: true
|
52
|
+
Layout.fillHeight: true
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
background: Rectangle {
|
57
|
+
id: itemBg
|
58
|
+
anchors.fill: parent
|
59
|
+
// anchors.leftMargin: 5
|
60
|
+
// anchors.rightMargin: 5
|
61
|
+
anchors.topMargin: 3
|
62
|
+
radius: Theme.currentTheme.appearance.buttonRadius
|
63
|
+
color: pressed
|
64
|
+
? Theme.currentTheme.colors.subtleTertiaryColor
|
65
|
+
: (highlighted || hovered)
|
66
|
+
? Theme.currentTheme.colors.subtleSecondaryColor
|
67
|
+
: Theme.currentTheme.colors.subtleColor
|
68
|
+
|
69
|
+
RowLayout {
|
70
|
+
anchors.fill: parent
|
71
|
+
anchors.leftMargin: 11
|
72
|
+
anchors.rightMargin: 11
|
73
|
+
anchors.topMargin: 6
|
74
|
+
anchors.bottomMargin: 8
|
75
|
+
}
|
76
|
+
|
77
|
+
// 选择指示器
|
78
|
+
Indicator {
|
79
|
+
currentItemHeight: delegate.height
|
80
|
+
visible: highlighted
|
81
|
+
}
|
82
|
+
|
83
|
+
Behavior on color { ColorAnimation { duration: Utils.appearanceSpeed; easing.type:Easing.InOutQuart } }
|
84
|
+
}
|
85
|
+
|
86
|
+
onClicked: {
|
87
|
+
// TableView.selected = row
|
88
|
+
}
|
89
89
|
}
|
@@ -0,0 +1,83 @@
|
|
1
|
+
import QtQuick 2.15
|
2
|
+
import QtQuick.Controls.Basic 2.15
|
3
|
+
import QtQuick.Layouts 2.15
|
4
|
+
import Qt5Compat.GraphicalEffects
|
5
|
+
import "../../themes"
|
6
|
+
import "../../components"
|
7
|
+
|
8
|
+
Item {
|
9
|
+
id: root
|
10
|
+
property int size: 96
|
11
|
+
property string source: ""
|
12
|
+
property string text
|
13
|
+
property alias icon: icon.icon
|
14
|
+
|
15
|
+
implicitWidth: size
|
16
|
+
implicitHeight: size
|
17
|
+
opacity: enabled ? 1 : 0.4
|
18
|
+
|
19
|
+
Rectangle {
|
20
|
+
id: background
|
21
|
+
anchors.fill: parent
|
22
|
+
color: Theme.currentTheme.colors.controlQuaternaryColor
|
23
|
+
border.color: Theme.currentTheme.colors.cardBorderColor
|
24
|
+
radius: size / 2
|
25
|
+
|
26
|
+
// 图标
|
27
|
+
IconWidget {
|
28
|
+
id: icon
|
29
|
+
anchors.centerIn: parent
|
30
|
+
icon: "ic_fluent_person_20_regular"
|
31
|
+
size: root.size * 0.5
|
32
|
+
source: root.source
|
33
|
+
|
34
|
+
visible: root.source === "" && root.text === ""
|
35
|
+
}
|
36
|
+
|
37
|
+
// 文本
|
38
|
+
Text {
|
39
|
+
id: textLabel
|
40
|
+
anchors.centerIn: parent
|
41
|
+
font.pixelSize: size * 0.41
|
42
|
+
font.bold: true
|
43
|
+
text: {
|
44
|
+
let text_list = root.text.split(" ")
|
45
|
+
let result = ""
|
46
|
+
for (let i = 0; i < text_list.length; i++) {
|
47
|
+
if (text_list[i] !== "" && (i === 0 || i === text_list.length - 1)) {
|
48
|
+
result += text_list[i][0]
|
49
|
+
}
|
50
|
+
}
|
51
|
+
return result
|
52
|
+
}
|
53
|
+
visible: root.source === "" && root.text !== ""
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
Image {
|
58
|
+
id: image
|
59
|
+
source: root.source
|
60
|
+
anchors.fill: parent
|
61
|
+
fillMode: Image.PreserveAspectCrop
|
62
|
+
smooth: true
|
63
|
+
clip: true
|
64
|
+
}
|
65
|
+
|
66
|
+
// 遮罩
|
67
|
+
layer.enabled: true
|
68
|
+
layer.effect: OpacityMask {
|
69
|
+
maskSource: Rectangle {
|
70
|
+
width: root.width
|
71
|
+
height: root.height
|
72
|
+
radius: background.radius
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
// 动画
|
77
|
+
Behavior on opacity {
|
78
|
+
NumberAnimation {
|
79
|
+
duration: Utils.appearanceSpeed
|
80
|
+
easing.type: Easing.InOutQuint
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|