def setupUi(self, CreateUserWizard):
        CreateUserWizard.setObjectName("CreateUserWizard")
        CreateUserWizard.resize(QtCore.QSize(QtCore.QRect(0,0,437,350).size()).expandedTo(CreateUserWizard.minimumSizeHint()))

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(5),QtGui.QSizePolicy.Policy(5))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(CreateUserWizard.sizePolicy().hasHeightForWidth())
        CreateUserWizard.setSizePolicy(sizePolicy)
        CreateUserWizard.setMinimumSize(QtCore.QSize(0,350))
        CreateUserWizard.setMaximumSize(QtCore.QSize(16777215,350))

        self.vboxlayout = QtGui.QVBoxLayout(CreateUserWizard)
        self.vboxlayout.setMargin(9)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setObjectName("vboxlayout")

        self.swd_userinfo = QtGui.QStackedWidget(CreateUserWizard)
        self.swd_userinfo.setObjectName("swd_userinfo")

        self.page = QtGui.QWidget()
        self.page.setObjectName("page")

        self.gridlayout = QtGui.QGridLayout(self.page)
        self.gridlayout.setMargin(0)
        self.gridlayout.setSpacing(6)
        self.gridlayout.setObjectName("gridlayout")

        self.label_4 = QtGui.QLabel(self.page)
        self.label_4.setObjectName("label_4")
        self.gridlayout.addWidget(self.label_4,5,2,1,1)

        self.sbx_first_school_year = QtGui.QSpinBox(self.page)
        self.sbx_first_school_year.setEnabled(False)
        self.sbx_first_school_year.setMaximum(2020)
        self.sbx_first_school_year.setMinimum(1996)
        self.sbx_first_school_year.setObjectName("sbx_first_school_year")
        self.gridlayout.addWidget(self.sbx_first_school_year,6,2,1,1)

        spacerItem = QtGui.QSpacerItem(20,41,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem,0,1,1,1)

        spacerItem1 = QtGui.QSpacerItem(20,41,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem1,7,1,1,1)

        self.led_given_name = QtGui.QLineEdit(self.page)
        self.led_given_name.setObjectName("led_given_name")
        self.gridlayout.addWidget(self.led_given_name,2,1,1,2)

        self.label_2 = QtGui.QLabel(self.page)
        self.label_2.setObjectName("label_2")
        self.gridlayout.addWidget(self.label_2,1,1,1,2)

        self.label = QtGui.QLabel(self.page)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label,3,1,1,2)

        self.led_family_name = QtGui.QLineEdit(self.page)
        self.led_family_name.setObjectName("led_family_name")
        self.gridlayout.addWidget(self.led_family_name,4,1,1,2)

        self.cmb_usertype = QtGui.QComboBox(self.page)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(3),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmb_usertype.sizePolicy().hasHeightForWidth())
        self.cmb_usertype.setSizePolicy(sizePolicy)
        self.cmb_usertype.setObjectName("cmb_usertype")
        self.gridlayout.addWidget(self.cmb_usertype,6,1,1,1)

        self.label_3 = QtGui.QLabel(self.page)
        self.label_3.setObjectName("label_3")
        self.gridlayout.addWidget(self.label_3,5,1,1,1)

        self.lbl_names_decoration = QtGui.QLabel(self.page)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(0),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lbl_names_decoration.sizePolicy().hasHeightForWidth())
        self.lbl_names_decoration.setSizePolicy(sizePolicy)
        self.lbl_names_decoration.setPixmap(QtGui.QPixmap("art/student.svg"))
        self.lbl_names_decoration.setObjectName("lbl_names_decoration")
        self.gridlayout.addWidget(self.lbl_names_decoration,1,0,6,1)
        self.swd_userinfo.addWidget(self.page)

        self.page_2 = QtGui.QWidget()
        self.page_2.setObjectName("page_2")

        self.gridlayout1 = QtGui.QGridLayout(self.page_2)
        self.gridlayout1.setMargin(0)
        self.gridlayout1.setSpacing(6)
        self.gridlayout1.setObjectName("gridlayout1")

        self.btn_add_groups = QtGui.QToolButton(self.page_2)
        self.btn_add_groups.setObjectName("btn_add_groups")
        self.gridlayout1.addWidget(self.btn_add_groups,3,2,1,1)

        spacerItem2 = QtGui.QSpacerItem(20,25,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.gridlayout1.addItem(spacerItem2,5,1,1,2)

        self.label_6 = QtGui.QLabel(self.page_2)
        self.label_6.setObjectName("label_6")
        self.gridlayout1.addWidget(self.label_6,3,1,1,1)

        self.trv_groups = EnhancedTreeView(self.page_2)
        self.trv_groups.setAcceptDrops(True)
        self.trv_groups.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
        self.trv_groups.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.trv_groups.setRootIsDecorated(False)
        self.trv_groups.setItemsExpandable(False)
        self.trv_groups.setObjectName("trv_groups")
        self.gridlayout1.addWidget(self.trv_groups,4,1,1,2)

        self.lbl_groups_decoration = QtGui.QLabel(self.page_2)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(0),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lbl_groups_decoration.sizePolicy().hasHeightForWidth())
        self.lbl_groups_decoration.setSizePolicy(sizePolicy)
        self.lbl_groups_decoration.setPixmap(QtGui.QPixmap("art/student.svg"))
        self.lbl_groups_decoration.setObjectName("lbl_groups_decoration")
        self.gridlayout1.addWidget(self.lbl_groups_decoration,4,0,1,1)

        self.label_5 = QtGui.QLabel(self.page_2)
        self.label_5.setObjectName("label_5")
        self.gridlayout1.addWidget(self.label_5,1,1,1,2)

        self.cmb_primary_group = QtGui.QComboBox(self.page_2)
        self.cmb_primary_group.setObjectName("cmb_primary_group")
        self.gridlayout1.addWidget(self.cmb_primary_group,2,1,1,2)

        spacerItem3 = QtGui.QSpacerItem(20,25,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.gridlayout1.addItem(spacerItem3,0,1,1,2)
        self.swd_userinfo.addWidget(self.page_2)

        self.page_3 = QtGui.QWidget()
        self.page_3.setObjectName("page_3")

        self.gridlayout2 = QtGui.QGridLayout(self.page_3)
        self.gridlayout2.setMargin(0)
        self.gridlayout2.setSpacing(6)
        self.gridlayout2.setObjectName("gridlayout2")

        spacerItem4 = QtGui.QSpacerItem(20,40,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.gridlayout2.addItem(spacerItem4,0,1,1,1)

        spacerItem5 = QtGui.QSpacerItem(20,40,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.gridlayout2.addItem(spacerItem5,7,1,1,1)

        self.led_passwd_confirm = QtGui.QLineEdit(self.page_3)
        self.led_passwd_confirm.setEchoMode(QtGui.QLineEdit.Password)
        self.led_passwd_confirm.setObjectName("led_passwd_confirm")
        self.gridlayout2.addWidget(self.led_passwd_confirm,6,1,1,1)

        self.label_7 = QtGui.QLabel(self.page_3)
        self.label_7.setObjectName("label_7")
        self.gridlayout2.addWidget(self.label_7,5,1,1,1)

        self.led_passwd = QtGui.QLineEdit(self.page_3)
        self.led_passwd.setEchoMode(QtGui.QLineEdit.Password)
        self.led_passwd.setObjectName("led_passwd")
        self.gridlayout2.addWidget(self.led_passwd,4,1,1,1)

        self.label_8 = QtGui.QLabel(self.page_3)
        self.label_8.setObjectName("label_8")
        self.gridlayout2.addWidget(self.label_8,3,1,1,1)

        self.led_login = QtGui.QLineEdit(self.page_3)
        self.led_login.setObjectName("led_login")
        self.gridlayout2.addWidget(self.led_login,2,1,1,1)

        self.label_9 = QtGui.QLabel(self.page_3)
        self.label_9.setObjectName("label_9")
        self.gridlayout2.addWidget(self.label_9,1,1,1,1)

        self.lbl_login_decoration = QtGui.QLabel(self.page_3)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(0),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lbl_login_decoration.sizePolicy().hasHeightForWidth())
        self.lbl_login_decoration.setSizePolicy(sizePolicy)
        self.lbl_login_decoration.setPixmap(QtGui.QPixmap("art/student.svg"))
        self.lbl_login_decoration.setObjectName("lbl_login_decoration")
        self.gridlayout2.addWidget(self.lbl_login_decoration,2,0,5,1)
        self.swd_userinfo.addWidget(self.page_3)
        self.vboxlayout.addWidget(self.swd_userinfo)

        self.line = QtGui.QFrame(CreateUserWizard)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.vboxlayout.addWidget(self.line)

        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setSpacing(6)
        self.hboxlayout.setObjectName("hboxlayout")

        self.btn_cancel = QtGui.QPushButton(CreateUserWizard)
        self.btn_cancel.setObjectName("btn_cancel")
        self.hboxlayout.addWidget(self.btn_cancel)

        spacerItem6 = QtGui.QSpacerItem(35,20,QtGui.QSizePolicy.MinimumExpanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem6)

        self.btn_back = QtGui.QPushButton(CreateUserWizard)
        self.btn_back.setEnabled(False)
        self.btn_back.setObjectName("btn_back")
        self.hboxlayout.addWidget(self.btn_back)

        self.btn_next = QtGui.QPushButton(CreateUserWizard)
        self.btn_next.setEnabled(False)
        self.btn_next.setObjectName("btn_next")
        self.hboxlayout.addWidget(self.btn_next)

        spacerItem7 = QtGui.QSpacerItem(16,20,QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem7)

        self.btn_finish = QtGui.QPushButton(CreateUserWizard)
        self.btn_finish.setEnabled(False)
        self.btn_finish.setObjectName("btn_finish")
        self.hboxlayout.addWidget(self.btn_finish)
        self.vboxlayout.addLayout(self.hboxlayout)

        self.retranslateUi(CreateUserWizard)
        self.swd_userinfo.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(CreateUserWizard)
        CreateUserWizard.setTabOrder(self.led_given_name,self.led_family_name)
        CreateUserWizard.setTabOrder(self.led_family_name,self.cmb_usertype)
        CreateUserWizard.setTabOrder(self.cmb_usertype,self.sbx_first_school_year)
        CreateUserWizard.setTabOrder(self.sbx_first_school_year,self.cmb_primary_group)
        CreateUserWizard.setTabOrder(self.cmb_primary_group,self.btn_add_groups)
        CreateUserWizard.setTabOrder(self.btn_add_groups,self.trv_groups)
        CreateUserWizard.setTabOrder(self.trv_groups,self.led_login)
        CreateUserWizard.setTabOrder(self.led_login,self.led_passwd)
        CreateUserWizard.setTabOrder(self.led_passwd,self.led_passwd_confirm)
        CreateUserWizard.setTabOrder(self.led_passwd_confirm,self.btn_finish)
        CreateUserWizard.setTabOrder(self.btn_finish,self.btn_back)
        CreateUserWizard.setTabOrder(self.btn_back,self.btn_next)
        CreateUserWizard.setTabOrder(self.btn_next,self.btn_cancel)
    def setupUi(self, AccessManagerWdg):
        AccessManagerWdg.setObjectName("AccessManagerWdg")
        AccessManagerWdg.resize(QtCore.QSize(QtCore.QRect(0,0,709,563).size()).expandedTo(AccessManagerWdg.minimumSizeHint()))

        self.gridlayout = QtGui.QGridLayout(AccessManagerWdg)
        self.gridlayout.setMargin(9)
        self.gridlayout.setSpacing(6)
        self.gridlayout.setObjectName("gridlayout")

        self.splitter = QtGui.QSplitter(AccessManagerWdg)
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setObjectName("splitter")

        self.layoutWidget = QtGui.QWidget(self.splitter)
        self.layoutWidget.setObjectName("layoutWidget")

        self.vboxlayout = QtGui.QVBoxLayout(self.layoutWidget)
        self.vboxlayout.setMargin(0)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setObjectName("vboxlayout")

        self.label_2 = QtGui.QLabel(self.layoutWidget)
        self.label_2.setObjectName("label_2")
        self.vboxlayout.addWidget(self.label_2)

        self.trv_userlist = EnhancedTreeView(self.layoutWidget)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(1),QtGui.QSizePolicy.Policy(7))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.trv_userlist.sizePolicy().hasHeightForWidth())
        self.trv_userlist.setSizePolicy(sizePolicy)
        self.trv_userlist.setAlternatingRowColors(True)
        self.trv_userlist.setRootIsDecorated(False)
        self.trv_userlist.setSortingEnabled(True)
        self.trv_userlist.setObjectName("trv_userlist")
        self.vboxlayout.addWidget(self.trv_userlist)

        self.layoutWidget1 = QtGui.QWidget(self.splitter)
        self.layoutWidget1.setObjectName("layoutWidget1")

        self.vboxlayout1 = QtGui.QVBoxLayout(self.layoutWidget1)
        self.vboxlayout1.setMargin(0)
        self.vboxlayout1.setSpacing(6)
        self.vboxlayout1.setObjectName("vboxlayout1")

        self.label = QtGui.QLabel(self.layoutWidget1)
        self.label.setObjectName("label")
        self.vboxlayout1.addWidget(self.label)

        self.trw_access_idents = QtGui.QTreeWidget(self.layoutWidget1)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(3),QtGui.QSizePolicy.Policy(7))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.trw_access_idents.sizePolicy().hasHeightForWidth())
        self.trw_access_idents.setSizePolicy(sizePolicy)
        self.trw_access_idents.setAlternatingRowColors(True)
        self.trw_access_idents.setSelectionMode(QtGui.QAbstractItemView.NoSelection)
        self.trw_access_idents.setObjectName("trw_access_idents")
        self.vboxlayout1.addWidget(self.trw_access_idents)
        self.gridlayout.addWidget(self.splitter,0,0,1,1)

        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setSpacing(6)
        self.hboxlayout.setObjectName("hboxlayout")

        spacerItem = QtGui.QSpacerItem(391,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem)

        self.btn_close = QtGui.QPushButton(AccessManagerWdg)
        self.btn_close.setObjectName("btn_close")
        self.hboxlayout.addWidget(self.btn_close)
        self.gridlayout.addLayout(self.hboxlayout,1,0,1,1)

        self.retranslateUi(AccessManagerWdg)
        QtCore.QMetaObject.connectSlotsByName(AccessManagerWdg)
    def setupUi(self, AddRemoveGroupUsersWdg):
        AddRemoveGroupUsersWdg.setObjectName("AddRemoveGroupUsersWdg")
        AddRemoveGroupUsersWdg.resize(QtCore.QSize(QtCore.QRect(0,0,664,744).size()).expandedTo(AddRemoveGroupUsersWdg.minimumSizeHint()))

        self.gridlayout = QtGui.QGridLayout(AddRemoveGroupUsersWdg)
        self.gridlayout.setMargin(9)
        self.gridlayout.setSpacing(6)
        self.gridlayout.setObjectName("gridlayout")

        self.grp_main = QtGui.QGroupBox(AddRemoveGroupUsersWdg)
        self.grp_main.setObjectName("grp_main")

        self.gridlayout1 = QtGui.QGridLayout(self.grp_main)
        self.gridlayout1.setMargin(9)
        self.gridlayout1.setSpacing(6)
        self.gridlayout1.setObjectName("gridlayout1")

        self.trv_remove = EnhancedTreeView(self.grp_main)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(13),QtGui.QSizePolicy.Policy(3))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.trv_remove.sizePolicy().hasHeightForWidth())
        self.trv_remove.setSizePolicy(sizePolicy)
        self.trv_remove.setFocusPolicy(QtCore.Qt.WheelFocus)
        self.trv_remove.setAcceptDrops(True)
        self.trv_remove.setDragEnabled(True)
        self.trv_remove.setAlternatingRowColors(True)
        self.trv_remove.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.trv_remove.setRootIsDecorated(False)
        self.trv_remove.setSortingEnabled(True)
        self.trv_remove.setObjectName("trv_remove")
        self.gridlayout1.addWidget(self.trv_remove,4,1,1,1)

        self.trv_add = EnhancedTreeView(self.grp_main)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(13),QtGui.QSizePolicy.Policy(3))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.trv_add.sizePolicy().hasHeightForWidth())
        self.trv_add.setSizePolicy(sizePolicy)
        self.trv_add.setFocusPolicy(QtCore.Qt.WheelFocus)
        self.trv_add.setAcceptDrops(True)
        self.trv_add.setDragEnabled(True)
        self.trv_add.setAlternatingRowColors(True)
        self.trv_add.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.trv_add.setRootIsDecorated(False)
        self.trv_add.setSortingEnabled(True)
        self.trv_add.setObjectName("trv_add")
        self.gridlayout1.addWidget(self.trv_add,2,1,1,1)

        self.trv_available = EnhancedTreeView(self.grp_main)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(13),QtGui.QSizePolicy.Policy(3))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.trv_available.sizePolicy().hasHeightForWidth())
        self.trv_available.setSizePolicy(sizePolicy)
        self.trv_available.setFocusPolicy(QtCore.Qt.WheelFocus)
        self.trv_available.setAcceptDrops(True)
        self.trv_available.setDragEnabled(True)
        self.trv_available.setAlternatingRowColors(True)
        self.trv_available.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.trv_available.setRootIsDecorated(False)
        self.trv_available.setSortingEnabled(True)
        self.trv_available.setObjectName("trv_available")
        self.gridlayout1.addWidget(self.trv_available,2,0,3,1)

        self.label_3 = QtGui.QLabel(self.grp_main)
        self.label_3.setObjectName("label_3")
        self.gridlayout1.addWidget(self.label_3,1,1,1,1)

        self.label = QtGui.QLabel(self.grp_main)
        self.label.setObjectName("label")
        self.gridlayout1.addWidget(self.label,1,0,1,1)

        self.label_2 = QtGui.QLabel(self.grp_main)
        self.label_2.setObjectName("label_2")
        self.gridlayout1.addWidget(self.label_2,3,1,1,1)

        self.trv_groups = EnhancedTreeView(self.grp_main)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(13),QtGui.QSizePolicy.Policy(3))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.trv_groups.sizePolicy().hasHeightForWidth())
        self.trv_groups.setSizePolicy(sizePolicy)
        self.trv_groups.setFocusPolicy(QtCore.Qt.NoFocus)
        self.trv_groups.setAlternatingRowColors(True)
        self.trv_groups.setSelectionMode(QtGui.QAbstractItemView.NoSelection)
        self.trv_groups.setRootIsDecorated(False)
        self.trv_groups.setSortingEnabled(True)
        self.trv_groups.setObjectName("trv_groups")
        self.gridlayout1.addWidget(self.trv_groups,0,0,1,2)
        self.gridlayout.addWidget(self.grp_main,0,0,1,3)

        spacerItem = QtGui.QSpacerItem(361,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem,1,0,1,1)

        self.btn_ok = QtGui.QPushButton(AddRemoveGroupUsersWdg)
        self.btn_ok.setObjectName("btn_ok")
        self.gridlayout.addWidget(self.btn_ok,1,1,1,1)

        self.btn_cancel = QtGui.QPushButton(AddRemoveGroupUsersWdg)
        self.btn_cancel.setObjectName("btn_cancel")
        self.gridlayout.addWidget(self.btn_cancel,1,2,1,1)

        self.retranslateUi(AddRemoveGroupUsersWdg)
        QtCore.QMetaObject.connectSlotsByName(AddRemoveGroupUsersWdg)
        AddRemoveGroupUsersWdg.setTabOrder(self.trv_available,self.trv_add)
        AddRemoveGroupUsersWdg.setTabOrder(self.trv_add,self.trv_remove)
        AddRemoveGroupUsersWdg.setTabOrder(self.trv_remove,self.btn_ok)
        AddRemoveGroupUsersWdg.setTabOrder(self.btn_ok,self.btn_cancel)
    def setupUi(self, FileManagerWdg):
        FileManagerWdg.setObjectName("FileManagerWdg")
        FileManagerWdg.resize(QtCore.QSize(QtCore.QRect(0,0,626,524).size()).expandedTo(FileManagerWdg.minimumSizeHint()))

        self.gridlayout = QtGui.QGridLayout(FileManagerWdg)
        self.gridlayout.setMargin(9)
        self.gridlayout.setSpacing(6)
        self.gridlayout.setObjectName("gridlayout")

        self.groupBox = QtGui.QGroupBox(FileManagerWdg)
        self.groupBox.setObjectName("groupBox")

        self.gridlayout1 = QtGui.QGridLayout(self.groupBox)
        self.gridlayout1.setMargin(9)
        self.gridlayout1.setSpacing(6)
        self.gridlayout1.setObjectName("gridlayout1")

        spacerItem = QtGui.QSpacerItem(221,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.gridlayout1.addItem(spacerItem,2,1,1,1)

        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setSpacing(6)
        self.hboxlayout.setObjectName("hboxlayout")

        self.label_4 = QtGui.QLabel(self.groupBox)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(5),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())
        self.label_4.setSizePolicy(sizePolicy)
        self.label_4.setObjectName("label_4")
        self.hboxlayout.addWidget(self.label_4)

        self.sbx_kb_minsize = QtGui.QSpinBox(self.groupBox)
        self.sbx_kb_minsize.setMaximum(1023)
        self.sbx_kb_minsize.setObjectName("sbx_kb_minsize")
        self.hboxlayout.addWidget(self.sbx_kb_minsize)

        self.label_5 = QtGui.QLabel(self.groupBox)
        self.label_5.setObjectName("label_5")
        self.hboxlayout.addWidget(self.label_5)

        self.sbx_mb_minsize = QtGui.QSpinBox(self.groupBox)
        self.sbx_mb_minsize.setMaximum(1023)
        self.sbx_mb_minsize.setObjectName("sbx_mb_minsize")
        self.hboxlayout.addWidget(self.sbx_mb_minsize)

        self.label_6 = QtGui.QLabel(self.groupBox)
        self.label_6.setObjectName("label_6")
        self.hboxlayout.addWidget(self.label_6)

        self.lbl_minsize_threshold = QtGui.QLabel(self.groupBox)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(5),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lbl_minsize_threshold.sizePolicy().hasHeightForWidth())
        self.lbl_minsize_threshold.setSizePolicy(sizePolicy)
        self.lbl_minsize_threshold.setObjectName("lbl_minsize_threshold")
        self.hboxlayout.addWidget(self.lbl_minsize_threshold)
        self.gridlayout1.addLayout(self.hboxlayout,2,0,1,1)

        self.hboxlayout1 = QtGui.QHBoxLayout()
        self.hboxlayout1.setMargin(0)
        self.hboxlayout1.setSpacing(6)
        self.hboxlayout1.setObjectName("hboxlayout1")

        self.label = QtGui.QLabel(self.groupBox)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(0),QtGui.QSizePolicy.Policy(5))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setObjectName("label")
        self.hboxlayout1.addWidget(self.label)

        self.cmb_userfilter = QtGui.QComboBox(self.groupBox)
        self.cmb_userfilter.setObjectName("cmb_userfilter")
        self.hboxlayout1.addWidget(self.cmb_userfilter)

        self.label_2 = QtGui.QLabel(self.groupBox)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(0),QtGui.QSizePolicy.Policy(5))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        self.label_2.setObjectName("label_2")
        self.hboxlayout1.addWidget(self.label_2)

        self.cmb_groupfilter = QtGui.QComboBox(self.groupBox)
        self.cmb_groupfilter.setObjectName("cmb_groupfilter")
        self.hboxlayout1.addWidget(self.cmb_groupfilter)

        self.label_3 = QtGui.QLabel(self.groupBox)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(0),QtGui.QSizePolicy.Policy(5))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())
        self.label_3.setSizePolicy(sizePolicy)
        self.label_3.setObjectName("label_3")
        self.hboxlayout1.addWidget(self.label_3)

        self.cmb_contenttypefilter = QtGui.QComboBox(self.groupBox)
        self.cmb_contenttypefilter.setObjectName("cmb_contenttypefilter")
        self.hboxlayout1.addWidget(self.cmb_contenttypefilter)
        self.gridlayout1.addLayout(self.hboxlayout1,0,0,1,2)

        self.trv_files = EnhancedTreeView(self.groupBox)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(13),QtGui.QSizePolicy.Policy(7))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.trv_files.sizePolicy().hasHeightForWidth())
        self.trv_files.setSizePolicy(sizePolicy)
        self.trv_files.setAlternatingRowColors(True)
        self.trv_files.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.trv_files.setRootIsDecorated(False)
        self.trv_files.setSortingEnabled(True)
        self.trv_files.setObjectName("trv_files")
        self.gridlayout1.addWidget(self.trv_files,1,0,1,2)
        self.gridlayout.addWidget(self.groupBox,0,0,1,4)

        spacerItem1 = QtGui.QSpacerItem(421,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem1,1,2,1,1)

        self.btn_close = QtGui.QPushButton(FileManagerWdg)
        self.btn_close.setObjectName("btn_close")
        self.gridlayout.addWidget(self.btn_close,1,3,1,1)

        self.btn_backup = QtGui.QPushButton(FileManagerWdg)
        self.btn_backup.setObjectName("btn_backup")
        self.gridlayout.addWidget(self.btn_backup,1,1,1,1)

        self.btn_delete = QtGui.QPushButton(FileManagerWdg)
        self.btn_delete.setObjectName("btn_delete")
        self.gridlayout.addWidget(self.btn_delete,1,0,1,1)

        self.retranslateUi(FileManagerWdg)
        QtCore.QMetaObject.connectSlotsByName(FileManagerWdg)
    def setupUi(self, UserViewWdg):
        UserViewWdg.setObjectName("UserViewWdg")
        UserViewWdg.resize(QtCore.QSize(QtCore.QRect(0,0,500,392).size()).expandedTo(UserViewWdg.minimumSizeHint()))

        self.gridlayout = QtGui.QGridLayout(UserViewWdg)
        self.gridlayout.setMargin(4)
        self.gridlayout.setSpacing(4)
        self.gridlayout.setObjectName("gridlayout")

        self.trv_userlist = EnhancedTreeView(UserViewWdg)
        self.trv_userlist.setDragEnabled(True)
        self.trv_userlist.setAlternatingRowColors(True)
        self.trv_userlist.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.trv_userlist.setRootIsDecorated(False)
        self.trv_userlist.setSortingEnabled(True)
        self.trv_userlist.setObjectName("trv_userlist")
        self.gridlayout.addWidget(self.trv_userlist,2,0,1,7)

        self.label_4 = QtGui.QLabel(UserViewWdg)
        self.label_4.setMaximumSize(QtCore.QSize(16777215,15))
        self.label_4.setObjectName("label_4")
        self.gridlayout.addWidget(self.label_4,0,6,1,1)

        self.cmb_groupfilter = QtGui.QComboBox(UserViewWdg)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(3),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmb_groupfilter.sizePolicy().hasHeightForWidth())
        self.cmb_groupfilter.setSizePolicy(sizePolicy)
        self.cmb_groupfilter.setObjectName("cmb_groupfilter")
        self.gridlayout.addWidget(self.cmb_groupfilter,1,6,1,1)

        self.label = QtGui.QLabel(UserViewWdg)
        self.label.setMaximumSize(QtCore.QSize(16777215,15))
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label,0,0,1,1)

        self.cmb_usertype_filter = QtGui.QComboBox(UserViewWdg)
        self.cmb_usertype_filter.setObjectName("cmb_usertype_filter")
        self.gridlayout.addWidget(self.cmb_usertype_filter,1,0,1,1)

        self.lbl_gradefilter = QtGui.QLabel(UserViewWdg)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(5),QtGui.QSizePolicy.Policy(5))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lbl_gradefilter.sizePolicy().hasHeightForWidth())
        self.lbl_gradefilter.setSizePolicy(sizePolicy)
        self.lbl_gradefilter.setMaximumSize(QtCore.QSize(16777215,15))
        self.lbl_gradefilter.setMargin(0)
        self.lbl_gradefilter.setObjectName("lbl_gradefilter")
        self.gridlayout.addWidget(self.lbl_gradefilter,0,2,1,3)

        self.lbl_gradefilter_to = QtGui.QLabel(UserViewWdg)
        self.lbl_gradefilter_to.setObjectName("lbl_gradefilter_to")
        self.gridlayout.addWidget(self.lbl_gradefilter_to,1,3,1,1)

        self.sbx_firstschoolyear_max = QtGui.QSpinBox(UserViewWdg)
        self.sbx_firstschoolyear_max.setMaximum(12)
        self.sbx_firstschoolyear_max.setProperty("value",QtCore.QVariant(12))
        self.sbx_firstschoolyear_max.setObjectName("sbx_firstschoolyear_max")
        self.gridlayout.addWidget(self.sbx_firstschoolyear_max,1,4,1,1)

        self.sbx_firstschoolyear_min = QtGui.QSpinBox(UserViewWdg)
        self.sbx_firstschoolyear_min.setMaximum(12)
        self.sbx_firstschoolyear_min.setObjectName("sbx_firstschoolyear_min")
        self.gridlayout.addWidget(self.sbx_firstschoolyear_min,1,2,1,1)

        spacerItem = QtGui.QSpacerItem(16,20,QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem,1,1,1,1)

        spacerItem1 = QtGui.QSpacerItem(16,20,QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem1,1,5,1,1)

        self.retranslateUi(UserViewWdg)
        QtCore.QMetaObject.connectSlotsByName(UserViewWdg)
    def setupUi(self, GroupEditWdg):
        GroupEditWdg.setObjectName("GroupEditWdg")
        GroupEditWdg.resize(QtCore.QSize(QtCore.QRect(0,0,541,613).size()).expandedTo(GroupEditWdg.minimumSizeHint()))

        self.gridlayout = QtGui.QGridLayout(GroupEditWdg)
        self.gridlayout.setMargin(9)
        self.gridlayout.setSpacing(6)
        self.gridlayout.setObjectName("gridlayout")

        self.splitter = QtGui.QSplitter(GroupEditWdg)
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setObjectName("splitter")

        self.grp_members = QtGui.QGroupBox(self.splitter)
        self.grp_members.setObjectName("grp_members")

        self.gridlayout1 = QtGui.QGridLayout(self.grp_members)
        self.gridlayout1.setMargin(9)
        self.gridlayout1.setSpacing(6)
        self.gridlayout1.setObjectName("gridlayout1")

        self.trv_users = EnhancedTreeView(self.grp_members)
        self.trv_users.setAcceptDrops(True)
        self.trv_users.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.trv_users.setRootIsDecorated(False)
        self.trv_users.setSortingEnabled(True)
        self.trv_users.setObjectName("trv_users")
        self.gridlayout1.addWidget(self.trv_users,0,0,1,1)

        self.grp_services = QtGui.QGroupBox(self.splitter)
        self.grp_services.setObjectName("grp_services")

        self.gridlayout2 = QtGui.QGridLayout(self.grp_services)
        self.gridlayout2.setMargin(9)
        self.gridlayout2.setSpacing(6)
        self.gridlayout2.setObjectName("gridlayout2")

        self.btn_add_service = QtGui.QToolButton(self.grp_services)
        self.btn_add_service.setObjectName("btn_add_service")
        self.gridlayout2.addWidget(self.btn_add_service,0,1,1,1)

        self.cmb_services = QtGui.QComboBox(self.grp_services)
        self.cmb_services.setObjectName("cmb_services")
        self.gridlayout2.addWidget(self.cmb_services,0,0,1,1)

        self.tbl_serviceoptions = OptionsTableView(self.grp_services)
        self.tbl_serviceoptions.setAlternatingRowColors(True)
        self.tbl_serviceoptions.setRootIsDecorated(False)
        self.tbl_serviceoptions.setObjectName("tbl_serviceoptions")
        self.gridlayout2.addWidget(self.tbl_serviceoptions,1,0,1,2)
        self.gridlayout.addWidget(self.splitter,3,0,1,3)

        self.label_2 = QtGui.QLabel(GroupEditWdg)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(5),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        self.label_2.setObjectName("label_2")
        self.gridlayout.addWidget(self.label_2,1,0,1,3)

        self.lbl_groupname = QtGui.QLabel(GroupEditWdg)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(5),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lbl_groupname.sizePolicy().hasHeightForWidth())
        self.lbl_groupname.setSizePolicy(sizePolicy)
        self.lbl_groupname.setObjectName("lbl_groupname")
        self.gridlayout.addWidget(self.lbl_groupname,0,1,1,2)

        self.ted_description = QtGui.QTextEdit(GroupEditWdg)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(7))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ted_description.sizePolicy().hasHeightForWidth())
        self.ted_description.setSizePolicy(sizePolicy)
        self.ted_description.setObjectName("ted_description")
        self.gridlayout.addWidget(self.ted_description,2,0,1,3)

        self.label = QtGui.QLabel(GroupEditWdg)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(0),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label,0,0,1,1)

        self.btn_apply = QtGui.QPushButton(GroupEditWdg)
        self.btn_apply.setEnabled(False)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(0),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_apply.sizePolicy().hasHeightForWidth())
        self.btn_apply.setSizePolicy(sizePolicy)
        self.btn_apply.setObjectName("btn_apply")
        self.gridlayout.addWidget(self.btn_apply,4,2,1,1)

        spacerItem = QtGui.QSpacerItem(421,27,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem,4,0,1,2)

        self.retranslateUi(GroupEditWdg)
        QtCore.QMetaObject.connectSlotsByName(GroupEditWdg)