Project/AddDirectoryDialog.py

changeset 3366
6084bb3c3911
parent 3190
a9a94491c4fd
child 3484
645c12de6b0c
equal deleted inserted replaced
3364:5dafcc891579 3366:6084bb3c3911
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.

eric ide

mercurial