mirror of
https://github.com/arsenetar/dupeguru.git
synced 2024-10-31 22:05:58 +00:00
4c8ce4b52d
--HG-- branch : objp
25 lines
654 B
Python
25 lines
654 B
Python
from objp.util import pyref
|
|
from cocoa.inter2 import PyGUIObject, GUIObjectView
|
|
|
|
class PrioritizeDialogView(GUIObjectView):
|
|
pass
|
|
|
|
class PyPrioritizeDialog(PyGUIObject):
|
|
def categoryList(self) -> pyref:
|
|
return self.model.category_list
|
|
|
|
def criteriaList(self) -> pyref:
|
|
return self.model.criteria_list
|
|
|
|
def prioritizationList(self) -> pyref:
|
|
return self.model.prioritization_list
|
|
|
|
def addSelected(self):
|
|
self.model.add_selected()
|
|
|
|
def removeSelected(self):
|
|
self.model.remove_selected()
|
|
|
|
def performReprioritization(self):
|
|
self.model.perform_reprioritization()
|