69 Private slot to select the project word list file. |
69 Private slot to select the project word list file. |
70 """ |
70 """ |
71 pwl = self.pwlEdit.text() |
71 pwl = self.pwlEdit.text() |
72 if not pwl: |
72 if not pwl: |
73 pwl = self.project.ppath |
73 pwl = self.project.ppath |
74 file = QFileDialog.getOpenFileName(\ |
74 file = QFileDialog.getOpenFileName( |
75 self, |
75 self, |
76 self.trUtf8("Select project word list"), |
76 self.trUtf8("Select project word list"), |
77 pwl, |
77 pwl, |
78 self.trUtf8("Dictionary File (*.dic);;All Files (*)")) |
78 self.trUtf8("Dictionary File (*.dic);;All Files (*)")) |
79 |
79 |
86 Private slot to select the project exclude list file. |
86 Private slot to select the project exclude list file. |
87 """ |
87 """ |
88 pel = self.pelEdit.text() |
88 pel = self.pelEdit.text() |
89 if not pel: |
89 if not pel: |
90 pel = self.project.ppath |
90 pel = self.project.ppath |
91 file = QFileDialog.getOpenFileName(\ |
91 file = QFileDialog.getOpenFileName( |
92 self, |
92 self, |
93 self.trUtf8("Select project exclude list"), |
93 self.trUtf8("Select project exclude list"), |
94 pel, |
94 pel, |
95 self.trUtf8("Dictionary File (*.dic);;All Files (*)")) |
95 self.trUtf8("Dictionary File (*.dic);;All Files (*)")) |
96 |
96 |