Exemple #1
0
 def __add_folder(self, folder):
     if not folder:
         folder = self.get_folder()
     if not folder:  # ehehe bu ne lan
         return
     monitor.add_folder(str(folder))  # cast QString to Python string
     self.__init_folder_list()
     # TODO her degisiklikte yenilemek yerine en son yenileme?
     monitor.reset_monitor()
Exemple #2
0
 def toggle_subfolders(self):
     item = self.ui.folderList.selectedItems()[0]
     b = item.text(0)
     item.setText(0, "False" if b == "True" else "True")
     monitor.toggle_folder_recursion(self.ui.folderList.selectedItems()[0].text(1))
     monitor.reset_monitor()