|
|
|
@ -42,16 +42,45 @@ class Ui_MainWindow(object):
|
|
|
|
|
sizePolicy.setVerticalStretch(0) |
|
|
|
|
sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth()) |
|
|
|
|
self.groupBox.setSizePolicy(sizePolicy) |
|
|
|
|
self.groupBox.setMinimumSize(QtCore.QSize(100, 0)) |
|
|
|
|
self.groupBox.setMaximumSize(QtCore.QSize(200, 200)) |
|
|
|
|
self.groupBox.setObjectName("groupBox") |
|
|
|
|
self.gridLayout = QtWidgets.QGridLayout(self.groupBox) |
|
|
|
|
self.gridLayout.setObjectName("gridLayout") |
|
|
|
|
self.point_list_widget = QtWidgets.QListWidget(self.groupBox) |
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding) |
|
|
|
|
sizePolicy.setHorizontalStretch(0) |
|
|
|
|
sizePolicy.setVerticalStretch(0) |
|
|
|
|
sizePolicy.setHeightForWidth(self.point_list_widget.sizePolicy().hasHeightForWidth()) |
|
|
|
|
self.point_list_widget.setSizePolicy(sizePolicy) |
|
|
|
|
self.point_list_widget.setMinimumSize(QtCore.QSize(100, 0)) |
|
|
|
|
self.point_list_widget.setObjectName("point_list_widget") |
|
|
|
|
self.gridLayout.addWidget(self.point_list_widget, 0, 0, 1, 1) |
|
|
|
|
self.verticalLayout.addWidget(self.groupBox) |
|
|
|
|
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) |
|
|
|
|
spacerItem = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed) |
|
|
|
|
self.verticalLayout.addItem(spacerItem) |
|
|
|
|
self.groupBox_2 = QtWidgets.QGroupBox(self.centralwidget) |
|
|
|
|
self.groupBox_2.setObjectName("groupBox_2") |
|
|
|
|
self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_2) |
|
|
|
|
self.gridLayout_2.setObjectName("gridLayout_2") |
|
|
|
|
spacerItem1 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) |
|
|
|
|
self.gridLayout_2.addItem(spacerItem1, 0, 2, 1, 1) |
|
|
|
|
self.label = QtWidgets.QLabel(self.groupBox_2) |
|
|
|
|
self.label.setObjectName("label") |
|
|
|
|
self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1) |
|
|
|
|
self.mouse_position_label = QtWidgets.QLabel(self.groupBox_2) |
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred) |
|
|
|
|
sizePolicy.setHorizontalStretch(0) |
|
|
|
|
sizePolicy.setVerticalStretch(0) |
|
|
|
|
sizePolicy.setHeightForWidth(self.mouse_position_label.sizePolicy().hasHeightForWidth()) |
|
|
|
|
self.mouse_position_label.setSizePolicy(sizePolicy) |
|
|
|
|
self.mouse_position_label.setMinimumSize(QtCore.QSize(100, 0)) |
|
|
|
|
self.mouse_position_label.setText("") |
|
|
|
|
self.mouse_position_label.setObjectName("mouse_position_label") |
|
|
|
|
self.gridLayout_2.addWidget(self.mouse_position_label, 0, 3, 1, 1) |
|
|
|
|
spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) |
|
|
|
|
self.gridLayout_2.addItem(spacerItem2, 1, 0, 1, 1) |
|
|
|
|
self.verticalLayout.addWidget(self.groupBox_2) |
|
|
|
|
self.horizontalLayout.addLayout(self.verticalLayout) |
|
|
|
|
MainWindow.setCentralWidget(self.centralwidget) |
|
|
|
|
self.menubar = QtWidgets.QMenuBar(MainWindow) |
|
|
|
@ -108,6 +137,8 @@ class Ui_MainWindow(object):
|
|
|
|
|
_translate = QtCore.QCoreApplication.translate |
|
|
|
|
MainWindow.setWindowTitle(_translate("MainWindow", "ClusterView")) |
|
|
|
|
self.groupBox.setTitle(_translate("MainWindow", "Point List")) |
|
|
|
|
self.groupBox_2.setTitle(_translate("MainWindow", "Canvas Information")) |
|
|
|
|
self.label.setText(_translate("MainWindow", "Mouse Position:")) |
|
|
|
|
self.menu_file.setTitle(_translate("MainWindow", "File")) |
|
|
|
|
self.menu_help.setTitle(_translate("MainWindow", "Help")) |
|
|
|
|
self.tool_bar.setWindowTitle(_translate("MainWindow", "toolBar")) |
|
|
|
|