Plugins/WizardPlugins/InputDialogWizard/InputDialogWizardDialog.py

changeset 3366
6084bb3c3911
parent 3190
a9a94491c4fd
child 3484
645c12de6b0c
equal deleted inserted replaced
3364:5dafcc891579 3366:6084bb3c3911
40 self.eDoubleTo.setValidator( 40 self.eDoubleTo.setValidator(
41 QDoubleValidator(-2147483647, 2147483647, 99, self.eDoubleTo)) 41 QDoubleValidator(-2147483647, 2147483647, 99, self.eDoubleTo))
42 42
43 self.bTest = self.buttonBox.addButton( 43 self.bTest = self.buttonBox.addButton(
44 self.tr("Test"), QDialogButtonBox.ActionRole) 44 self.tr("Test"), QDialogButtonBox.ActionRole)
45
46 msh = self.minimumSizeHint()
47 self.resize(max(self.width(), msh.width()), msh.height())
45 48
46 @pyqtSlot(bool) 49 @pyqtSlot(bool)
47 def on_rItem_toggled(self, checked): 50 def on_rItem_toggled(self, checked):
48 """ 51 """
49 Private slot to perform actions dependant on the item type selection. 52 Private slot to perform actions dependant on the item type selection.

eric ide

mercurial