57 @pyqtSlot() |
57 @pyqtSlot() |
58 def on_qt4Button_clicked(self): |
58 def on_qt4Button_clicked(self): |
59 """ |
59 """ |
60 Private slot to handle the Qt4 directory selection. |
60 Private slot to handle the Qt4 directory selection. |
61 """ |
61 """ |
62 dir = QFileDialog.getExistingDirectory(\ |
62 dir = QFileDialog.getExistingDirectory( |
63 self, |
63 self, |
64 self.trUtf8("Select Qt4 Directory"), |
64 self.trUtf8("Select Qt4 Directory"), |
65 self.qt4Edit.text(), |
65 self.qt4Edit.text(), |
66 QFileDialog.Options(QFileDialog.ShowDirsOnly)) |
66 QFileDialog.Options(QFileDialog.ShowDirsOnly)) |
67 |
67 |
71 @pyqtSlot() |
71 @pyqtSlot() |
72 def on_qt4TransButton_clicked(self): |
72 def on_qt4TransButton_clicked(self): |
73 """ |
73 """ |
74 Private slot to handle the Qt4 translations directory selection. |
74 Private slot to handle the Qt4 translations directory selection. |
75 """ |
75 """ |
76 dir = QFileDialog.getExistingDirectory(\ |
76 dir = QFileDialog.getExistingDirectory( |
77 self, |
77 self, |
78 self.trUtf8("Select Qt4 Translations Directory"), |
78 self.trUtf8("Select Qt4 Translations Directory"), |
79 self.qt4TransEdit.text(), |
79 self.qt4TransEdit.text(), |
80 QFileDialog.Options(QFileDialog.ShowDirsOnly)) |
80 QFileDialog.Options(QFileDialog.ShowDirsOnly)) |
81 |
81 |