口头答辩界面
This commit is contained in:
@@ -26,6 +26,7 @@ from module.worker import DTGWorker
|
||||
from ui import MAIN_THEME_COLOR
|
||||
from ui.components.infobar import ProgressInfoBar
|
||||
from ui.components.widget import Widget, MyGroupHeaderCardWidget
|
||||
from ui.pyui.sub.defense import ODModeExportSettings, ODModeSettings
|
||||
from utils.function import open_template
|
||||
|
||||
|
||||
@@ -320,17 +321,17 @@ class DPMode(QWidget):
|
||||
self.errorSignal.emit(title, content)
|
||||
|
||||
|
||||
class DOMode(SimpleCardWidget):
|
||||
class DOMode(QWidget):
|
||||
def __init__(self, parent=None):
|
||||
super().__init__(parent)
|
||||
self.vbox = QVBoxLayout(self)
|
||||
self.vbox.setContentsMargins(0, 0, 0, 0)
|
||||
|
||||
self.label = DisplayLabel("🚧", self)
|
||||
self.label.setAlignment(Qt.AlignCenter)
|
||||
self.odSettings = ODModeSettings(self)
|
||||
self.odExportSettings = ODModeExportSettings(self)
|
||||
|
||||
self.vbox.addStretch(1)
|
||||
self.vbox.addWidget(self.label)
|
||||
self.vbox.addWidget(self.odSettings)
|
||||
self.vbox.addWidget(self.odExportSettings)
|
||||
self.vbox.addStretch(1)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user