8d148b639b
change to src layout
72 lines
3.5 KiB
Python
72 lines
3.5 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Form implementation generated from reading ui file 'resources/_ui/namespace_widget.ui'
|
|
#
|
|
# Created by: PyQt5 UI code generator 5.12.3
|
|
#
|
|
# WARNING! All changes made in this file will be lost!
|
|
|
|
|
|
from PyQt5 import QtCore, QtGui, QtWidgets
|
|
|
|
|
|
class Ui_Form(object):
|
|
def setupUi(self, Form):
|
|
Form.setObjectName("Form")
|
|
Form.resize(400, 300)
|
|
self.gridLayout_2 = QtWidgets.QGridLayout(Form)
|
|
self.gridLayout_2.setContentsMargins(1, 1, 1, 1)
|
|
self.gridLayout_2.setSpacing(3)
|
|
self.gridLayout_2.setObjectName("gridLayout_2")
|
|
self.groups_comboBox = QtWidgets.QComboBox(Form)
|
|
self.groups_comboBox.setObjectName("groups_comboBox")
|
|
self.gridLayout_2.addWidget(self.groups_comboBox, 0, 0, 1, 1)
|
|
self.subgroups_comboBox = QtWidgets.QComboBox(Form)
|
|
self.subgroups_comboBox.setObjectName("subgroups_comboBox")
|
|
self.gridLayout_2.addWidget(self.subgroups_comboBox, 0, 1, 1, 1)
|
|
self.namespace_table = QtWidgets.QTableWidget(Form)
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.MinimumExpanding)
|
|
sizePolicy.setHorizontalStretch(0)
|
|
sizePolicy.setVerticalStretch(0)
|
|
sizePolicy.setHeightForWidth(self.namespace_table.sizePolicy().hasHeightForWidth())
|
|
self.namespace_table.setSizePolicy(sizePolicy)
|
|
self.namespace_table.setMinimumSize(QtCore.QSize(0, 0))
|
|
self.namespace_table.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
|
|
self.namespace_table.setSelectionMode(QtWidgets.QAbstractItemView.SingleSelection)
|
|
self.namespace_table.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectRows)
|
|
self.namespace_table.setTextElideMode(QtCore.Qt.ElideNone)
|
|
self.namespace_table.setColumnCount(2)
|
|
self.namespace_table.setObjectName("namespace_table")
|
|
self.namespace_table.setRowCount(5)
|
|
item = QtWidgets.QTableWidgetItem()
|
|
self.namespace_table.setVerticalHeaderItem(0, item)
|
|
item = QtWidgets.QTableWidgetItem()
|
|
self.namespace_table.setVerticalHeaderItem(1, item)
|
|
item = QtWidgets.QTableWidgetItem()
|
|
self.namespace_table.setVerticalHeaderItem(2, item)
|
|
item = QtWidgets.QTableWidgetItem()
|
|
self.namespace_table.setVerticalHeaderItem(3, item)
|
|
item = QtWidgets.QTableWidgetItem()
|
|
self.namespace_table.setVerticalHeaderItem(4, item)
|
|
self.namespace_table.horizontalHeader().setVisible(False)
|
|
self.namespace_table.horizontalHeader().setStretchLastSection(True)
|
|
self.namespace_table.verticalHeader().setVisible(False)
|
|
self.gridLayout_2.addWidget(self.namespace_table, 1, 0, 1, 2)
|
|
|
|
self.retranslateUi(Form)
|
|
QtCore.QMetaObject.connectSlotsByName(Form)
|
|
|
|
def retranslateUi(self, Form):
|
|
_translate = QtCore.QCoreApplication.translate
|
|
Form.setWindowTitle(_translate("Form", "Form"))
|
|
item = self.namespace_table.verticalHeaderItem(0)
|
|
item.setText(_translate("Form", "Neue Zeile"))
|
|
item = self.namespace_table.verticalHeaderItem(1)
|
|
item.setText(_translate("Form", "Neue Zeile"))
|
|
item = self.namespace_table.verticalHeaderItem(2)
|
|
item.setText(_translate("Form", "Neue Zeile"))
|
|
item = self.namespace_table.verticalHeaderItem(3)
|
|
item.setText(_translate("Form", "Neue Zeile"))
|
|
item = self.namespace_table.verticalHeaderItem(4)
|
|
item.setText(_translate("Form", "Neue Zeile"))
|