class Ui_Form(object): def setupUi(self, Form): Form.setObjectName("Form") Form.resize(758, 588) self.gridLayout_6 = QtWidgets.QGridLayout(Form) self.gridLayout_6.setContentsMargins(0, 0, 0, 0) self.gridLayout_6.setSpacing(0) self.gridLayout_6.setObjectName("gridLayout_6") self.splitter = QtWidgets.QSplitter(Form) self.splitter.setOrientation(Qt.Qt.Horizontal) self.splitter.setObjectName("splitter") self.widget = QtWidgets.QWidget(self.splitter) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(10) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.widget.sizePolicy().hasHeightForWidth()) self.widget.setSizePolicy(sizePolicy) self.widget.setObjectName("widget") self.gridLayout_5 = QtWidgets.QGridLayout(self.widget) self.gridLayout_5.setContentsMargins(0, 0, 0, 0) self.gridLayout_5.setObjectName("gridLayout_5") self.view = GraphicsView(self.widget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(10) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.view.sizePolicy().hasHeightForWidth()) self.view.setSizePolicy(sizePolicy) self.view.setObjectName("view") self.gridLayout_5.addWidget(self.view, 0, 0, 1, 1) self.zSlider = QtWidgets.QSlider(self.widget) self.zSlider.setOrientation(Qt.Qt.Horizontal) self.zSlider.setObjectName("zSlider") self.gridLayout_5.addWidget(self.zSlider, 1, 0, 1, 1) self.widget1 = QtWidgets.QWidget(self.splitter) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(2) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.widget1.sizePolicy().hasHeightForWidth()) self.widget1.setSizePolicy(sizePolicy) self.widget1.setObjectName("widget1") self.gridLayout_4 = QtWidgets.QGridLayout(self.widget1) self.gridLayout_4.setContentsMargins(0, 0, 0, 0) self.gridLayout_4.setObjectName("gridLayout_4") self.groupBox = QtWidgets.QGroupBox(self.widget1) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(1) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.groupBox.sizePolicy().hasHeightForWidth()) self.groupBox.setSizePolicy(sizePolicy) self.groupBox.setObjectName("groupBox") self.gridLayout = QtWidgets.QGridLayout(self.groupBox) self.gridLayout.setObjectName("gridLayout") self.dorsalRadio = QtWidgets.QRadioButton(self.groupBox) self.dorsalRadio.setObjectName("dorsalRadio") self.gridLayout.addWidget(self.dorsalRadio, 1, 1, 1, 1) self.rostralRadio = QtWidgets.QRadioButton(self.groupBox) self.rostralRadio.setObjectName("rostralRadio") self.gridLayout.addWidget(self.rostralRadio, 2, 1, 1, 1) self.rightRadio = QtWidgets.QRadioButton(self.groupBox) self.rightRadio.setChecked(True) self.rightRadio.setObjectName("rightRadio") self.gridLayout.addWidget(self.rightRadio, 0, 1, 1, 1) self.greyCheck = QtWidgets.QCheckBox(self.groupBox) self.greyCheck.setObjectName("greyCheck") self.gridLayout.addWidget(self.greyCheck, 4, 1, 1, 1) self.labelSlider = QtWidgets.QSlider(self.groupBox) self.labelSlider.setMaximum(255) self.labelSlider.setProperty("value", 50) self.labelSlider.setOrientation(Qt.Qt.Horizontal) self.labelSlider.setObjectName("labelSlider") self.gridLayout.addWidget(self.labelSlider, 6, 1, 1, 1) self.line = QtWidgets.QFrame(self.groupBox) self.line.setFrameShape(QtWidgets.QFrame.HLine) self.line.setFrameShadow(QtWidgets.QFrame.Sunken) self.line.setObjectName("line") self.gridLayout.addWidget(self.line, 3, 1, 1, 1) self.overlayCheck = QtWidgets.QCheckBox(self.groupBox) self.overlayCheck.setObjectName("overlayCheck") self.gridLayout.addWidget(self.overlayCheck, 5, 1, 1, 1) self.gridLayout_4.addWidget(self.groupBox, 0, 0, 1, 1) self.groupBox_3 = QtWidgets.QGroupBox(self.widget1) self.groupBox_3.setObjectName("groupBox_3") self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBox_3) self.gridLayout_3.setObjectName("gridLayout_3") self.label = QtWidgets.QLabel(self.groupBox_3) self.label.setObjectName("label") self.gridLayout_3.addWidget(self.label, 0, 0, 1, 1) self.radiusSpin = QtWidgets.QSpinBox(self.groupBox_3) self.radiusSpin.setMinimum(1) self.radiusSpin.setObjectName("radiusSpin") self.gridLayout_3.addWidget(self.radiusSpin, 0, 1, 1, 1) self.label_2 = QtWidgets.QLabel(self.groupBox_3) self.label_2.setObjectName("label_2") self.gridLayout_3.addWidget(self.label_2, 1, 0, 1, 1) self.labelSpin = QtWidgets.QSpinBox(self.groupBox_3) self.labelSpin.setMinimum(0) self.labelSpin.setMaximum(15) self.labelSpin.setProperty("value", 0) self.labelSpin.setObjectName("labelSpin") self.gridLayout_3.addWidget(self.labelSpin, 1, 1, 1, 1) self.gridLayout_4.addWidget(self.groupBox_3, 1, 0, 1, 1) self.groupBox_2 = QtWidgets.QGroupBox(self.widget1) self.groupBox_2.setObjectName("groupBox_2") self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_2) self.gridLayout_2.setObjectName("gridLayout_2") self.labelTree = TreeWidget(self.groupBox_2) self.labelTree.setRootIsDecorated(False) self.labelTree.setItemsExpandable(False) self.labelTree.setExpandsOnDoubleClick(False) self.labelTree.setObjectName("labelTree") self.labelTree.headerItem().setText(1, "name") self.labelTree.header().setDefaultSectionSize(100) self.gridLayout_2.addWidget(self.labelTree, 0, 0, 1, 1) self.gridLayout_4.addWidget(self.groupBox_2, 2, 0, 1, 1) self.gridLayout_6.addWidget(self.splitter, 0, 0, 1, 1) self.retranslateUi(Form) Qt.QMetaObject.connectSlotsByName(Form) def retranslateUi(self, Form): _translate = Qt.QCoreApplication.translate Form.setWindowTitle(_translate("Form", "Form")) self.groupBox.setTitle(_translate("Form", "View")) self.dorsalRadio.setText(_translate("Form", "Dorsal")) self.rostralRadio.setText(_translate("Form", "Rostral")) self.rightRadio.setText(_translate("Form", "Right")) self.greyCheck.setText(_translate("Form", "Greyscale")) self.overlayCheck.setText(_translate("Form", "Overlay")) self.groupBox_3.setTitle(_translate("Form", "Drawing")) self.label.setText(_translate("Form", "Radius")) self.label_2.setText(_translate("Form", "Label")) self.groupBox_2.setTitle(_translate("Form", "Labels")) self.labelTree.headerItem().setText(0, _translate("Form", "color")) self.labelTree.headerItem().setText(2, _translate("Form", "id"))
class Ui_Form(object): def setupUi(self, Form): Form.setObjectName(_fromUtf8("Form")) Form.resize(299, 371) self.gridLayout = QtGui.QGridLayout(Form) self.gridLayout.setMargin(0) self.gridLayout.setSpacing(0) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.groupBox_2 = QtGui.QGroupBox(Form) self.groupBox_2.setObjectName(_fromUtf8("groupBox_2")) self.gridLayout_3 = QtGui.QGridLayout(self.groupBox_2) self.gridLayout_3.setMargin(0) self.gridLayout_3.setVerticalSpacing(0) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.mapTable = QtGui.QTreeWidget(self.groupBox_2) self.mapTable.setObjectName(_fromUtf8("mapTable")) self.gridLayout_3.addWidget(self.mapTable, 0, 0, 1, 3) self.newMapBtn = FeedbackButton(self.groupBox_2) self.newMapBtn.setObjectName(_fromUtf8("newMapBtn")) self.gridLayout_3.addWidget(self.newMapBtn, 1, 0, 1, 1) self.loadMapBtn = FeedbackButton(self.groupBox_2) self.loadMapBtn.setObjectName(_fromUtf8("loadMapBtn")) self.gridLayout_3.addWidget(self.loadMapBtn, 1, 1, 1, 1) self.delMapBtn = FeedbackButton(self.groupBox_2) self.delMapBtn.setObjectName(_fromUtf8("delMapBtn")) self.gridLayout_3.addWidget(self.delMapBtn, 1, 2, 1, 1) self.addScanBtn = FeedbackButton(self.groupBox_2) self.addScanBtn.setObjectName(_fromUtf8("addScanBtn")) self.gridLayout_3.addWidget(self.addScanBtn, 2, 0, 1, 1) self.removeScanBtn = FeedbackButton(self.groupBox_2) self.removeScanBtn.setObjectName(_fromUtf8("removeScanBtn")) self.gridLayout_3.addWidget(self.removeScanBtn, 2, 1, 1, 1) self.gridLayout.addWidget(self.groupBox_2, 3, 0, 1, 3) self.groupBox = QtGui.QGroupBox(Form) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.gridLayout_2 = QtGui.QGridLayout(self.groupBox) self.gridLayout_2.setMargin(0) self.gridLayout_2.setVerticalSpacing(0) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.storeDBSpotBtn = FeedbackButton(self.groupBox) self.storeDBSpotBtn.setObjectName(_fromUtf8("storeDBSpotBtn")) self.gridLayout_2.addWidget(self.storeDBSpotBtn, 2, 2, 1, 1) self.label_2 = QtGui.QLabel(self.groupBox) self.label_2.setObjectName(_fromUtf8("label_2")) self.gridLayout_2.addWidget(self.label_2, 1, 0, 1, 1) self.rewriteSpotPosBtn = FeedbackButton(self.groupBox) self.rewriteSpotPosBtn.setObjectName(_fromUtf8("rewriteSpotPosBtn")) self.gridLayout_2.addWidget(self.rewriteSpotPosBtn, 3, 1, 1, 2) self.clearDBScanBtn = FeedbackButton(self.groupBox) self.clearDBScanBtn.setObjectName(_fromUtf8("clearDBScanBtn")) self.gridLayout_2.addWidget(self.clearDBScanBtn, 1, 1, 1, 1) self.clearDBSpotBtn = FeedbackButton(self.groupBox) self.clearDBSpotBtn.setObjectName(_fromUtf8("clearDBSpotBtn")) self.gridLayout_2.addWidget(self.clearDBSpotBtn, 2, 1, 1, 1) self.storeDBScanBtn = FeedbackButton(self.groupBox) self.storeDBScanBtn.setObjectName(_fromUtf8("storeDBScanBtn")) self.gridLayout_2.addWidget(self.storeDBScanBtn, 1, 2, 1, 1) self.label = QtGui.QLabel(self.groupBox) self.label.setObjectName(_fromUtf8("label")) self.gridLayout_2.addWidget(self.label, 2, 0, 1, 1) self.scanTree = TreeWidget(self.groupBox) self.scanTree.setSelectionMode( QtGui.QAbstractItemView.ExtendedSelection) self.scanTree.setHeaderHidden(False) self.scanTree.setObjectName(_fromUtf8("scanTree")) self.scanTree.header().setDefaultSectionSize(60) self.scanTree.header().setMinimumSectionSize(10) self.gridLayout_2.addWidget(self.scanTree, 0, 0, 1, 3) self.gridLayout.addWidget(self.groupBox, 2, 0, 1, 3) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form) def retranslateUi(self, Form): Form.setWindowTitle(_translate("Form", "Form", None)) self.groupBox_2.setTitle(_translate("Form", "Maps", None)) self.mapTable.headerItem().setText( 0, _translate("Form", "Map/Scan", None)) self.newMapBtn.setText(_translate("Form", "New Map", None)) self.loadMapBtn.setText(_translate("Form", "Load Selected", None)) self.delMapBtn.setText(_translate("Form", "Delete", None)) self.addScanBtn.setText(_translate("Form", "Add Scan", None)) self.removeScanBtn.setText(_translate("Form", "Remove Scan", None)) self.groupBox.setTitle(_translate("Form", "Scans Loaded", None)) self.storeDBSpotBtn.setText(_translate("Form", "Store to DB", None)) self.label_2.setText(_translate("Form", "Selected Scan:", None)) self.rewriteSpotPosBtn.setText( _translate("Form", "Re-write spot locations", None)) self.clearDBScanBtn.setText(_translate("Form", "Clear DB Entry", None)) self.clearDBSpotBtn.setText(_translate("Form", "Clear DB Entry", None)) self.storeDBScanBtn.setText(_translate("Form", "Store to DB", None)) self.label.setText(_translate("Form", "Selected Spot:", None)) self.scanTree.headerItem().setText(0, _translate("Form", "Scan", None)) self.scanTree.headerItem().setText(1, _translate("Form", "Display", None)) self.scanTree.headerItem().setText(2, _translate("Form", "Events", None)) self.scanTree.headerItem().setText(3, _translate("Form", "Stats", None))
class Ui_Form(object): def setupUi(self, Form): Form.setObjectName(_fromUtf8("Form")) Form.resize(758, 588) self.gridLayout_6 = QtGui.QGridLayout(Form) self.gridLayout_6.setMargin(0) self.gridLayout_6.setSpacing(0) self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6")) self.splitter = QtGui.QSplitter(Form) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setObjectName(_fromUtf8("splitter")) self.widget = QtGui.QWidget(self.splitter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(10) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.widget.sizePolicy().hasHeightForWidth()) self.widget.setSizePolicy(sizePolicy) self.widget.setObjectName(_fromUtf8("widget")) self.gridLayout_5 = QtGui.QGridLayout(self.widget) self.gridLayout_5.setMargin(0) self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.view = GraphicsView(self.widget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(10) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.view.sizePolicy().hasHeightForWidth()) self.view.setSizePolicy(sizePolicy) self.view.setObjectName(_fromUtf8("view")) self.gridLayout_5.addWidget(self.view, 0, 0, 1, 1) self.zSlider = QtGui.QSlider(self.widget) self.zSlider.setOrientation(QtCore.Qt.Horizontal) self.zSlider.setObjectName(_fromUtf8("zSlider")) self.gridLayout_5.addWidget(self.zSlider, 1, 0, 1, 1) self.widget1 = QtGui.QWidget(self.splitter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(2) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.widget1.sizePolicy().hasHeightForWidth()) self.widget1.setSizePolicy(sizePolicy) self.widget1.setObjectName(_fromUtf8("widget1")) self.gridLayout_4 = QtGui.QGridLayout(self.widget1) self.gridLayout_4.setMargin(0) self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) self.groupBox = QtGui.QGroupBox(self.widget1) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(1) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth()) self.groupBox.setSizePolicy(sizePolicy) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.gridLayout = QtGui.QGridLayout(self.groupBox) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.dorsalRadio = QtGui.QRadioButton(self.groupBox) self.dorsalRadio.setObjectName(_fromUtf8("dorsalRadio")) self.gridLayout.addWidget(self.dorsalRadio, 1, 1, 1, 1) self.rostralRadio = QtGui.QRadioButton(self.groupBox) self.rostralRadio.setObjectName(_fromUtf8("rostralRadio")) self.gridLayout.addWidget(self.rostralRadio, 2, 1, 1, 1) self.rightRadio = QtGui.QRadioButton(self.groupBox) self.rightRadio.setChecked(True) self.rightRadio.setObjectName(_fromUtf8("rightRadio")) self.gridLayout.addWidget(self.rightRadio, 0, 1, 1, 1) self.greyCheck = QtGui.QCheckBox(self.groupBox) self.greyCheck.setObjectName(_fromUtf8("greyCheck")) self.gridLayout.addWidget(self.greyCheck, 4, 1, 1, 1) self.labelSlider = QtGui.QSlider(self.groupBox) self.labelSlider.setMaximum(255) self.labelSlider.setProperty("value", 50) self.labelSlider.setOrientation(QtCore.Qt.Horizontal) self.labelSlider.setObjectName(_fromUtf8("labelSlider")) self.gridLayout.addWidget(self.labelSlider, 6, 1, 1, 1) self.line = QtGui.QFrame(self.groupBox) self.line.setFrameShape(QtGui.QFrame.HLine) self.line.setFrameShadow(QtGui.QFrame.Sunken) self.line.setObjectName(_fromUtf8("line")) self.gridLayout.addWidget(self.line, 3, 1, 1, 1) self.overlayCheck = QtGui.QCheckBox(self.groupBox) self.overlayCheck.setObjectName(_fromUtf8("overlayCheck")) self.gridLayout.addWidget(self.overlayCheck, 5, 1, 1, 1) self.gridLayout_4.addWidget(self.groupBox, 0, 0, 1, 1) self.groupBox_3 = QtGui.QGroupBox(self.widget1) self.groupBox_3.setObjectName(_fromUtf8("groupBox_3")) self.gridLayout_3 = QtGui.QGridLayout(self.groupBox_3) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.label = QtGui.QLabel(self.groupBox_3) self.label.setObjectName(_fromUtf8("label")) self.gridLayout_3.addWidget(self.label, 0, 0, 1, 1) self.radiusSpin = QtGui.QSpinBox(self.groupBox_3) self.radiusSpin.setMinimum(1) self.radiusSpin.setObjectName(_fromUtf8("radiusSpin")) self.gridLayout_3.addWidget(self.radiusSpin, 0, 1, 1, 1) self.label_2 = QtGui.QLabel(self.groupBox_3) self.label_2.setObjectName(_fromUtf8("label_2")) self.gridLayout_3.addWidget(self.label_2, 1, 0, 1, 1) self.labelSpin = QtGui.QSpinBox(self.groupBox_3) self.labelSpin.setMinimum(0) self.labelSpin.setMaximum(15) self.labelSpin.setProperty("value", 0) self.labelSpin.setObjectName(_fromUtf8("labelSpin")) self.gridLayout_3.addWidget(self.labelSpin, 1, 1, 1, 1) self.gridLayout_4.addWidget(self.groupBox_3, 1, 0, 1, 1) self.groupBox_2 = QtGui.QGroupBox(self.widget1) self.groupBox_2.setObjectName(_fromUtf8("groupBox_2")) self.gridLayout_2 = QtGui.QGridLayout(self.groupBox_2) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.labelTree = TreeWidget(self.groupBox_2) self.labelTree.setRootIsDecorated(False) self.labelTree.setItemsExpandable(False) self.labelTree.setExpandsOnDoubleClick(False) self.labelTree.setObjectName(_fromUtf8("labelTree")) self.labelTree.headerItem().setText(1, _fromUtf8("name")) self.labelTree.header().setDefaultSectionSize(100) self.gridLayout_2.addWidget(self.labelTree, 0, 0, 1, 1) self.gridLayout_4.addWidget(self.groupBox_2, 2, 0, 1, 1) self.gridLayout_6.addWidget(self.splitter, 0, 0, 1, 1) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form) def retranslateUi(self, Form): Form.setWindowTitle(_translate("Form", "Form", None)) self.groupBox.setTitle(_translate("Form", "View", None)) self.dorsalRadio.setText(_translate("Form", "Dorsal", None)) self.rostralRadio.setText(_translate("Form", "Rostral", None)) self.rightRadio.setText(_translate("Form", "Right", None)) self.greyCheck.setText(_translate("Form", "Greyscale", None)) self.overlayCheck.setText(_translate("Form", "Overlay", None)) self.groupBox_3.setTitle(_translate("Form", "Drawing", None)) self.label.setText(_translate("Form", "Radius", None)) self.label_2.setText(_translate("Form", "Label", None)) self.groupBox_2.setTitle(_translate("Form", "Labels", None)) self.labelTree.headerItem().setText(0, _translate("Form", "color", None)) self.labelTree.headerItem().setText(2, _translate("Form", "id", None))
class Ui_Form(object): def setupUi(self, Form): Form.setObjectName(_fromUtf8("Form")) Form.resize(299, 371) self.gridLayout = QtGui.QGridLayout(Form) self.gridLayout.setMargin(0) self.gridLayout.setSpacing(0) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.groupBox_2 = QtGui.QGroupBox(Form) self.groupBox_2.setObjectName(_fromUtf8("groupBox_2")) self.gridLayout_3 = QtGui.QGridLayout(self.groupBox_2) self.gridLayout_3.setMargin(0) self.gridLayout_3.setVerticalSpacing(0) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.mapTable = QtGui.QTreeWidget(self.groupBox_2) self.mapTable.setObjectName(_fromUtf8("mapTable")) self.gridLayout_3.addWidget(self.mapTable, 0, 0, 1, 3) self.newMapBtn = FeedbackButton(self.groupBox_2) self.newMapBtn.setObjectName(_fromUtf8("newMapBtn")) self.gridLayout_3.addWidget(self.newMapBtn, 1, 0, 1, 1) self.loadMapBtn = FeedbackButton(self.groupBox_2) self.loadMapBtn.setObjectName(_fromUtf8("loadMapBtn")) self.gridLayout_3.addWidget(self.loadMapBtn, 1, 1, 1, 1) self.delMapBtn = FeedbackButton(self.groupBox_2) self.delMapBtn.setObjectName(_fromUtf8("delMapBtn")) self.gridLayout_3.addWidget(self.delMapBtn, 1, 2, 1, 1) self.addScanBtn = FeedbackButton(self.groupBox_2) self.addScanBtn.setObjectName(_fromUtf8("addScanBtn")) self.gridLayout_3.addWidget(self.addScanBtn, 2, 0, 1, 1) self.removeScanBtn = FeedbackButton(self.groupBox_2) self.removeScanBtn.setObjectName(_fromUtf8("removeScanBtn")) self.gridLayout_3.addWidget(self.removeScanBtn, 2, 1, 1, 1) self.gridLayout.addWidget(self.groupBox_2, 3, 0, 1, 3) self.groupBox = QtGui.QGroupBox(Form) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.gridLayout_2 = QtGui.QGridLayout(self.groupBox) self.gridLayout_2.setMargin(0) self.gridLayout_2.setVerticalSpacing(0) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.storeDBSpotBtn = FeedbackButton(self.groupBox) self.storeDBSpotBtn.setObjectName(_fromUtf8("storeDBSpotBtn")) self.gridLayout_2.addWidget(self.storeDBSpotBtn, 2, 2, 1, 1) self.label_2 = QtGui.QLabel(self.groupBox) self.label_2.setObjectName(_fromUtf8("label_2")) self.gridLayout_2.addWidget(self.label_2, 1, 0, 1, 1) self.rewriteSpotPosBtn = FeedbackButton(self.groupBox) self.rewriteSpotPosBtn.setObjectName(_fromUtf8("rewriteSpotPosBtn")) self.gridLayout_2.addWidget(self.rewriteSpotPosBtn, 3, 1, 1, 2) self.clearDBScanBtn = FeedbackButton(self.groupBox) self.clearDBScanBtn.setObjectName(_fromUtf8("clearDBScanBtn")) self.gridLayout_2.addWidget(self.clearDBScanBtn, 1, 1, 1, 1) self.clearDBSpotBtn = FeedbackButton(self.groupBox) self.clearDBSpotBtn.setObjectName(_fromUtf8("clearDBSpotBtn")) self.gridLayout_2.addWidget(self.clearDBSpotBtn, 2, 1, 1, 1) self.storeDBScanBtn = FeedbackButton(self.groupBox) self.storeDBScanBtn.setObjectName(_fromUtf8("storeDBScanBtn")) self.gridLayout_2.addWidget(self.storeDBScanBtn, 1, 2, 1, 1) self.label = QtGui.QLabel(self.groupBox) self.label.setObjectName(_fromUtf8("label")) self.gridLayout_2.addWidget(self.label, 2, 0, 1, 1) self.scanTree = TreeWidget(self.groupBox) self.scanTree.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection) self.scanTree.setHeaderHidden(False) self.scanTree.setObjectName(_fromUtf8("scanTree")) self.scanTree.header().setDefaultSectionSize(60) self.scanTree.header().setMinimumSectionSize(10) self.gridLayout_2.addWidget(self.scanTree, 0, 0, 1, 3) self.gridLayout.addWidget(self.groupBox, 2, 0, 1, 3) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form) def retranslateUi(self, Form): Form.setWindowTitle(_translate("Form", "Form", None)) self.groupBox_2.setTitle(_translate("Form", "Maps", None)) self.mapTable.headerItem().setText(0, _translate("Form", "Map/Scan", None)) self.newMapBtn.setText(_translate("Form", "New Map", None)) self.loadMapBtn.setText(_translate("Form", "Load Selected", None)) self.delMapBtn.setText(_translate("Form", "Delete", None)) self.addScanBtn.setText(_translate("Form", "Add Scan", None)) self.removeScanBtn.setText(_translate("Form", "Remove Scan", None)) self.groupBox.setTitle(_translate("Form", "Scans Loaded", None)) self.storeDBSpotBtn.setText(_translate("Form", "Store to DB", None)) self.label_2.setText(_translate("Form", "Selected Scan:", None)) self.rewriteSpotPosBtn.setText(_translate("Form", "Re-write spot locations", None)) self.clearDBScanBtn.setText(_translate("Form", "Clear DB Entry", None)) self.clearDBSpotBtn.setText(_translate("Form", "Clear DB Entry", None)) self.storeDBScanBtn.setText(_translate("Form", "Store to DB", None)) self.label.setText(_translate("Form", "Selected Spot:", None)) self.scanTree.headerItem().setText(0, _translate("Form", "Scan", None)) self.scanTree.headerItem().setText(1, _translate("Form", "Display", None)) self.scanTree.headerItem().setText(2, _translate("Form", "Events", None)) self.scanTree.headerItem().setText(3, _translate("Form", "Stats", None))