40 try: |
40 try: |
41 import yaml # __IGNORE_WARNING__ |
41 import yaml # __IGNORE_WARNING__ |
42 self.formatCombo.addItem(self.trUtf8("YAML"), "yaml") |
42 self.formatCombo.addItem(self.trUtf8("YAML"), "yaml") |
43 except ImportError: |
43 except ImportError: |
44 pass |
44 pass |
|
45 |
|
46 msh = self.minimumSizeHint() |
|
47 self.resize(max(self.width(), msh.width()), msh.height()) |
45 |
48 |
46 def getData(self): |
49 def getData(self): |
47 """ |
50 """ |
48 Public method to get the data entered into the dialog. |
51 Public method to get the data entered into the dialog. |
49 |
52 |