完善提问模块

This commit is contained in:
2025-06-25 23:18:32 +08:00
parent 64f226c714
commit b845b5994a
6 changed files with 354 additions and 22 deletions

16
ui/components/window.py Normal file
View File

@@ -0,0 +1,16 @@
from PySide6.QtWidgets import QHBoxLayout
from qfluentwidgets import FluentTitleBar
from qfluentwidgets.window.fluent_window import FluentWindowBase
class MyWindow(FluentWindowBase):
def __init__(self, parent=None):
super().__init__(parent)
self.setTitleBar(FluentTitleBar(self))
self.widgetLayout = QHBoxLayout(self)
self.widgetLayout.setContentsMargins(0, 48, 0, 0)
self.hBoxLayout.addLayout(self.widgetLayout)
self.titleBar.raise_()
self.showMaximized()