eric6/Plugins/WizardPlugins/FontDialogWizard/FontDialogWizardDialog.py

changeset 8143
2c730d5fd177
parent 7923
91e843545d9a
child 8218
7c09585bd960
equal deleted inserted replaced
8141:27f636beebad 8143:2c730d5fd177
30 """ 30 """
31 super(FontDialogWizardDialog, self).__init__(parent) 31 super(FontDialogWizardDialog, self).__init__(parent)
32 self.setupUi(self) 32 self.setupUi(self)
33 33
34 self.bTest = self.buttonBox.addButton( 34 self.bTest = self.buttonBox.addButton(
35 self.tr("Test"), QDialogButtonBox.ActionRole) 35 self.tr("Test"), QDialogButtonBox.ButtonRole.ActionRole)
36 36
37 self.font = None 37 self.font = None
38 38
39 msh = self.minimumSizeHint() 39 msh = self.minimumSizeHint()
40 self.resize(max(self.width(), msh.width()), msh.height()) 40 self.resize(max(self.width(), msh.width()), msh.height())

eric ide

mercurial