Source code for schrodinger.infra.exception_handler_dir.exception_dialog_ui
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file '/scr/buildbot/src/mmshare/python/modules/schrodinger/infra/exception_handler_dir/exception_dialog.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
[docs]class Ui_Dialog(object):
[docs] def setupUi(self, Dialog):
Dialog.setObjectName("Dialog")
Dialog.resize(766, 275)
self.verticalLayout = QtWidgets.QVBoxLayout(Dialog)
self.verticalLayout.setObjectName("verticalLayout")
self.error_text = QtWidgets.QTextBrowser(Dialog)
self.error_text.setObjectName("error_text")
self.verticalLayout.addWidget(self.error_text)
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.back_button = QtWidgets.QPushButton(Dialog)
self.back_button.setObjectName("back_button")
self.horizontalLayout_2.addWidget(self.back_button)
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_2.addItem(spacerItem)
self.ignore_checkbox = QtWidgets.QCheckBox(Dialog)
self.ignore_checkbox.setObjectName("ignore_checkbox")
self.horizontalLayout_2.addWidget(self.ignore_checkbox)
self.copy_to_clipboard_button = QtWidgets.QPushButton(Dialog)
self.copy_to_clipboard_button.setFocusPolicy(QtCore.Qt.ClickFocus)
self.copy_to_clipboard_button.setObjectName("copy_to_clipboard_button")
self.horizontalLayout_2.addWidget(self.copy_to_clipboard_button)
self.ok_button = QtWidgets.QPushButton(Dialog)
self.ok_button.setFocusPolicy(QtCore.Qt.StrongFocus)
self.ok_button.setObjectName("ok_button")
self.horizontalLayout_2.addWidget(self.ok_button)
self.verticalLayout.addLayout(self.horizontalLayout_2)
self.retranslateUi(Dialog)
QtCore.QMetaObject.connectSlotsByName(Dialog)
[docs] def retranslateUi(self, Dialog):
_translate = QtCore.QCoreApplication.translate
Dialog.setWindowTitle(_translate("Dialog", "An error has occurred"))
self.back_button.setText(_translate("Dialog", "Back"))
self.ignore_checkbox.setText(_translate("Dialog", "Don\'t show this error again"))
self.copy_to_clipboard_button.setText(_translate("Dialog", "Copy Error To Clipboard"))
self.ok_button.setText(_translate("Dialog", "OK"))