|
|
|
@ -72,6 +72,7 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.number_of_clusters.setSizePolicy(sizePolicy) |
|
|
|
|
self.number_of_clusters.setMinimumSize(QtCore.QSize(50, 26)) |
|
|
|
|
self.number_of_clusters.setMaximumSize(QtCore.QSize(50, 16777215)) |
|
|
|
|
self.number_of_clusters.setProperty("value", 4) |
|
|
|
|
self.number_of_clusters.setObjectName("number_of_clusters") |
|
|
|
|
self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.number_of_clusters) |
|
|
|
|
self.clustering_button = QtWidgets.QPushButton(self.groupBox_3) |
|
|
|
@ -88,6 +89,16 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.groupBox_2.setObjectName("groupBox_2") |
|
|
|
|
self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_2) |
|
|
|
|
self.gridLayout_2.setObjectName("gridLayout_2") |
|
|
|
|
self.label = QtWidgets.QLabel(self.groupBox_2) |
|
|
|
|
self.label.setObjectName("label") |
|
|
|
|
self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1) |
|
|
|
|
spacerItem1 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) |
|
|
|
|
self.gridLayout_2.addItem(spacerItem1, 0, 2, 1, 1) |
|
|
|
|
self.label_3 = QtWidgets.QLabel(self.groupBox_2) |
|
|
|
|
self.label_3.setObjectName("label_3") |
|
|
|
|
self.gridLayout_2.addWidget(self.label_3, 1, 0, 1, 1) |
|
|
|
|
spacerItem2 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) |
|
|
|
|
self.gridLayout_2.addItem(spacerItem2, 3, 0, 1, 1) |
|
|
|
|
self.mouse_position_label = QtWidgets.QLabel(self.groupBox_2) |
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred) |
|
|
|
|
sizePolicy.setHorizontalStretch(0) |
|
|
|
@ -98,13 +109,12 @@ class Ui_MainWindow(object):
|
|
|
|
|
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) |
|
|
|
|
spacerItem1 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) |
|
|
|
|
self.gridLayout_2.addItem(spacerItem1, 1, 0, 1, 1) |
|
|
|
|
self.label = QtWidgets.QLabel(self.groupBox_2) |
|
|
|
|
self.label.setObjectName("label") |
|
|
|
|
self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1) |
|
|
|
|
spacerItem2 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) |
|
|
|
|
self.gridLayout_2.addItem(spacerItem2, 0, 2, 1, 1) |
|
|
|
|
spacerItem3 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) |
|
|
|
|
self.gridLayout_2.addItem(spacerItem3, 1, 2, 1, 1) |
|
|
|
|
self.number_of_points_label = QtWidgets.QLabel(self.groupBox_2) |
|
|
|
|
self.number_of_points_label.setText("") |
|
|
|
|
self.number_of_points_label.setObjectName("number_of_points_label") |
|
|
|
|
self.gridLayout_2.addWidget(self.number_of_points_label, 1, 3, 1, 1) |
|
|
|
|
self.verticalLayout.addWidget(self.groupBox_2) |
|
|
|
|
self.horizontalLayout.addLayout(self.verticalLayout) |
|
|
|
|
MainWindow.setCentralWidget(self.centralwidget) |
|
|
|
@ -167,6 +177,7 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.reset_button.setText(_translate("MainWindow", "Reset")) |
|
|
|
|
self.groupBox_2.setTitle(_translate("MainWindow", "Canvas Information")) |
|
|
|
|
self.label.setText(_translate("MainWindow", "Mouse Position:")) |
|
|
|
|
self.label_3.setText(_translate("MainWindow", "Number of Points:")) |
|
|
|
|
self.menu_file.setTitle(_translate("MainWindow", "File")) |
|
|
|
|
self.menu_help.setTitle(_translate("MainWindow", "Help")) |
|
|
|
|
self.tool_bar.setWindowTitle(_translate("MainWindow", "toolBar")) |
|
|
|
|