Source code for metafalcon.gui.multiinput

# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'multiinput.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_MainWindow(object):
[docs] def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(583, 479) self.centralwidget = QtWidgets.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget) self.verticalLayout.setObjectName("verticalLayout") self.tabs_general = QtWidgets.QTabWidget(self.centralwidget) self.tabs_general.setObjectName("tabs_general") self.tab_md = QtWidgets.QWidget() self.tab_md.setObjectName("tab_md") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.tab_md) self.verticalLayout_4.setContentsMargins(0, 0, 0, 0) self.verticalLayout_4.setObjectName("verticalLayout_4") self.grid_md = QtWidgets.QGridLayout() self.grid_md.setObjectName("grid_md") self.label = QtWidgets.QLabel(self.tab_md) self.label.setObjectName("label") self.grid_md.addWidget(self.label, 0, 0, 1, 1) self.cmb_md_calc = QtWidgets.QComboBox(self.tab_md) self.cmb_md_calc.setObjectName("cmb_md_calc") self.cmb_md_calc.addItem("") self.grid_md.addWidget(self.cmb_md_calc, 2, 1, 1, 1) self.label_4 = QtWidgets.QLabel(self.tab_md) self.label_4.setObjectName("label_4") self.grid_md.addWidget(self.label_4, 3, 0, 1, 1) self.txt_md_tstep = QtWidgets.QLineEdit(self.tab_md) self.txt_md_tstep.setObjectName("txt_md_tstep") self.grid_md.addWidget(self.txt_md_tstep, 0, 1, 1, 1) self.but_md_calccfg = QtWidgets.QPushButton(self.tab_md) self.but_md_calccfg.setObjectName("but_md_calccfg") self.grid_md.addWidget(self.but_md_calccfg, 2, 2, 1, 1) self.label_2 = QtWidgets.QLabel(self.tab_md) self.label_2.setObjectName("label_2") self.grid_md.addWidget(self.label_2, 1, 0, 1, 1) self.label_3 = QtWidgets.QLabel(self.tab_md) self.label_3.setObjectName("label_3") self.grid_md.addWidget(self.label_3, 2, 0, 1, 1) self.cmb_md_therm = QtWidgets.QComboBox(self.tab_md) self.cmb_md_therm.setObjectName("cmb_md_therm") self.cmb_md_therm.addItem("") self.cmb_md_therm.addItem("") self.cmb_md_therm.addItem("") self.grid_md.addWidget(self.cmb_md_therm, 3, 1, 1, 1) self.txt_md_nsteps = QtWidgets.QLineEdit(self.tab_md) self.txt_md_nsteps.setObjectName("txt_md_nsteps") self.grid_md.addWidget(self.txt_md_nsteps, 1, 1, 1, 1) self.but_md_thermcfg = QtWidgets.QPushButton(self.tab_md) self.but_md_thermcfg.setObjectName("but_md_thermcfg") self.grid_md.addWidget(self.but_md_thermcfg, 3, 2, 1, 1) self.label_5 = QtWidgets.QLabel(self.tab_md) self.label_5.setObjectName("label_5") self.grid_md.addWidget(self.label_5, 0, 2, 1, 1) self.verticalLayout_4.addLayout(self.grid_md) self.label_6 = QtWidgets.QLabel(self.tab_md) self.label_6.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft) self.label_6.setObjectName("label_6") self.verticalLayout_4.addWidget(self.label_6) self.rad_init_exist = QtWidgets.QRadioButton(self.tab_md) self.rad_init_exist.setChecked(True) self.rad_init_exist.setObjectName("rad_init_exist") self.verticalLayout_4.addWidget(self.rad_init_exist) self.rad_init_gen = QtWidgets.QRadioButton(self.tab_md) self.rad_init_gen.setChecked(False) self.rad_init_gen.setObjectName("rad_init_gen") self.verticalLayout_4.addWidget(self.rad_init_gen) self.grid_init_gen = QtWidgets.QGridLayout() self.grid_init_gen.setObjectName("grid_init_gen") self.label_7 = QtWidgets.QLabel(self.tab_md) self.label_7.setEnabled(False) self.label_7.setObjectName("label_7") self.grid_init_gen.addWidget(self.label_7, 0, 0, 1, 1) self.but_init_xyz = QtWidgets.QPushButton(self.tab_md) self.but_init_xyz.setEnabled(False) self.but_init_xyz.setObjectName("but_init_xyz") self.grid_init_gen.addWidget(self.but_init_xyz, 0, 2, 1, 1) self.label_8 = QtWidgets.QLabel(self.tab_md) self.label_8.setEnabled(False) self.label_8.setObjectName("label_8") self.grid_init_gen.addWidget(self.label_8, 1, 0, 1, 1) self.txt_init_xyz = QtWidgets.QLineEdit(self.tab_md) self.txt_init_xyz.setEnabled(False) self.txt_init_xyz.setObjectName("txt_init_xyz") self.grid_init_gen.addWidget(self.txt_init_xyz, 0, 1, 1, 1) self.txt_init_temp = QtWidgets.QLineEdit(self.tab_md) self.txt_init_temp.setEnabled(False) self.txt_init_temp.setObjectName("txt_init_temp") self.grid_init_gen.addWidget(self.txt_init_temp, 1, 1, 1, 1) self.label_11 = QtWidgets.QLabel(self.tab_md) self.label_11.setEnabled(False) self.label_11.setObjectName("label_11") self.grid_init_gen.addWidget(self.label_11, 1, 2, 1, 1) self.verticalLayout_4.addLayout(self.grid_init_gen) self.rad_init_use = QtWidgets.QRadioButton(self.tab_md) self.rad_init_use.setChecked(False) self.rad_init_use.setObjectName("rad_init_use") self.verticalLayout_4.addWidget(self.rad_init_use) self.grid_init_use = QtWidgets.QGridLayout() self.grid_init_use.setObjectName("grid_init_use") self.label_9 = QtWidgets.QLabel(self.tab_md) self.label_9.setEnabled(False) self.label_9.setObjectName("label_9") self.grid_init_use.addWidget(self.label_9, 0, 0, 1, 1) self.label_10 = QtWidgets.QLabel(self.tab_md) self.label_10.setEnabled(False) self.label_10.setObjectName("label_10") self.grid_init_use.addWidget(self.label_10, 1, 0, 1, 1) self.but_init_dir = QtWidgets.QPushButton(self.tab_md) self.but_init_dir.setEnabled(False) self.but_init_dir.setObjectName("but_init_dir") self.grid_init_use.addWidget(self.but_init_dir, 0, 2, 1, 1) self.txt_init_dir = QtWidgets.QLineEdit(self.tab_md) self.txt_init_dir.setEnabled(False) self.txt_init_dir.setObjectName("txt_init_dir") self.grid_init_use.addWidget(self.txt_init_dir, 0, 1, 1, 1) self.txt_init_step = QtWidgets.QLineEdit(self.tab_md) self.txt_init_step.setEnabled(False) self.txt_init_step.setPlaceholderText("") self.txt_init_step.setObjectName("txt_init_step") self.grid_init_use.addWidget(self.txt_init_step, 1, 1, 1, 1) self.verticalLayout_4.addLayout(self.grid_init_use) self.tabs_general.addTab(self.tab_md, "") self.tab_meta = QtWidgets.QWidget() self.tab_meta.setObjectName("tab_meta") self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.tab_meta) self.verticalLayout_5.setContentsMargins(0, 0, 0, 0) self.verticalLayout_5.setObjectName("verticalLayout_5") self.chk_meta_do = QtWidgets.QCheckBox(self.tab_meta) self.chk_meta_do.setObjectName("chk_meta_do") self.verticalLayout_5.addWidget(self.chk_meta_do) self.grid_meta = QtWidgets.QGridLayout() self.grid_meta.setObjectName("grid_meta") self.txt_meta_height = QtWidgets.QLineEdit(self.tab_meta) self.txt_meta_height.setEnabled(False) self.txt_meta_height.setObjectName("txt_meta_height") self.grid_meta.addWidget(self.txt_meta_height, 0, 1, 1, 1) self.label_12 = QtWidgets.QLabel(self.tab_meta) self.label_12.setEnabled(False) self.label_12.setObjectName("label_12") self.grid_meta.addWidget(self.label_12, 0, 0, 1, 1) self.txt_meta_taug = QtWidgets.QLineEdit(self.tab_meta) self.txt_meta_taug.setEnabled(False) self.txt_meta_taug.setObjectName("txt_meta_taug") self.grid_meta.addWidget(self.txt_meta_taug, 1, 1, 1, 1) self.label_13 = QtWidgets.QLabel(self.tab_meta) self.label_13.setEnabled(False) self.label_13.setObjectName("label_13") self.grid_meta.addWidget(self.label_13, 1, 0, 1, 1) self.cmb_meta_heightunit = QtWidgets.QComboBox(self.tab_meta) self.cmb_meta_heightunit.setEnabled(False) self.cmb_meta_heightunit.setObjectName("cmb_meta_heightunit") self.cmb_meta_heightunit.addItem("") self.cmb_meta_heightunit.addItem("") self.cmb_meta_heightunit.addItem("") self.grid_meta.addWidget(self.cmb_meta_heightunit, 0, 2, 1, 1) self.label_19 = QtWidgets.QLabel(self.tab_meta) self.label_19.setEnabled(False) self.label_19.setObjectName("label_19") self.grid_meta.addWidget(self.label_19, 1, 2, 1, 1) self.verticalLayout_5.addLayout(self.grid_meta) self.chk_wt_do = QtWidgets.QCheckBox(self.tab_meta) self.chk_wt_do.setEnabled(False) self.chk_wt_do.setObjectName("chk_wt_do") self.verticalLayout_5.addWidget(self.chk_wt_do) self.grid_wt = QtWidgets.QGridLayout() self.grid_wt.setVerticalSpacing(6) self.grid_wt.setObjectName("grid_wt") self.txt_wt_deltat = QtWidgets.QLineEdit(self.tab_meta) self.txt_wt_deltat.setEnabled(False) self.txt_wt_deltat.setObjectName("txt_wt_deltat") self.grid_wt.addWidget(self.txt_wt_deltat, 0, 1, 1, 1) self.label_36 = QtWidgets.QLabel(self.tab_meta) self.label_36.setEnabled(False) self.label_36.setObjectName("label_36") self.grid_wt.addWidget(self.label_36, 0, 0, 1, 1) self.label_37 = QtWidgets.QLabel(self.tab_meta) self.label_37.setEnabled(False) self.label_37.setObjectName("label_37") self.grid_wt.addWidget(self.label_37, 0, 2, 1, 1) self.verticalLayout_5.addLayout(self.grid_wt) self.chk_multi_do = QtWidgets.QCheckBox(self.tab_meta) self.chk_multi_do.setEnabled(False) self.chk_multi_do.setObjectName("chk_multi_do") self.verticalLayout_5.addWidget(self.chk_multi_do) self.grid_multicv = QtWidgets.QGridLayout() self.grid_multicv.setObjectName("grid_multicv") self.rad_multi_egap = QtWidgets.QRadioButton(self.tab_meta) self.rad_multi_egap.setEnabled(False) self.rad_multi_egap.setChecked(True) self.rad_multi_egap.setObjectName("rad_multi_egap") self.grid_multicv.addWidget(self.rad_multi_egap, 0, 1, 1, 1) self.label_38 = QtWidgets.QLabel(self.tab_meta) self.label_38.setEnabled(False) self.label_38.setObjectName("label_38") self.grid_multicv.addWidget(self.label_38, 0, 0, 1, 1) self.rad_multi_ngap = QtWidgets.QRadioButton(self.tab_meta) self.rad_multi_ngap.setEnabled(False) self.rad_multi_ngap.setObjectName("rad_multi_ngap") self.grid_multicv.addWidget(self.rad_multi_ngap, 0, 2, 1, 1) self.verticalLayout_5.addLayout(self.grid_multicv) self.grid_multi = QtWidgets.QGridLayout() self.grid_multi.setObjectName("grid_multi") self.txt_multi_state2 = QtWidgets.QLineEdit(self.tab_meta) self.txt_multi_state2.setEnabled(False) self.txt_multi_state2.setObjectName("txt_multi_state2") self.grid_multi.addWidget(self.txt_multi_state2, 1, 1, 1, 1) self.label_18 = QtWidgets.QLabel(self.tab_meta) self.label_18.setEnabled(False) self.label_18.setObjectName("label_18") self.grid_multi.addWidget(self.label_18, 4, 0, 1, 1) self.label_14 = QtWidgets.QLabel(self.tab_meta) self.label_14.setEnabled(False) self.label_14.setObjectName("label_14") self.grid_multi.addWidget(self.label_14, 0, 0, 1, 1) self.txt_multi_state1 = QtWidgets.QLineEdit(self.tab_meta) self.txt_multi_state1.setEnabled(False) self.txt_multi_state1.setObjectName("txt_multi_state1") self.grid_multi.addWidget(self.txt_multi_state1, 0, 1, 1, 1) self.txt_multi_height = QtWidgets.QLineEdit(self.tab_meta) self.txt_multi_height.setEnabled(False) self.txt_multi_height.setObjectName("txt_multi_height") self.grid_multi.addWidget(self.txt_multi_height, 3, 1, 1, 1) self.txt_multi_width = QtWidgets.QLineEdit(self.tab_meta) self.txt_multi_width.setEnabled(False) self.txt_multi_width.setObjectName("txt_multi_width") self.grid_multi.addWidget(self.txt_multi_width, 2, 1, 1, 1) self.label_17 = QtWidgets.QLabel(self.tab_meta) self.label_17.setEnabled(False) self.label_17.setObjectName("label_17") self.grid_multi.addWidget(self.label_17, 3, 0, 1, 1) self.label_16 = QtWidgets.QLabel(self.tab_meta) self.label_16.setEnabled(False) self.label_16.setObjectName("label_16") self.grid_multi.addWidget(self.label_16, 2, 0, 1, 1) self.txt_multi_eps = QtWidgets.QLineEdit(self.tab_meta) self.txt_multi_eps.setEnabled(False) self.txt_multi_eps.setObjectName("txt_multi_eps") self.grid_multi.addWidget(self.txt_multi_eps, 4, 1, 1, 1) self.label_15 = QtWidgets.QLabel(self.tab_meta) self.label_15.setEnabled(False) self.label_15.setObjectName("label_15") self.grid_multi.addWidget(self.label_15, 1, 0, 1, 1) self.cmb_multi_widthunit = QtWidgets.QComboBox(self.tab_meta) self.cmb_multi_widthunit.setEnabled(False) self.cmb_multi_widthunit.setObjectName("cmb_multi_widthunit") self.cmb_multi_widthunit.addItem("") self.cmb_multi_widthunit.addItem("") self.cmb_multi_widthunit.addItem("") self.grid_multi.addWidget(self.cmb_multi_widthunit, 2, 2, 1, 1) self.cmb_multi_heightunit = QtWidgets.QComboBox(self.tab_meta) self.cmb_multi_heightunit.setEnabled(False) self.cmb_multi_heightunit.setObjectName("cmb_multi_heightunit") self.cmb_multi_heightunit.addItem("") self.cmb_multi_heightunit.addItem("") self.cmb_multi_heightunit.addItem("") self.grid_multi.addWidget(self.cmb_multi_heightunit, 3, 2, 1, 1) self.cmb_multi_epsunit = QtWidgets.QComboBox(self.tab_meta) self.cmb_multi_epsunit.setEnabled(False) self.cmb_multi_epsunit.setObjectName("cmb_multi_epsunit") self.cmb_multi_epsunit.addItem("") self.cmb_multi_epsunit.addItem("") self.cmb_multi_epsunit.addItem("") self.grid_multi.addWidget(self.cmb_multi_epsunit, 4, 2, 1, 1) self.verticalLayout_5.addLayout(self.grid_multi) self.tabs_general.addTab(self.tab_meta, "") self.tab_cv = QtWidgets.QWidget() self.tab_cv.setObjectName("tab_cv") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.tab_cv) self.verticalLayout_2.setContentsMargins(0, 0, 0, 0) self.verticalLayout_2.setObjectName("verticalLayout_2") self.list_cv = QtWidgets.QListWidget(self.tab_cv) self.list_cv.setEnabled(False) self.list_cv.setObjectName("list_cv") self.verticalLayout_2.addWidget(self.list_cv) self.grid_cv_list = QtWidgets.QHBoxLayout() self.grid_cv_list.setObjectName("grid_cv_list") self.but_cv_add = QtWidgets.QPushButton(self.tab_cv) self.but_cv_add.setEnabled(False) self.but_cv_add.setObjectName("but_cv_add") self.grid_cv_list.addWidget(self.but_cv_add) self.but_cv_edit = QtWidgets.QPushButton(self.tab_cv) self.but_cv_edit.setEnabled(False) self.but_cv_edit.setObjectName("but_cv_edit") self.grid_cv_list.addWidget(self.but_cv_edit) self.but_cv_del = QtWidgets.QPushButton(self.tab_cv) self.but_cv_del.setEnabled(False) self.but_cv_del.setObjectName("but_cv_del") self.grid_cv_list.addWidget(self.but_cv_del) self.verticalLayout_2.addLayout(self.grid_cv_list) self.tabs_cv_edit = QtWidgets.QTabWidget(self.tab_cv) self.tabs_cv_edit.setEnabled(False) self.tabs_cv_edit.setObjectName("tabs_cv_edit") self.tab_4 = QtWidgets.QWidget() self.tab_4.setObjectName("tab_4") self.gridLayout_6 = QtWidgets.QGridLayout(self.tab_4) self.gridLayout_6.setContentsMargins(0, 0, 0, 0) self.gridLayout_6.setObjectName("gridLayout_6") self.label_21 = QtWidgets.QLabel(self.tab_4) self.label_21.setEnabled(False) self.label_21.setObjectName("label_21") self.gridLayout_6.addWidget(self.label_21, 1, 0, 1, 1) self.label_20 = QtWidgets.QLabel(self.tab_4) self.label_20.setEnabled(False) self.label_20.setObjectName("label_20") self.gridLayout_6.addWidget(self.label_20, 0, 0, 1, 1) self.label_22 = QtWidgets.QLabel(self.tab_4) self.label_22.setEnabled(False) self.label_22.setObjectName("label_22") self.gridLayout_6.addWidget(self.label_22, 2, 0, 1, 1) self.txt_cv_width = QtWidgets.QLineEdit(self.tab_4) self.txt_cv_width.setEnabled(False) self.txt_cv_width.setObjectName("txt_cv_width") self.gridLayout_6.addWidget(self.txt_cv_width, 2, 1, 1, 1) self.txt_cv_name = QtWidgets.QLineEdit(self.tab_4) self.txt_cv_name.setEnabled(False) self.txt_cv_name.setObjectName("txt_cv_name") self.gridLayout_6.addWidget(self.txt_cv_name, 0, 1, 1, 1) self.cmb_cv_type = QtWidgets.QComboBox(self.tab_4) self.cmb_cv_type.setEnabled(False) self.cmb_cv_type.setObjectName("cmb_cv_type") self.cmb_cv_type.addItem("") self.gridLayout_6.addWidget(self.cmb_cv_type, 1, 1, 1, 1) self.label_35 = QtWidgets.QLabel(self.tab_4) self.label_35.setEnabled(False) self.label_35.setObjectName("label_35") self.gridLayout_6.addWidget(self.label_35, 2, 2, 1, 1) self.but_cv_conf = QtWidgets.QPushButton(self.tab_4) self.but_cv_conf.setObjectName("but_cv_conf") self.gridLayout_6.addWidget(self.but_cv_conf, 1, 2, 1, 1) self.tabs_cv_edit.addTab(self.tab_4, "") self.tab_wall = QtWidgets.QWidget() self.tab_wall.setObjectName("tab_wall") self.gridLayout_7 = QtWidgets.QGridLayout(self.tab_wall) self.gridLayout_7.setContentsMargins(0, 0, 0, 0) self.gridLayout_7.setObjectName("gridLayout_7") self.chk_wall_only = QtWidgets.QCheckBox(self.tab_wall) self.chk_wall_only.setEnabled(False) self.chk_wall_only.setObjectName("chk_wall_only") self.gridLayout_7.addWidget(self.chk_wall_only, 0, 0, 1, 1) self.label_27 = QtWidgets.QLabel(self.tab_wall) self.label_27.setEnabled(False) self.label_27.setObjectName("label_27") self.gridLayout_7.addWidget(self.label_27, 6, 0, 1, 1) self.label_28 = QtWidgets.QLabel(self.tab_wall) self.label_28.setEnabled(False) self.label_28.setObjectName("label_28") self.gridLayout_7.addWidget(self.label_28, 7, 0, 1, 1) self.label_25 = QtWidgets.QLabel(self.tab_wall) self.label_25.setEnabled(False) self.label_25.setObjectName("label_25") self.gridLayout_7.addWidget(self.label_25, 4, 0, 1, 1) self.txt_wall_scale = QtWidgets.QLineEdit(self.tab_wall) self.txt_wall_scale.setEnabled(False) self.txt_wall_scale.setObjectName("txt_wall_scale") self.gridLayout_7.addWidget(self.txt_wall_scale, 4, 1, 1, 1) self.label_23 = QtWidgets.QLabel(self.tab_wall) self.label_23.setEnabled(False) self.label_23.setObjectName("label_23") self.gridLayout_7.addWidget(self.label_23, 1, 0, 1, 1) self.cmb_wall_type = QtWidgets.QComboBox(self.tab_wall) self.cmb_wall_type.setEnabled(False) self.cmb_wall_type.setObjectName("cmb_wall_type") self.cmb_wall_type.addItem("") self.cmb_wall_type.addItem("") self.cmb_wall_type.addItem("") self.cmb_wall_type.addItem("") self.cmb_wall_type.addItem("") self.gridLayout_7.addWidget(self.cmb_wall_type, 1, 1, 1, 1) self.label_24 = QtWidgets.QLabel(self.tab_wall) self.label_24.setEnabled(False) self.label_24.setObjectName("label_24") self.gridLayout_7.addWidget(self.label_24, 3, 0, 1, 1) self.txt_wall_exp = QtWidgets.QLineEdit(self.tab_wall) self.txt_wall_exp.setEnabled(False) self.txt_wall_exp.setObjectName("txt_wall_exp") self.gridLayout_7.addWidget(self.txt_wall_exp, 3, 1, 1, 1) self.txt_wall_weight = QtWidgets.QLineEdit(self.tab_wall) self.txt_wall_weight.setEnabled(False) self.txt_wall_weight.setObjectName("txt_wall_weight") self.gridLayout_7.addWidget(self.txt_wall_weight, 6, 1, 1, 1) self.txt_wall_stren = QtWidgets.QLineEdit(self.tab_wall) self.txt_wall_stren.setEnabled(False) self.txt_wall_stren.setObjectName("txt_wall_stren") self.gridLayout_7.addWidget(self.txt_wall_stren, 7, 1, 1, 1) self.label_30 = QtWidgets.QLabel(self.tab_wall) self.label_30.setEnabled(False) self.label_30.setObjectName("label_30") self.gridLayout_7.addWidget(self.label_30, 7, 2, 1, 1) self.label_29 = QtWidgets.QLabel(self.tab_wall) self.label_29.setEnabled(False) self.label_29.setObjectName("label_29") self.gridLayout_7.addWidget(self.label_29, 6, 2, 1, 1) self.label_26 = QtWidgets.QLabel(self.tab_wall) self.label_26.setEnabled(False) self.label_26.setObjectName("label_26") self.gridLayout_7.addWidget(self.label_26, 2, 0, 1, 1) self.txt_wall_offset = QtWidgets.QLineEdit(self.tab_wall) self.txt_wall_offset.setEnabled(False) self.txt_wall_offset.setObjectName("txt_wall_offset") self.gridLayout_7.addWidget(self.txt_wall_offset, 2, 1, 1, 1) self.tabs_cv_edit.addTab(self.tab_wall, "") self.tab_plot = QtWidgets.QWidget() self.tab_plot.setObjectName("tab_plot") self.gridLayout_8 = QtWidgets.QGridLayout(self.tab_plot) self.gridLayout_8.setContentsMargins(0, 0, 0, 0) self.gridLayout_8.setObjectName("gridLayout_8") self.label_31 = QtWidgets.QLabel(self.tab_plot) self.label_31.setEnabled(False) self.label_31.setObjectName("label_31") self.gridLayout_8.addWidget(self.label_31, 0, 0, 1, 1) self.txt_plot_min = QtWidgets.QLineEdit(self.tab_plot) self.txt_plot_min.setEnabled(False) self.txt_plot_min.setObjectName("txt_plot_min") self.gridLayout_8.addWidget(self.txt_plot_min, 0, 1, 1, 1) self.label_32 = QtWidgets.QLabel(self.tab_plot) self.label_32.setEnabled(False) self.label_32.setObjectName("label_32") self.gridLayout_8.addWidget(self.label_32, 1, 0, 1, 1) self.txt_plot_max = QtWidgets.QLineEdit(self.tab_plot) self.txt_plot_max.setEnabled(False) self.txt_plot_max.setObjectName("txt_plot_max") self.gridLayout_8.addWidget(self.txt_plot_max, 1, 1, 1, 1) self.label_33 = QtWidgets.QLabel(self.tab_plot) self.label_33.setEnabled(False) self.label_33.setObjectName("label_33") self.gridLayout_8.addWidget(self.label_33, 2, 0, 1, 1) self.txt_plot_npoints = QtWidgets.QLineEdit(self.tab_plot) self.txt_plot_npoints.setEnabled(False) self.txt_plot_npoints.setObjectName("txt_plot_npoints") self.gridLayout_8.addWidget(self.txt_plot_npoints, 2, 1, 1, 1) self.label_34 = QtWidgets.QLabel(self.tab_plot) self.label_34.setEnabled(False) self.label_34.setObjectName("label_34") self.gridLayout_8.addWidget(self.label_34, 3, 0, 1, 1) self.txt_plot_ticks = QtWidgets.QLineEdit(self.tab_plot) self.txt_plot_ticks.setEnabled(False) self.txt_plot_ticks.setObjectName("txt_plot_ticks") self.gridLayout_8.addWidget(self.txt_plot_ticks, 3, 1, 1, 1) self.tabs_cv_edit.addTab(self.tab_plot, "") self.verticalLayout_2.addWidget(self.tabs_cv_edit) self.grid_cv_save = QtWidgets.QHBoxLayout() self.grid_cv_save.setObjectName("grid_cv_save") self.but_cv_cancel = QtWidgets.QPushButton(self.tab_cv) self.but_cv_cancel.setEnabled(False) self.but_cv_cancel.setObjectName("but_cv_cancel") self.grid_cv_save.addWidget(self.but_cv_cancel) self.but_cv_save = QtWidgets.QPushButton(self.tab_cv) self.but_cv_save.setEnabled(False) self.but_cv_save.setObjectName("but_cv_save") self.grid_cv_save.addWidget(self.but_cv_save) self.verticalLayout_2.addLayout(self.grid_cv_save) self.tabs_general.addTab(self.tab_cv, "") self.verticalLayout.addWidget(self.tabs_general) MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtWidgets.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 583, 19)) self.menubar.setObjectName("menubar") self.menuFile = QtWidgets.QMenu(self.menubar) self.menuFile.setObjectName("menuFile") self.menuHelp = QtWidgets.QMenu(self.menubar) self.menuHelp.setObjectName("menuHelp") MainWindow.setMenuBar(self.menubar) self.statusbar = QtWidgets.QStatusBar(MainWindow) self.statusbar.setObjectName("statusbar") MainWindow.setStatusBar(self.statusbar) self.action_save = QtWidgets.QAction(MainWindow) self.action_save.setObjectName("action_save") self.action_reset_all = QtWidgets.QAction(MainWindow) self.action_reset_all.setObjectName("action_reset_all") self.action_import = QtWidgets.QAction(MainWindow) self.action_import.setObjectName("action_import") self.action_quit = QtWidgets.QAction(MainWindow) self.action_quit.setObjectName("action_quit") self.action_view_docs = QtWidgets.QAction(MainWindow) self.action_view_docs.setObjectName("action_view_docs") self.menuFile.addAction(self.action_import) self.menuFile.addAction(self.action_reset_all) self.menuFile.addSeparator() self.menuFile.addAction(self.action_save) self.menuFile.addSeparator() self.menuFile.addAction(self.action_quit) self.menuHelp.addAction(self.action_view_docs) self.menubar.addAction(self.menuFile.menuAction()) self.menubar.addAction(self.menuHelp.menuAction()) self.retranslateUi(MainWindow) self.tabs_general.setCurrentIndex(0) self.tabs_cv_edit.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(MainWindow) MainWindow.setTabOrder(self.txt_md_tstep, self.txt_md_nsteps) MainWindow.setTabOrder(self.txt_md_nsteps, self.cmb_md_calc) MainWindow.setTabOrder(self.cmb_md_calc, self.but_md_calccfg) MainWindow.setTabOrder(self.but_md_calccfg, self.cmb_md_therm) MainWindow.setTabOrder(self.cmb_md_therm, self.but_md_thermcfg) MainWindow.setTabOrder(self.but_md_thermcfg, self.rad_init_exist) MainWindow.setTabOrder(self.rad_init_exist, self.rad_init_gen) MainWindow.setTabOrder(self.rad_init_gen, self.txt_init_xyz) MainWindow.setTabOrder(self.txt_init_xyz, self.but_init_xyz) MainWindow.setTabOrder(self.but_init_xyz, self.txt_init_temp) MainWindow.setTabOrder(self.txt_init_temp, self.rad_init_use) MainWindow.setTabOrder(self.rad_init_use, self.txt_init_dir) MainWindow.setTabOrder(self.txt_init_dir, self.but_init_dir) MainWindow.setTabOrder(self.but_init_dir, self.txt_init_step) MainWindow.setTabOrder(self.txt_init_step, self.tabs_general) MainWindow.setTabOrder(self.tabs_general, self.chk_meta_do) MainWindow.setTabOrder(self.chk_meta_do, self.txt_meta_height) MainWindow.setTabOrder(self.txt_meta_height, self.cmb_meta_heightunit) MainWindow.setTabOrder(self.cmb_meta_heightunit, self.txt_meta_taug) MainWindow.setTabOrder(self.txt_meta_taug, self.txt_multi_state1) MainWindow.setTabOrder(self.txt_multi_state1, self.txt_multi_state2) MainWindow.setTabOrder(self.txt_multi_state2, self.txt_multi_width) MainWindow.setTabOrder(self.txt_multi_width, self.cmb_multi_widthunit) MainWindow.setTabOrder(self.cmb_multi_widthunit, self.txt_multi_height) MainWindow.setTabOrder(self.txt_multi_height, self.cmb_multi_heightunit) MainWindow.setTabOrder(self.cmb_multi_heightunit, self.txt_multi_eps) MainWindow.setTabOrder(self.txt_multi_eps, self.cmb_multi_epsunit) MainWindow.setTabOrder(self.cmb_multi_epsunit, self.list_cv) MainWindow.setTabOrder(self.list_cv, self.but_cv_add) MainWindow.setTabOrder(self.but_cv_add, self.but_cv_edit) MainWindow.setTabOrder(self.but_cv_edit, self.but_cv_del) MainWindow.setTabOrder(self.but_cv_del, self.tabs_cv_edit) MainWindow.setTabOrder(self.tabs_cv_edit, self.txt_cv_name) MainWindow.setTabOrder(self.txt_cv_name, self.cmb_cv_type) MainWindow.setTabOrder(self.cmb_cv_type, self.but_cv_conf) MainWindow.setTabOrder(self.but_cv_conf, self.txt_cv_width) MainWindow.setTabOrder(self.txt_cv_width, self.but_cv_cancel) MainWindow.setTabOrder(self.but_cv_cancel, self.but_cv_save) MainWindow.setTabOrder(self.but_cv_save, self.txt_wall_offset) MainWindow.setTabOrder(self.txt_wall_offset, self.txt_wall_weight) MainWindow.setTabOrder(self.txt_wall_weight, self.txt_wall_stren) MainWindow.setTabOrder(self.txt_wall_stren, self.txt_plot_min) MainWindow.setTabOrder(self.txt_plot_min, self.txt_plot_max) MainWindow.setTabOrder(self.txt_plot_max, self.txt_plot_npoints) MainWindow.setTabOrder(self.txt_plot_npoints, self.txt_plot_ticks) MainWindow.setTabOrder(self.txt_plot_ticks, self.cmb_wall_type) MainWindow.setTabOrder(self.cmb_wall_type, self.txt_wall_scale) MainWindow.setTabOrder(self.txt_wall_scale, self.chk_wall_only) MainWindow.setTabOrder(self.chk_wall_only, self.txt_wall_exp)
[docs] def retranslateUi(self, MainWindow): _translate = QtCore.QCoreApplication.translate MainWindow.setWindowTitle(_translate("MainWindow", "metaFALCON Input Generation")) self.label.setText(_translate("MainWindow", "Time step")) self.cmb_md_calc.setToolTip(_translate("MainWindow", "<html><head/><body><p>Choose the quantum chemical code to be used for the calculation of electronic energies and gradients</p></body></html>")) self.cmb_md_calc.setItemText(0, _translate("MainWindow", "None")) self.label_4.setText(_translate("MainWindow", "Thermostat")) self.txt_md_tstep.setToolTip(_translate("MainWindow", "<html><head/><body><p>Enter the time step used for the Verlet integration</p></body></html>")) self.but_md_calccfg.setToolTip(_translate("MainWindow", "<html><head/><body><p>Configure the chosen calculator</p></body></html>")) self.but_md_calccfg.setText(_translate("MainWindow", "Configure...")) self.label_2.setText(_translate("MainWindow", "Number of steps")) self.label_3.setText(_translate("MainWindow", "Calculator")) self.cmb_md_therm.setToolTip(_translate("MainWindow", "<html><head/><body><p>If the simulation should be performed at constant temperature, choose the appropriate thermostat</p></body></html>")) self.cmb_md_therm.setItemText(0, _translate("MainWindow", "None")) self.cmb_md_therm.setItemText(1, _translate("MainWindow", "Berendsen")) self.cmb_md_therm.setItemText(2, _translate("MainWindow", "Bussi")) self.txt_md_nsteps.setToolTip(_translate("MainWindow", "<html><head/><body><p>Enter the number of steps to be performed before the dynamics simulation is terminated</p></body></html>")) self.but_md_thermcfg.setToolTip(_translate("MainWindow", "<html><head/><body><p>Configure the chosen thermostat</p></body></html>")) self.but_md_thermcfg.setText(_translate("MainWindow", "Configure...")) self.label_5.setText(_translate("MainWindow", "fs")) self.label_6.setText(_translate("MainWindow", "Initial conditions:")) self.rad_init_exist.setText(_translate("MainWindow", "Use existing initial.xyz and initial.vel files")) self.rad_init_gen.setToolTip(_translate("MainWindow", "<html><head/><body><p>Choose this option, if you want to generate a new set of velocities for a given molecular structure</p></body></html>")) self.rad_init_gen.setText(_translate("MainWindow", "Generate random velocities")) self.label_7.setText(_translate("MainWindow", "xyz-File")) self.but_init_xyz.setToolTip(_translate("MainWindow", "<html><head/><body><p>Browse file system to choose xyz-file</p></body></html>")) self.but_init_xyz.setText(_translate("MainWindow", "Browse...")) self.label_8.setText(_translate("MainWindow", "Temperature")) self.txt_init_xyz.setToolTip(_translate("MainWindow", "<html><head/><body><p>Path to the molecular structure file in xyz-format</p></body></html>")) self.txt_init_temp.setToolTip(_translate("MainWindow", "<html><head/><body><p>Temperature to be used for the random velocity sampling</p></body></html>")) self.label_11.setText(_translate("MainWindow", "K")) self.rad_init_use.setToolTip(_translate("MainWindow", "<html><head/><body><p>Choose this option, if you want to take over the coordinates and velocities from a previous simulation</p></body></html>")) self.rad_init_use.setText(_translate("MainWindow", "Use coordinates and velocities from previous simulation")) self.label_9.setText(_translate("MainWindow", "Source directory")) self.label_10.setText(_translate("MainWindow", "Step number")) self.but_init_dir.setToolTip(_translate("MainWindow", "<html><head/><body><p>Browse file system to choose the source directory</p></body></html>")) self.but_init_dir.setText(_translate("MainWindow", "Browse...")) self.txt_init_dir.setToolTip(_translate("MainWindow", "<html><head/><body><p>Enter the path to the directory containing the log-files from a previous calculation</p></body></html>")) self.txt_init_step.setToolTip(_translate("MainWindow", "<html><head/><body><p>Enter the step number that corresponds to the coordinates and velocities you want to use as initial conditions. if empty, the last step is used</p></body></html>")) self.tabs_general.setTabText(self.tabs_general.indexOf(self.tab_md), _translate("MainWindow", "Molecular Dynamics")) self.chk_meta_do.setToolTip(_translate("MainWindow", "<html><head/><body><p>switch on metadynamics</p></body></html>")) self.chk_meta_do.setText(_translate("MainWindow", "Do metadynamics")) self.txt_meta_height.setToolTip(_translate("MainWindow", "<html><head/><body><p>height of the Gaussians added to the metadynamics potential</p></body></html>")) self.label_12.setText(_translate("MainWindow", "Gaussian height")) self.txt_meta_taug.setToolTip(_translate("MainWindow", "<html><head/><body><p>Enter the number of steps until the next Gaussian is added to the metadynamics potential</p></body></html>")) self.label_13.setText(_translate("MainWindow", "tau_G")) self.cmb_meta_heightunit.setToolTip(_translate("MainWindow", "<html><head/><body><p>Unit</p></body></html>")) self.cmb_meta_heightunit.setItemText(0, _translate("MainWindow", "eV")) self.cmb_meta_heightunit.setItemText(1, _translate("MainWindow", "Ha")) self.cmb_meta_heightunit.setItemText(2, _translate("MainWindow", "kcalpermol")) self.label_19.setText(_translate("MainWindow", "steps")) self.chk_wt_do.setText(_translate("MainWindow", "Well-tempered")) self.label_36.setText(_translate("MainWindow", "delta T")) self.label_37.setText(_translate("MainWindow", "K")) self.chk_multi_do.setToolTip(_translate("MainWindow", "<html><head/><body><p>switch on multistate metadynamics. in this case, the parameters given above and in the Collective Variables tab correspond to the offdiagonal metadynamics. Additional parameters for the use of the modified energy gap as a CV have to be entered below.</p></body></html>")) self.chk_multi_do.setText(_translate("MainWindow", "Do multistate metadynamics")) self.rad_multi_egap.setText(_translate("MainWindow", "energy gap")) self.label_38.setText(_translate("MainWindow", "Primary CV")) self.rad_multi_ngap.setText(_translate("MainWindow", "noon gap")) self.txt_multi_state2.setToolTip(_translate("MainWindow", "<html><head/><body><p>Enter the electronic state index for the upper state to be used to calculate the energy gap. (ground state = 0)</p></body></html>")) self.label_18.setText(_translate("MainWindow", "Threshold eps")) self.label_14.setText(_translate("MainWindow", "State / NOON 1")) self.txt_multi_state1.setToolTip(_translate("MainWindow", "<html><head/><body><p>Enter the electronic state index for the lower state to be used to calculate the energy gap. (ground state = 0)</p></body></html>")) self.txt_multi_height.setToolTip(_translate("MainWindow", "<html><head/><body><p>height of the Gaussians added to the metadynamics potential with energy gap CV</p></body></html>")) self.txt_multi_width.setToolTip(_translate("MainWindow", "<html><head/><body><p>width of the Gaussians added to the metadynamics potential with energy gap CV</p></body></html>")) self.label_17.setText(_translate("MainWindow", "Gaussian height")) self.label_16.setText(_translate("MainWindow", "Gaussian width")) self.txt_multi_eps.setToolTip(_translate("MainWindow", "<html><head/><body><p>energy threshold to be used in the theta function</p></body></html>")) self.label_15.setText(_translate("MainWindow", "State / NOON 2")) self.cmb_multi_widthunit.setToolTip(_translate("MainWindow", "<html><head/><body><p>Unit</p></body></html>")) self.cmb_multi_widthunit.setItemText(0, _translate("MainWindow", "eV")) self.cmb_multi_widthunit.setItemText(1, _translate("MainWindow", "Ha")) self.cmb_multi_widthunit.setItemText(2, _translate("MainWindow", "kcalpermol")) self.cmb_multi_heightunit.setToolTip(_translate("MainWindow", "<html><head/><body><p>Unit</p></body></html>")) self.cmb_multi_heightunit.setItemText(0, _translate("MainWindow", "eV")) self.cmb_multi_heightunit.setItemText(1, _translate("MainWindow", "Ha")) self.cmb_multi_heightunit.setItemText(2, _translate("MainWindow", "kcalpermol")) self.cmb_multi_epsunit.setToolTip(_translate("MainWindow", "<html><head/><body><p>Unit</p></body></html>")) self.cmb_multi_epsunit.setItemText(0, _translate("MainWindow", "eV")) self.cmb_multi_epsunit.setItemText(1, _translate("MainWindow", "Ha")) self.cmb_multi_epsunit.setItemText(2, _translate("MainWindow", "kcalpermol")) self.tabs_general.setTabText(self.tabs_general.indexOf(self.tab_meta), _translate("MainWindow", "Metadynamics")) self.list_cv.setToolTip(_translate("MainWindow", "<html><head/><body><p>List of CVs. Click \'Add\' to define a new CV.</p></body></html>")) self.but_cv_add.setToolTip(_translate("MainWindow", "<html><head/><body><p>Add new entry to the list of CVs</p></body></html>")) self.but_cv_add.setText(_translate("MainWindow", "Add")) self.but_cv_edit.setToolTip(_translate("MainWindow", "<html><head/><body><p>View / edit the properties of the selected CV</p></body></html>")) self.but_cv_edit.setText(_translate("MainWindow", "View / Edit")) self.but_cv_del.setToolTip(_translate("MainWindow", "<html><head/><body><p>Delete the selected CV</p></body></html>")) self.but_cv_del.setText(_translate("MainWindow", "Delete")) self.label_21.setText(_translate("MainWindow", "Type")) self.label_20.setText(_translate("MainWindow", "Name")) self.label_22.setText(_translate("MainWindow", "Gaussian width")) self.txt_cv_width.setToolTip(_translate("MainWindow", "<html><head/><body><p>width of the Gaussians added to the metadynamics potential</p></body></html>")) self.txt_cv_name.setToolTip(_translate("MainWindow", "<html><head/><body><p>Enter the name of the CV</p></body></html>")) self.cmb_cv_type.setToolTip(_translate("MainWindow", "<html><head/><body><p>Choose from available types of CVs</p></body></html>")) self.cmb_cv_type.setItemText(0, _translate("MainWindow", "None")) self.label_35.setText(_translate("MainWindow", "Unit")) self.but_cv_conf.setText(_translate("MainWindow", "Configure...")) self.tabs_cv_edit.setTabText(self.tabs_cv_edit.indexOf(self.tab_4), _translate("MainWindow", "General")) self.chk_wall_only.setToolTip(_translate("MainWindow", "<html><head/><body><p>If you want to use this variable only for an additional wall potential and not for metadynamics, tick this checkbox</p></body></html>")) self.chk_wall_only.setText(_translate("MainWindow", "Use this CV only for wall, not for metadynamics")) self.label_27.setText(_translate("MainWindow", "Weight")) self.label_28.setText(_translate("MainWindow", "Strength")) self.label_25.setText(_translate("MainWindow", "Scale")) self.txt_wall_scale.setToolTip(_translate("MainWindow", "<html><head/><body><p>Enter the scaling factor of the polynomial wall.</p></body></html>")) self.label_23.setText(_translate("MainWindow", "Type")) self.cmb_wall_type.setToolTip(_translate("MainWindow", "<html><head/><body><p>Choose from the available types of wall potentials.</p></body></html>")) self.cmb_wall_type.setItemText(0, _translate("MainWindow", "None")) self.cmb_wall_type.setItemText(1, _translate("MainWindow", "polynomial_upper")) self.cmb_wall_type.setItemText(2, _translate("MainWindow", "polynomial_lower")) self.cmb_wall_type.setItemText(3, _translate("MainWindow", "logarithmic_upper")) self.cmb_wall_type.setItemText(4, _translate("MainWindow", "logarithmic_lower")) self.label_24.setText(_translate("MainWindow", "Exponent")) self.txt_wall_exp.setToolTip(_translate("MainWindow", "<html><head/><body><p>Enter the exponent of the polynomial wall.</p></body></html>")) self.txt_wall_weight.setToolTip(_translate("MainWindow", "<html><head/><body><p>Enter the weight parameter for the logarithmic wall potential</p></body></html>")) self.txt_wall_stren.setToolTip(_translate("MainWindow", "<html><head/><body><p>Enter the strength parameter for the logarithmic wall potential</p></body></html>")) self.label_30.setText(_translate("MainWindow", "kcal / mol")) self.label_29.setText(_translate("MainWindow", "mol / kcal")) self.label_26.setText(_translate("MainWindow", "Offset")) self.txt_wall_offset.setToolTip(_translate("MainWindow", "<html><head/><body><p>Enter the offset of the wall. This is the value of the CV from which the wall is switched on.</p></body></html>")) self.tabs_cv_edit.setTabText(self.tabs_cv_edit.indexOf(self.tab_wall), _translate("MainWindow", "Wall")) self.label_31.setText(_translate("MainWindow", "Minimum")) self.txt_plot_min.setToolTip(_translate("MainWindow", "<html><head/><body><p>enter the minimum CV value in the plotting range of the metadynamics potential</p></body></html>")) self.label_32.setText(_translate("MainWindow", "Maximum")) self.txt_plot_max.setToolTip(_translate("MainWindow", "<html><head/><body><p>enter the maximum CV value in the plotting range of the metadynamics potential</p></body></html>")) self.label_33.setText(_translate("MainWindow", "Number of points")) self.txt_plot_npoints.setToolTip(_translate("MainWindow", "<html><head/><body><p>Enter the number of data points to be calculated in this dimension for plotting the metadynamics potential</p></body></html>")) self.label_34.setText(_translate("MainWindow", "Tick spacing")) self.txt_plot_ticks.setToolTip(_translate("MainWindow", "<html><head/><body><p>Enter the tick spacing to be used when plotting the metadynamics potential</p></body></html>")) self.tabs_cv_edit.setTabText(self.tabs_cv_edit.indexOf(self.tab_plot), _translate("MainWindow", "Plot")) self.but_cv_cancel.setText(_translate("MainWindow", "Cancel")) self.but_cv_save.setText(_translate("MainWindow", "Save Collective Variable")) self.tabs_general.setTabText(self.tabs_general.indexOf(self.tab_cv), _translate("MainWindow", "Collective Variables")) self.menuFile.setTitle(_translate("MainWindow", "&File")) self.menuHelp.setTitle(_translate("MainWindow", "&Help")) self.action_save.setText(_translate("MainWindow", "&Save")) self.action_save.setShortcut(_translate("MainWindow", "Ctrl+S")) self.action_reset_all.setText(_translate("MainWindow", "&Reset all")) self.action_import.setText(_translate("MainWindow", "&Import")) self.action_import.setShortcut(_translate("MainWindow", "Ctrl+I")) self.action_quit.setText(_translate("MainWindow", "&Quit")) self.action_view_docs.setText(_translate("MainWindow", "&Documentation"))