Plugins/WizardPlugins/ColorDialogWizard/ColorDialogWizardDialog.py

changeset 3366
6084bb3c3911
parent 3190
a9a94491c4fd
child 3484
645c12de6b0c
equal deleted inserted replaced
3364:5dafcc891579 3366:6084bb3c3911
33 super().__init__(parent) 33 super().__init__(parent)
34 self.setupUi(self) 34 self.setupUi(self)
35 35
36 self.bTest = self.buttonBox.addButton( 36 self.bTest = self.buttonBox.addButton(
37 self.tr("Test"), QDialogButtonBox.ActionRole) 37 self.tr("Test"), QDialogButtonBox.ActionRole)
38
39 msh = self.minimumSizeHint()
40 self.resize(max(self.width(), msh.width()), msh.height())
38 41
39 def on_buttonBox_clicked(self, button): 42 def on_buttonBox_clicked(self, button):
40 """ 43 """
41 Private slot called by a button of the button box clicked. 44 Private slot called by a button of the button box clicked.
42 45

eric ide

mercurial