76 self.filterComboBox.addItem( |
76 self.filterComboBox.addItem( |
77 self.tr("Interface Files"), "INTERFACES") |
77 self.tr("Interface Files"), "INTERFACES") |
78 self.filterComboBox.addItem( |
78 self.filterComboBox.addItem( |
79 self.tr("Other Files (*)"), "OTHERS") |
79 self.tr("Other Files (*)"), "OTHERS") |
80 self.filterComboBox.setCurrentIndex(0) |
80 self.filterComboBox.setCurrentIndex(0) |
|
81 |
|
82 msh = self.minimumSizeHint() |
|
83 self.resize(max(self.width(), msh.width()), msh.height()) |
81 |
84 |
82 @pyqtSlot(str) |
85 @pyqtSlot(str) |
83 def on_filterComboBox_highlighted(self, fileType): |
86 def on_filterComboBox_highlighted(self, fileType): |
84 """ |
87 """ |
85 Private slot to handle the selection of a file type. |
88 Private slot to handle the selection of a file type. |