267 dlg = DotDesktopListSelectionDialog( |
267 dlg = DotDesktopListSelectionDialog( |
268 self.__mainCategories, |
268 self.__mainCategories, |
269 self.categoriesEdit.text(), ";", |
269 self.categoriesEdit.text(), ";", |
270 subEntries=self.__subCategories, |
270 subEntries=self.__subCategories, |
271 allowMultiMain=False) |
271 allowMultiMain=False) |
272 if dlg.exec_() == QDialog.Accepted: |
272 if dlg.exec() == QDialog.Accepted: |
273 categories = dlg.getData(";", True) |
273 categories = dlg.getData(";", True) |
274 self.categoriesEdit.setText(categories) |
274 self.categoriesEdit.setText(categories) |
275 |
275 |
276 @pyqtSlot(str) |
276 @pyqtSlot(str) |
277 def on_onlyShowEdit_textChanged(self, txt): |
277 def on_onlyShowEdit_textChanged(self, txt): |
297 DotDesktopListSelectionDialog |
297 DotDesktopListSelectionDialog |
298 ) |
298 ) |
299 dlg = DotDesktopListSelectionDialog( |
299 dlg = DotDesktopListSelectionDialog( |
300 self.__showinEnvironments, |
300 self.__showinEnvironments, |
301 self.onlyShowEdit.text(), ";") |
301 self.onlyShowEdit.text(), ";") |
302 if dlg.exec_() == QDialog.Accepted: |
302 if dlg.exec() == QDialog.Accepted: |
303 environments = dlg.getData(";", True) |
303 environments = dlg.getData(";", True) |
304 self.onlyShowEdit.setText(environments) |
304 self.onlyShowEdit.setText(environments) |
305 |
305 |
306 @pyqtSlot(str) |
306 @pyqtSlot(str) |
307 def on_notShowEdit_textChanged(self, txt): |
307 def on_notShowEdit_textChanged(self, txt): |
327 DotDesktopListSelectionDialog |
327 DotDesktopListSelectionDialog |
328 ) |
328 ) |
329 dlg = DotDesktopListSelectionDialog( |
329 dlg = DotDesktopListSelectionDialog( |
330 self.__showinEnvironments, |
330 self.__showinEnvironments, |
331 self.notShowEdit.text(), ";") |
331 self.notShowEdit.text(), ";") |
332 if dlg.exec_() == QDialog.Accepted: |
332 if dlg.exec() == QDialog.Accepted: |
333 environments = dlg.getData(";", True) |
333 environments = dlg.getData(";", True) |
334 self.notShowEdit.setText(environments) |
334 self.notShowEdit.setText(environments) |
335 |
335 |
336 @pyqtSlot(str) |
336 @pyqtSlot(str) |
337 def on_typeEdit_textChanged(self, txt): |
337 def on_typeEdit_textChanged(self, txt): |