You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
131 lines
7.7 KiB
131 lines
7.7 KiB
# -*- coding: utf-8 -*- |
|
|
|
# Form implementation generated from reading ui file 'clusterview.ui' |
|
# |
|
# Created by: PyQt5 UI code generator 5.13.0 |
|
# |
|
# WARNING! All changes made in this file will be lost! |
|
|
|
|
|
from PyQt5 import QtCore, QtGui, QtWidgets |
|
|
|
|
|
class Ui_MainWindow(object): |
|
def setupUi(self, MainWindow): |
|
MainWindow.setObjectName("MainWindow") |
|
MainWindow.resize(1280, 720) |
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Minimum) |
|
sizePolicy.setHorizontalStretch(0) |
|
sizePolicy.setVerticalStretch(0) |
|
sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth()) |
|
MainWindow.setSizePolicy(sizePolicy) |
|
MainWindow.setMinimumSize(QtCore.QSize(1280, 720)) |
|
MainWindow.setMaximumSize(QtCore.QSize(1280, 720)) |
|
self.centralwidget = QtWidgets.QWidget(MainWindow) |
|
self.centralwidget.setObjectName("centralwidget") |
|
self.horizontalLayout = QtWidgets.QHBoxLayout(self.centralwidget) |
|
self.horizontalLayout.setObjectName("horizontalLayout") |
|
self.opengl_widget = QtWidgets.QOpenGLWidget(self.centralwidget) |
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred) |
|
sizePolicy.setHorizontalStretch(0) |
|
sizePolicy.setVerticalStretch(0) |
|
sizePolicy.setHeightForWidth(self.opengl_widget.sizePolicy().hasHeightForWidth()) |
|
self.opengl_widget.setSizePolicy(sizePolicy) |
|
self.opengl_widget.setMaximumSize(QtCore.QSize(900, 16777215)) |
|
self.opengl_widget.setObjectName("opengl_widget") |
|
self.horizontalLayout.addWidget(self.opengl_widget) |
|
self.verticalLayout = QtWidgets.QVBoxLayout() |
|
self.verticalLayout.setObjectName("verticalLayout") |
|
self.groupBox = QtWidgets.QGroupBox(self.centralwidget) |
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Minimum) |
|
sizePolicy.setHorizontalStretch(0) |
|
sizePolicy.setVerticalStretch(0) |
|
sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth()) |
|
self.groupBox.setSizePolicy(sizePolicy) |
|
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) |
|
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) |
|
self.verticalLayout.addItem(spacerItem) |
|
self.horizontalLayout.addLayout(self.verticalLayout) |
|
MainWindow.setCentralWidget(self.centralwidget) |
|
self.menubar = QtWidgets.QMenuBar(MainWindow) |
|
self.menubar.setGeometry(QtCore.QRect(0, 0, 1280, 28)) |
|
self.menubar.setNativeMenuBar(True) |
|
self.menubar.setObjectName("menubar") |
|
self.menu_file = QtWidgets.QMenu(self.menubar) |
|
self.menu_file.setObjectName("menu_file") |
|
self.menu_help = QtWidgets.QMenu(self.menubar) |
|
self.menu_help.setObjectName("menu_help") |
|
MainWindow.setMenuBar(self.menubar) |
|
self.status_bar = QtWidgets.QStatusBar(MainWindow) |
|
self.status_bar.setObjectName("status_bar") |
|
MainWindow.setStatusBar(self.status_bar) |
|
self.tool_bar = QtWidgets.QToolBar(MainWindow) |
|
self.tool_bar.setMovable(False) |
|
self.tool_bar.setObjectName("tool_bar") |
|
MainWindow.addToolBar(QtCore.Qt.LeftToolBarArea, self.tool_bar) |
|
self.action_add_points = QtWidgets.QAction(MainWindow) |
|
self.action_add_points.setObjectName("action_add_points") |
|
self.action_edit_points = QtWidgets.QAction(MainWindow) |
|
self.action_edit_points.setObjectName("action_edit_points") |
|
self.action_delete_points = QtWidgets.QAction(MainWindow) |
|
self.action_delete_points.setObjectName("action_delete_points") |
|
self.action_solve = QtWidgets.QAction(MainWindow) |
|
self.action_solve.setObjectName("action_solve") |
|
self.action_move_points = QtWidgets.QAction(MainWindow) |
|
self.action_move_points.setObjectName("action_move_points") |
|
self.action_save_point_configuration = QtWidgets.QAction(MainWindow) |
|
self.action_save_point_configuration.setObjectName("action_save_point_configuration") |
|
self.action_load_point_configuration = QtWidgets.QAction(MainWindow) |
|
self.action_load_point_configuration.setObjectName("action_load_point_configuration") |
|
self.actionExit = QtWidgets.QAction(MainWindow) |
|
self.actionExit.setObjectName("actionExit") |
|
self.action_generate_random_points = QtWidgets.QAction(MainWindow) |
|
self.action_generate_random_points.setObjectName("action_generate_random_points") |
|
self.menu_file.addAction(self.action_load_point_configuration) |
|
self.menu_file.addAction(self.action_save_point_configuration) |
|
self.menu_file.addSeparator() |
|
self.menu_file.addAction(self.actionExit) |
|
self.menubar.addAction(self.menu_file.menuAction()) |
|
self.menubar.addAction(self.menu_help.menuAction()) |
|
self.tool_bar.addAction(self.action_generate_random_points) |
|
self.tool_bar.addAction(self.action_add_points) |
|
self.tool_bar.addAction(self.action_move_points) |
|
self.tool_bar.addAction(self.action_edit_points) |
|
self.tool_bar.addAction(self.action_delete_points) |
|
self.tool_bar.addAction(self.action_solve) |
|
|
|
self.retranslateUi(MainWindow) |
|
QtCore.QMetaObject.connectSlotsByName(MainWindow) |
|
|
|
def retranslateUi(self, MainWindow): |
|
_translate = QtCore.QCoreApplication.translate |
|
MainWindow.setWindowTitle(_translate("MainWindow", "ClusterView")) |
|
self.groupBox.setTitle(_translate("MainWindow", "Point List")) |
|
self.menu_file.setTitle(_translate("MainWindow", "File")) |
|
self.menu_help.setTitle(_translate("MainWindow", "Help")) |
|
self.tool_bar.setWindowTitle(_translate("MainWindow", "toolBar")) |
|
self.action_add_points.setText(_translate("MainWindow", "Add Points")) |
|
self.action_add_points.setToolTip(_translate("MainWindow", "Enables point adding mode.")) |
|
self.action_add_points.setShortcut(_translate("MainWindow", "Ctrl+A")) |
|
self.action_edit_points.setText(_translate("MainWindow", "Edit Points")) |
|
self.action_edit_points.setToolTip(_translate("MainWindow", "Enables point editing mode.")) |
|
self.action_edit_points.setShortcut(_translate("MainWindow", "Ctrl+E")) |
|
self.action_delete_points.setText(_translate("MainWindow", "Delete Points")) |
|
self.action_delete_points.setToolTip(_translate("MainWindow", "Enables point deletion mode.")) |
|
self.action_delete_points.setShortcut(_translate("MainWindow", "Ctrl+D")) |
|
self.action_solve.setText(_translate("MainWindow", "Solve")) |
|
self.action_solve.setToolTip(_translate("MainWindow", "Opens the solve dialog to choose a solving solution.")) |
|
self.action_solve.setShortcut(_translate("MainWindow", "Ctrl+S")) |
|
self.action_move_points.setText(_translate("MainWindow", "Move Points")) |
|
self.action_move_points.setToolTip(_translate("MainWindow", "Enables the movement of a selection of points.")) |
|
self.action_save_point_configuration.setText(_translate("MainWindow", "Save Point Configuration")) |
|
self.action_load_point_configuration.setText(_translate("MainWindow", "Load Point Configuration")) |
|
self.actionExit.setText(_translate("MainWindow", "Exit")) |
|
self.action_generate_random_points.setText(_translate("MainWindow", "Generate Random Points"))
|
|
|