RinUI 0.0.9__py3-none-any.whl → 0.0.9.post1__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.
@@ -41,17 +41,23 @@ With simple configuration, you can quickly develop elegant UI interfaces in the
41
41
  You can install RinUI via pip: (coming soon, but now you can install via test-pypi)
42
42
  ```bash
43
43
  pip install RinUI # if RinUI in pypi
44
-
45
- # ↓ Test PyPI
46
- pip install PySide6 darkdetect
47
- # There is no Release for these two packages in TestPypi. When RinUI is released to PyPi, this step can be omitted.
48
- pip install -i https://test.pypi.org/simple/ RinUI --no-deps
49
44
  ```
50
45
 
51
46
  Import RinUI in your QML file:
52
47
  ```qmllang
53
48
  import RinUI
54
49
  ```
50
+ Then you can run the QML file in your project.
51
+ ```python
52
+ import sys
53
+ from RinUI import *
54
+ from PySide6.QtWidgets import QApplication
55
+
56
+ if __name__ == '__main__':
57
+ app = QApplication(sys.argv)
58
+ your_app = RinUIWindow("/path/to/your/file.qml")
59
+ sys.exit(app.exec_())
60
+ ```
55
61
 
56
62
  You also can view the demo in the source code, like this:
57
63
  ```bash
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: RinUI
3
- Version: 0.0.9
3
+ Version: 0.0.9.post1
4
4
  Summary: A Fluent Design-like UI library for Qt Quick (QML) based on PySide6
5
5
  Author-email: RinLit <lintu233_qwq@icloud.com>
6
6
  Classifier: Programming Language :: Python :: 3
@@ -11,7 +11,7 @@ Description-Content-Type: text/markdown
11
11
  License-File: LICENSE
12
12
  Requires-Dist: PySide6~=6.6.3.1
13
13
  Requires-Dist: darkdetect~=0.8.0
14
- Requires-Dist: pywin32==227; sys_platform == "win32"
14
+ Requires-Dist: pywin32>=306; sys_platform == "win32"
15
15
 
16
16
  <div align="center">
17
17
  <h1>RinUI</h1>
@@ -56,17 +56,23 @@ With simple configuration, you can quickly develop elegant UI interfaces in the
56
56
  You can install RinUI via pip: (coming soon, but now you can install via test-pypi)
57
57
  ```bash
58
58
  pip install RinUI # if RinUI in pypi
59
-
60
- # ↓ Test PyPI
61
- pip install PySide6 darkdetect
62
- # There is no Release for these two packages in TestPypi. When RinUI is released to PyPi, this step can be omitted.
63
- pip install -i https://test.pypi.org/simple/ RinUI --no-deps
64
59
  ```
65
60
 
66
61
  Import RinUI in your QML file:
67
62
  ```qmllang
68
63
  import RinUI
69
64
  ```
65
+ Then you can run the QML file in your project.
66
+ ```python
67
+ import sys
68
+ from RinUI import *
69
+ from PySide6.QtWidgets import QApplication
70
+
71
+ if __name__ == '__main__':
72
+ app = QApplication(sys.argv)
73
+ your_app = RinUIWindow("/path/to/your/file.qml")
74
+ sys.exit(app.exec_())
75
+ ```
70
76
 
71
77
  You also can view the demo in the source code, like this:
72
78
  ```bash
@@ -92,11 +92,11 @@ RinUI/windows/TitleBar.qml,sha256=nDMgvN9JDdywZX81dCwH3f90VQofhQNxVdQWEKSGZrg,36
92
92
  RinUI/windows/qmldir,sha256=8zVLwFf2mHV3QKp13YnR6OkayRpZl7bHpxSdRdBthK4,212
93
93
  RinUI/windows/window/ApplicationWindow.qml,sha256=qG3nnUQ5oOZPMg-1WCmJuZOuk5ZXomqMvWKnQcVA9Jg,193
94
94
  RinUI/windows/window/Window.qml,sha256=d88Y0C3-IZfWQkVxAw-9BylrDWLO7Q3VFarLPqHE_Po,3471
95
- rinui-0.0.9.data/data/LICENSE,sha256=5tTvyBFn2yeDG5EfIkn4FRJKHXNKRomDVGxssfzXtqg,1084
96
- rinui-0.0.9.data/data/README.md,sha256=4stfXy-NJl9PVKzPrLKGC0Id7Cqmo9nnvbmkYAYugi0,2999
97
- rinui-0.0.9.dist-info/LICENSE,sha256=5tTvyBFn2yeDG5EfIkn4FRJKHXNKRomDVGxssfzXtqg,1084
98
- rinui-0.0.9.dist-info/METADATA,sha256=y3-ror3R2Ip2No1G1cW-PBLYnqAr6-HFgN1SJ23N2Vo,3537
99
- rinui-0.0.9.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
100
- rinui-0.0.9.dist-info/entry_points.txt,sha256=taxuZYCggoQa2LPubwcurQYRjBRC4cNYOjWaqOYZVxw,54
101
- rinui-0.0.9.dist-info/top_level.txt,sha256=vKKjXBXEw5OFRIzTxZWUC5ZOj0CK5e3atbymBB4eJ6w,6
102
- rinui-0.0.9.dist-info/RECORD,,
95
+ rinui-0.0.9.post1.data/data/LICENSE,sha256=5tTvyBFn2yeDG5EfIkn4FRJKHXNKRomDVGxssfzXtqg,1084
96
+ rinui-0.0.9.post1.data/data/README.md,sha256=VnNTI4srbkQhwDyZkkLkG3y_QbKgI2eN0slsuFKGV8g,3053
97
+ rinui-0.0.9.post1.dist-info/LICENSE,sha256=5tTvyBFn2yeDG5EfIkn4FRJKHXNKRomDVGxssfzXtqg,1084
98
+ rinui-0.0.9.post1.dist-info/METADATA,sha256=jbTYQQIuCYOMpjJrC4QXh6EFSjwa7rY84z4s1q8Qmxg,3597
99
+ rinui-0.0.9.post1.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
100
+ rinui-0.0.9.post1.dist-info/entry_points.txt,sha256=taxuZYCggoQa2LPubwcurQYRjBRC4cNYOjWaqOYZVxw,54
101
+ rinui-0.0.9.post1.dist-info/top_level.txt,sha256=vKKjXBXEw5OFRIzTxZWUC5ZOj0CK5e3atbymBB4eJ6w,6
102
+ rinui-0.0.9.post1.dist-info/RECORD,,