提交 fd1b7421 编写于 作者: 之一Yo's avatar 之一Yo

更新添加支持按钮

上级 f2c9fea9
......@@ -67,7 +67,7 @@ python demo.py
> 推荐在虚拟环境中安装 pyqt5-tools 和 PyQt-Fluent-Widgets,并确保 PyQt5-Frameless-Window 的版本号 >= 0.2.7,不然可能出现各种奇怪的问题。
## 支持💖
如果您正在使用这个项目并感觉良好,或者是想支持我继续开发,可以通过 [爱发电](https://afdian.net/a/zhiyiYo) 或者 [ko-fi](https://ko-fi.com/zhiyiYo) 请我喝一杯奶茶。非常感谢您的支持与鼓励 🥰
如果您正在使用这个项目并感觉良好,或者是想支持我继续开发,可以通过 [爱发电](https://afdian.net/a/zhiyiYo) 或者 [ko-fi](https://ko-fi.com/zhiyiYo) 请我喝一杯奶茶,还能获得相应的奖励哦😊。非常感谢您的支持与鼓励 🥰
## 加入我们🚩
可以在 [ Discord ](https://discord.gg/mYZME3wraK) 上和我们一起交流探讨,分享自己对这个组件库的新发现和新想法 🚀
......
......@@ -29,7 +29,7 @@ msgid ""
"If this project helps you a lot and you want to support the development "
"and maintenance of this project, feel free to sponsor me via 爱发电 or ko-"
"fi. Your support is highly appreciated 🥰"
msgstr "如果您正在使用这个项目并感觉良好,或者是想支持我继续开发,可以通过 [爱发电](https://afdian.net/a/zhiyiYo) 或者 [ko-fi](https://ko-fi.com/zhiyiYo) 请我喝一杯奶茶。非常感谢您的支持与鼓励 🥰"
msgstr "如果您正在使用这个项目并感觉良好,或者是想支持我继续开发,可以通过 [爱发电](https://afdian.net/a/zhiyiYo) 或者 [ko-fi](https://ko-fi.com/zhiyiYo) 请我喝一杯奶茶,还能获得相应的奖励噢。非常感谢您的支持与鼓励 🥰"
#: ../../source/support.md:4 4a96b52a6da745bb8a874850790eb6d4
msgid "Sponsors"
......
......@@ -6,6 +6,7 @@ class SignalBus(QObject):
""" Signal bus """
switchToSampleCard = pyqtSignal(str, int)
supportSignal = pyqtSignal()
signalBus = SignalBus()
\ No newline at end of file
......@@ -263,7 +263,7 @@
<context>
<name>ExampleCard</name>
<message>
<location filename="../../view/gallery_interface.py" line="87"/>
<location filename="../../view/gallery_interface.py" line="113"/>
<source>Source code</source>
<translation>源代码</translation>
</message>
......@@ -546,89 +546,89 @@
<context>
<name>MainWindow</name>
<message>
<location filename="../../view/main_window.py" line="119"/>
<location filename="../../view/main_window.py" line="120"/>
<source>Home</source>
<translation>主页</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="125"/>
<location filename="../../view/main_window.py" line="126"/>
<source>Basic input</source>
<translation>基本输入</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="129"/>
<location filename="../../view/main_window.py" line="130"/>
<source>Dialogs</source>
<translation>对话框</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="131"/>
<location filename="../../view/main_window.py" line="132"/>
<source>Layout</source>
<translation>布局</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="135"/>
<location filename="../../view/main_window.py" line="136"/>
<source>Menus</source>
<translation>菜单</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="133"/>
<location filename="../../view/main_window.py" line="134"/>
<source>Material</source>
<translation>材料</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="137"/>
<location filename="../../view/main_window.py" line="138"/>
<source>Scrolling</source>
<translation>滚动</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="139"/>
<location filename="../../view/main_window.py" line="140"/>
<source>Status &amp; info</source>
<translation>状态和信息</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="141"/>
<location filename="../../view/main_window.py" line="142"/>
<source>Text</source>
<translation>文本</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="121"/>
<location filename="../../view/main_window.py" line="122"/>
<source>Icons</source>
<translation>图标</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="143"/>
<location filename="../../view/main_window.py" line="144"/>
<source>View</source>
<translation>视图</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="153"/>
<location filename="../../view/main_window.py" line="154"/>
<source>Settings</source>
<translation>设置</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="127"/>
<location filename="../../view/main_window.py" line="128"/>
<source>Date &amp; time</source>
<translation>日期和时间</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="205"/>
<location filename="../../view/main_window.py" line="206"/>
<source>Sure</source>
<translation>来啦老弟</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="206"/>
<location filename="../../view/main_window.py" line="207"/>
<source>Cancel</source>
<translation>下次一定</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="200"/>
<location filename="../../view/main_window.py" line="201"/>
<source>Buy me a coffee</source>
<translation>请作者喝杯奶茶</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="200"/>
<location filename="../../view/main_window.py" line="201"/>
<source>If this project helps you a lot and you want to support the development and maintenance of this project, feel free to sponsor me. Your support is highly appreciated 🥰</source>
<translation>如果您正在使用这个项目并感觉良好或者是想支持作者继续开发您可以考虑请作者喝一杯奶茶非常感谢您的支持与鼓励 🥰</translation>
<translation>如果您正在使用这个项目并感觉良好或者是想支持作者继续开发您可以考虑请作者喝一杯奶茶还能获得相应的奖励哦😊非常感谢您的支持与鼓励 🥰</translation>
</message>
</context>
<context>
......@@ -1208,25 +1208,30 @@
<context>
<name>ToolBar</name>
<message>
<location filename="../../view/gallery_interface.py" line="21"/>
<location filename="../../view/gallery_interface.py" line="40"/>
<source>Documentation</source>
<translation>在线文档</translation>
</message>
<message>
<location filename="../../view/gallery_interface.py" line="23"/>
<location filename="../../view/gallery_interface.py" line="42"/>
<source>Source</source>
<translation>源代码</translation>
</message>
<message>
<location filename="../../view/gallery_interface.py" line="55"/>
<location filename="../../view/gallery_interface.py" line="79"/>
<source>Toggle theme</source>
<translation>切换主题</translation>
</message>
<message>
<location filename="../../view/gallery_interface.py" line="56"/>
<location filename="../../view/gallery_interface.py" line="81"/>
<source>Send feedback</source>
<translation>提供反馈</translation>
</message>
<message>
<location filename="../../view/gallery_interface.py" line="80"/>
<source>Support me</source>
<translation>支持作者🥰</translation>
</message>
</context>
<context>
<name>Translator</name>
......
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="zh_CN" sourcelanguage="en_US">
<TS version="2.1" language="zh_HK" sourcelanguage="en_US">
<context>
<name>BasicInputInterface</name>
<message>
......@@ -126,7 +126,7 @@
<message>
<location filename="../../view/basic_input_interface.py" line="99"/>
<source>Send</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location filename="../../view/basic_input_interface.py" line="100"/>
......@@ -209,7 +209,7 @@
<message>
<location filename="../../view/date_time_interface.py" line="41"/>
<source>A TimePicker using a 24-hour clock</source>
<translation>24 小時的時間選擇器</translation>
<translation>24 小時的時間選擇器</translation>
</message>
<message>
<location filename="../../view/date_time_interface.py" line="48"/>
......@@ -263,7 +263,7 @@
<context>
<name>ExampleCard</name>
<message>
<location filename="../../view/gallery_interface.py" line="87"/>
<location filename="../../view/gallery_interface.py" line="113"/>
<source>Source code</source>
<translation>源代碼</translation>
</message>
......@@ -329,7 +329,7 @@
<message>
<location filename="../../view/layout_interface.py" line="38"/>
<source>Killer Queen</source>
<translation>殺手皇💀</translation>
<translation>殺手皇💀</translation>
</message>
<message>
<location filename="../../view/layout_interface.py" line="39"/>
......@@ -357,7 +357,7 @@
<message>
<location filename="../../view/icon_interface.py" line="21"/>
<source>Search icons</source>
<translation>索圖標</translation>
<translation>索圖標</translation>
</message>
</context>
<context>
......@@ -460,7 +460,7 @@
<message>
<location filename="../../view/view_interface.py" line="85"/>
<source>Scary Monster</source>
<translation>駭人</translation>
<translation>駭人</translation>
</message>
<message>
<location filename="../../view/view_interface.py" line="85"/>
......@@ -510,7 +510,7 @@
<message>
<location filename="../../view/view_interface.py" line="90"/>
<source>Wonder of U</source>
<translation>於你</translation>
<translation>於你</translation>
</message>
<message>
<location filename="../../view/view_interface.py" line="90"/>
......@@ -540,95 +540,95 @@
<message>
<location filename="../../view/view_interface.py" line="79"/>
<source>Killer Queen</source>
<translation>殺手皇💀</translation>
<translation>殺手皇💀</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../../view/main_window.py" line="119"/>
<location filename="../../view/main_window.py" line="120"/>
<source>Home</source>
<translation>主頁</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="125"/>
<location filename="../../view/main_window.py" line="126"/>
<source>Basic input</source>
<translation>基本輸入</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="129"/>
<location filename="../../view/main_window.py" line="130"/>
<source>Dialogs</source>
<translation>對話框</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="131"/>
<location filename="../../view/main_window.py" line="132"/>
<source>Layout</source>
<translation>佈局</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="135"/>
<location filename="../../view/main_window.py" line="136"/>
<source>Menus</source>
<translation>菜單</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="133"/>
<location filename="../../view/main_window.py" line="134"/>
<source>Material</source>
<translation>材料</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="137"/>
<location filename="../../view/main_window.py" line="138"/>
<source>Scrolling</source>
<translation>滾動</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="139"/>
<location filename="../../view/main_window.py" line="140"/>
<source>Status &amp; info</source>
<translation>狀態和信息</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="141"/>
<location filename="../../view/main_window.py" line="142"/>
<source>Text</source>
<translation>文本</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="121"/>
<location filename="../../view/main_window.py" line="122"/>
<source>Icons</source>
<translation>圖標</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="143"/>
<location filename="../../view/main_window.py" line="144"/>
<source>View</source>
<translation>視圖</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="153"/>
<location filename="../../view/main_window.py" line="154"/>
<source>Settings</source>
<translation>設置</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="127"/>
<location filename="../../view/main_window.py" line="128"/>
<source>Date &amp; time</source>
<translation>日期和時間</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="205"/>
<location filename="../../view/main_window.py" line="206"/>
<source>Sure</source>
<translation>來啦老弟</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="206"/>
<location filename="../../view/main_window.py" line="207"/>
<source>Cancel</source>
<translation>下次一定</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="200"/>
<location filename="../../view/main_window.py" line="201"/>
<source>Buy me a coffee</source>
<translation>請作者喝奶茶</translation>
<translation>請作者喝奶茶</translation>
</message>
<message>
<location filename="../../view/main_window.py" line="200"/>
<location filename="../../view/main_window.py" line="201"/>
<source>If this project helps you a lot and you want to support the development and maintenance of this project, feel free to sponsor me. Your support is highly appreciated 🥰</source>
<translation>如果您正在使用這個項目並感覺良好或者是想支持作者繼續開您可以考慮請作者喝一杯奶茶非常感謝您的支持與鼓勵 🥰</translation>
<translation>如果您正在使用這個項目並感覺良好或者是想支持作者繼續開您可以考慮請作者喝一盃奶茶還能獲得相應的獎勵哦 😊。非常感謝您的支持與鼓勵 🥰</translation>
</message>
</context>
<context>
......@@ -803,7 +803,7 @@
<message>
<location filename="../../view/setting_interface.py" line="85"/>
<source>Use system setting</source>
<translation>跟隨統設置</translation>
<translation>跟隨統設置</translation>
</message>
<message>
<location filename="../../view/setting_interface.py" line="67"/>
......@@ -818,7 +818,7 @@
<message>
<location filename="../../view/setting_interface.py" line="74"/>
<source>Interface zoom</source>
<translation>縮放</translation>
<translation>縮放</translation>
</message>
<message>
<location filename="../../view/setting_interface.py" line="74"/>
......@@ -833,7 +833,7 @@
<message>
<location filename="../../view/setting_interface.py" line="85"/>
<source>Set your preferred language for UI</source>
<translation>選擇界所使用的語言</translation>
<translation>選擇界所使用的語言</translation>
</message>
<message>
<location filename="../../view/setting_interface.py" line="95"/>
......@@ -858,12 +858,12 @@
<message>
<location filename="../../view/setting_interface.py" line="108"/>
<source>Check for updates when the application starts</source>
<translation>在應用程序動時檢查更新</translation>
<translation>在應用程序動時檢查更新</translation>
</message>
<message>
<location filename="../../view/setting_interface.py" line="108"/>
<source>The new version will be more stable and have more features</source>
<translation>新版本將更加穩定並擁有更多功能建議用此選項</translation>
<translation>新版本將更加穩定並擁有更多功能建議用此選項</translation>
</message>
<message>
<location filename="../../view/setting_interface.py" line="134"/>
......@@ -873,7 +873,7 @@
<message>
<location filename="../../view/setting_interface.py" line="118"/>
<source>Open help page</source>
<translation>打開幫助頁</translation>
<translation>打開幫助頁</translation>
</message>
<message>
<location filename="../../view/setting_interface.py" line="118"/>
......@@ -883,7 +883,7 @@
<message>
<location filename="../../view/setting_interface.py" line="118"/>
<source>Discover new features and learn useful tips about PyQt-Fluent-Widgets</source>
<translation>現新功能並瞭解有關 PyQt-Fluent-Widgets 的使用技巧</translation>
<translation>現新功能並瞭解有關 PyQt-Fluent-Widgets 的使用技巧</translation>
</message>
<message>
<location filename="../../view/setting_interface.py" line="127"/>
......@@ -913,7 +913,7 @@
<message>
<location filename="../../view/setting_interface.py" line="192"/>
<source>Configuration takes effect after restart</source>
<translation>配置在重軟件後生效</translation>
<translation>配置在重軟件後生效</translation>
</message>
<message>
<location filename="../../view/setting_interface.py" line="192"/>
......@@ -966,7 +966,7 @@
<message>
<location filename="../../view/status_info_interface.py" line="179"/>
<source>Please wait patiently</source>
<translation>心急吃不了熱請耐心等待哦~</translation>
<translation>心急吃不了熱請耐心等待哦~</translation>
</message>
<message>
<location filename="../../view/status_info_interface.py" line="181"/>
......@@ -1031,7 +1031,7 @@
<message>
<location filename="../../view/status_info_interface.py" line="75"/>
<source>My name is kira yoshikake, 33 years old. Living in the villa area northeast of duwangting, unmarried. I work in Guiyou chain store. Every day I have to work overtime until 8 p.m. to go home. I don&apos;t smoke. The wine is only for a taste. Sleep at 11 p.m. for 8 hours a day. Before I go to bed, I must drink a cup of warm milk, then do 20 minutes of soft exercise, get on the bed, and immediately fall asleep. Never leave fatigue and stress until the next day. Doctors say I&apos;m normal.</source>
<translation>我的名字是吉良吉影年齡33歲家住杜王町東北部別墅區未婚我在龜友百貨連鎖公司上班每天最晚也是八點前回家不吸煙酒也是淺嘗輒止晚上十一點上牀保證八個小時的充足睡眠睡前喝一杯熱牛奶再做二十分鐘伸展運動暖身然後再睡覺基本可以熟睡到天亮像嬰兒一樣不留下疲勞與壓力迎來第二天的早晨健康檢查結果也顯示我很健康我的意思是我是一個隨時都想追求平靜生活的人不拘泥於勝負與煩惱不樹立令我夜不能寐的敵人這就是我對於這個社會的生活態度我也清楚這就是我的幸福</translation>
<translation>我的名字是吉良吉影年齡33歲家住杜王町東北部別墅區未婚我在龜友百貨連鎖公司上班每天最晚也是八點前回家不吸煙酒也是淺嚐輒止晚上十一點上牀保証八個小時的充足睡眠睡前喝一盃熱牛奶再做二十分鐘伸展運動暖身然後再睡覺基本可以熟睡到天亮像嬰兒一樣不留下疲勞與壓力迎來第二天的早晨健康檢查結果也顯示我很健康我的意思是我是一個隨時都想追求平靜生活的人不拘泥於勝負與煩惱不樹立令我夜不能寐的敵人這就是我對於這個社會的生活態度我也清楚這就是我的幸福</translation>
</message>
<message>
<location filename="../../view/status_info_interface.py" line="186"/>
......@@ -1041,18 +1041,13 @@
<message>
<location filename="../../view/status_info_interface.py" line="186"/>
<source>Believe in the spin, just keep believing!</source>
<translation>相信迴旋吧管相信就是了</translation>
<translation>相信迴旋吧管相信就是了</translation>
</message>
<message>
<location filename="../../view/status_info_interface.py" line="198"/>
<source>With respect, let&apos;s advance towards a new stage of the spin.</source>
<translation>表達敬意吧表達出敬意然後邁向迴旋的另一個全新階段</translation>
</message>
<message>
<location filename="../../view/status_info_interface.py" line="209"/>
<source>迂迴路を行けば最短ルート</source>
<translation>最短的捷徑就是繞遠路繞遠路才是我的最短捷徑</translation>
</message>
<message>
<location filename="../../view/status_info_interface.py" line="220"/>
<source>An error message which won&apos;t disappear automatically.</source>
......@@ -1133,6 +1128,11 @@
<source>An determinate progress ring</source>
<translation>確定的圓形進度條</translation>
</message>
<message>
<location filename="../../view/status_info_interface.py" line="209"/>
<source>迂回路を行けば最短ルート</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>TableFrame</name>
......@@ -1208,25 +1208,30 @@
<context>
<name>ToolBar</name>
<message>
<location filename="../../view/gallery_interface.py" line="21"/>
<location filename="../../view/gallery_interface.py" line="40"/>
<source>Documentation</source>
<translation>在線文檔</translation>
</message>
<message>
<location filename="../../view/gallery_interface.py" line="23"/>
<location filename="../../view/gallery_interface.py" line="42"/>
<source>Source</source>
<translation>源代碼</translation>
</message>
<message>
<location filename="../../view/gallery_interface.py" line="55"/>
<location filename="../../view/gallery_interface.py" line="79"/>
<source>Toggle theme</source>
<translation>切換主題</translation>
</message>
<message>
<location filename="../../view/gallery_interface.py" line="56"/>
<location filename="../../view/gallery_interface.py" line="81"/>
<source>Send feedback</source>
<translation>提供反饋</translation>
</message>
<message>
<location filename="../../view/gallery_interface.py" line="80"/>
<source>Support me</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Translator</name>
......@@ -1301,7 +1306,7 @@
<message>
<location filename="../../view/view_interface.py" line="108"/>
<source>Dio Brando</source>
<translation>迪奧·蘭度</translation>
<translation>迪奧·蘭度</translation>
</message>
<message>
<location filename="../../view/view_interface.py" line="108"/>
......@@ -1329,7 +1334,7 @@
<message>
<location filename="../../view/view_interface.py" line="46"/>
<source>A TreeView with Multi-selection enabled</source>
<translation>用複選框的樹狀組件</translation>
<translation>用複選框的樹狀組件</translation>
</message>
<message>
<location filename="../../view/view_interface.py" line="31"/>
......
# coding:utf-8
from PyQt5.QtCore import Qt, pyqtSignal, QUrl, QEvent
from PyQt5.QtGui import QDesktopServices
from PyQt5.QtGui import QDesktopServices, QPainter, QPen, QColor
from PyQt5.QtWidgets import QWidget, QLabel, QVBoxLayout, QHBoxLayout, QFrame
from qfluentwidgets import (ScrollArea, PushButton, ToolButton, FluentIcon,
isDarkTheme, IconWidget, Theme, ToolTipFilter)
from ..common.icon import Icon
from ..common.config import cfg, FEEDBACK_URL, HELP_URL, EXAMPLE_URL
from ..common.icon import Icon
from ..common.style_sheet import StyleSheet
from ..common.signal_bus import signalBus
class SeparatorWidget(QWidget):
""" Seperator widget """
def __init__(self, parent=None):
super().__init__(parent=parent)
self.setFixedSize(6, 16)
def paintEvent(self, e):
painter = QPainter(self)
pen = QPen(1)
pen.setCosmetic(True)
c = QColor(255, 255, 255, 21) if isDarkTheme() else QColor(0, 0, 0, 15)
pen.setColor(c)
painter.setPen(pen)
x = self.width() // 2
painter.drawLine(x, 0, x, self.height())
class ToolBar(QWidget):
......@@ -22,6 +42,8 @@ class ToolBar(QWidget):
self.tr('Documentation'), self, FluentIcon.DOCUMENT)
self.sourceButton = PushButton(self.tr('Source'), self, FluentIcon.GITHUB)
self.themeButton = ToolButton(FluentIcon.CONSTRACT, self)
self.separator = SeparatorWidget(self)
self.supportButton = ToolButton(FluentIcon.HEART, self)
self.feedbackButton = ToolButton(FluentIcon.FEEDBACK, self)
self.vBoxLayout = QVBoxLayout(self)
......@@ -46,19 +68,24 @@ class ToolBar(QWidget):
self.buttonLayout.addWidget(self.sourceButton, 0, Qt.AlignLeft)
self.buttonLayout.addStretch(1)
self.buttonLayout.addWidget(self.themeButton, 0, Qt.AlignRight)
self.buttonLayout.addWidget(self.separator, 0, Qt.AlignRight)
self.buttonLayout.addWidget(self.supportButton, 0, Qt.AlignRight)
self.buttonLayout.addWidget(self.feedbackButton, 0, Qt.AlignRight)
self.buttonLayout.setAlignment(Qt.AlignVCenter | Qt.AlignLeft)
self.themeButton.installEventFilter(ToolTipFilter(self.themeButton))
self.supportButton.installEventFilter(ToolTipFilter(self.supportButton))
self.feedbackButton.installEventFilter(
ToolTipFilter(self.feedbackButton))
self.themeButton.setToolTip(self.tr('Toggle theme'))
self.supportButton.setToolTip(self.tr('Support me'))
self.feedbackButton.setToolTip(self.tr('Send feedback'))
self.titleLabel.setObjectName('titleLabel')
self.subtitleLabel.setObjectName('subtitleLabel')
self.themeButton.clicked.connect(self.toggleTheme)
self.supportButton.clicked.connect(signalBus.supportSignal)
self.documentButton.clicked.connect(
lambda: QDesktopServices.openUrl(QUrl(HELP_URL)))
self.sourceButton.clicked.connect(
......
......@@ -109,6 +109,7 @@ class MainWindow(FramelessWindow):
self.widgetLayout.setContentsMargins(0, 48, 0, 0)
signalBus.switchToSampleCard.connect(self.switchToSample)
signalBus.supportSignal.connect(self.showMessageBox)
self.navigationInterface.displayModeChanged.connect(
self.titleBar.raise_)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册