def setupUi(self, Form): Form.setObjectName(_fromUtf8("Form")) Form.resize(199, 156) self.gridLayout_2 = QtGui.QGridLayout(Form) self.gridLayout_2.setMargin(3) self.gridLayout_2.setSpacing(3) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setSpacing(3) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.label = QtGui.QLabel(Form) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.label.setFont(font) self.label.setObjectName(_fromUtf8("label")) self.horizontalLayout.addWidget(self.label) self.fileLabel = QtGui.QLabel(Form) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.fileLabel.setFont(font) self.fileLabel.setObjectName(_fromUtf8("fileLabel")) self.horizontalLayout.addWidget(self.fileLabel) self.horizontalLayout.setStretch(1, 5) self.gridLayout_2.addLayout(self.horizontalLayout, 0, 0, 1, 2) self.newFileBtn = QtGui.QPushButton(Form) self.newFileBtn.setObjectName(_fromUtf8("newFileBtn")) self.gridLayout_2.addWidget(self.newFileBtn, 1, 0, 1, 1) self.openFileBtn = QtGui.QPushButton(Form) self.openFileBtn.setObjectName(_fromUtf8("openFileBtn")) self.gridLayout_2.addWidget(self.openFileBtn, 1, 1, 1, 1) self.groupBox = QtGui.QGroupBox(Form) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.gridLayout = QtGui.QGridLayout(self.groupBox) self.gridLayout.setMargin(3) self.gridLayout.setSpacing(3) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.roiRadio = QtGui.QRadioButton(self.groupBox) self.roiRadio.setChecked(True) self.roiRadio.setObjectName(_fromUtf8("roiRadio")) self.gridLayout.addWidget(self.roiRadio, 1, 0, 1, 1) self.videoRadio = QtGui.QRadioButton(self.groupBox) self.videoRadio.setObjectName(_fromUtf8("videoRadio")) self.gridLayout.addWidget(self.videoRadio, 2, 0, 1, 1) self.everythingRadio = QtGui.QRadioButton(self.groupBox) self.everythingRadio.setObjectName(_fromUtf8("everythingRadio")) self.gridLayout.addWidget(self.everythingRadio, 3, 0, 1, 1) self.gridLayout_2.addWidget(self.groupBox, 2, 0, 1, 2) self.storeBtn = FeedbackButton(Form) self.storeBtn.setObjectName(_fromUtf8("storeBtn")) self.gridLayout_2.addWidget(self.storeBtn, 3, 0, 1, 2) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form)
class Ui_Form(object): def setupUi(self, Form): Form.setObjectName("Form") Form.resize(233, 114) self.gridLayout = QtWidgets.QGridLayout(Form) self.gridLayout.setContentsMargins(3, 3, 3, 3) self.gridLayout.setSpacing(3) self.gridLayout.setObjectName("gridLayout") self.setSliceBtn = QtWidgets.QPushButton(Form) self.setSliceBtn.setObjectName("setSliceBtn") self.gridLayout.addWidget(self.setSliceBtn, 0, 0, 1, 2) self.label_2 = QtWidgets.QLabel(Form) self.label_2.setObjectName("label_2") self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1) self.sliceLabel = QtWidgets.QLabel(Form) font = Qt.QFont() font.setBold(True) font.setWeight(75) self.sliceLabel.setFont(font) self.sliceLabel.setObjectName("sliceLabel") self.gridLayout.addWidget(self.sliceLabel, 1, 1, 1, 1) self.groupBox = QtWidgets.QGroupBox(Form) self.groupBox.setObjectName("groupBox") self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBox) self.gridLayout_3.setContentsMargins(2, 2, 2, 2) self.gridLayout_3.setSpacing(1) self.gridLayout_3.setObjectName("gridLayout_3") self.dbWidget = DatabaseGui(self.groupBox) self.dbWidget.setObjectName("dbWidget") self.gridLayout_3.addWidget(self.dbWidget, 0, 0, 1, 3) self.storeBtn = FeedbackButton(self.groupBox) self.storeBtn.setObjectName("storeBtn") self.gridLayout_3.addWidget(self.storeBtn, 1, 0, 1, 1) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_3.addItem(spacerItem, 1, 2, 1, 1) self.gridLayout.addWidget(self.groupBox, 2, 0, 1, 2) self.retranslateUi(Form) Qt.QMetaObject.connectSlotsByName(Form) def retranslateUi(self, Form): _translate = Qt.QCoreApplication.translate Form.setWindowTitle(_translate("Form", "Form")) self.setSliceBtn.setText( _translate("Form", "Set current slice from selecion")) self.label_2.setText(_translate("Form", "Current slice:")) self.sliceLabel.setText(_translate("Form", "None")) self.groupBox.setTitle(_translate("Form", "Database Tables")) self.storeBtn.setText(_translate("Form", "Store item positions to DB"))
class Ui_Form(object): def setupUi(self, Form): Form.setObjectName(_fromUtf8("Form")) Form.resize(233, 114) self.gridLayout = QtGui.QGridLayout(Form) self.gridLayout.setMargin(3) self.gridLayout.setSpacing(3) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.setSliceBtn = QtGui.QPushButton(Form) self.setSliceBtn.setObjectName(_fromUtf8("setSliceBtn")) self.gridLayout.addWidget(self.setSliceBtn, 0, 0, 1, 2) self.label_2 = QtGui.QLabel(Form) self.label_2.setObjectName(_fromUtf8("label_2")) self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1) self.sliceLabel = QtGui.QLabel(Form) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.sliceLabel.setFont(font) self.sliceLabel.setObjectName(_fromUtf8("sliceLabel")) self.gridLayout.addWidget(self.sliceLabel, 1, 1, 1, 1) self.groupBox = QtGui.QGroupBox(Form) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.gridLayout_3 = QtGui.QGridLayout(self.groupBox) self.gridLayout_3.setMargin(2) self.gridLayout_3.setSpacing(1) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.dbWidget = DatabaseGui(self.groupBox) self.dbWidget.setObjectName(_fromUtf8("dbWidget")) self.gridLayout_3.addWidget(self.dbWidget, 0, 0, 1, 3) self.storeBtn = FeedbackButton(self.groupBox) self.storeBtn.setObjectName(_fromUtf8("storeBtn")) self.gridLayout_3.addWidget(self.storeBtn, 1, 0, 1, 1) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_3.addItem(spacerItem, 1, 2, 1, 1) self.gridLayout.addWidget(self.groupBox, 2, 0, 1, 2) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form) def retranslateUi(self, Form): Form.setWindowTitle(_translate("Form", "Form", None)) self.setSliceBtn.setText(_translate("Form", "Set current slice from selecion", None)) self.label_2.setText(_translate("Form", "Current slice:", None)) self.sliceLabel.setText(_translate("Form", "None", None)) self.groupBox.setTitle(_translate("Form", "Database Tables", None)) self.storeBtn.setText(_translate("Form", "Store item positions to DB", None))
def setupUi(self, Form): Form.setObjectName("Form") Form.resize(233, 114) self.gridLayout = QtWidgets.QGridLayout(Form) self.gridLayout.setContentsMargins(3, 3, 3, 3) self.gridLayout.setSpacing(3) self.gridLayout.setObjectName("gridLayout") self.setSliceBtn = QtWidgets.QPushButton(Form) self.setSliceBtn.setObjectName("setSliceBtn") self.gridLayout.addWidget(self.setSliceBtn, 0, 0, 1, 2) self.label_2 = QtWidgets.QLabel(Form) self.label_2.setObjectName("label_2") self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1) self.sliceLabel = QtWidgets.QLabel(Form) font = Qt.QFont() font.setBold(True) font.setWeight(75) self.sliceLabel.setFont(font) self.sliceLabel.setObjectName("sliceLabel") self.gridLayout.addWidget(self.sliceLabel, 1, 1, 1, 1) self.groupBox = QtWidgets.QGroupBox(Form) self.groupBox.setObjectName("groupBox") self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBox) self.gridLayout_3.setContentsMargins(2, 2, 2, 2) self.gridLayout_3.setSpacing(1) self.gridLayout_3.setObjectName("gridLayout_3") self.dbWidget = DatabaseGui(self.groupBox) self.dbWidget.setObjectName("dbWidget") self.gridLayout_3.addWidget(self.dbWidget, 0, 0, 1, 3) self.storeBtn = FeedbackButton(self.groupBox) self.storeBtn.setObjectName("storeBtn") self.gridLayout_3.addWidget(self.storeBtn, 1, 0, 1, 1) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_3.addItem(spacerItem, 1, 2, 1, 1) self.gridLayout.addWidget(self.groupBox, 2, 0, 1, 2) self.retranslateUi(Form) Qt.QMetaObject.connectSlotsByName(Form)
def setupUi(self, Form): Form.setObjectName(_fromUtf8("Form")) Form.resize(233, 114) self.gridLayout = QtGui.QGridLayout(Form) self.gridLayout.setMargin(3) self.gridLayout.setSpacing(3) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.setSliceBtn = QtGui.QPushButton(Form) self.setSliceBtn.setObjectName(_fromUtf8("setSliceBtn")) self.gridLayout.addWidget(self.setSliceBtn, 0, 0, 1, 2) self.label_2 = QtGui.QLabel(Form) self.label_2.setObjectName(_fromUtf8("label_2")) self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1) self.sliceLabel = QtGui.QLabel(Form) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.sliceLabel.setFont(font) self.sliceLabel.setObjectName(_fromUtf8("sliceLabel")) self.gridLayout.addWidget(self.sliceLabel, 1, 1, 1, 1) self.groupBox = QtGui.QGroupBox(Form) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.gridLayout_3 = QtGui.QGridLayout(self.groupBox) self.gridLayout_3.setMargin(2) self.gridLayout_3.setSpacing(1) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.dbWidget = DatabaseGui(self.groupBox) self.dbWidget.setObjectName(_fromUtf8("dbWidget")) self.gridLayout_3.addWidget(self.dbWidget, 0, 0, 1, 3) self.storeBtn = FeedbackButton(self.groupBox) self.storeBtn.setObjectName(_fromUtf8("storeBtn")) self.gridLayout_3.addWidget(self.storeBtn, 1, 0, 1, 1) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_3.addItem(spacerItem, 1, 2, 1, 1) self.gridLayout.addWidget(self.groupBox, 2, 0, 1, 2) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form)
class Ui_Form(object): def setupUi(self, Form): Form.setObjectName(_fromUtf8("Form")) Form.resize(199, 156) self.gridLayout_2 = QtGui.QGridLayout(Form) self.gridLayout_2.setMargin(3) self.gridLayout_2.setSpacing(3) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setSpacing(3) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.label = QtGui.QLabel(Form) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.label.setFont(font) self.label.setObjectName(_fromUtf8("label")) self.horizontalLayout.addWidget(self.label) self.fileLabel = QtGui.QLabel(Form) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.fileLabel.setFont(font) self.fileLabel.setObjectName(_fromUtf8("fileLabel")) self.horizontalLayout.addWidget(self.fileLabel) self.horizontalLayout.setStretch(1, 5) self.gridLayout_2.addLayout(self.horizontalLayout, 0, 0, 1, 2) self.newFileBtn = QtGui.QPushButton(Form) self.newFileBtn.setObjectName(_fromUtf8("newFileBtn")) self.gridLayout_2.addWidget(self.newFileBtn, 1, 0, 1, 1) self.openFileBtn = QtGui.QPushButton(Form) self.openFileBtn.setObjectName(_fromUtf8("openFileBtn")) self.gridLayout_2.addWidget(self.openFileBtn, 1, 1, 1, 1) self.groupBox = QtGui.QGroupBox(Form) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.gridLayout = QtGui.QGridLayout(self.groupBox) self.gridLayout.setMargin(3) self.gridLayout.setSpacing(3) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.roiRadio = QtGui.QRadioButton(self.groupBox) self.roiRadio.setChecked(True) self.roiRadio.setObjectName(_fromUtf8("roiRadio")) self.gridLayout.addWidget(self.roiRadio, 1, 0, 1, 1) self.videoRadio = QtGui.QRadioButton(self.groupBox) self.videoRadio.setObjectName(_fromUtf8("videoRadio")) self.gridLayout.addWidget(self.videoRadio, 2, 0, 1, 1) self.everythingRadio = QtGui.QRadioButton(self.groupBox) self.everythingRadio.setObjectName(_fromUtf8("everythingRadio")) self.gridLayout.addWidget(self.everythingRadio, 3, 0, 1, 1) self.gridLayout_2.addWidget(self.groupBox, 2, 0, 1, 2) self.storeBtn = FeedbackButton(Form) self.storeBtn.setObjectName(_fromUtf8("storeBtn")) self.gridLayout_2.addWidget(self.storeBtn, 3, 0, 1, 2) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form) def retranslateUi(self, Form): Form.setWindowTitle(_translate("Form", "Form", None)) self.label.setText(_translate("Form", "Current storage file:", None)) self.fileLabel.setText(_translate("Form", "None", None)) self.newFileBtn.setText(_translate("Form", "New", None)) self.openFileBtn.setText(_translate("Form", "Open...", None)) self.groupBox.setTitle(_translate("Form", "Store:", None)) self.roiRadio.setText(_translate("Form", "only selected ROI", None)) self.videoRadio.setText(_translate("Form", "only selected video", None)) self.everythingRadio.setText(_translate("Form", "everything that\'s loaded", None)) self.storeBtn.setText(_translate("Form", "Store events", None))
class Ui_Form(object): def setupUi(self, Form): Form.setObjectName(_fromUtf8("Form")) Form.resize(199, 156) self.gridLayout_2 = QtGui.QGridLayout(Form) self.gridLayout_2.setMargin(3) self.gridLayout_2.setSpacing(3) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setSpacing(3) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.label = QtGui.QLabel(Form) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.label.setFont(font) self.label.setObjectName(_fromUtf8("label")) self.horizontalLayout.addWidget(self.label) self.fileLabel = QtGui.QLabel(Form) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.fileLabel.setFont(font) self.fileLabel.setObjectName(_fromUtf8("fileLabel")) self.horizontalLayout.addWidget(self.fileLabel) self.horizontalLayout.setStretch(1, 5) self.gridLayout_2.addLayout(self.horizontalLayout, 0, 0, 1, 2) self.newFileBtn = QtGui.QPushButton(Form) self.newFileBtn.setObjectName(_fromUtf8("newFileBtn")) self.gridLayout_2.addWidget(self.newFileBtn, 1, 0, 1, 1) self.openFileBtn = QtGui.QPushButton(Form) self.openFileBtn.setObjectName(_fromUtf8("openFileBtn")) self.gridLayout_2.addWidget(self.openFileBtn, 1, 1, 1, 1) self.groupBox = QtGui.QGroupBox(Form) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.gridLayout = QtGui.QGridLayout(self.groupBox) self.gridLayout.setMargin(3) self.gridLayout.setSpacing(3) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.roiRadio = QtGui.QRadioButton(self.groupBox) self.roiRadio.setChecked(True) self.roiRadio.setObjectName(_fromUtf8("roiRadio")) self.gridLayout.addWidget(self.roiRadio, 1, 0, 1, 1) self.videoRadio = QtGui.QRadioButton(self.groupBox) self.videoRadio.setObjectName(_fromUtf8("videoRadio")) self.gridLayout.addWidget(self.videoRadio, 2, 0, 1, 1) self.everythingRadio = QtGui.QRadioButton(self.groupBox) self.everythingRadio.setObjectName(_fromUtf8("everythingRadio")) self.gridLayout.addWidget(self.everythingRadio, 3, 0, 1, 1) self.gridLayout_2.addWidget(self.groupBox, 2, 0, 1, 2) self.storeBtn = FeedbackButton(Form) self.storeBtn.setObjectName(_fromUtf8("storeBtn")) self.gridLayout_2.addWidget(self.storeBtn, 3, 0, 1, 2) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form) def retranslateUi(self, Form): Form.setWindowTitle(_translate("Form", "Form", None)) self.label.setText(_translate("Form", "Current storage file:", None)) self.fileLabel.setText(_translate("Form", "None", None)) self.newFileBtn.setText(_translate("Form", "New", None)) self.openFileBtn.setText(_translate("Form", "Open...", None)) self.groupBox.setTitle(_translate("Form", "Store:", None)) self.roiRadio.setText(_translate("Form", "only selected ROI", None)) self.videoRadio.setText(_translate("Form", "only selected video", None)) self.everythingRadio.setText( _translate("Form", "everything that\'s loaded", None)) self.storeBtn.setText(_translate("Form", "Store events", None))