ui_custom_dialog_base.py 1.4 KB

123456789101112131415161718192021222324252627282930313233
  1. # -*- coding: utf-8 -*-
  2. # Form implementation generated from reading ui file 'custom_dialog_base.ui'
  3. #
  4. # Created by: PyQt5 UI code generator 5.15.10
  5. #
  6. # WARNING: Any manual changes made to this file will be lost when pyuic5 is
  7. # run again. Do not edit this file unless you know what you are doing.
  8. from PyQt5 import QtCore, QtGui, QtWidgets
  9. class Ui_customDialogBase(object):
  10. def setupUi(self, customDialogBase):
  11. customDialogBase.setObjectName("customDialogBase")
  12. customDialogBase.resize(400, 300)
  13. self.button_box = QtWidgets.QDialogButtonBox(customDialogBase)
  14. self.button_box.setGeometry(QtCore.QRect(30, 240, 341, 32))
  15. self.button_box.setOrientation(QtCore.Qt.Horizontal)
  16. self.button_box.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok|QtWidgets.QDialogButtonBox.Save)
  17. self.button_box.setObjectName("button_box")
  18. self.retranslateUi(customDialogBase)
  19. self.button_box.accepted.connect(customDialogBase.accept) # type: ignore
  20. self.button_box.rejected.connect(customDialogBase.reject) # type: ignore
  21. QtCore.QMetaObject.connectSlotsByName(customDialogBase)
  22. def retranslateUi(self, customDialogBase):
  23. _translate = QtCore.QCoreApplication.translate
  24. customDialogBase.setWindowTitle(_translate("customDialogBase", "自定义工具"))