78 """ |
79 """ |
79 Private slot to handle the custom viewer selection. |
80 Private slot to handle the custom viewer selection. |
80 """ |
81 """ |
81 file = E5FileDialog.getOpenFileName( |
82 file = E5FileDialog.getOpenFileName( |
82 self, |
83 self, |
83 self.trUtf8("Select Custom Viewer"), |
84 self.tr("Select Custom Viewer"), |
84 self.customViewerEdit.text(), |
85 self.customViewerEdit.text(), |
85 "") |
86 "") |
86 |
87 |
87 if file: |
88 if file: |
88 self.customViewerEdit.setText(Utilities.toNativeSeparators(file)) |
89 self.customViewerEdit.setText(Utilities.toNativeSeparators(file)) |
92 """ |
93 """ |
93 Private slot to handle the Web browser selection. |
94 Private slot to handle the Web browser selection. |
94 """ |
95 """ |
95 file = E5FileDialog.getOpenFileName( |
96 file = E5FileDialog.getOpenFileName( |
96 self, |
97 self, |
97 self.trUtf8("Select Web-Browser"), |
98 self.tr("Select Web-Browser"), |
98 self.webbrowserEdit.text(), |
99 self.webbrowserEdit.text(), |
99 "") |
100 "") |
100 |
101 |
101 if file: |
102 if file: |
102 self.webbrowserEdit.setText(Utilities.toNativeSeparators(file)) |
103 self.webbrowserEdit.setText(Utilities.toNativeSeparators(file)) |
106 """ |
107 """ |
107 Private slot to handle the PDF viewer selection. |
108 Private slot to handle the PDF viewer selection. |
108 """ |
109 """ |
109 file = E5FileDialog.getOpenFileName( |
110 file = E5FileDialog.getOpenFileName( |
110 self, |
111 self, |
111 self.trUtf8("Select PDF-Viewer"), |
112 self.tr("Select PDF-Viewer"), |
112 self.pdfviewerEdit.text(), |
113 self.pdfviewerEdit.text(), |
113 "") |
114 "") |
114 |
115 |
115 if file: |
116 if file: |
116 self.pdfviewerEdit.setText(Utilities.toNativeSeparators(file)) |
117 self.pdfviewerEdit.setText(Utilities.toNativeSeparators(file)) |
120 """ |
121 """ |
121 Private slot to handle the CHM viewer selection. |
122 Private slot to handle the CHM viewer selection. |
122 """ |
123 """ |
123 file = E5FileDialog.getOpenFileName( |
124 file = E5FileDialog.getOpenFileName( |
124 self, |
125 self, |
125 self.trUtf8("Select CHM-Viewer"), |
126 self.tr("Select CHM-Viewer"), |
126 self.chmviewerEdit.text(), |
127 self.chmviewerEdit.text(), |
127 "") |
128 "") |
128 |
129 |
129 if file: |
130 if file: |
130 self.chmviewerEdit.setText(Utilities.toNativeSeparators(file)) |
131 self.chmviewerEdit.setText(Utilities.toNativeSeparators(file)) |