Project/DebuggerPropertiesDialog.py

changeset 3190
a9a94491c4fd
parent 3186
a05eff845522
child 3366
6084bb3c3911
equal deleted inserted replaced
3189:9a21c547de5f 3190:a9a94491c4fd
110 """ 110 """
111 Private slot to handle the interpreter selection. 111 Private slot to handle the interpreter selection.
112 """ 112 """
113 file = E5FileDialog.getOpenFileName( 113 file = E5FileDialog.getOpenFileName(
114 self, 114 self,
115 self.trUtf8("Select interpreter for Debug Client"), 115 self.tr("Select interpreter for Debug Client"),
116 self.interpreterEdit.text(), 116 self.interpreterEdit.text(),
117 "") 117 "")
118 118
119 if file: 119 if file:
120 self.interpreterEdit.setText(Utilities.toNativeSeparators(file)) 120 self.interpreterEdit.setText(Utilities.toNativeSeparators(file))
124 """ 124 """
125 Private slot to handle the Debug Client selection. 125 Private slot to handle the Debug Client selection.
126 """ 126 """
127 filters = self.project.dbgFilters[ 127 filters = self.project.dbgFilters[
128 self.project.pdata["PROGLANGUAGE"][0]] 128 self.project.pdata["PROGLANGUAGE"][0]]
129 filters += self.trUtf8("All Files (*)") 129 filters += self.tr("All Files (*)")
130 file = E5FileDialog.getOpenFileName( 130 file = E5FileDialog.getOpenFileName(
131 self, 131 self,
132 self.trUtf8("Select Debug Client"), 132 self.tr("Select Debug Client"),
133 self.debugClientEdit.text(), 133 self.debugClientEdit.text(),
134 filters) 134 filters)
135 135
136 if file: 136 if file:
137 self.debugClientEdit.setText(Utilities.toNativeSeparators(file)) 137 self.debugClientEdit.setText(Utilities.toNativeSeparators(file))

eric ide

mercurial