259 @pyqtSlot() |
259 @pyqtSlot() |
260 def on_categoriesButton_clicked(self): |
260 def on_categoriesButton_clicked(self): |
261 """ |
261 """ |
262 Private slot to select the categories. |
262 Private slot to select the categories. |
263 """ |
263 """ |
264 from .DotDesktopListSelectionDialog import \ |
264 from .DotDesktopListSelectionDialog import ( |
265 DotDesktopListSelectionDialog |
265 DotDesktopListSelectionDialog |
|
266 ) |
266 dlg = DotDesktopListSelectionDialog( |
267 dlg = DotDesktopListSelectionDialog( |
267 self.__mainCategories, |
268 self.__mainCategories, |
268 self.categoriesEdit.text(), ";", |
269 self.categoriesEdit.text(), ";", |
269 subEntries=self.__subCategories, |
270 subEntries=self.__subCategories, |
270 allowMultiMain=False) |
271 allowMultiMain=False) |
290 @pyqtSlot() |
291 @pyqtSlot() |
291 def on_onlyShowButton_clicked(self): |
292 def on_onlyShowButton_clicked(self): |
292 """ |
293 """ |
293 Private slot to select the OnlyShowIn environments. |
294 Private slot to select the OnlyShowIn environments. |
294 """ |
295 """ |
295 from .DotDesktopListSelectionDialog import \ |
296 from .DotDesktopListSelectionDialog import ( |
296 DotDesktopListSelectionDialog |
297 DotDesktopListSelectionDialog |
|
298 ) |
297 dlg = DotDesktopListSelectionDialog( |
299 dlg = DotDesktopListSelectionDialog( |
298 self.__showinEnvironments, |
300 self.__showinEnvironments, |
299 self.onlyShowEdit.text(), ";") |
301 self.onlyShowEdit.text(), ";") |
300 if dlg.exec_() == QDialog.Accepted: |
302 if dlg.exec_() == QDialog.Accepted: |
301 environments = dlg.getData(";", True) |
303 environments = dlg.getData(";", True) |
319 @pyqtSlot() |
321 @pyqtSlot() |
320 def on_notShowButton_clicked(self): |
322 def on_notShowButton_clicked(self): |
321 """ |
323 """ |
322 Private slot to select the NotShowIn environments. |
324 Private slot to select the NotShowIn environments. |
323 """ |
325 """ |
324 from .DotDesktopListSelectionDialog import \ |
326 from .DotDesktopListSelectionDialog import ( |
325 DotDesktopListSelectionDialog |
327 DotDesktopListSelectionDialog |
|
328 ) |
326 dlg = DotDesktopListSelectionDialog( |
329 dlg = DotDesktopListSelectionDialog( |
327 self.__showinEnvironments, |
330 self.__showinEnvironments, |
328 self.notShowEdit.text(), ";") |
331 self.notShowEdit.text(), ";") |
329 if dlg.exec_() == QDialog.Accepted: |
332 if dlg.exec_() == QDialog.Accepted: |
330 environments = dlg.getData(";", True) |
333 environments = dlg.getData(";", True) |