Plugins/VcsPlugins/vcsSubversion/SvnPropSetDialog.py

changeset 882
34b86be88bf0
parent 880
52ed20236a1c
child 945
8cd4d08fa9f6
child 1510
e75ecf2bd9dd
equal deleted inserted replaced
881:ff23d907f87b 882:34b86be88bf0
9 9
10 from PyQt4.QtCore import * 10 from PyQt4.QtCore import *
11 from PyQt4.QtGui import * 11 from PyQt4.QtGui import *
12 12
13 from E5Gui.E5Completers import E5FileCompleter 13 from E5Gui.E5Completers import E5FileCompleter
14 from E5Gui import E5FileDialog
14 15
15 from .Ui_SvnPropSetDialog import Ui_SvnPropSetDialog 16 from .Ui_SvnPropSetDialog import Ui_SvnPropSetDialog
16 17
17 import Utilities 18 import Utilities
18 19
34 @pyqtSlot() 35 @pyqtSlot()
35 def on_fileButton_clicked(self): 36 def on_fileButton_clicked(self):
36 """ 37 """
37 Private slot called by pressing the file selection button. 38 Private slot called by pressing the file selection button.
38 """ 39 """
39 fn = QFileDialog.getOpenFileName( 40 fn = E5FileDialog.getOpenFileName(
40 self, 41 self,
41 self.trUtf8("Select file for property"), 42 self.trUtf8("Select file for property"),
42 self.propFileEdit.text(), 43 self.propFileEdit.text(),
43 "", 44 "")
44 QFileDialog.DontUseNativeDialog)
45 45
46 if fn: 46 if fn:
47 self.propFileEdit.setText(Utilities.toNativeSeparators(fn)) 47 self.propFileEdit.setText(Utilities.toNativeSeparators(fn))
48 48
49 def getData(self): 49 def getData(self):

eric ide

mercurial