# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'configure_therm.ui'
#
# Created by: PyQt5 UI code generator 5.6
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
[docs]class Ui_dialog_thermcfg(object):
[docs] def setupUi(self, dialog_thermcfg):
dialog_thermcfg.setObjectName("dialog_thermcfg")
dialog_thermcfg.resize(381, 152)
self.horizontalLayout = QtWidgets.QHBoxLayout(dialog_thermcfg)
self.horizontalLayout.setObjectName("horizontalLayout")
self.gridLayout = QtWidgets.QGridLayout()
self.gridLayout.setObjectName("gridLayout")
self.txt_tau = QtWidgets.QLineEdit(dialog_thermcfg)
self.txt_tau.setObjectName("txt_tau")
self.gridLayout.addWidget(self.txt_tau, 1, 1, 1, 1)
self.label_2 = QtWidgets.QLabel(dialog_thermcfg)
self.label_2.setObjectName("label_2")
self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
self.txt_temp = QtWidgets.QLineEdit(dialog_thermcfg)
self.txt_temp.setObjectName("txt_temp")
self.gridLayout.addWidget(self.txt_temp, 0, 1, 1, 1)
self.label = QtWidgets.QLabel(dialog_thermcfg)
self.label.setObjectName("label")
self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
self.label_3 = QtWidgets.QLabel(dialog_thermcfg)
self.label_3.setObjectName("label_3")
self.gridLayout.addWidget(self.label_3, 0, 2, 1, 1)
self.label_4 = QtWidgets.QLabel(dialog_thermcfg)
self.label_4.setObjectName("label_4")
self.gridLayout.addWidget(self.label_4, 1, 2, 1, 1)
self.horizontalLayout.addLayout(self.gridLayout)
self.buttonBox = QtWidgets.QDialogButtonBox(dialog_thermcfg)
self.buttonBox.setOrientation(QtCore.Qt.Vertical)
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
self.buttonBox.setObjectName("buttonBox")
self.horizontalLayout.addWidget(self.buttonBox)
self.retranslateUi(dialog_thermcfg)
self.buttonBox.accepted.connect(dialog_thermcfg.accept)
self.buttonBox.rejected.connect(dialog_thermcfg.reject)
QtCore.QMetaObject.connectSlotsByName(dialog_thermcfg)
dialog_thermcfg.setTabOrder(self.txt_temp, self.txt_tau)
[docs] def retranslateUi(self, dialog_thermcfg):
_translate = QtCore.QCoreApplication.translate
dialog_thermcfg.setWindowTitle(_translate("dialog_thermcfg", "Configure Thermostat"))
self.txt_tau.setToolTip(_translate("dialog_thermcfg", "<html><head/><body><p>Enter the time constant for the coupling to the heat bath</p></body></html>"))
self.label_2.setText(_translate("dialog_thermcfg", "Tau"))
self.txt_temp.setToolTip(_translate("dialog_thermcfg", "<html><head/><body><p>Enter the temperature to be kept constant</p></body></html>"))
self.label.setText(_translate("dialog_thermcfg", "Temperature"))
self.label_3.setText(_translate("dialog_thermcfg", "K"))
self.label_4.setText(_translate("dialog_thermcfg", "fs"))