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,114 +1,114 @@
|
|
1
|
-
import QtQuick 2.15
|
2
|
-
import Qt5Compat.GraphicalEffects
|
3
|
-
import QtQuick.Controls.Basic 2.15
|
4
|
-
import "../../themes"
|
5
|
-
import "../../components"
|
6
|
-
|
7
|
-
TextField {
|
8
|
-
id: root
|
9
|
-
|
10
|
-
property bool frameless: false
|
11
|
-
property bool editable: true
|
12
|
-
property color primaryColor: Theme.currentTheme.colors.primaryColor
|
13
|
-
|
14
|
-
selectByMouse: true
|
15
|
-
enabled: editable
|
16
|
-
|
17
|
-
// Menu
|
18
|
-
TextInputMenu {
|
19
|
-
id: contextMenu
|
20
|
-
}
|
21
|
-
|
22
|
-
MouseArea {
|
23
|
-
anchors.fill: parent
|
24
|
-
acceptedButtons: Qt.RightButton
|
25
|
-
propagateComposedEvents: true
|
26
|
-
onPressed: (mouse) => {
|
27
|
-
if (mouse.button === Qt.RightButton)
|
28
|
-
contextMenu.popup(mouse.scenePosition)
|
29
|
-
mouse.accepted = false
|
30
|
-
}
|
31
|
-
|
32
|
-
// 鼠标
|
33
|
-
cursorShape: Qt.IBeamCursor
|
34
|
-
}
|
35
|
-
|
36
|
-
// 背景 / Background //
|
37
|
-
background: Rectangle {
|
38
|
-
id: background
|
39
|
-
anchors.fill: parent
|
40
|
-
radius: Theme.currentTheme.appearance.buttonRadius
|
41
|
-
color: frameless ? "transparent" : Theme.currentTheme.colors.controlColor
|
42
|
-
clip: true
|
43
|
-
border.width: Theme.currentTheme.appearance.borderWidth
|
44
|
-
border.color: frameless ? root.activeFocus ? Theme.currentTheme.colors.controlBorderColor : "transparent" :
|
45
|
-
Theme.currentTheme.colors.controlBorderColor
|
46
|
-
|
47
|
-
layer.enabled: true
|
48
|
-
layer.smooth: true
|
49
|
-
layer.effect: OpacityMask {
|
50
|
-
maskSource: Rectangle {
|
51
|
-
width: background.width
|
52
|
-
height: background.height
|
53
|
-
radius: background.radius
|
54
|
-
}
|
55
|
-
}
|
56
|
-
|
57
|
-
// 底部指示器 / indicator //
|
58
|
-
Rectangle {
|
59
|
-
id: indicator
|
60
|
-
width: parent.width
|
61
|
-
anchors.horizontalCenter: parent.horizontalCenter
|
62
|
-
anchors.bottom: parent.bottom
|
63
|
-
radius: 999
|
64
|
-
height: root.activeFocus ? Theme.currentTheme.appearance.borderWidth * 2 : Theme.currentTheme.appearance.borderWidth
|
65
|
-
color: root.activeFocus ? primaryColor : frameless ? "transparent" : Theme.currentTheme.colors.textControlBorderColor
|
66
|
-
|
67
|
-
Behavior on color { ColorAnimation { duration: Utils.animationSpeed; easing.type: Easing.OutQuint } }
|
68
|
-
Behavior on height { NumberAnimation { duration: Utils.animationSpeed; easing.type: Easing.OutQuint } }
|
69
|
-
}
|
70
|
-
}
|
71
|
-
|
72
|
-
Behavior on opacity { NumberAnimation { duration: Utils.animationSpeed; easing.type: Easing.OutQuint } }
|
73
|
-
|
74
|
-
|
75
|
-
// 字体 / Font //
|
76
|
-
font.pixelSize: Theme.currentTheme.typography.bodySize
|
77
|
-
|
78
|
-
selectionColor: Theme.currentTheme.colors.primaryColor
|
79
|
-
color: Theme.currentTheme.colors.textColor
|
80
|
-
placeholderTextColor: Theme.currentTheme.colors.textSecondaryColor
|
81
|
-
|
82
|
-
leftPadding: 12
|
83
|
-
rightPadding: 12
|
84
|
-
topPadding: 5
|
85
|
-
bottomPadding: 7
|
86
|
-
|
87
|
-
// 状态变化
|
88
|
-
states: [
|
89
|
-
State {
|
90
|
-
name: "disabled"
|
91
|
-
when: !enabled
|
92
|
-
PropertyChanges { // 禁用时禁止改变属性
|
93
|
-
target: root;
|
94
|
-
opacity: !editable ? 1 : 0.4
|
95
|
-
}
|
96
|
-
},
|
97
|
-
State {
|
98
|
-
name: "pressed&focused"
|
99
|
-
when: activeFocus
|
100
|
-
PropertyChanges {
|
101
|
-
target: background;
|
102
|
-
color: Theme.currentTheme.colors.controlInputActiveColor
|
103
|
-
}
|
104
|
-
},
|
105
|
-
State {
|
106
|
-
name: "hovered"
|
107
|
-
when: hovered
|
108
|
-
PropertyChanges {
|
109
|
-
target: background;
|
110
|
-
color: Theme.currentTheme.colors.controlSecondaryColor
|
111
|
-
}
|
112
|
-
}
|
113
|
-
]
|
1
|
+
import QtQuick 2.15
|
2
|
+
import Qt5Compat.GraphicalEffects
|
3
|
+
import QtQuick.Controls.Basic 2.15
|
4
|
+
import "../../themes"
|
5
|
+
import "../../components"
|
6
|
+
|
7
|
+
TextField {
|
8
|
+
id: root
|
9
|
+
|
10
|
+
property bool frameless: false
|
11
|
+
property bool editable: true
|
12
|
+
property color primaryColor: Theme.currentTheme.colors.primaryColor
|
13
|
+
|
14
|
+
selectByMouse: true
|
15
|
+
enabled: editable
|
16
|
+
|
17
|
+
// Menu
|
18
|
+
TextInputMenu {
|
19
|
+
id: contextMenu
|
20
|
+
}
|
21
|
+
|
22
|
+
MouseArea {
|
23
|
+
anchors.fill: parent
|
24
|
+
acceptedButtons: Qt.RightButton
|
25
|
+
propagateComposedEvents: true
|
26
|
+
onPressed: (mouse) => {
|
27
|
+
if (mouse.button === Qt.RightButton)
|
28
|
+
contextMenu.popup(mouse.scenePosition)
|
29
|
+
mouse.accepted = false
|
30
|
+
}
|
31
|
+
|
32
|
+
// 鼠标
|
33
|
+
cursorShape: Qt.IBeamCursor
|
34
|
+
}
|
35
|
+
|
36
|
+
// 背景 / Background //
|
37
|
+
background: Rectangle {
|
38
|
+
id: background
|
39
|
+
anchors.fill: parent
|
40
|
+
radius: Theme.currentTheme.appearance.buttonRadius
|
41
|
+
color: frameless ? "transparent" : Theme.currentTheme.colors.controlColor
|
42
|
+
clip: true
|
43
|
+
border.width: Theme.currentTheme.appearance.borderWidth
|
44
|
+
border.color: frameless ? root.activeFocus ? Theme.currentTheme.colors.controlBorderColor : "transparent" :
|
45
|
+
Theme.currentTheme.colors.controlBorderColor
|
46
|
+
|
47
|
+
layer.enabled: true
|
48
|
+
layer.smooth: true
|
49
|
+
layer.effect: OpacityMask {
|
50
|
+
maskSource: Rectangle {
|
51
|
+
width: background.width
|
52
|
+
height: background.height
|
53
|
+
radius: background.radius
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
// 底部指示器 / indicator //
|
58
|
+
Rectangle {
|
59
|
+
id: indicator
|
60
|
+
width: parent.width
|
61
|
+
anchors.horizontalCenter: parent.horizontalCenter
|
62
|
+
anchors.bottom: parent.bottom
|
63
|
+
radius: 999
|
64
|
+
height: root.activeFocus ? Theme.currentTheme.appearance.borderWidth * 2 : Theme.currentTheme.appearance.borderWidth
|
65
|
+
color: root.activeFocus ? primaryColor : frameless ? "transparent" : Theme.currentTheme.colors.textControlBorderColor
|
66
|
+
|
67
|
+
Behavior on color { ColorAnimation { duration: Utils.animationSpeed; easing.type: Easing.OutQuint } }
|
68
|
+
Behavior on height { NumberAnimation { duration: Utils.animationSpeed; easing.type: Easing.OutQuint } }
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
Behavior on opacity { NumberAnimation { duration: Utils.animationSpeed; easing.type: Easing.OutQuint } }
|
73
|
+
|
74
|
+
|
75
|
+
// 字体 / Font //
|
76
|
+
font.pixelSize: Theme.currentTheme.typography.bodySize
|
77
|
+
|
78
|
+
selectionColor: Theme.currentTheme.colors.primaryColor
|
79
|
+
color: Theme.currentTheme.colors.textColor
|
80
|
+
placeholderTextColor: Theme.currentTheme.colors.textSecondaryColor
|
81
|
+
|
82
|
+
leftPadding: 12
|
83
|
+
rightPadding: 12
|
84
|
+
topPadding: 5
|
85
|
+
bottomPadding: 7
|
86
|
+
|
87
|
+
// 状态变化
|
88
|
+
states: [
|
89
|
+
State {
|
90
|
+
name: "disabled"
|
91
|
+
when: !enabled
|
92
|
+
PropertyChanges { // 禁用时禁止改变属性
|
93
|
+
target: root;
|
94
|
+
opacity: !editable ? 1 : 0.4
|
95
|
+
}
|
96
|
+
},
|
97
|
+
State {
|
98
|
+
name: "pressed&focused"
|
99
|
+
when: activeFocus
|
100
|
+
PropertyChanges {
|
101
|
+
target: background;
|
102
|
+
color: Theme.currentTheme.colors.controlInputActiveColor
|
103
|
+
}
|
104
|
+
},
|
105
|
+
State {
|
106
|
+
name: "hovered"
|
107
|
+
when: hovered
|
108
|
+
PropertyChanges {
|
109
|
+
target: background;
|
110
|
+
color: Theme.currentTheme.colors.controlSecondaryColor
|
111
|
+
}
|
112
|
+
}
|
113
|
+
]
|
114
114
|
}
|
@@ -1,48 +1,48 @@
|
|
1
|
-
import QtQuick 2.15
|
2
|
-
import Qt5Compat.GraphicalEffects
|
3
|
-
import QtQuick.Controls.Basic 2.15
|
4
|
-
import "../../themes"
|
5
|
-
import "../../components"
|
6
|
-
|
7
|
-
|
8
|
-
TextInput {
|
9
|
-
id: root
|
10
|
-
property int typography: Typography.Body
|
11
|
-
selectByMouse: true
|
12
|
-
|
13
|
-
color: Theme.currentTheme.colors.textColor
|
14
|
-
selectionColor: Theme.currentTheme.colors.primaryColor
|
15
|
-
|
16
|
-
// Menu
|
17
|
-
TextInputMenu {
|
18
|
-
id: contextMenu
|
19
|
-
}
|
20
|
-
|
21
|
-
MouseArea {
|
22
|
-
anchors.fill: parent
|
23
|
-
acceptedButtons: Qt.RightButton
|
24
|
-
propagateComposedEvents: true
|
25
|
-
onPressed: (mouse) => {
|
26
|
-
if (mouse.button === Qt.RightButton)
|
27
|
-
contextMenu.popup(mouse.scenePosition)
|
28
|
-
mouse.accepted = false
|
29
|
-
}
|
30
|
-
|
31
|
-
// 鼠标
|
32
|
-
cursorShape: Qt.IBeamCursor
|
33
|
-
}
|
34
|
-
|
35
|
-
font.pixelSize: {
|
36
|
-
switch (typography) {
|
37
|
-
case Typography.Display: return Theme.currentTheme.typography.displaySize;
|
38
|
-
case Typography.TitleLarge: return Theme.currentTheme.typography.titleLargeSize;
|
39
|
-
case Typography.Title: return Theme.currentTheme.typography.titleSize;
|
40
|
-
case Typography.Subtitle: return Theme.currentTheme.typography.subtitleSize;
|
41
|
-
case Typography.Body: return Theme.currentTheme.typography.bodySize;
|
42
|
-
case Typography.BodyStrong: return Theme.currentTheme.typography.bodyStrongSize;
|
43
|
-
case Typography.BodyLarge: return Theme.currentTheme.typography.bodyLargeSize;
|
44
|
-
case Typography.Caption: return Theme.currentTheme.typography.captionSize;
|
45
|
-
default: return Theme.currentTheme.typography.bodySize;
|
46
|
-
}
|
47
|
-
}
|
1
|
+
import QtQuick 2.15
|
2
|
+
import Qt5Compat.GraphicalEffects
|
3
|
+
import QtQuick.Controls.Basic 2.15
|
4
|
+
import "../../themes"
|
5
|
+
import "../../components"
|
6
|
+
|
7
|
+
|
8
|
+
TextInput {
|
9
|
+
id: root
|
10
|
+
property int typography: Typography.Body
|
11
|
+
selectByMouse: true
|
12
|
+
|
13
|
+
color: Theme.currentTheme.colors.textColor
|
14
|
+
selectionColor: Theme.currentTheme.colors.primaryColor
|
15
|
+
|
16
|
+
// Menu
|
17
|
+
TextInputMenu {
|
18
|
+
id: contextMenu
|
19
|
+
}
|
20
|
+
|
21
|
+
MouseArea {
|
22
|
+
anchors.fill: parent
|
23
|
+
acceptedButtons: Qt.RightButton
|
24
|
+
propagateComposedEvents: true
|
25
|
+
onPressed: (mouse) => {
|
26
|
+
if (mouse.button === Qt.RightButton)
|
27
|
+
contextMenu.popup(mouse.scenePosition)
|
28
|
+
mouse.accepted = false
|
29
|
+
}
|
30
|
+
|
31
|
+
// 鼠标
|
32
|
+
cursorShape: Qt.IBeamCursor
|
33
|
+
}
|
34
|
+
|
35
|
+
font.pixelSize: {
|
36
|
+
switch (typography) {
|
37
|
+
case Typography.Display: return Theme.currentTheme.typography.displaySize;
|
38
|
+
case Typography.TitleLarge: return Theme.currentTheme.typography.titleLargeSize;
|
39
|
+
case Typography.Title: return Theme.currentTheme.typography.titleSize;
|
40
|
+
case Typography.Subtitle: return Theme.currentTheme.typography.subtitleSize;
|
41
|
+
case Typography.Body: return Theme.currentTheme.typography.bodySize;
|
42
|
+
case Typography.BodyStrong: return Theme.currentTheme.typography.bodyStrongSize;
|
43
|
+
case Typography.BodyLarge: return Theme.currentTheme.typography.bodyLargeSize;
|
44
|
+
case Typography.Caption: return Theme.currentTheme.typography.captionSize;
|
45
|
+
default: return Theme.currentTheme.typography.bodySize;
|
46
|
+
}
|
47
|
+
}
|
48
48
|
}
|
RinUI/components/qmldir
CHANGED
@@ -1,78 +1,81 @@
|
|
1
|
-
module RinUI.Components
|
2
|
-
|
3
|
-
Base 1.0 Base.qml
|
4
|
-
Shadow 1.0 Shadow.qml
|
5
|
-
FocusIndicator 1.0 FocusIndicator.qml
|
6
|
-
|
7
|
-
IconWidget 1.0 IconWidget.qml
|
8
|
-
|
9
|
-
ContextMenu 1.0 ContextMenu.qml
|
10
|
-
|
11
|
-
|
12
|
-
ScrollBar 1.0 ScrollBar.qml
|
13
|
-
ScrollView 1.0 ScrollView.qml
|
14
|
-
|
15
|
-
# Basic Input
|
16
|
-
Button 1.0 BasicInput/Button.qml
|
17
|
-
RoundButton 1.0 BasicInput/RoundButton.qml
|
18
|
-
HyperlinkButton 1.0 BasicInput/HyperlinkButton.qml
|
19
|
-
Slider 1.0 BasicInput/Slider.qml
|
20
|
-
Hyperlink 1.0 BasicInput/Hyperlink.qml
|
21
|
-
ToolButton 1.0 BasicInput/ToolButton.qml
|
22
|
-
Switch 1.0 BasicInput/Switch.qml
|
23
|
-
RadioButton 1.0 BasicInput/RadioButton.qml
|
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
|
-
singleton
|
77
|
-
|
1
|
+
module RinUI.Components
|
2
|
+
|
3
|
+
Base 1.0 Base.qml
|
4
|
+
Shadow 1.0 Shadow.qml
|
5
|
+
FocusIndicator 1.0 FocusIndicator.qml
|
6
|
+
|
7
|
+
IconWidget 1.0 IconWidget.qml
|
8
|
+
|
9
|
+
ContextMenu 1.0 ContextMenu.qml
|
10
|
+
|
11
|
+
|
12
|
+
ScrollBar 1.0 ScrollBar.qml
|
13
|
+
ScrollView 1.0 ScrollView.qml
|
14
|
+
|
15
|
+
# Basic Input
|
16
|
+
Button 1.0 BasicInput/Button.qml
|
17
|
+
RoundButton 1.0 BasicInput/RoundButton.qml
|
18
|
+
HyperlinkButton 1.0 BasicInput/HyperlinkButton.qml
|
19
|
+
Slider 1.0 BasicInput/Slider.qml
|
20
|
+
Hyperlink 1.0 BasicInput/Hyperlink.qml
|
21
|
+
ToolButton 1.0 BasicInput/ToolButton.qml
|
22
|
+
Switch 1.0 BasicInput/Switch.qml
|
23
|
+
RadioButton 1.0 BasicInput/RadioButton.qml
|
24
|
+
|
25
|
+
# Media
|
26
|
+
Avatar 1.0 Media/Avatar.qml
|
27
|
+
|
28
|
+
# Date & Time
|
29
|
+
PickerView 1.0 DateAndTime/PickerView.qml
|
30
|
+
# TimePicker 1.0 DateAndTime/TimePicker.qml
|
31
|
+
|
32
|
+
# Dialogs & Flyouts
|
33
|
+
Dialog 1.0 DialogsAndFlyouts/Dialog.qml
|
34
|
+
DialogButtonBox 1.0 DialogsAndFlyouts/DialogButtonBox.qml
|
35
|
+
Flyout 1.0 DialogsAndFlyouts/Flyout.qml
|
36
|
+
Popup 1.0 DialogsAndFlyouts/Popup.qml
|
37
|
+
|
38
|
+
# Layout
|
39
|
+
Expander 1.0 Layout/Expander.qml
|
40
|
+
|
41
|
+
# Status & Info
|
42
|
+
InfoBar 1.0 StatusAndInfo/InfoBar.qml
|
43
|
+
ProgressBar 1.0 StatusAndInfo/ProgressBar.qml
|
44
|
+
ToolTip 1.0 StatusAndInfo/ToolTip.qml
|
45
|
+
|
46
|
+
# Text
|
47
|
+
TextField 1.0 Text/TextField.qml
|
48
|
+
TextInput 1.0 Text/TextInput.qml
|
49
|
+
Text 1.0 Text/Text.qml
|
50
|
+
|
51
|
+
# Menus & Toolbars
|
52
|
+
Menu 1.0 MenusAndToolbars/Menu.qml
|
53
|
+
TextInputMenu 1.0 MenusAndToolbars/TextInputMenu.qml
|
54
|
+
MenuItem 1.0 MenusAndToolbars/MenuItem.qml
|
55
|
+
MenuItemGroup 1.0 MenusAndToolbars/MenuItemGroup.qml
|
56
|
+
MenuSeparator 1.0 MenusAndToolbars/MenuSeparator.qml
|
57
|
+
ToolSeparator 1.0 MenusAndToolbars/ToolSeparator.qml
|
58
|
+
MenuBar 1.0 MenusAndToolbars/MenuBar.qml
|
59
|
+
|
60
|
+
# Navigation
|
61
|
+
NavigationView 1.0 Navigation/NavigationView.qml
|
62
|
+
NavigationBar 1.0 Navigation/NavigationBar.qml
|
63
|
+
NavigationItem 1.0 Navigation/NavigationItem.qml
|
64
|
+
NavigationSubItem 1.0 Navigation/NavigationSubItem.qml
|
65
|
+
|
66
|
+
# ListAndCollections
|
67
|
+
Frame 1.0 ListAndCollections/Frame.qml
|
68
|
+
Clip 1.0 ListAndCollections/Clip.qml
|
69
|
+
# ListView 1.0 ListAndCollections/ListView.qml
|
70
|
+
ListViewDelegate 1.0 ListAndCollections/ListViewDelegate.qml
|
71
|
+
TableViewDelegate 1.0 ListAndCollections/TableViewDelegate.qml
|
72
|
+
|
73
|
+
Indicator 1.0 Indicator.qml
|
74
|
+
|
75
|
+
|
76
|
+
singleton Theme 1.0 ../themes/theme.qml
|
77
|
+
singleton Typography 1.0 ../utils/Typography.qml
|
78
|
+
singleton Severity 1.0 ../utils/Severity.qml
|
79
|
+
singleton Position 1.0 ../utils/Position.qml
|
80
|
+
|
78
81
|
FloatLayer 1.0 ../utils/FloatLayer.qml
|
RinUI/core/__init__.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
from .theme import ThemeManager
|
2
|
-
from .launcher import RinUIWindow
|
3
|
-
from .config import DEFAULT_CONFIG, RinConfig, PATH, Theme, BackdropEffect, ConfigManager
|
4
|
-
from .translator import RinUITranslator
|
1
|
+
from .theme import ThemeManager
|
2
|
+
from .launcher import RinUIWindow
|
3
|
+
from .config import DEFAULT_CONFIG, RinConfig, PATH, Theme, BackdropEffect, ConfigManager
|
4
|
+
from .translator import RinUITranslator
|