nmreval/src/gui_qt/_py/gracemsgdialog.py
dominik 8d148b639b BUGFIX: VFT;
change to src layout
2022-10-20 17:23:15 +02:00

57 lines
2.7 KiB
Python

# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'resources/_ui/gracemsgdialog.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_GraceMsgDialog(object):
def setupUi(self, GraceMsgDialog):
GraceMsgDialog.setObjectName("GraceMsgDialog")
GraceMsgDialog.resize(400, 300)
self.gridLayout = QtWidgets.QGridLayout(GraceMsgDialog)
self.gridLayout.setObjectName("gridLayout")
self.graph_combo = QtWidgets.QComboBox(GraceMsgDialog)
self.graph_combo.setObjectName("graph_combo")
self.gridLayout.addWidget(self.graph_combo, 1, 1, 1, 1)
self.graph_button = QtWidgets.QRadioButton(GraceMsgDialog)
self.graph_button.setObjectName("graph_button")
self.buttonGroup = QtWidgets.QButtonGroup(GraceMsgDialog)
self.buttonGroup.setObjectName("buttonGroup")
self.buttonGroup.addButton(self.graph_button)
self.gridLayout.addWidget(self.graph_button, 1, 0, 1, 1)
self.overwrite_button = QtWidgets.QRadioButton(GraceMsgDialog)
self.overwrite_button.setChecked(True)
self.overwrite_button.setObjectName("overwrite_button")
self.buttonGroup.addButton(self.overwrite_button)
self.gridLayout.addWidget(self.overwrite_button, 0, 0, 1, 1)
self.radioButton = QtWidgets.QRadioButton(GraceMsgDialog)
self.radioButton.setObjectName("radioButton")
self.buttonGroup.addButton(self.radioButton)
self.gridLayout.addWidget(self.radioButton, 2, 0, 1, 1)
self.tableWidget = QtWidgets.QTableWidget(GraceMsgDialog)
self.tableWidget.setColumnCount(2)
self.tableWidget.setObjectName("tableWidget")
self.tableWidget.setRowCount(0)
self.tableWidget.horizontalHeader().setVisible(False)
self.gridLayout.addWidget(self.tableWidget, 3, 0, 2, 2)
self.buttonBox = QtWidgets.QDialogButtonBox(GraceMsgDialog)
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
self.buttonBox.setObjectName("buttonBox")
self.gridLayout.addWidget(self.buttonBox, 5, 0, 1, 2)
self.retranslateUi(GraceMsgDialog)
QtCore.QMetaObject.connectSlotsByName(GraceMsgDialog)
def retranslateUi(self, GraceMsgDialog):
_translate = QtCore.QCoreApplication.translate
GraceMsgDialog.setWindowTitle(_translate("GraceMsgDialog", "Goodness gracious, file already exists."))
self.graph_button.setText(_translate("GraceMsgDialog", "Add to graph"))
self.overwrite_button.setText(_translate("GraceMsgDialog", "Overwrite file"))
self.radioButton.setText(_translate("GraceMsgDialog", "Replace sets"))