Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
k54kdk
PyQt Fluent Widgets
提交
fb8b2762
P
PyQt Fluent Widgets
项目概览
k54kdk
/
PyQt Fluent Widgets
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PyQt Fluent Widgets
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
fb8b2762
编写于
3月 29, 2023
作者:
之一Yo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新文档
上级
63a42fa9
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
11 addition
and
11 deletion
+11
-11
docs/locales/zh_CN/LC_MESSAGES/index.mo
docs/locales/zh_CN/LC_MESSAGES/index.mo
+0
-0
docs/locales/zh_CN/LC_MESSAGES/index.po
docs/locales/zh_CN/LC_MESSAGES/index.po
+1
-1
docs/locales/zh_CN/LC_MESSAGES/navigation.mo
docs/locales/zh_CN/LC_MESSAGES/navigation.mo
+0
-0
docs/locales/zh_CN/LC_MESSAGES/navigation.po
docs/locales/zh_CN/LC_MESSAGES/navigation.po
+3
-3
docs/locales/zh_CN/LC_MESSAGES/quick-start.mo
docs/locales/zh_CN/LC_MESSAGES/quick-start.mo
+0
-0
docs/locales/zh_CN/LC_MESSAGES/quick-start.po
docs/locales/zh_CN/LC_MESSAGES/quick-start.po
+1
-1
docs/locales/zh_CN/LC_MESSAGES/settings.mo
docs/locales/zh_CN/LC_MESSAGES/settings.mo
+0
-0
docs/locales/zh_CN/LC_MESSAGES/settings.po
docs/locales/zh_CN/LC_MESSAGES/settings.po
+4
-4
docs/locales/zh_CN/LC_MESSAGES/theme.mo
docs/locales/zh_CN/LC_MESSAGES/theme.mo
+0
-0
docs/locales/zh_CN/LC_MESSAGES/theme.po
docs/locales/zh_CN/LC_MESSAGES/theme.po
+2
-2
未找到文件。
docs/locales/zh_CN/LC_MESSAGES/index.mo
浏览文件 @
fb8b2762
无法预览此类型文件
docs/locales/zh_CN/LC_MESSAGES/index.po
浏览文件 @
fb8b2762
...
...
@@ -32,5 +32,5 @@ msgstr "欢迎来到 PyQt-Fluent-Widgets 帮助文档!"
msgid ""
"This document will show you all the features of PyQt-Fluent-Widgets and "
"the best practice of it."
msgstr "这份文档将
向你展示 PyQt-Fluent-Widgets 的全部特性和最佳实践。
"
msgstr "这份文档将
展示 PyQt-Fluent-Widgets 的全部特性和正确使用姿势 🚀
"
docs/locales/zh_CN/LC_MESSAGES/navigation.mo
浏览文件 @
fb8b2762
无法预览此类型文件
docs/locales/zh_CN/LC_MESSAGES/navigation.po
浏览文件 @
fb8b2762
...
...
@@ -33,7 +33,7 @@ msgid ""
"PyQt Fluent Widgets provides a side navigation class NavigationInterface."
" You can use it with QStackWidget and put them in QHBoxLayout. Examples "
"are available at navigation2."
msgstr "PyQt-Fluent-Widgets 提供侧边导航类 `NavigationInterface`,
你
可以将它和 `QStackWidget` 放在 `QHBoxLayout` 中。示例程序参见 [navigation2](https://github.com/zhiyiYo/PyQt-Fluent-Widgets/tree/master/examples/navigation2)"
msgstr "PyQt-Fluent-Widgets 提供侧边导航类 `NavigationInterface`,可以将它和 `QStackWidget` 放在 `QHBoxLayout` 中。示例程序参见 [navigation2](https://github.com/zhiyiYo/PyQt-Fluent-Widgets/tree/master/examples/navigation2)"
#: ../../source/navigation.md:8 5c57ef2be90248b9a3f1e009604a4186
msgid ""
...
...
@@ -51,7 +51,7 @@ msgid ""
"NavigationWidget and rewrite its paintEvent() and "
"setCompacted()(optional). Here an example shows how to create an avatar "
"item."
msgstr "如果
你想自定义一个导航项,可以定义一个 `NavigationWidget` 的子类并实现它的 `paintEvent()` 和 `setCompacted()`(可选) 方法。下面是一个简单例子,展示了如何定义一个
头像导航项:"
msgstr "如果
希望自定义一个导航项,可以创建 `NavigationWidget` 的子类并实现它的 `paintEvent()` 和 `setCompacted()`(可选) 方法。下面是一个简单例子,展示了如何定义
头像导航项:"
#: ../../source/navigation.md:53 806c4ccf0eee4d70b04adb32285a0112
msgid ""
...
...
@@ -138,7 +138,7 @@ msgstr "`NavigationDisplayMode.MENU`:展开的导航菜单(当窗口窗口
msgid ""
"NavigationDisplayMode.MINIMAL: Only a menu button on small window widths "
"(you should add and manage the menu button to main window by yourself)."
msgstr "`NavigationDisplayMode.MINIMAL`:只显示一个菜单按钮。
你
应该自己创建并管理菜单按钮和 `NavigationPanel`,然后将菜单按钮的点击信号连接到 `NavigationPanel.toggle()` 函数上。"
msgstr "`NavigationDisplayMode.MINIMAL`:只显示一个菜单按钮。
在这种显示模式下,
应该自己创建并管理菜单按钮和 `NavigationPanel`,然后将菜单按钮的点击信号连接到 `NavigationPanel.toggle()` 函数上。"
#: ../../source/navigation.md:84 d43aacaf91354d439d3ff15b48fb1313
msgid ""
...
...
docs/locales/zh_CN/LC_MESSAGES/quick-start.mo
浏览文件 @
fb8b2762
无法预览此类型文件
docs/locales/zh_CN/LC_MESSAGES/quick-start.po
浏览文件 @
fb8b2762
...
...
@@ -44,5 +44,5 @@ msgstr "运行示例"
msgid ""
"After installing PyQt-Fluent-Widgets package using pip, you can run any "
"demo in the examples directory, for example:"
msgstr "使用 pip 安装好 PyQt-Fluent-Widgets 包之后,
你可以运行 examples
目录下的任意示例,比如:"
msgstr "使用 pip 安装好 PyQt-Fluent-Widgets 包之后,
就可以运行 [examples](https://github.com/zhiyiYo/PyQt-Fluent-Widgets/tree/master/examples)
目录下的任意示例,比如:"
docs/locales/zh_CN/LC_MESSAGES/settings.mo
浏览文件 @
fb8b2762
无法预览此类型文件
docs/locales/zh_CN/LC_MESSAGES/settings.po
浏览文件 @
fb8b2762
...
...
@@ -66,9 +66,9 @@ msgid ""
"item from config file. For example, you can use ColorSerializer to "
"serialize config items with QColor value type."
msgstr ""
"PyQt-Fluent-Widgets 使用 json 文件来保存配置,
由于
json 文件只支持字符串、布尔值、列表和字典,对于枚举类或者 "
"PyQt-Fluent-Widgets 使用 json 文件来保存配置,
而
json 文件只支持字符串、布尔值、列表和字典,对于枚举类或者 "
"`QColor`,无法直接将它们的值写入 json 文件中。为了解决这个问题,PyQt-Fluent-Widgets 提供了 "
"`ConfigSerializer` 类及其子类来序列化和反序列化配置项。举个栗子,
你
可以使用 `ColorSerializer` "
"`ConfigSerializer` 类及其子类来序列化和反序列化配置项。举个栗子,可以使用 `ColorSerializer` "
"来序列化值类型为 `QColor` 的配置项。"
#: ../../source/settings.md:11 7aff5d8231034bb0ad894d6108f4c807
...
...
@@ -80,7 +80,7 @@ msgid ""
"You should add config items to the class attribute of QConfig subclasss,"
" then use qconfig.load() to load config file, for example:"
msgstr ""
"
你
应该将 `ConfigItem` 的实例添加到 `QConfig` 子类的类属性中,然后使用 `qconfig.load()` "
"
为了正确读写配置项的值,
应该将 `ConfigItem` 的实例添加到 `QConfig` 子类的类属性中,然后使用 `qconfig.load()` "
"来加载配置文件。下面是一个简单的例子:"
#: ../../source/settings.md:89 e72ec71f16bb480585ed8e14e99d5015
...
...
@@ -96,7 +96,7 @@ msgid ""
"You can use SettingCardGroup.addSettingCard() to add a setting card to "
"the same group, and SettingCardGroup will adjust its layout automatically"
" based on the height of setting cards."
msgstr "
你可以使用
`SettingCardGroup.addSettingCard()` 将多个设置卡添加到同一个组中,`SettingCardGroup` 会根据设置卡的高度自动调整自己的布局。"
msgstr "
可以通过
`SettingCardGroup.addSettingCard()` 将多个设置卡添加到同一个组中,`SettingCardGroup` 会根据设置卡的高度自动调整自己的布局。"
#: ../../source/settings.md:146 793ebd8ec76445bfb7ecf053abc47866
msgid ""
...
...
docs/locales/zh_CN/LC_MESSAGES/theme.mo
浏览文件 @
fb8b2762
无法预览此类型文件
docs/locales/zh_CN/LC_MESSAGES/theme.po
浏览文件 @
fb8b2762
...
...
@@ -33,7 +33,7 @@ msgid ""
"You can use the setTheme() method to switch the light/dark theme of PyQt-"
"Fluent-Widgets. The parameter of setTheme() accepts the following three "
"values:"
msgstr "
你可以使用 `setTheme()` 函数来
切换 PyQt-Fluent-Widgets 全部组件的亮暗主题。该函数接受下述值:"
msgstr "
`setTheme()` 函数用于
切换 PyQt-Fluent-Widgets 全部组件的亮暗主题。该函数接受下述值:"
#: ../../source/theme.md:5 22d2a026a46540ab8f9e563ccc105b8d
msgid "Theme.LIGHT: Light theme"
...
...
@@ -67,7 +67,7 @@ msgid ""
"You can use setThemeColor() method to change the theme color of PyQt-"
"Fluent-Widgets. This method accepts the following three types of "
"parameters:"
msgstr "
你可以使用 `setThemeColor()` 函数来
修改全部组件的主题色。该函数接受三种类型的值:"
msgstr "
`setThemeColor()` 函数用于
修改全部组件的主题色。该函数接受三种类型的值:"
#: ../../source/theme.md:13 7d2529df9e784db9bcfe546662332984
msgid "QColor"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录