diff --git a/usr/share/aiassistant/mainwin.py b/usr/share/aiassistant/mainwin.py index 8553339e7f8f3699d70aaa44ea30d7952ad687a5..a1a4c0eaac896c313d5e838df93a0b57a146d2f5 100644 --- a/usr/share/aiassistant/mainwin.py +++ b/usr/share/aiassistant/mainwin.py @@ -98,8 +98,7 @@ class ShadowWindow(QWidget): ) home_btn.setFixedSize(24, 24) title_layout.addWidget(home_btn) - - + # setting_ button setting_btn = QPushButton(title) setting_btn.setIcon(QIcon('./data/icon_setting.png')) @@ -114,7 +113,9 @@ class ShadowWindow(QWidget): menu = SettingMenu(self) - menu.addAction("显示模式") + sub_menu = menu.addMenu("显示模式") + sub_menu.addAction("窗口模式") + sub_menu.addAction("侧边栏模式") menu.addAction("设置") menu.addSeparator() menu.addAction("关于")