Update ui.py (#136)

Add minimize and maximize button of window
This commit is contained in:
weida wang 2021-10-11 17:17:36 +08:00 committed by GitHub
parent e2017d0314
commit 81befb91b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -421,6 +421,8 @@ class UI(QDialog):
self.app = QApplication(sys.argv) self.app = QApplication(sys.argv)
super().__init__(None) super().__init__(None)
self.setWindowTitle("SV2TTS toolbox") self.setWindowTitle("SV2TTS toolbox")
self.setWindowFlag(Qt.WindowMinimizeButtonHint, True)
self.setWindowFlag(Qt.WindowMaximizeButtonHint, True)
## Main layouts ## Main layouts