class Ui_AddRemoveGroupUsersWdg(object): 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 retranslateUi(self, AddRemoveGroupUsersWdg): AddRemoveGroupUsersWdg.setWindowTitle(QtGui.QApplication.translate("AddRemoveGroupUsersWdg", "Form", None, QtGui.QApplication.UnicodeUTF8)) self.grp_main.setTitle(QtGui.QApplication.translate("AddRemoveGroupUsersWdg", "Modify memberships if following group(s)", None, QtGui.QApplication.UnicodeUTF8)) self.label_3.setText(QtGui.QApplication.translate("AddRemoveGroupUsersWdg", "Add membership:", None, QtGui.QApplication.UnicodeUTF8)) self.label.setText(QtGui.QApplication.translate("AddRemoveGroupUsersWdg", "Available users:", None, QtGui.QApplication.UnicodeUTF8)) self.label_2.setText(QtGui.QApplication.translate("AddRemoveGroupUsersWdg", "Remove membership:", None, QtGui.QApplication.UnicodeUTF8)) self.btn_ok.setText(QtGui.QApplication.translate("AddRemoveGroupUsersWdg", "OK", None, QtGui.QApplication.UnicodeUTF8)) self.btn_cancel.setText(QtGui.QApplication.translate("AddRemoveGroupUsersWdg", "Cancel", None, QtGui.QApplication.UnicodeUTF8))
class Ui_AccessManagerWdg(object): 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 retranslateUi(self, AccessManagerWdg): AccessManagerWdg.setWindowTitle(QtGui.QApplication.translate("AccessManagerWdg", "Access Manager", None, QtGui.QApplication.UnicodeUTF8)) self.label_2.setText(QtGui.QApplication.translate("AccessManagerWdg", "Users:", None, QtGui.QApplication.UnicodeUTF8)) self.label.setText(QtGui.QApplication.translate("AccessManagerWdg", "Permissions:", None, QtGui.QApplication.UnicodeUTF8)) self.btn_close.setText(QtGui.QApplication.translate("AccessManagerWdg", "Close", None, QtGui.QApplication.UnicodeUTF8))
class Ui_FileManagerWdg(object): 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 retranslateUi(self, FileManagerWdg): FileManagerWdg.setWindowTitle(QtGui.QApplication.translate("FileManagerWdg", "Form", None, QtGui.QApplication.UnicodeUTF8)) self.groupBox.setTitle(QtGui.QApplication.translate("FileManagerWdg", "File View", None, QtGui.QApplication.UnicodeUTF8)) self.label_4.setText(QtGui.QApplication.translate("FileManagerWdg", "Minimum file size threshold:", None, QtGui.QApplication.UnicodeUTF8)) self.sbx_kb_minsize.setSuffix(QtGui.QApplication.translate("FileManagerWdg", " KB", None, QtGui.QApplication.UnicodeUTF8)) self.label_5.setText(QtGui.QApplication.translate("FileManagerWdg", " + ", None, QtGui.QApplication.UnicodeUTF8)) self.sbx_mb_minsize.setSuffix(QtGui.QApplication.translate("FileManagerWdg", " MB", None, QtGui.QApplication.UnicodeUTF8)) self.label_6.setText(QtGui.QApplication.translate("FileManagerWdg", " = ", None, QtGui.QApplication.UnicodeUTF8)) self.lbl_minsize_threshold.setText(QtGui.QApplication.translate("FileManagerWdg", "0 KB", None, QtGui.QApplication.UnicodeUTF8)) self.label.setText(QtGui.QApplication.translate("FileManagerWdg", "User:"******"FileManagerWdg", "Group:", None, QtGui.QApplication.UnicodeUTF8)) self.label_3.setText(QtGui.QApplication.translate("FileManagerWdg", "Content type:", None, QtGui.QApplication.UnicodeUTF8)) self.btn_close.setText(QtGui.QApplication.translate("FileManagerWdg", "Close", None, QtGui.QApplication.UnicodeUTF8)) self.btn_backup.setText(QtGui.QApplication.translate("FileManagerWdg", "Backup...", None, QtGui.QApplication.UnicodeUTF8)) self.btn_delete.setText(QtGui.QApplication.translate("FileManagerWdg", "Delete", None, QtGui.QApplication.UnicodeUTF8))