sus
This commit is contained in:
@@ -13,6 +13,7 @@ from app.view.ownFiled_interface import OwnFiledInterface
|
||||
from app.view.setting_interface import SettingInterface
|
||||
from app.view.storagespace_interface import StoragespaceInterface
|
||||
from app.view.task_interface import TaskInterface
|
||||
from app.view.share_interface import ShareInterface
|
||||
from app.view.widgets.custom_fluent_window import CustomFluentWindow
|
||||
from app.view.widgets.preview_box import OptimizedPreviewBox, PreviewTextBox
|
||||
from app.view.widgets.share_folder_messageBox import ShareFolderMessageBox
|
||||
@@ -28,6 +29,7 @@ class MainWindow(CustomFluentWindow):
|
||||
self.ownFiledInterface = OwnFiledInterface(self)
|
||||
self.storagespaceInterface = StoragespaceInterface(self)
|
||||
self.taskInterface = TaskInterface(self)
|
||||
self.shareInterface = ShareInterface(self)
|
||||
self.appInfoInterface = AppInfoInterface(self)
|
||||
|
||||
self.connectSignalToSlot()
|
||||
@@ -60,6 +62,7 @@ class MainWindow(CustomFluentWindow):
|
||||
self.storagespaceInterface.objectName(), lang("存储配额")
|
||||
)
|
||||
self.navigationInterface.setItemText(self.taskInterface.objectName(), lang("任务管理"))
|
||||
self.navigationInterface.setItemText(self.shareInterface.objectName(), lang("我的分享"))
|
||||
self.navigationInterface.setItemText(self.appInfoInterface.objectName(), lang("应用信息"))
|
||||
|
||||
def initNavigation(self):
|
||||
@@ -85,6 +88,13 @@ class MainWindow(CustomFluentWindow):
|
||||
lang("任务管理"),
|
||||
position=NavigationItemPosition.TOP,
|
||||
)
|
||||
|
||||
self.addSubInterface(
|
||||
self.shareInterface,
|
||||
FluentIcon.SHARE,
|
||||
lang("我的分享"),
|
||||
position=NavigationItemPosition.TOP,
|
||||
)
|
||||
|
||||
self.addSubInterface(
|
||||
self.appInfoInterface,
|
||||
|
||||
Reference in New Issue
Block a user