diff options
author | Mark Sims <mark@nanorex.com> | 2008-07-16 13:58:30 +0000 |
---|---|---|
committer | Mark Sims <mark@nanorex.com> | 2008-07-16 13:58:30 +0000 |
commit | efed028ad3f77cabae18fd9864912d75cfea175d (patch) | |
tree | f170ff7d733de0b8f4f97e7d3bd284b2a58e25a1 /cad/src/ne1_ui/prefs | |
parent | ba5884b372f503bab187a19ccdcea8bb603c4bbd (diff) | |
download | nanoengineer-theirix-efed028ad3f77cabae18fd9864912d75cfea175d.tar.gz nanoengineer-theirix-efed028ad3f77cabae18fd9864912d75cfea175d.zip |
Added Rosetta to Plug-ins page and hid the NV1 plugin.
Diffstat (limited to 'cad/src/ne1_ui/prefs')
-rw-r--r-- | cad/src/ne1_ui/prefs/Preferences.py | 170 | ||||
-rw-r--r-- | cad/src/ne1_ui/prefs/PreferencesDialog.py | 842 | ||||
-rw-r--r-- | cad/src/ne1_ui/prefs/PreferencesDialog.ui | 730 |
3 files changed, 967 insertions, 775 deletions
diff --git a/cad/src/ne1_ui/prefs/Preferences.py b/cad/src/ne1_ui/prefs/Preferences.py index bf96a90b7..edcc7b888 100644 --- a/cad/src/ne1_ui/prefs/Preferences.py +++ b/cad/src/ne1_ui/prefs/Preferences.py @@ -74,6 +74,10 @@ from utilities.prefs_constants import gromacs_enabled_prefs_key from utilities.prefs_constants import gromacs_path_prefs_key from utilities.prefs_constants import cpp_enabled_prefs_key from utilities.prefs_constants import cpp_path_prefs_key +from utilities.prefs_constants import rosetta_enabled_prefs_key +from utilities.prefs_constants import rosetta_path_prefs_key +from utilities.prefs_constants import rosetta_database_enabled_prefs_key +from utilities.prefs_constants import rosetta_dbdir_prefs_key from utilities.prefs_constants import nv1_enabled_prefs_key from utilities.prefs_constants import nv1_path_prefs_key from utilities.prefs_constants import startupGlobalDisplayStyle_prefs_key @@ -1221,6 +1225,16 @@ class Preferences(QDialog, Ui_PreferencesDialog): self.connect(self.cpp_path_lineedit, SIGNAL("textEdited(const QString&)"), self.set_cpp_path) self.connect(self.cpp_choose_btn, SIGNAL("clicked()"), self.choose_cpp_path) + # Rosetta signal-slots connections. + self.connect(self.rosetta_checkbox, SIGNAL("toggled(bool)"), self.enable_rosetta) + self.connect(self.rosetta_path_lineedit, SIGNAL("textEdited(const QString&)"), self.set_rosetta_path) + self.connect(self.rosetta_choose_btn, SIGNAL("clicked()"), self.choose_rosetta_path) + + # Rosetta database signal-slots connections. + self.connect(self.rosetta_db_checkbox, SIGNAL("toggled(bool)"), self.enable_rosetta_db) + self.connect(self.rosetta_db_path_lineedit, SIGNAL("textEdited(const QString&)"), self.set_rosetta_db_path) + self.connect(self.rosetta_db_choose_btn, SIGNAL("clicked()"), self.choose_rosetta_db_path) + # NanoVision-1 signal-slots connections. self.connect(self.nv1_checkbox, SIGNAL("toggled(bool)"), self.enable_nv1) self.connect(self.nv1_path_lineedit, SIGNAL("textEdited(const QString&)"), self.set_nv1_path) @@ -1327,22 +1341,48 @@ class Preferences(QDialog, Ui_PreferencesDialog): been added but not fully implemented. It is also possible to show hidden widgets that have a debug pref set to enable them. """ - widgetList = [self.nanohive_lbl, - self.nanohive_checkbox, - self.nanohive_path_lineedit, - self.nanohive_choose_btn, - self.gamess_checkbox, - self.gamess_lbl, - self.gamess_path_lineedit, - self.gamess_choose_btn] - - for widget in widgetList: + gms_and_esp_widgetList = [self.nanohive_lbl, + self.nanohive_checkbox, + self.nanohive_path_lineedit, + self.nanohive_choose_btn, + self.gamess_checkbox, + self.gamess_lbl, + self.gamess_path_lineedit, + self.gamess_choose_btn] + + for widget in gms_and_esp_widgetList: if debug_pref("Show GAMESS and ESP Image UI options", Choice_boolean_False, prefs_key = True): widget.show() else: widget.hide() + + # NanoVision-1 + nv1_widgetList = [self.nv1_checkbox, + self.nv1_label, + self.nv1_path_lineedit, + self.nv1_choose_btn] + + for widget in nv1_widgetList: + widget.hide() + + # Rosetta + rosetta_widgetList = [self.rosetta_checkbox, + self.rosetta_label, + self.rosetta_path_lineedit, + self.rosetta_choose_btn, + self.rosetta_db_checkbox, + self.rosetta_db_label, + self.rosetta_db_path_lineedit, + self.rosetta_db_choose_btn] + + from protein.model.Protein import enableProteins + for widget in rosetta_widgetList: + if enableProteins: + widget.show() + else: + widget.hide() return # caption_prefix slot methods [#e should probably refile these with other slot methods?] @@ -2881,7 +2921,7 @@ class Preferences(QDialog, Ui_PreferencesDialog): def enable_nv1(self, enable = True): """ - If True, NV1 path is set in Preferences>Plug-ins + If True, NV1 path is set in Preferences > Plug-ins @param enable: Is the path set? @type enable: bool @@ -2912,6 +2952,114 @@ class Preferences(QDialog, Ui_PreferencesDialog): #self.nv1_path_lineedit.setText("") #env.prefs[nv1_path_prefs_key] = '' env.prefs[nv1_enabled_prefs_key] = False + return + + # Rosetta slots ####################################### + + def choose_rosetta_path(self): + """ + Slot for Rosetta path "Choose" button. + """ + + rosetta_executable = get_filename_and_save_in_prefs(self, + rosetta_path_prefs_key, + 'Choose Rosetta Executable') + + if rosetta_executable: + self.rosetta_path_lineedit.setText(env.prefs[rosetta_path_prefs_key]) + + def set_rosetta_path(self, newValue): + """ + Slot for Rosetta path line editor. + """ + env.prefs[rosetta_path_prefs_key] = str_or_unicode(newValue) + return + + def enable_rosetta(self, enable = True): + """ + If True, rosetta path is set in Preferences > Plug-ins + + @param enable: Is the path set? + @type enable: bool + """ + + state = self.rosetta_checkbox.checkState() + if enable: + if (state != Qt.Checked): + self.rosetta_checkbox.setCheckState(Qt.Checked) + self.rosetta_path_lineedit.setEnabled(True) + self.rosetta_choose_btn.setEnabled(True) + env.prefs[rosetta_enabled_prefs_key] = True + + # Sets the rosetta (executable) path to the standard location, if it exists. + if not env.prefs[rosetta_path_prefs_key]: + env.prefs[rosetta_path_prefs_key] = get_default_plugin_path( \ + "C:\\Rosetta\\rosetta.exe", \ + "/Users/marksims/Nanorex/Rosetta/rosetta++/rosetta.mactel", \ + "/usr/local/Rosetta/Rosetta") + + self.rosetta_path_lineedit.setText(env.prefs[rosetta_path_prefs_key]) + + else: + if (state != Qt.Unchecked): + self.rosetta_checkbox.setCheckState(Qt.Unchecked) + self.rosetta_path_lineedit.setEnabled(False) + self.rosetta_choose_btn.setEnabled(False) + env.prefs[rosetta_enabled_prefs_key] = False + return + + # Rosetta DB slots ####################################### + + def choose_rosetta_db_path(self): + """ + Slot for Rosetta DB path "Choose" button. + """ + + rosetta_db_executable = get_filename_and_save_in_prefs(self, + rosetta_dbdir_prefs_key, + 'Choose Rosetta database directory') + + if rosetta_db_executable: + self.rosetta_db_path_lineedit.setText(env.prefs[rosetta_db_path_prefs_key]) + + def set_rosetta_db_path(self, newValue): + """ + Slot for Rosetta db path line editor. + """ + env.prefs[rosetta_dbdir_prefs_key] = str_or_unicode(newValue) + + def enable_rosetta_db(self, enable = True): + """ + If True, rosetta db path is set in Preferences > Plug-ins + + @param enable: Is the path set? + @type enable: bool + """ + + state = self.rosetta_db_checkbox.checkState() + if enable: + if (state != Qt.Checked): + self.rosetta_db_checkbox.setCheckState(Qt.Checked) + self.rosetta_db_path_lineedit.setEnabled(True) + self.rosetta_db_choose_btn.setEnabled(True) + env.prefs[rosetta_database_enabled_prefs_key] = True + + # Sets the rosetta (executable) path to the standard location, if it exists. + if not env.prefs[rosetta_dbdir_prefs_key]: + env.prefs[rosetta_dbdir_prefs_key] = get_default_plugin_path( \ + "C:\\Rosetta\\rosetta_database", \ + "/Users/marksims/Nanorex/Rosetta/Rosetta_database", \ + "/usr/local/Rosetta/Rosetta_database") + + self.rosetta_db_path_lineedit.setText(env.prefs[rosetta_dbdir_prefs_key]) + + else: + if (state != Qt.Unchecked): + self.rosetta_db_checkbox.setCheckState(Qt.Unchecked) + self.rosetta_db_path_lineedit.setEnabled(False) + self.rosetta_db_choose_btn.setEnabled(False) + env.prefs[rosetta_database_enabled_prefs_key] = False + return # QuteMolX slots ####################################### diff --git a/cad/src/ne1_ui/prefs/PreferencesDialog.py b/cad/src/ne1_ui/prefs/PreferencesDialog.py index 918698d36..305a7baa4 100644 --- a/cad/src/ne1_ui/prefs/PreferencesDialog.py +++ b/cad/src/ne1_ui/prefs/PreferencesDialog.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'PreferencesDialog.ui' # -# Created: Tue Jul 08 19:15:14 2008 +# Created: Wed Jul 16 00:54:05 2008 # by: PyQt4 UI code generator 4.3.3 # # WARNING! All changes made in this file will be lost! @@ -2367,147 +2367,148 @@ class Ui_PreferencesDialog(object): self.Plugins = QtGui.QWidget() self.Plugins.setObjectName("Plugins") - self.gridlayout33 = QtGui.QGridLayout(self.Plugins) - self.gridlayout33.setMargin(9) - self.gridlayout33.setSpacing(6) - self.gridlayout33.setObjectName("gridlayout33") - - spacerItem59 = QtGui.QSpacerItem(20,218,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding) - self.gridlayout33.addItem(spacerItem59,1,0,1,1) + self.vboxlayout38 = QtGui.QVBoxLayout(self.Plugins) + self.vboxlayout38.setObjectName("vboxlayout38") self.file_locations_grp = QtGui.QGroupBox(self.Plugins) self.file_locations_grp.setObjectName("file_locations_grp") - self.gridlayout34 = QtGui.QGridLayout(self.file_locations_grp) - self.gridlayout34.setMargin(2) - self.gridlayout34.setSpacing(2) - self.gridlayout34.setObjectName("gridlayout34") - - self.qutemol_path_lineedit = QtGui.QLineEdit(self.file_locations_grp) - self.qutemol_path_lineedit.setEnabled(False) - self.qutemol_path_lineedit.setObjectName("qutemol_path_lineedit") - self.gridlayout34.addWidget(self.qutemol_path_lineedit,0,1,1,1) - - self.nanohive_path_lineedit = QtGui.QLineEdit(self.file_locations_grp) - self.nanohive_path_lineedit.setEnabled(False) - self.nanohive_path_lineedit.setObjectName("nanohive_path_lineedit") - self.gridlayout34.addWidget(self.nanohive_path_lineedit,1,1,1,1) - - self.povray_path_lineedit = QtGui.QLineEdit(self.file_locations_grp) - self.povray_path_lineedit.setEnabled(False) - self.povray_path_lineedit.setMaximumSize(QtCore.QSize(32767,32767)) - self.povray_path_lineedit.setMaxLength(32767) - self.povray_path_lineedit.setObjectName("povray_path_lineedit") - self.gridlayout34.addWidget(self.povray_path_lineedit,2,1,1,1) - - self.megapov_path_lineedit = QtGui.QLineEdit(self.file_locations_grp) - self.megapov_path_lineedit.setEnabled(False) - self.megapov_path_lineedit.setMaximumSize(QtCore.QSize(32767,32767)) - self.megapov_path_lineedit.setMaxLength(32767) - self.megapov_path_lineedit.setObjectName("megapov_path_lineedit") - self.gridlayout34.addWidget(self.megapov_path_lineedit,3,1,1,1) - - self.povdir_lineedit = QtGui.QLineEdit(self.file_locations_grp) - self.povdir_lineedit.setEnabled(False) - self.povdir_lineedit.setObjectName("povdir_lineedit") - self.gridlayout34.addWidget(self.povdir_lineedit,4,1,1,1) - - self.gamess_path_lineedit = QtGui.QLineEdit(self.file_locations_grp) - self.gamess_path_lineedit.setEnabled(False) - self.gamess_path_lineedit.setMaximumSize(QtCore.QSize(32767,32767)) - self.gamess_path_lineedit.setMaxLength(32767) - self.gamess_path_lineedit.setObjectName("gamess_path_lineedit") - self.gridlayout34.addWidget(self.gamess_path_lineedit,5,1,1,1) - - self.gromacs_path_lineedit = QtGui.QLineEdit(self.file_locations_grp) - self.gromacs_path_lineedit.setEnabled(False) - self.gromacs_path_lineedit.setObjectName("gromacs_path_lineedit") - self.gridlayout34.addWidget(self.gromacs_path_lineedit,6,1,1,1) - - self.nv1_path_lineedit = QtGui.QLineEdit(self.file_locations_grp) - self.nv1_path_lineedit.setEnabled(False) - self.nv1_path_lineedit.setObjectName("nv1_path_lineedit") - self.gridlayout34.addWidget(self.nv1_path_lineedit,8,1,1,1) - - self.cpp_path_lineedit = QtGui.QLineEdit(self.file_locations_grp) - self.cpp_path_lineedit.setEnabled(False) - self.cpp_path_lineedit.setObjectName("cpp_path_lineedit") - self.gridlayout34.addWidget(self.cpp_path_lineedit,7,1,1,1) + self.gridlayout33 = QtGui.QGridLayout(self.file_locations_grp) + self.gridlayout33.setMargin(4) + self.gridlayout33.setSpacing(2) + self.gridlayout33.setObjectName("gridlayout33") self.hboxlayout56 = QtGui.QHBoxLayout() self.hboxlayout56.setSpacing(0) self.hboxlayout56.setMargin(0) self.hboxlayout56.setObjectName("hboxlayout56") - self.nv1_checkbox = QtGui.QCheckBox(self.file_locations_grp) - self.nv1_checkbox.setObjectName("nv1_checkbox") - self.hboxlayout56.addWidget(self.nv1_checkbox) + self.qutemol_checkbox = QtGui.QCheckBox(self.file_locations_grp) + self.qutemol_checkbox.setEnabled(True) + self.qutemol_checkbox.setObjectName("qutemol_checkbox") + self.hboxlayout56.addWidget(self.qutemol_checkbox) - self.nv1_label = QtGui.QLabel(self.file_locations_grp) - self.nv1_label.setObjectName("nv1_label") - self.hboxlayout56.addWidget(self.nv1_label) - self.gridlayout34.addLayout(self.hboxlayout56,8,0,1,1) + self.qutemol_lbl = QtGui.QLabel(self.file_locations_grp) + self.qutemol_lbl.setEnabled(True) - self.nv1_choose_btn = QtGui.QPushButton(self.file_locations_grp) - self.nv1_choose_btn.setEnabled(False) - self.nv1_choose_btn.setObjectName("nv1_choose_btn") - self.gridlayout34.addWidget(self.nv1_choose_btn,8,2,1,1) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Preferred) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.qutemol_lbl.sizePolicy().hasHeightForWidth()) + self.qutemol_lbl.setSizePolicy(sizePolicy) + self.qutemol_lbl.setMinimumSize(QtCore.QSize(60,0)) + self.qutemol_lbl.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) + self.qutemol_lbl.setObjectName("qutemol_lbl") + self.hboxlayout56.addWidget(self.qutemol_lbl) + self.gridlayout33.addLayout(self.hboxlayout56,0,0,1,1) - self.gromacs_choose_btn = QtGui.QPushButton(self.file_locations_grp) - self.gromacs_choose_btn.setEnabled(False) - self.gromacs_choose_btn.setObjectName("gromacs_choose_btn") - self.gridlayout34.addWidget(self.gromacs_choose_btn,6,2,1,1) + self.qutemol_path_lineedit = QtGui.QLineEdit(self.file_locations_grp) + self.qutemol_path_lineedit.setEnabled(False) + self.qutemol_path_lineedit.setObjectName("qutemol_path_lineedit") + self.gridlayout33.addWidget(self.qutemol_path_lineedit,0,1,1,1) + + self.qutemol_choose_btn = QtGui.QToolButton(self.file_locations_grp) + self.qutemol_choose_btn.setObjectName("qutemol_choose_btn") + self.gridlayout33.addWidget(self.qutemol_choose_btn,0,2,1,1) self.hboxlayout57 = QtGui.QHBoxLayout() self.hboxlayout57.setSpacing(0) self.hboxlayout57.setMargin(0) self.hboxlayout57.setObjectName("hboxlayout57") - self.gromacs_checkbox = QtGui.QCheckBox(self.file_locations_grp) - self.gromacs_checkbox.setObjectName("gromacs_checkbox") - self.hboxlayout57.addWidget(self.gromacs_checkbox) + self.nanohive_checkbox = QtGui.QCheckBox(self.file_locations_grp) + self.nanohive_checkbox.setEnabled(True) + self.nanohive_checkbox.setObjectName("nanohive_checkbox") + self.hboxlayout57.addWidget(self.nanohive_checkbox) - self.gromacs_label = QtGui.QLabel(self.file_locations_grp) - self.gromacs_label.setObjectName("gromacs_label") - self.hboxlayout57.addWidget(self.gromacs_label) - self.gridlayout34.addLayout(self.hboxlayout57,6,0,1,1) + self.nanohive_lbl = QtGui.QLabel(self.file_locations_grp) + self.nanohive_lbl.setEnabled(True) + + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Preferred) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.nanohive_lbl.sizePolicy().hasHeightForWidth()) + self.nanohive_lbl.setSizePolicy(sizePolicy) + self.nanohive_lbl.setMinimumSize(QtCore.QSize(60,0)) + self.nanohive_lbl.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) + self.nanohive_lbl.setObjectName("nanohive_lbl") + self.hboxlayout57.addWidget(self.nanohive_lbl) + self.gridlayout33.addLayout(self.hboxlayout57,1,0,1,1) + + self.nanohive_path_lineedit = QtGui.QLineEdit(self.file_locations_grp) + self.nanohive_path_lineedit.setEnabled(False) + self.nanohive_path_lineedit.setObjectName("nanohive_path_lineedit") + self.gridlayout33.addWidget(self.nanohive_path_lineedit,1,1,1,1) + + self.nanohive_choose_btn = QtGui.QToolButton(self.file_locations_grp) + self.nanohive_choose_btn.setObjectName("nanohive_choose_btn") + self.gridlayout33.addWidget(self.nanohive_choose_btn,1,2,1,1) self.hboxlayout58 = QtGui.QHBoxLayout() self.hboxlayout58.setSpacing(0) self.hboxlayout58.setMargin(0) self.hboxlayout58.setObjectName("hboxlayout58") - self.cpp_checkbox = QtGui.QCheckBox(self.file_locations_grp) - self.cpp_checkbox.setObjectName("cpp_checkbox") - self.hboxlayout58.addWidget(self.cpp_checkbox) + self.povray_checkbox = QtGui.QCheckBox(self.file_locations_grp) + self.povray_checkbox.setObjectName("povray_checkbox") + self.hboxlayout58.addWidget(self.povray_checkbox) - self.cpp_label = QtGui.QLabel(self.file_locations_grp) - self.cpp_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) - self.cpp_label.setObjectName("cpp_label") - self.hboxlayout58.addWidget(self.cpp_label) - self.gridlayout34.addLayout(self.hboxlayout58,7,0,1,1) + self.povray_lbl = QtGui.QLabel(self.file_locations_grp) + + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Preferred) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.povray_lbl.sizePolicy().hasHeightForWidth()) + self.povray_lbl.setSizePolicy(sizePolicy) + self.povray_lbl.setMinimumSize(QtCore.QSize(60,0)) + self.povray_lbl.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) + self.povray_lbl.setObjectName("povray_lbl") + self.hboxlayout58.addWidget(self.povray_lbl) + self.gridlayout33.addLayout(self.hboxlayout58,2,0,1,1) + + self.povray_path_lineedit = QtGui.QLineEdit(self.file_locations_grp) + self.povray_path_lineedit.setEnabled(False) + self.povray_path_lineedit.setMaximumSize(QtCore.QSize(32767,32767)) + self.povray_path_lineedit.setMaxLength(32767) + self.povray_path_lineedit.setObjectName("povray_path_lineedit") + self.gridlayout33.addWidget(self.povray_path_lineedit,2,1,1,1) + + self.povray_choose_btn = QtGui.QToolButton(self.file_locations_grp) + self.povray_choose_btn.setObjectName("povray_choose_btn") + self.gridlayout33.addWidget(self.povray_choose_btn,2,2,1,1) self.hboxlayout59 = QtGui.QHBoxLayout() self.hboxlayout59.setSpacing(0) self.hboxlayout59.setMargin(0) self.hboxlayout59.setObjectName("hboxlayout59") - self.gamess_checkbox = QtGui.QCheckBox(self.file_locations_grp) - self.gamess_checkbox.setObjectName("gamess_checkbox") - self.hboxlayout59.addWidget(self.gamess_checkbox) + self.megapov_checkbox = QtGui.QCheckBox(self.file_locations_grp) + self.megapov_checkbox.setObjectName("megapov_checkbox") + self.hboxlayout59.addWidget(self.megapov_checkbox) - self.gamess_lbl = QtGui.QLabel(self.file_locations_grp) + self.megapov_lbl = QtGui.QLabel(self.file_locations_grp) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.gamess_lbl.sizePolicy().hasHeightForWidth()) - self.gamess_lbl.setSizePolicy(sizePolicy) - self.gamess_lbl.setMinimumSize(QtCore.QSize(60,0)) - self.gamess_lbl.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) - self.gamess_lbl.setObjectName("gamess_lbl") - self.hboxlayout59.addWidget(self.gamess_lbl) - self.gridlayout34.addLayout(self.hboxlayout59,5,0,1,1) + sizePolicy.setHeightForWidth(self.megapov_lbl.sizePolicy().hasHeightForWidth()) + self.megapov_lbl.setSizePolicy(sizePolicy) + self.megapov_lbl.setMinimumSize(QtCore.QSize(60,0)) + self.megapov_lbl.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) + self.megapov_lbl.setObjectName("megapov_lbl") + self.hboxlayout59.addWidget(self.megapov_lbl) + self.gridlayout33.addLayout(self.hboxlayout59,3,0,1,1) + + self.megapov_path_lineedit = QtGui.QLineEdit(self.file_locations_grp) + self.megapov_path_lineedit.setEnabled(False) + self.megapov_path_lineedit.setMaximumSize(QtCore.QSize(32767,32767)) + self.megapov_path_lineedit.setMaxLength(32767) + self.megapov_path_lineedit.setObjectName("megapov_path_lineedit") + self.gridlayout33.addWidget(self.megapov_path_lineedit,3,1,1,1) + + self.megapov_choose_btn = QtGui.QToolButton(self.file_locations_grp) + self.megapov_choose_btn.setObjectName("megapov_choose_btn") + self.gridlayout33.addWidget(self.megapov_choose_btn,3,2,1,1) self.hboxlayout60 = QtGui.QHBoxLayout() self.hboxlayout60.setSpacing(2) @@ -2526,365 +2527,393 @@ class Ui_PreferencesDialog(object): self.povdir_lbl.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.povdir_lbl.setObjectName("povdir_lbl") self.hboxlayout60.addWidget(self.povdir_lbl) - self.gridlayout34.addLayout(self.hboxlayout60,4,0,1,1) + self.gridlayout33.addLayout(self.hboxlayout60,4,0,1,1) + + self.povdir_lineedit = QtGui.QLineEdit(self.file_locations_grp) + self.povdir_lineedit.setEnabled(False) + self.povdir_lineedit.setObjectName("povdir_lineedit") + self.gridlayout33.addWidget(self.povdir_lineedit,4,1,1,1) + + self.povdir_choose_btn = QtGui.QToolButton(self.file_locations_grp) + self.povdir_choose_btn.setObjectName("povdir_choose_btn") + self.gridlayout33.addWidget(self.povdir_choose_btn,4,2,1,1) self.hboxlayout61 = QtGui.QHBoxLayout() self.hboxlayout61.setSpacing(0) self.hboxlayout61.setMargin(0) self.hboxlayout61.setObjectName("hboxlayout61") - self.megapov_checkbox = QtGui.QCheckBox(self.file_locations_grp) - self.megapov_checkbox.setObjectName("megapov_checkbox") - self.hboxlayout61.addWidget(self.megapov_checkbox) + self.gamess_checkbox = QtGui.QCheckBox(self.file_locations_grp) + self.gamess_checkbox.setObjectName("gamess_checkbox") + self.hboxlayout61.addWidget(self.gamess_checkbox) - self.megapov_lbl = QtGui.QLabel(self.file_locations_grp) + self.gamess_lbl = QtGui.QLabel(self.file_locations_grp) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.megapov_lbl.sizePolicy().hasHeightForWidth()) - self.megapov_lbl.setSizePolicy(sizePolicy) - self.megapov_lbl.setMinimumSize(QtCore.QSize(60,0)) - self.megapov_lbl.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) - self.megapov_lbl.setObjectName("megapov_lbl") - self.hboxlayout61.addWidget(self.megapov_lbl) - self.gridlayout34.addLayout(self.hboxlayout61,3,0,1,1) + sizePolicy.setHeightForWidth(self.gamess_lbl.sizePolicy().hasHeightForWidth()) + self.gamess_lbl.setSizePolicy(sizePolicy) + self.gamess_lbl.setMinimumSize(QtCore.QSize(60,0)) + self.gamess_lbl.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) + self.gamess_lbl.setObjectName("gamess_lbl") + self.hboxlayout61.addWidget(self.gamess_lbl) + self.gridlayout33.addLayout(self.hboxlayout61,5,0,1,1) + + self.gamess_path_lineedit = QtGui.QLineEdit(self.file_locations_grp) + self.gamess_path_lineedit.setEnabled(False) + self.gamess_path_lineedit.setMaximumSize(QtCore.QSize(32767,32767)) + self.gamess_path_lineedit.setMaxLength(32767) + self.gamess_path_lineedit.setObjectName("gamess_path_lineedit") + self.gridlayout33.addWidget(self.gamess_path_lineedit,5,1,1,1) + + self.gamess_choose_btn = QtGui.QToolButton(self.file_locations_grp) + self.gamess_choose_btn.setObjectName("gamess_choose_btn") + self.gridlayout33.addWidget(self.gamess_choose_btn,5,2,1,1) self.hboxlayout62 = QtGui.QHBoxLayout() self.hboxlayout62.setSpacing(0) self.hboxlayout62.setMargin(0) self.hboxlayout62.setObjectName("hboxlayout62") - self.povray_checkbox = QtGui.QCheckBox(self.file_locations_grp) - self.povray_checkbox.setObjectName("povray_checkbox") - self.hboxlayout62.addWidget(self.povray_checkbox) + self.gromacs_checkbox = QtGui.QCheckBox(self.file_locations_grp) + self.gromacs_checkbox.setObjectName("gromacs_checkbox") + self.hboxlayout62.addWidget(self.gromacs_checkbox) - self.povray_lbl = QtGui.QLabel(self.file_locations_grp) + self.gromacs_label = QtGui.QLabel(self.file_locations_grp) + self.gromacs_label.setObjectName("gromacs_label") + self.hboxlayout62.addWidget(self.gromacs_label) + self.gridlayout33.addLayout(self.hboxlayout62,6,0,1,1) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Preferred) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.povray_lbl.sizePolicy().hasHeightForWidth()) - self.povray_lbl.setSizePolicy(sizePolicy) - self.povray_lbl.setMinimumSize(QtCore.QSize(60,0)) - self.povray_lbl.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) - self.povray_lbl.setObjectName("povray_lbl") - self.hboxlayout62.addWidget(self.povray_lbl) - self.gridlayout34.addLayout(self.hboxlayout62,2,0,1,1) + self.gromacs_path_lineedit = QtGui.QLineEdit(self.file_locations_grp) + self.gromacs_path_lineedit.setEnabled(False) + self.gromacs_path_lineedit.setObjectName("gromacs_path_lineedit") + self.gridlayout33.addWidget(self.gromacs_path_lineedit,6,1,1,1) + + self.gromacs_choose_btn = QtGui.QToolButton(self.file_locations_grp) + self.gromacs_choose_btn.setObjectName("gromacs_choose_btn") + self.gridlayout33.addWidget(self.gromacs_choose_btn,6,2,1,1) self.hboxlayout63 = QtGui.QHBoxLayout() self.hboxlayout63.setSpacing(0) self.hboxlayout63.setMargin(0) self.hboxlayout63.setObjectName("hboxlayout63") - self.nanohive_checkbox = QtGui.QCheckBox(self.file_locations_grp) - self.nanohive_checkbox.setEnabled(True) - self.nanohive_checkbox.setObjectName("nanohive_checkbox") - self.hboxlayout63.addWidget(self.nanohive_checkbox) + self.cpp_checkbox = QtGui.QCheckBox(self.file_locations_grp) + self.cpp_checkbox.setObjectName("cpp_checkbox") + self.hboxlayout63.addWidget(self.cpp_checkbox) - self.nanohive_lbl = QtGui.QLabel(self.file_locations_grp) - self.nanohive_lbl.setEnabled(True) + self.cpp_label = QtGui.QLabel(self.file_locations_grp) + self.cpp_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) + self.cpp_label.setObjectName("cpp_label") + self.hboxlayout63.addWidget(self.cpp_label) + self.gridlayout33.addLayout(self.hboxlayout63,7,0,1,1) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Preferred) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.nanohive_lbl.sizePolicy().hasHeightForWidth()) - self.nanohive_lbl.setSizePolicy(sizePolicy) - self.nanohive_lbl.setMinimumSize(QtCore.QSize(60,0)) - self.nanohive_lbl.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) - self.nanohive_lbl.setObjectName("nanohive_lbl") - self.hboxlayout63.addWidget(self.nanohive_lbl) - self.gridlayout34.addLayout(self.hboxlayout63,1,0,1,1) + self.cpp_path_lineedit = QtGui.QLineEdit(self.file_locations_grp) + self.cpp_path_lineedit.setEnabled(False) + self.cpp_path_lineedit.setObjectName("cpp_path_lineedit") + self.gridlayout33.addWidget(self.cpp_path_lineedit,7,1,1,1) + + self.cpp_choose_btn = QtGui.QToolButton(self.file_locations_grp) + self.cpp_choose_btn.setObjectName("cpp_choose_btn") + self.gridlayout33.addWidget(self.cpp_choose_btn,7,2,1,1) self.hboxlayout64 = QtGui.QHBoxLayout() self.hboxlayout64.setSpacing(0) self.hboxlayout64.setMargin(0) self.hboxlayout64.setObjectName("hboxlayout64") - self.qutemol_checkbox = QtGui.QCheckBox(self.file_locations_grp) - self.qutemol_checkbox.setEnabled(True) - self.qutemol_checkbox.setObjectName("qutemol_checkbox") - self.hboxlayout64.addWidget(self.qutemol_checkbox) + self.nv1_checkbox = QtGui.QCheckBox(self.file_locations_grp) + self.nv1_checkbox.setObjectName("nv1_checkbox") + self.hboxlayout64.addWidget(self.nv1_checkbox) - self.qutemol_lbl = QtGui.QLabel(self.file_locations_grp) - self.qutemol_lbl.setEnabled(True) + self.nv1_label = QtGui.QLabel(self.file_locations_grp) + self.nv1_label.setObjectName("nv1_label") + self.hboxlayout64.addWidget(self.nv1_label) + self.gridlayout33.addLayout(self.hboxlayout64,10,0,1,1) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Preferred) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.qutemol_lbl.sizePolicy().hasHeightForWidth()) - self.qutemol_lbl.setSizePolicy(sizePolicy) - self.qutemol_lbl.setMinimumSize(QtCore.QSize(60,0)) - self.qutemol_lbl.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) - self.qutemol_lbl.setObjectName("qutemol_lbl") - self.hboxlayout64.addWidget(self.qutemol_lbl) - self.gridlayout34.addLayout(self.hboxlayout64,0,0,1,1) + self.nv1_path_lineedit = QtGui.QLineEdit(self.file_locations_grp) + self.nv1_path_lineedit.setEnabled(False) + self.nv1_path_lineedit.setObjectName("nv1_path_lineedit") + self.gridlayout33.addWidget(self.nv1_path_lineedit,10,1,1,1) - self.cpp_choose_btn = QtGui.QPushButton(self.file_locations_grp) - self.cpp_choose_btn.setEnabled(False) - self.cpp_choose_btn.setObjectName("cpp_choose_btn") - self.gridlayout34.addWidget(self.cpp_choose_btn,7,2,1,1) + self.nv1_choose_btn = QtGui.QToolButton(self.file_locations_grp) + self.nv1_choose_btn.setObjectName("nv1_choose_btn") + self.gridlayout33.addWidget(self.nv1_choose_btn,10,2,1,1) - self.qutemol_choose_btn = QtGui.QPushButton(self.file_locations_grp) - self.qutemol_choose_btn.setEnabled(False) - self.qutemol_choose_btn.setAutoDefault(False) - self.qutemol_choose_btn.setObjectName("qutemol_choose_btn") - self.gridlayout34.addWidget(self.qutemol_choose_btn,0,2,1,1) + self.hboxlayout65 = QtGui.QHBoxLayout() + self.hboxlayout65.setSpacing(0) + self.hboxlayout65.setMargin(0) + self.hboxlayout65.setObjectName("hboxlayout65") - self.povray_choose_btn = QtGui.QPushButton(self.file_locations_grp) - self.povray_choose_btn.setEnabled(False) - self.povray_choose_btn.setAutoDefault(False) - self.povray_choose_btn.setObjectName("povray_choose_btn") - self.gridlayout34.addWidget(self.povray_choose_btn,2,2,1,1) + self.rosetta_checkbox = QtGui.QCheckBox(self.file_locations_grp) + self.rosetta_checkbox.setObjectName("rosetta_checkbox") + self.hboxlayout65.addWidget(self.rosetta_checkbox) - self.povdir_choose_btn = QtGui.QPushButton(self.file_locations_grp) - self.povdir_choose_btn.setEnabled(False) - self.povdir_choose_btn.setAutoDefault(False) - self.povdir_choose_btn.setObjectName("povdir_choose_btn") - self.gridlayout34.addWidget(self.povdir_choose_btn,4,2,1,1) + self.rosetta_label = QtGui.QLabel(self.file_locations_grp) + self.rosetta_label.setObjectName("rosetta_label") + self.hboxlayout65.addWidget(self.rosetta_label) + self.gridlayout33.addLayout(self.hboxlayout65,8,0,1,1) - self.megapov_choose_btn = QtGui.QPushButton(self.file_locations_grp) - self.megapov_choose_btn.setEnabled(False) - self.megapov_choose_btn.setAutoDefault(False) - self.megapov_choose_btn.setObjectName("megapov_choose_btn") - self.gridlayout34.addWidget(self.megapov_choose_btn,3,2,1,1) + self.rosetta_path_lineedit = QtGui.QLineEdit(self.file_locations_grp) + self.rosetta_path_lineedit.setEnabled(False) + self.rosetta_path_lineedit.setObjectName("rosetta_path_lineedit") + self.gridlayout33.addWidget(self.rosetta_path_lineedit,8,1,1,1) - self.gamess_choose_btn = QtGui.QPushButton(self.file_locations_grp) - self.gamess_choose_btn.setEnabled(False) - self.gamess_choose_btn.setAutoDefault(False) - self.gamess_choose_btn.setObjectName("gamess_choose_btn") - self.gridlayout34.addWidget(self.gamess_choose_btn,5,2,1,1) + self.rosetta_choose_btn = QtGui.QToolButton(self.file_locations_grp) + self.rosetta_choose_btn.setObjectName("rosetta_choose_btn") + self.gridlayout33.addWidget(self.rosetta_choose_btn,8,2,1,1) - self.nanohive_choose_btn = QtGui.QPushButton(self.file_locations_grp) - self.nanohive_choose_btn.setEnabled(False) - self.nanohive_choose_btn.setAutoDefault(False) - self.nanohive_choose_btn.setObjectName("nanohive_choose_btn") - self.gridlayout34.addWidget(self.nanohive_choose_btn,1,2,1,1) - self.gridlayout33.addWidget(self.file_locations_grp,0,0,1,1) + self.hboxlayout66 = QtGui.QHBoxLayout() + self.hboxlayout66.setSpacing(0) + self.hboxlayout66.setMargin(0) + self.hboxlayout66.setObjectName("hboxlayout66") + + self.rosetta_db_checkbox = QtGui.QCheckBox(self.file_locations_grp) + self.rosetta_db_checkbox.setObjectName("rosetta_db_checkbox") + self.hboxlayout66.addWidget(self.rosetta_db_checkbox) + + self.rosetta_db_label = QtGui.QLabel(self.file_locations_grp) + self.rosetta_db_label.setObjectName("rosetta_db_label") + self.hboxlayout66.addWidget(self.rosetta_db_label) + self.gridlayout33.addLayout(self.hboxlayout66,9,0,1,1) + + self.rosetta_db_path_lineedit = QtGui.QLineEdit(self.file_locations_grp) + self.rosetta_db_path_lineedit.setEnabled(False) + self.rosetta_db_path_lineedit.setObjectName("rosetta_db_path_lineedit") + self.gridlayout33.addWidget(self.rosetta_db_path_lineedit,9,1,1,1) + + self.rosetta_db_choose_btn = QtGui.QToolButton(self.file_locations_grp) + self.rosetta_db_choose_btn.setObjectName("rosetta_db_choose_btn") + self.gridlayout33.addWidget(self.rosetta_db_choose_btn,9,2,1,1) + self.vboxlayout38.addWidget(self.file_locations_grp) + + spacerItem59 = QtGui.QSpacerItem(384,71,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding) + self.vboxlayout38.addItem(spacerItem59) self.prefsStackedWidget.addWidget(self.Plugins) self.Undo = QtGui.QWidget() self.Undo.setObjectName("Undo") - self.gridlayout35 = QtGui.QGridLayout(self.Undo) - self.gridlayout35.setMargin(9) - self.gridlayout35.setSpacing(6) - self.gridlayout35.setObjectName("gridlayout35") + self.gridlayout34 = QtGui.QGridLayout(self.Undo) + self.gridlayout34.setMargin(9) + self.gridlayout34.setSpacing(6) + self.gridlayout34.setObjectName("gridlayout34") spacerItem60 = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) - self.gridlayout35.addItem(spacerItem60,0,1,1,1) - - self.vboxlayout38 = QtGui.QVBoxLayout() - self.vboxlayout38.setSpacing(4) - self.vboxlayout38.setMargin(0) - self.vboxlayout38.setObjectName("vboxlayout38") + self.gridlayout34.addItem(spacerItem60,0,1,1,1) self.vboxlayout39 = QtGui.QVBoxLayout() - self.vboxlayout39.setSpacing(2) + self.vboxlayout39.setSpacing(4) self.vboxlayout39.setMargin(0) self.vboxlayout39.setObjectName("vboxlayout39") + self.vboxlayout40 = QtGui.QVBoxLayout() + self.vboxlayout40.setSpacing(2) + self.vboxlayout40.setMargin(0) + self.vboxlayout40.setObjectName("vboxlayout40") + self.undo_restore_view_checkbox = QtGui.QCheckBox(self.Undo) self.undo_restore_view_checkbox.setObjectName("undo_restore_view_checkbox") - self.vboxlayout39.addWidget(self.undo_restore_view_checkbox) + self.vboxlayout40.addWidget(self.undo_restore_view_checkbox) self.undo_automatic_checkpoints_checkbox = QtGui.QCheckBox(self.Undo) self.undo_automatic_checkpoints_checkbox.setObjectName("undo_automatic_checkpoints_checkbox") - self.vboxlayout39.addWidget(self.undo_automatic_checkpoints_checkbox) + self.vboxlayout40.addWidget(self.undo_automatic_checkpoints_checkbox) - self.hboxlayout65 = QtGui.QHBoxLayout() - self.hboxlayout65.setSpacing(6) - self.hboxlayout65.setMargin(0) - self.hboxlayout65.setObjectName("hboxlayout65") + self.hboxlayout67 = QtGui.QHBoxLayout() + self.hboxlayout67.setSpacing(6) + self.hboxlayout67.setMargin(0) + self.hboxlayout67.setObjectName("hboxlayout67") self.undo_stack_memory_limit_label = QtGui.QLabel(self.Undo) self.undo_stack_memory_limit_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.undo_stack_memory_limit_label.setObjectName("undo_stack_memory_limit_label") - self.hboxlayout65.addWidget(self.undo_stack_memory_limit_label) + self.hboxlayout67.addWidget(self.undo_stack_memory_limit_label) self.undo_stack_memory_limit_spinbox = QtGui.QSpinBox(self.Undo) self.undo_stack_memory_limit_spinbox.setMaximum(99999) self.undo_stack_memory_limit_spinbox.setObjectName("undo_stack_memory_limit_spinbox") - self.hboxlayout65.addWidget(self.undo_stack_memory_limit_spinbox) - self.vboxlayout39.addLayout(self.hboxlayout65) - self.vboxlayout38.addLayout(self.vboxlayout39) + self.hboxlayout67.addWidget(self.undo_stack_memory_limit_spinbox) + self.vboxlayout40.addLayout(self.hboxlayout67) + self.vboxlayout39.addLayout(self.vboxlayout40) spacerItem61 = QtGui.QSpacerItem(20,40,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding) - self.vboxlayout38.addItem(spacerItem61) - self.gridlayout35.addLayout(self.vboxlayout38,0,0,1,1) + self.vboxlayout39.addItem(spacerItem61) + self.gridlayout34.addLayout(self.vboxlayout39,0,0,1,1) self.prefsStackedWidget.addWidget(self.Undo) self.Window = QtGui.QWidget() self.Window.setObjectName("Window") - self.gridlayout36 = QtGui.QGridLayout(self.Window) - self.gridlayout36.setMargin(9) - self.gridlayout36.setSpacing(6) - self.gridlayout36.setObjectName("gridlayout36") + self.gridlayout35 = QtGui.QGridLayout(self.Window) + self.gridlayout35.setMargin(9) + self.gridlayout35.setSpacing(6) + self.gridlayout35.setObjectName("gridlayout35") - self.hboxlayout66 = QtGui.QHBoxLayout() - self.hboxlayout66.setSpacing(4) - self.hboxlayout66.setMargin(0) - self.hboxlayout66.setObjectName("hboxlayout66") + self.hboxlayout68 = QtGui.QHBoxLayout() + self.hboxlayout68.setSpacing(4) + self.hboxlayout68.setMargin(0) + self.hboxlayout68.setObjectName("hboxlayout68") self.groupBox10 = QtGui.QGroupBox(self.Window) self.groupBox10.setObjectName("groupBox10") - self.gridlayout37 = QtGui.QGridLayout(self.groupBox10) - self.gridlayout37.setMargin(4) - self.gridlayout37.setSpacing(4) - self.gridlayout37.setObjectName("gridlayout37") + self.gridlayout36 = QtGui.QGridLayout(self.groupBox10) + self.gridlayout36.setMargin(4) + self.gridlayout36.setSpacing(4) + self.gridlayout36.setObjectName("gridlayout36") self.remember_win_pos_and_size_checkbox = QtGui.QCheckBox(self.groupBox10) self.remember_win_pos_and_size_checkbox.setObjectName("remember_win_pos_and_size_checkbox") - self.gridlayout37.addWidget(self.remember_win_pos_and_size_checkbox,1,0,1,3) + self.gridlayout36.addWidget(self.remember_win_pos_and_size_checkbox,1,0,1,3) - self.vboxlayout40 = QtGui.QVBoxLayout() - self.vboxlayout40.setSpacing(6) - self.vboxlayout40.setMargin(0) - self.vboxlayout40.setObjectName("vboxlayout40") + self.vboxlayout41 = QtGui.QVBoxLayout() + self.vboxlayout41.setSpacing(6) + self.vboxlayout41.setMargin(0) + self.vboxlayout41.setObjectName("vboxlayout41") self.save_current_btn = QtGui.QPushButton(self.groupBox10) self.save_current_btn.setAutoDefault(False) self.save_current_btn.setObjectName("save_current_btn") - self.vboxlayout40.addWidget(self.save_current_btn) + self.vboxlayout41.addWidget(self.save_current_btn) self.restore_saved_size_btn = QtGui.QPushButton(self.groupBox10) self.restore_saved_size_btn.setAutoDefault(False) self.restore_saved_size_btn.setObjectName("restore_saved_size_btn") - self.vboxlayout40.addWidget(self.restore_saved_size_btn) - self.gridlayout37.addLayout(self.vboxlayout40,0,2,1,1) + self.vboxlayout41.addWidget(self.restore_saved_size_btn) + self.gridlayout36.addLayout(self.vboxlayout41,0,2,1,1) - self.vboxlayout41 = QtGui.QVBoxLayout() - self.vboxlayout41.setSpacing(6) - self.vboxlayout41.setMargin(0) - self.vboxlayout41.setObjectName("vboxlayout41") + self.vboxlayout42 = QtGui.QVBoxLayout() + self.vboxlayout42.setSpacing(6) + self.vboxlayout42.setMargin(0) + self.vboxlayout42.setObjectName("vboxlayout42") self.textLabel1_2 = QtGui.QLabel(self.groupBox10) self.textLabel1_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.textLabel1_2.setObjectName("textLabel1_2") - self.vboxlayout41.addWidget(self.textLabel1_2) + self.vboxlayout42.addWidget(self.textLabel1_2) self.textLabel1_2_2 = QtGui.QLabel(self.groupBox10) self.textLabel1_2_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.textLabel1_2_2.setObjectName("textLabel1_2_2") - self.vboxlayout41.addWidget(self.textLabel1_2_2) - self.gridlayout37.addLayout(self.vboxlayout41,0,0,1,1) + self.vboxlayout42.addWidget(self.textLabel1_2_2) + self.gridlayout36.addLayout(self.vboxlayout42,0,0,1,1) - self.gridlayout38 = QtGui.QGridLayout() - self.gridlayout38.setMargin(0) - self.gridlayout38.setSpacing(6) - self.gridlayout38.setObjectName("gridlayout38") + self.gridlayout37 = QtGui.QGridLayout() + self.gridlayout37.setMargin(0) + self.gridlayout37.setSpacing(6) + self.gridlayout37.setObjectName("gridlayout37") self.current_width_spinbox = QtGui.QSpinBox(self.groupBox10) self.current_width_spinbox.setMinimum(640) self.current_width_spinbox.setMaximum(2048) self.current_width_spinbox.setProperty("value",QtCore.QVariant(640)) self.current_width_spinbox.setObjectName("current_width_spinbox") - self.gridlayout38.addWidget(self.current_width_spinbox,0,0,1,1) + self.gridlayout37.addWidget(self.current_width_spinbox,0,0,1,1) self.saved_height_lineedit = QtGui.QLineEdit(self.groupBox10) self.saved_height_lineedit.setReadOnly(True) self.saved_height_lineedit.setObjectName("saved_height_lineedit") - self.gridlayout38.addWidget(self.saved_height_lineedit,1,2,1,1) + self.gridlayout37.addWidget(self.saved_height_lineedit,1,2,1,1) self.current_height_spinbox = QtGui.QSpinBox(self.groupBox10) self.current_height_spinbox.setMinimum(480) self.current_height_spinbox.setMaximum(2000) self.current_height_spinbox.setProperty("value",QtCore.QVariant(480)) self.current_height_spinbox.setObjectName("current_height_spinbox") - self.gridlayout38.addWidget(self.current_height_spinbox,0,2,1,1) + self.gridlayout37.addWidget(self.current_height_spinbox,0,2,1,1) self.saved_width_lineedit = QtGui.QLineEdit(self.groupBox10) self.saved_width_lineedit.setReadOnly(True) self.saved_width_lineedit.setObjectName("saved_width_lineedit") - self.gridlayout38.addWidget(self.saved_width_lineedit,1,0,1,1) + self.gridlayout37.addWidget(self.saved_width_lineedit,1,0,1,1) self.textLabel1_2_2_2 = QtGui.QLabel(self.groupBox10) self.textLabel1_2_2_2.setAlignment(QtCore.Qt.AlignCenter) self.textLabel1_2_2_2.setObjectName("textLabel1_2_2_2") - self.gridlayout38.addWidget(self.textLabel1_2_2_2,0,1,1,1) + self.gridlayout37.addWidget(self.textLabel1_2_2_2,0,1,1,1) self.textLabel1_2_2_2_2 = QtGui.QLabel(self.groupBox10) self.textLabel1_2_2_2_2.setAlignment(QtCore.Qt.AlignCenter) self.textLabel1_2_2_2_2.setObjectName("textLabel1_2_2_2_2") - self.gridlayout38.addWidget(self.textLabel1_2_2_2_2,1,1,1,1) - self.gridlayout37.addLayout(self.gridlayout38,0,1,1,1) - self.hboxlayout66.addWidget(self.groupBox10) + self.gridlayout37.addWidget(self.textLabel1_2_2_2_2,1,1,1,1) + self.gridlayout36.addLayout(self.gridlayout37,0,1,1,1) + self.hboxlayout68.addWidget(self.groupBox10) spacerItem62 = QtGui.QSpacerItem(70,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) - self.hboxlayout66.addItem(spacerItem62) - self.gridlayout36.addLayout(self.hboxlayout66,0,0,1,1) + self.hboxlayout68.addItem(spacerItem62) + self.gridlayout35.addLayout(self.hboxlayout68,0,0,1,1) - self.hboxlayout67 = QtGui.QHBoxLayout() - self.hboxlayout67.setSpacing(4) - self.hboxlayout67.setMargin(0) - self.hboxlayout67.setObjectName("hboxlayout67") + self.hboxlayout69 = QtGui.QHBoxLayout() + self.hboxlayout69.setSpacing(4) + self.hboxlayout69.setMargin(0) + self.hboxlayout69.setObjectName("hboxlayout69") self.groupBox3 = QtGui.QGroupBox(self.Window) self.groupBox3.setObjectName("groupBox3") - self.gridlayout39 = QtGui.QGridLayout(self.groupBox3) - self.gridlayout39.setMargin(4) - self.gridlayout39.setSpacing(4) - self.gridlayout39.setObjectName("gridlayout39") + self.gridlayout38 = QtGui.QGridLayout(self.groupBox3) + self.gridlayout38.setMargin(4) + self.gridlayout38.setSpacing(4) + self.gridlayout38.setObjectName("gridlayout38") self.caption_fullpath_checkbox = QtGui.QCheckBox(self.groupBox3) self.caption_fullpath_checkbox.setObjectName("caption_fullpath_checkbox") - self.gridlayout39.addWidget(self.caption_fullpath_checkbox,4,0,1,1) + self.gridlayout38.addWidget(self.caption_fullpath_checkbox,4,0,1,1) self.caption_suffix_linedit = QtGui.QLineEdit(self.groupBox3) self.caption_suffix_linedit.setMinimumSize(QtCore.QSize(0,0)) self.caption_suffix_linedit.setMaximumSize(QtCore.QSize(32767,32767)) self.caption_suffix_linedit.setObjectName("caption_suffix_linedit") - self.gridlayout39.addWidget(self.caption_suffix_linedit,3,0,1,1) + self.gridlayout38.addWidget(self.caption_suffix_linedit,3,0,1,1) self.textLabel2_2 = QtGui.QLabel(self.groupBox3) self.textLabel2_2.setObjectName("textLabel2_2") - self.gridlayout39.addWidget(self.textLabel2_2,2,0,1,1) + self.gridlayout38.addWidget(self.textLabel2_2,2,0,1,1) self.caption_prefix_linedit = QtGui.QLineEdit(self.groupBox3) self.caption_prefix_linedit.setMinimumSize(QtCore.QSize(0,0)) self.caption_prefix_linedit.setMaximumSize(QtCore.QSize(32767,32767)) self.caption_prefix_linedit.setObjectName("caption_prefix_linedit") - self.gridlayout39.addWidget(self.caption_prefix_linedit,1,0,1,1) + self.gridlayout38.addWidget(self.caption_prefix_linedit,1,0,1,1) self.textLabel2 = QtGui.QLabel(self.groupBox3) self.textLabel2.setObjectName("textLabel2") - self.gridlayout39.addWidget(self.textLabel2,0,0,1,1) - self.hboxlayout67.addWidget(self.groupBox3) + self.gridlayout38.addWidget(self.textLabel2,0,0,1,1) + self.hboxlayout69.addWidget(self.groupBox3) spacerItem63 = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) - self.hboxlayout67.addItem(spacerItem63) - self.gridlayout36.addLayout(self.hboxlayout67,1,0,1,1) + self.hboxlayout69.addItem(spacerItem63) + self.gridlayout35.addLayout(self.hboxlayout69,1,0,1,1) spacerItem64 = QtGui.QSpacerItem(20,40,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding) - self.gridlayout36.addItem(spacerItem64,3,0,1,1) + self.gridlayout35.addItem(spacerItem64,3,0,1,1) - self.hboxlayout68 = QtGui.QHBoxLayout() - self.hboxlayout68.setSpacing(4) - self.hboxlayout68.setMargin(0) - self.hboxlayout68.setObjectName("hboxlayout68") + self.hboxlayout70 = QtGui.QHBoxLayout() + self.hboxlayout70.setSpacing(4) + self.hboxlayout70.setMargin(0) + self.hboxlayout70.setObjectName("hboxlayout70") self.selectedFontGroupBox = QtGui.QGroupBox(self.Window) self.selectedFontGroupBox.setCheckable(True) self.selectedFontGroupBox.setChecked(False) self.selectedFontGroupBox.setObjectName("selectedFontGroupBox") - self.gridlayout40 = QtGui.QGridLayout(self.selectedFontGroupBox) - self.gridlayout40.setMargin(4) - self.gridlayout40.setSpacing(4) - self.gridlayout40.setObjectName("gridlayout40") + self.gridlayout39 = QtGui.QGridLayout(self.selectedFontGroupBox) + self.gridlayout39.setMargin(4) + self.gridlayout39.setSpacing(4) + self.gridlayout39.setObjectName("gridlayout39") self.makeDefaultFontPushButton = QtGui.QPushButton(self.selectedFontGroupBox) self.makeDefaultFontPushButton.setAutoDefault(False) self.makeDefaultFontPushButton.setObjectName("makeDefaultFontPushButton") - self.gridlayout40.addWidget(self.makeDefaultFontPushButton,1,0,1,2) + self.gridlayout39.addWidget(self.makeDefaultFontPushButton,1,0,1,2) - self.vboxlayout42 = QtGui.QVBoxLayout() - self.vboxlayout42.setSpacing(6) - self.vboxlayout42.setMargin(0) - self.vboxlayout42.setObjectName("vboxlayout42") + self.vboxlayout43 = QtGui.QVBoxLayout() + self.vboxlayout43.setSpacing(6) + self.vboxlayout43.setMargin(0) + self.vboxlayout43.setObjectName("vboxlayout43") self.fontComboBox = QtGui.QFontComboBox(self.selectedFontGroupBox) self.fontComboBox.setFontFilters(QtGui.QFontComboBox.AllFonts|QtGui.QFontComboBox.ProportionalFonts|QtGui.QFontComboBox.ScalableFonts) @@ -2893,191 +2922,191 @@ class Ui_PreferencesDialog(object): font.setFamily("Arial") self.fontComboBox.setCurrentFont(font) self.fontComboBox.setObjectName("fontComboBox") - self.vboxlayout42.addWidget(self.fontComboBox) + self.vboxlayout43.addWidget(self.fontComboBox) - self.hboxlayout69 = QtGui.QHBoxLayout() - self.hboxlayout69.setSpacing(6) - self.hboxlayout69.setMargin(0) - self.hboxlayout69.setObjectName("hboxlayout69") + self.hboxlayout71 = QtGui.QHBoxLayout() + self.hboxlayout71.setSpacing(6) + self.hboxlayout71.setMargin(0) + self.hboxlayout71.setObjectName("hboxlayout71") self.fontSizeSpinBox = QtGui.QSpinBox(self.selectedFontGroupBox) self.fontSizeSpinBox.setMinimum(6) self.fontSizeSpinBox.setMaximum(24) self.fontSizeSpinBox.setProperty("value",QtCore.QVariant(9)) self.fontSizeSpinBox.setObjectName("fontSizeSpinBox") - self.hboxlayout69.addWidget(self.fontSizeSpinBox) + self.hboxlayout71.addWidget(self.fontSizeSpinBox) spacerItem65 = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) - self.hboxlayout69.addItem(spacerItem65) - self.vboxlayout42.addLayout(self.hboxlayout69) - self.gridlayout40.addLayout(self.vboxlayout42,0,1,1,1) + self.hboxlayout71.addItem(spacerItem65) + self.vboxlayout43.addLayout(self.hboxlayout71) + self.gridlayout39.addLayout(self.vboxlayout43,0,1,1,1) - self.vboxlayout43 = QtGui.QVBoxLayout() - self.vboxlayout43.setSpacing(6) - self.vboxlayout43.setMargin(0) - self.vboxlayout43.setObjectName("vboxlayout43") + self.vboxlayout44 = QtGui.QVBoxLayout() + self.vboxlayout44.setSpacing(6) + self.vboxlayout44.setMargin(0) + self.vboxlayout44.setObjectName("vboxlayout44") self.label = QtGui.QLabel(self.selectedFontGroupBox) self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label.setObjectName("label") - self.vboxlayout43.addWidget(self.label) + self.vboxlayout44.addWidget(self.label) self.label_3 = QtGui.QLabel(self.selectedFontGroupBox) self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_3.setObjectName("label_3") - self.vboxlayout43.addWidget(self.label_3) - self.gridlayout40.addLayout(self.vboxlayout43,0,0,1,1) - self.hboxlayout68.addWidget(self.selectedFontGroupBox) + self.vboxlayout44.addWidget(self.label_3) + self.gridlayout39.addLayout(self.vboxlayout44,0,0,1,1) + self.hboxlayout70.addWidget(self.selectedFontGroupBox) spacerItem66 = QtGui.QSpacerItem(280,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) - self.hboxlayout68.addItem(spacerItem66) - self.gridlayout36.addLayout(self.hboxlayout68,2,0,1,1) + self.hboxlayout70.addItem(spacerItem66) + self.gridlayout35.addLayout(self.hboxlayout70,2,0,1,1) self.prefsStackedWidget.addWidget(self.Window) self.Reports = QtGui.QWidget() self.Reports.setObjectName("Reports") - self.gridlayout41 = QtGui.QGridLayout(self.Reports) - self.gridlayout41.setMargin(9) - self.gridlayout41.setSpacing(6) - self.gridlayout41.setObjectName("gridlayout41") + self.gridlayout40 = QtGui.QGridLayout(self.Reports) + self.gridlayout40.setMargin(9) + self.gridlayout40.setSpacing(6) + self.gridlayout40.setObjectName("gridlayout40") - self.vboxlayout44 = QtGui.QVBoxLayout() - self.vboxlayout44.setSpacing(4) - self.vboxlayout44.setMargin(0) - self.vboxlayout44.setObjectName("vboxlayout44") + self.vboxlayout45 = QtGui.QVBoxLayout() + self.vboxlayout45.setSpacing(4) + self.vboxlayout45.setMargin(0) + self.vboxlayout45.setObjectName("vboxlayout45") self.groupBox17 = QtGui.QGroupBox(self.Reports) self.groupBox17.setObjectName("groupBox17") - self.gridlayout42 = QtGui.QGridLayout(self.groupBox17) - self.gridlayout42.setMargin(4) - self.gridlayout42.setSpacing(2) - self.gridlayout42.setObjectName("gridlayout42") + self.gridlayout41 = QtGui.QGridLayout(self.groupBox17) + self.gridlayout41.setMargin(4) + self.gridlayout41.setSpacing(2) + self.gridlayout41.setObjectName("gridlayout41") self.msg_serial_number_checkbox = QtGui.QCheckBox(self.groupBox17) self.msg_serial_number_checkbox.setObjectName("msg_serial_number_checkbox") - self.gridlayout42.addWidget(self.msg_serial_number_checkbox,0,0,1,2) + self.gridlayout41.addWidget(self.msg_serial_number_checkbox,0,0,1,2) self.msg_timestamp_checkbox = QtGui.QCheckBox(self.groupBox17) self.msg_timestamp_checkbox.setObjectName("msg_timestamp_checkbox") - self.gridlayout42.addWidget(self.msg_timestamp_checkbox,1,0,1,2) - self.vboxlayout44.addWidget(self.groupBox17) + self.gridlayout41.addWidget(self.msg_timestamp_checkbox,1,0,1,2) + self.vboxlayout45.addWidget(self.groupBox17) spacerItem67 = QtGui.QSpacerItem(20,40,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding) - self.vboxlayout44.addItem(spacerItem67) - self.gridlayout41.addLayout(self.vboxlayout44,0,0,1,1) + self.vboxlayout45.addItem(spacerItem67) + self.gridlayout40.addLayout(self.vboxlayout45,0,0,1,1) spacerItem68 = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) - self.gridlayout41.addItem(spacerItem68,0,1,1,1) + self.gridlayout40.addItem(spacerItem68,0,1,1,1) self.prefsStackedWidget.addWidget(self.Reports) self.Tooltips = QtGui.QWidget() self.Tooltips.setObjectName("Tooltips") - self.gridlayout43 = QtGui.QGridLayout(self.Tooltips) - self.gridlayout43.setMargin(9) - self.gridlayout43.setSpacing(6) - self.gridlayout43.setObjectName("gridlayout43") + self.gridlayout42 = QtGui.QGridLayout(self.Tooltips) + self.gridlayout42.setMargin(9) + self.gridlayout42.setSpacing(6) + self.gridlayout42.setObjectName("gridlayout42") spacerItem69 = QtGui.QSpacerItem(90,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) - self.gridlayout43.addItem(spacerItem69,0,1,1,1) + self.gridlayout42.addItem(spacerItem69,0,1,1,1) - self.vboxlayout45 = QtGui.QVBoxLayout() - self.vboxlayout45.setSpacing(4) - self.vboxlayout45.setMargin(0) - self.vboxlayout45.setObjectName("vboxlayout45") + self.vboxlayout46 = QtGui.QVBoxLayout() + self.vboxlayout46.setSpacing(4) + self.vboxlayout46.setMargin(0) + self.vboxlayout46.setObjectName("vboxlayout46") self.atom_dynamic_tooltips_grpbox = QtGui.QGroupBox(self.Tooltips) self.atom_dynamic_tooltips_grpbox.setObjectName("atom_dynamic_tooltips_grpbox") - self.vboxlayout46 = QtGui.QVBoxLayout(self.atom_dynamic_tooltips_grpbox) - self.vboxlayout46.setSpacing(0) - self.vboxlayout46.setMargin(4) - self.vboxlayout46.setObjectName("vboxlayout46") + self.vboxlayout47 = QtGui.QVBoxLayout(self.atom_dynamic_tooltips_grpbox) + self.vboxlayout47.setSpacing(0) + self.vboxlayout47.setMargin(4) + self.vboxlayout47.setObjectName("vboxlayout47") self.dynamicToolTipAtomChunkInfo_checkbox = QtGui.QCheckBox(self.atom_dynamic_tooltips_grpbox) self.dynamicToolTipAtomChunkInfo_checkbox.setChecked(False) self.dynamicToolTipAtomChunkInfo_checkbox.setObjectName("dynamicToolTipAtomChunkInfo_checkbox") - self.vboxlayout46.addWidget(self.dynamicToolTipAtomChunkInfo_checkbox) + self.vboxlayout47.addWidget(self.dynamicToolTipAtomChunkInfo_checkbox) self.dynamicToolTipAtomMass_checkbox = QtGui.QCheckBox(self.atom_dynamic_tooltips_grpbox) self.dynamicToolTipAtomMass_checkbox.setObjectName("dynamicToolTipAtomMass_checkbox") - self.vboxlayout46.addWidget(self.dynamicToolTipAtomMass_checkbox) + self.vboxlayout47.addWidget(self.dynamicToolTipAtomMass_checkbox) self.dynamicToolTipAtomPosition_checkbox = QtGui.QCheckBox(self.atom_dynamic_tooltips_grpbox) self.dynamicToolTipAtomPosition_checkbox.setChecked(False) self.dynamicToolTipAtomPosition_checkbox.setObjectName("dynamicToolTipAtomPosition_checkbox") - self.vboxlayout46.addWidget(self.dynamicToolTipAtomPosition_checkbox) + self.vboxlayout47.addWidget(self.dynamicToolTipAtomPosition_checkbox) self.dynamicToolTipAtomDistanceDeltas_checkbox = QtGui.QCheckBox(self.atom_dynamic_tooltips_grpbox) self.dynamicToolTipAtomDistanceDeltas_checkbox.setObjectName("dynamicToolTipAtomDistanceDeltas_checkbox") - self.vboxlayout46.addWidget(self.dynamicToolTipAtomDistanceDeltas_checkbox) + self.vboxlayout47.addWidget(self.dynamicToolTipAtomDistanceDeltas_checkbox) self.includeVdwRadiiInAtomDistanceInfo = QtGui.QCheckBox(self.atom_dynamic_tooltips_grpbox) self.includeVdwRadiiInAtomDistanceInfo.setObjectName("includeVdwRadiiInAtomDistanceInfo") - self.vboxlayout46.addWidget(self.includeVdwRadiiInAtomDistanceInfo) + self.vboxlayout47.addWidget(self.includeVdwRadiiInAtomDistanceInfo) - self.hboxlayout70 = QtGui.QHBoxLayout() - self.hboxlayout70.setSpacing(4) - self.hboxlayout70.setMargin(0) - self.hboxlayout70.setObjectName("hboxlayout70") + self.hboxlayout72 = QtGui.QHBoxLayout() + self.hboxlayout72.setSpacing(4) + self.hboxlayout72.setMargin(0) + self.hboxlayout72.setObjectName("hboxlayout72") - self.gridlayout44 = QtGui.QGridLayout() - self.gridlayout44.setMargin(0) - self.gridlayout44.setSpacing(2) - self.gridlayout44.setObjectName("gridlayout44") + self.gridlayout43 = QtGui.QGridLayout() + self.gridlayout43.setMargin(0) + self.gridlayout43.setSpacing(2) + self.gridlayout43.setObjectName("gridlayout43") self.atomDistPrecisionLabel = QtGui.QLabel(self.atom_dynamic_tooltips_grpbox) self.atomDistPrecisionLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.atomDistPrecisionLabel.setObjectName("atomDistPrecisionLabel") - self.gridlayout44.addWidget(self.atomDistPrecisionLabel,0,0,1,1) + self.gridlayout43.addWidget(self.atomDistPrecisionLabel,0,0,1,1) self.dynamicToolTipAtomDistancePrecision_spinbox = QtGui.QSpinBox(self.atom_dynamic_tooltips_grpbox) self.dynamicToolTipAtomDistancePrecision_spinbox.setMinimum(1) self.dynamicToolTipAtomDistancePrecision_spinbox.setMaximum(5) self.dynamicToolTipAtomDistancePrecision_spinbox.setProperty("value",QtCore.QVariant(3)) self.dynamicToolTipAtomDistancePrecision_spinbox.setObjectName("dynamicToolTipAtomDistancePrecision_spinbox") - self.gridlayout44.addWidget(self.dynamicToolTipAtomDistancePrecision_spinbox,0,1,1,1) + self.gridlayout43.addWidget(self.dynamicToolTipAtomDistancePrecision_spinbox,0,1,1,1) self.dynamicToolTipBendAnglePrecision_spinbox = QtGui.QSpinBox(self.atom_dynamic_tooltips_grpbox) self.dynamicToolTipBendAnglePrecision_spinbox.setMinimum(1) self.dynamicToolTipBendAnglePrecision_spinbox.setMaximum(5) self.dynamicToolTipBendAnglePrecision_spinbox.setProperty("value",QtCore.QVariant(3)) self.dynamicToolTipBendAnglePrecision_spinbox.setObjectName("dynamicToolTipBendAnglePrecision_spinbox") - self.gridlayout44.addWidget(self.dynamicToolTipBendAnglePrecision_spinbox,1,1,1,1) + self.gridlayout43.addWidget(self.dynamicToolTipBendAnglePrecision_spinbox,1,1,1,1) self.textLabel1_8_3 = QtGui.QLabel(self.atom_dynamic_tooltips_grpbox) self.textLabel1_8_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.textLabel1_8_3.setObjectName("textLabel1_8_3") - self.gridlayout44.addWidget(self.textLabel1_8_3,1,0,1,1) - self.hboxlayout70.addLayout(self.gridlayout44) + self.gridlayout43.addWidget(self.textLabel1_8_3,1,0,1,1) + self.hboxlayout72.addLayout(self.gridlayout43) spacerItem70 = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) - self.hboxlayout70.addItem(spacerItem70) - self.vboxlayout46.addLayout(self.hboxlayout70) - self.vboxlayout45.addWidget(self.atom_dynamic_tooltips_grpbox) + self.hboxlayout72.addItem(spacerItem70) + self.vboxlayout47.addLayout(self.hboxlayout72) + self.vboxlayout46.addWidget(self.atom_dynamic_tooltips_grpbox) self.groupBox35 = QtGui.QGroupBox(self.Tooltips) self.groupBox35.setObjectName("groupBox35") - self.gridlayout45 = QtGui.QGridLayout(self.groupBox35) - self.gridlayout45.setMargin(4) - self.gridlayout45.setSpacing(0) - self.gridlayout45.setObjectName("gridlayout45") + self.gridlayout44 = QtGui.QGridLayout(self.groupBox35) + self.gridlayout44.setMargin(4) + self.gridlayout44.setSpacing(0) + self.gridlayout44.setObjectName("gridlayout44") self.dynamicToolTipBondChunkInfo_checkbox = QtGui.QCheckBox(self.groupBox35) self.dynamicToolTipBondChunkInfo_checkbox.setObjectName("dynamicToolTipBondChunkInfo_checkbox") - self.gridlayout45.addWidget(self.dynamicToolTipBondChunkInfo_checkbox,1,0,1,1) + self.gridlayout44.addWidget(self.dynamicToolTipBondChunkInfo_checkbox,1,0,1,1) self.dynamicToolTipBondLength_checkbox = QtGui.QCheckBox(self.groupBox35) self.dynamicToolTipBondLength_checkbox.setObjectName("dynamicToolTipBondLength_checkbox") - self.gridlayout45.addWidget(self.dynamicToolTipBondLength_checkbox,0,0,1,1) - self.vboxlayout45.addWidget(self.groupBox35) + self.gridlayout44.addWidget(self.dynamicToolTipBondLength_checkbox,0,0,1,1) + self.vboxlayout46.addWidget(self.groupBox35) spacerItem71 = QtGui.QSpacerItem(20,161,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding) - self.vboxlayout45.addItem(spacerItem71) - self.gridlayout43.addLayout(self.vboxlayout45,0,0,1,1) + self.vboxlayout46.addItem(spacerItem71) + self.gridlayout42.addLayout(self.vboxlayout46,0,0,1,1) self.prefsStackedWidget.addWidget(self.Tooltips) self.gridlayout1.addWidget(self.prefsStackedWidget,0,1,1,1) @@ -3100,7 +3129,7 @@ class Ui_PreferencesDialog(object): self.retranslateUi(PreferencesDialog) self.prefsTabWidget.setCurrentIndex(0) - self.prefsStackedWidget.setCurrentIndex(2) + self.prefsStackedWidget.setCurrentIndex(12) self.level_of_detail_combox.setCurrentIndex(2) QtCore.QMetaObject.connectSlotsByName(PreferencesDialog) @@ -3349,51 +3378,50 @@ class Ui_PreferencesDialog(object): self.textLabel2_4_3.setText(QtGui.QApplication.translate("PreferencesDialog", "High", None, QtGui.QApplication.UnicodeUTF8)) self.lighting_restore_defaults_btn.setText(QtGui.QApplication.translate("PreferencesDialog", "Restore Defaults", None, QtGui.QApplication.UnicodeUTF8)) self.file_locations_grp.setTitle(QtGui.QApplication.translate("PreferencesDialog", "Location of executables", None, QtGui.QApplication.UnicodeUTF8)) + self.qutemol_checkbox.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Enable QuteMolX", None, QtGui.QApplication.UnicodeUTF8)) + self.qutemol_lbl.setText(QtGui.QApplication.translate("PreferencesDialog", "QuteMolX:", None, QtGui.QApplication.UnicodeUTF8)) self.qutemol_path_lineedit.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "The full path to the QuteMolX executable file.", None, QtGui.QApplication.UnicodeUTF8)) + self.qutemol_choose_btn.setText(QtGui.QApplication.translate("PreferencesDialog", "...", None, QtGui.QApplication.UnicodeUTF8)) + self.nanohive_checkbox.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Enable NanoHive-1", None, QtGui.QApplication.UnicodeUTF8)) + self.nanohive_lbl.setText(QtGui.QApplication.translate("PreferencesDialog", "NanoHive-1:", None, QtGui.QApplication.UnicodeUTF8)) self.nanohive_path_lineedit.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "The full path to the NanoHive-1 executable file.", None, QtGui.QApplication.UnicodeUTF8)) + self.nanohive_choose_btn.setText(QtGui.QApplication.translate("PreferencesDialog", "...", None, QtGui.QApplication.UnicodeUTF8)) + self.povray_checkbox.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Enable POV-Ray", None, QtGui.QApplication.UnicodeUTF8)) + self.povray_lbl.setText(QtGui.QApplication.translate("PreferencesDialog", "POV-Ray:", None, QtGui.QApplication.UnicodeUTF8)) self.povray_path_lineedit.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "The full path to the POV-Ray executable file.", None, QtGui.QApplication.UnicodeUTF8)) + self.povray_choose_btn.setText(QtGui.QApplication.translate("PreferencesDialog", "...", None, QtGui.QApplication.UnicodeUTF8)) + self.megapov_checkbox.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Enable MegaPOV", None, QtGui.QApplication.UnicodeUTF8)) + self.megapov_lbl.setText(QtGui.QApplication.translate("PreferencesDialog", "MegaPOV:", None, QtGui.QApplication.UnicodeUTF8)) self.megapov_path_lineedit.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "The full path to the MegaPOV executable file (megapov.exe).", None, QtGui.QApplication.UnicodeUTF8)) + self.megapov_choose_btn.setText(QtGui.QApplication.translate("PreferencesDialog", "...", None, QtGui.QApplication.UnicodeUTF8)) + self.povdir_checkbox.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Custom directory for POV libraries", None, QtGui.QApplication.UnicodeUTF8)) + self.povdir_lbl.setText(QtGui.QApplication.translate("PreferencesDialog", "POV include dir:", None, QtGui.QApplication.UnicodeUTF8)) self.povdir_lineedit.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Select custom POV include directory", None, QtGui.QApplication.UnicodeUTF8)) + self.povdir_choose_btn.setText(QtGui.QApplication.translate("PreferencesDialog", "...", None, QtGui.QApplication.UnicodeUTF8)) + self.gamess_checkbox.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Enable GAMESS", None, QtGui.QApplication.UnicodeUTF8)) + self.gamess_lbl.setText(QtGui.QApplication.translate("PreferencesDialog", "GAMESS:", None, QtGui.QApplication.UnicodeUTF8)) self.gamess_path_lineedit.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "The gamess executable file. Usually it\'s called gamess.??.x or ??gamess.exe.", None, QtGui.QApplication.UnicodeUTF8)) - self.gromacs_path_lineedit.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "The full path to the mdrun executable file for GROMACS.", None, QtGui.QApplication.UnicodeUTF8)) - self.nv1_path_lineedit.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "The full path to the mdrun executable file for GROMACS.", None, QtGui.QApplication.UnicodeUTF8)) - self.cpp_path_lineedit.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "The full path to the C-preprocessor (cpp) executable file for GROMACS to use.", None, QtGui.QApplication.UnicodeUTF8)) - self.nv1_checkbox.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Enable GROMACS", None, QtGui.QApplication.UnicodeUTF8)) - self.nv1_label.setText(QtGui.QApplication.translate("PreferencesDialog", "NanoVision-1:", None, QtGui.QApplication.UnicodeUTF8)) - self.nv1_choose_btn.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Choose the mdrun executable file for GROMACS", None, QtGui.QApplication.UnicodeUTF8)) - self.nv1_choose_btn.setText(QtGui.QApplication.translate("PreferencesDialog", "Browse...", None, QtGui.QApplication.UnicodeUTF8)) - self.gromacs_choose_btn.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Choose the mdrun executable file for GROMACS", None, QtGui.QApplication.UnicodeUTF8)) - self.gromacs_choose_btn.setText(QtGui.QApplication.translate("PreferencesDialog", "Browse...", None, QtGui.QApplication.UnicodeUTF8)) + self.gamess_choose_btn.setText(QtGui.QApplication.translate("PreferencesDialog", "...", None, QtGui.QApplication.UnicodeUTF8)) self.gromacs_checkbox.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Enable GROMACS", None, QtGui.QApplication.UnicodeUTF8)) self.gromacs_label.setText(QtGui.QApplication.translate("PreferencesDialog", "GROMACS:", None, QtGui.QApplication.UnicodeUTF8)) + self.gromacs_path_lineedit.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "The full path to the mdrun executable file for GROMACS.", None, QtGui.QApplication.UnicodeUTF8)) + self.gromacs_choose_btn.setText(QtGui.QApplication.translate("PreferencesDialog", "...", None, QtGui.QApplication.UnicodeUTF8)) self.cpp_checkbox.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Enable cpp (needed by GROMACS)", None, QtGui.QApplication.UnicodeUTF8)) self.cpp_label.setText(QtGui.QApplication.translate("PreferencesDialog", "cpp:", None, QtGui.QApplication.UnicodeUTF8)) - self.gamess_checkbox.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Enable GAMESS", None, QtGui.QApplication.UnicodeUTF8)) - self.gamess_lbl.setText(QtGui.QApplication.translate("PreferencesDialog", "GAMESS:", None, QtGui.QApplication.UnicodeUTF8)) - self.povdir_checkbox.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Custom directory for POV libraries", None, QtGui.QApplication.UnicodeUTF8)) - self.povdir_lbl.setText(QtGui.QApplication.translate("PreferencesDialog", "POV include dir:", None, QtGui.QApplication.UnicodeUTF8)) - self.megapov_checkbox.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Enable MegaPOV", None, QtGui.QApplication.UnicodeUTF8)) - self.megapov_lbl.setText(QtGui.QApplication.translate("PreferencesDialog", "MegaPOV:", None, QtGui.QApplication.UnicodeUTF8)) - self.povray_checkbox.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Enable POV-Ray", None, QtGui.QApplication.UnicodeUTF8)) - self.povray_lbl.setText(QtGui.QApplication.translate("PreferencesDialog", "POV-Ray:", None, QtGui.QApplication.UnicodeUTF8)) - self.nanohive_checkbox.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Enable NanoHive-1", None, QtGui.QApplication.UnicodeUTF8)) - self.nanohive_lbl.setText(QtGui.QApplication.translate("PreferencesDialog", "NanoHive-1:", None, QtGui.QApplication.UnicodeUTF8)) - self.qutemol_checkbox.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Enable QuteMolX", None, QtGui.QApplication.UnicodeUTF8)) - self.qutemol_lbl.setText(QtGui.QApplication.translate("PreferencesDialog", "QuteMolX:", None, QtGui.QApplication.UnicodeUTF8)) - self.cpp_choose_btn.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Choose the C-preprocessor (cpp) executable file for GROMACS to use.", None, QtGui.QApplication.UnicodeUTF8)) - self.cpp_choose_btn.setText(QtGui.QApplication.translate("PreferencesDialog", "Browse...", None, QtGui.QApplication.UnicodeUTF8)) - self.qutemol_choose_btn.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Choose location of QuteMolX executable ", None, QtGui.QApplication.UnicodeUTF8)) - self.qutemol_choose_btn.setText(QtGui.QApplication.translate("PreferencesDialog", "Browse...", None, QtGui.QApplication.UnicodeUTF8)) - self.povray_choose_btn.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Choose POV-Ray executable", None, QtGui.QApplication.UnicodeUTF8)) - self.povray_choose_btn.setText(QtGui.QApplication.translate("PreferencesDialog", "Browse...", None, QtGui.QApplication.UnicodeUTF8)) - self.povdir_choose_btn.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Choose the POV include directory", None, QtGui.QApplication.UnicodeUTF8)) - self.povdir_choose_btn.setText(QtGui.QApplication.translate("PreferencesDialog", "Browse...", None, QtGui.QApplication.UnicodeUTF8)) - self.megapov_choose_btn.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Choose MegaPOV executable (megapov.exe)", None, QtGui.QApplication.UnicodeUTF8)) - self.megapov_choose_btn.setText(QtGui.QApplication.translate("PreferencesDialog", "Browse...", None, QtGui.QApplication.UnicodeUTF8)) - self.gamess_choose_btn.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Choose GAMESS executable", None, QtGui.QApplication.UnicodeUTF8)) - self.gamess_choose_btn.setText(QtGui.QApplication.translate("PreferencesDialog", "Browse...", None, QtGui.QApplication.UnicodeUTF8)) - self.nanohive_choose_btn.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Choose location of NanoHive-1 executable ", None, QtGui.QApplication.UnicodeUTF8)) - self.nanohive_choose_btn.setText(QtGui.QApplication.translate("PreferencesDialog", "Browse...", None, QtGui.QApplication.UnicodeUTF8)) + self.cpp_path_lineedit.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "The full path to the C-preprocessor (cpp) executable file for GROMACS to use.", None, QtGui.QApplication.UnicodeUTF8)) + self.cpp_choose_btn.setText(QtGui.QApplication.translate("PreferencesDialog", "...", None, QtGui.QApplication.UnicodeUTF8)) + self.nv1_checkbox.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Enable NanoVision-1", None, QtGui.QApplication.UnicodeUTF8)) + self.nv1_label.setText(QtGui.QApplication.translate("PreferencesDialog", "NanoVision-1:", None, QtGui.QApplication.UnicodeUTF8)) + self.nv1_path_lineedit.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "The full path to the mdrun executable file for NanoVision-1.", None, QtGui.QApplication.UnicodeUTF8)) + self.nv1_choose_btn.setText(QtGui.QApplication.translate("PreferencesDialog", "...", None, QtGui.QApplication.UnicodeUTF8)) + self.rosetta_checkbox.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Enable Rosetta", None, QtGui.QApplication.UnicodeUTF8)) + self.rosetta_label.setText(QtGui.QApplication.translate("PreferencesDialog", "Rosetta:", None, QtGui.QApplication.UnicodeUTF8)) + self.rosetta_path_lineedit.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "The full path to Rosetta executable file.", None, QtGui.QApplication.UnicodeUTF8)) + self.rosetta_choose_btn.setText(QtGui.QApplication.translate("PreferencesDialog", "...", None, QtGui.QApplication.UnicodeUTF8)) + self.rosetta_db_checkbox.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Enable Rosetta Database", None, QtGui.QApplication.UnicodeUTF8)) + self.rosetta_db_label.setText(QtGui.QApplication.translate("PreferencesDialog", "Rosetta DB:", None, QtGui.QApplication.UnicodeUTF8)) + self.rosetta_db_path_lineedit.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "The top-level Rosetta database directory.", None, QtGui.QApplication.UnicodeUTF8)) + self.rosetta_db_choose_btn.setText(QtGui.QApplication.translate("PreferencesDialog", "...", None, QtGui.QApplication.UnicodeUTF8)) self.undo_restore_view_checkbox.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Undo will switch to the view saved with each structural change.", None, QtGui.QApplication.UnicodeUTF8)) self.undo_restore_view_checkbox.setText(QtGui.QApplication.translate("PreferencesDialog", "Restore view when undoing structural changes", None, QtGui.QApplication.UnicodeUTF8)) self.undo_automatic_checkpoints_checkbox.setToolTip(QtGui.QApplication.translate("PreferencesDialog", "Specify Automatic or Manual Checkpoints at program startup.", None, QtGui.QApplication.UnicodeUTF8)) diff --git a/cad/src/ne1_ui/prefs/PreferencesDialog.ui b/cad/src/ne1_ui/prefs/PreferencesDialog.ui index d76404059..f7ba54058 100644 --- a/cad/src/ne1_ui/prefs/PreferencesDialog.ui +++ b/cad/src/ne1_ui/prefs/PreferencesDialog.ui @@ -114,7 +114,7 @@ <item row="0" column="1" > <widget class="QStackedWidget" name="prefsStackedWidget" > <property name="currentIndex" > - <number>2</number> + <number>12</number> </property> <widget class="QWidget" name="General" > <layout class="QGridLayout" > @@ -6307,58 +6307,24 @@ </layout> </widget> <widget class="QWidget" name="Plugins" > - <layout class="QGridLayout" > - <property name="leftMargin" > - <number>9</number> - </property> - <property name="topMargin" > - <number>9</number> - </property> - <property name="rightMargin" > - <number>9</number> - </property> - <property name="bottomMargin" > - <number>9</number> - </property> - <property name="horizontalSpacing" > - <number>6</number> - </property> - <property name="verticalSpacing" > - <number>6</number> - </property> - <item row="1" column="0" > - <spacer> - <property name="orientation" > - <enum>Qt::Vertical</enum> - </property> - <property name="sizeType" > - <enum>QSizePolicy::Expanding</enum> - </property> - <property name="sizeHint" > - <size> - <width>20</width> - <height>218</height> - </size> - </property> - </spacer> - </item> - <item row="0" column="0" > + <layout class="QVBoxLayout" > + <item> <widget class="QGroupBox" name="file_locations_grp" > <property name="title" > <string>Location of executables</string> </property> <layout class="QGridLayout" > <property name="leftMargin" > - <number>2</number> + <number>4</number> </property> <property name="topMargin" > - <number>2</number> + <number>4</number> </property> <property name="rightMargin" > - <number>2</number> + <number>4</number> </property> <property name="bottomMargin" > - <number>2</number> + <number>4</number> </property> <property name="horizontalSpacing" > <number>2</number> @@ -6366,139 +6332,7 @@ <property name="verticalSpacing" > <number>2</number> </property> - <item row="0" column="1" > - <widget class="QLineEdit" name="qutemol_path_lineedit" > - <property name="enabled" > - <bool>false</bool> - </property> - <property name="toolTip" > - <string>The full path to the QuteMolX executable file.</string> - </property> - <property name="text" > - <string/> - </property> - </widget> - </item> - <item row="1" column="1" > - <widget class="QLineEdit" name="nanohive_path_lineedit" > - <property name="enabled" > - <bool>false</bool> - </property> - <property name="toolTip" > - <string>The full path to the NanoHive-1 executable file.</string> - </property> - <property name="text" > - <string/> - </property> - </widget> - </item> - <item row="2" column="1" > - <widget class="QLineEdit" name="povray_path_lineedit" > - <property name="enabled" > - <bool>false</bool> - </property> - <property name="maximumSize" > - <size> - <width>32767</width> - <height>32767</height> - </size> - </property> - <property name="toolTip" > - <string>The full path to the POV-Ray executable file.</string> - </property> - <property name="text" > - <string/> - </property> - <property name="maxLength" > - <number>32767</number> - </property> - </widget> - </item> - <item row="3" column="1" > - <widget class="QLineEdit" name="megapov_path_lineedit" > - <property name="enabled" > - <bool>false</bool> - </property> - <property name="maximumSize" > - <size> - <width>32767</width> - <height>32767</height> - </size> - </property> - <property name="toolTip" > - <string>The full path to the MegaPOV executable file (megapov.exe).</string> - </property> - <property name="text" > - <string/> - </property> - <property name="maxLength" > - <number>32767</number> - </property> - </widget> - </item> - <item row="4" column="1" > - <widget class="QLineEdit" name="povdir_lineedit" > - <property name="enabled" > - <bool>false</bool> - </property> - <property name="toolTip" > - <string>Select custom POV include directory</string> - </property> - </widget> - </item> - <item row="5" column="1" > - <widget class="QLineEdit" name="gamess_path_lineedit" > - <property name="enabled" > - <bool>false</bool> - </property> - <property name="maximumSize" > - <size> - <width>32767</width> - <height>32767</height> - </size> - </property> - <property name="toolTip" > - <string>The gamess executable file. Usually it's called gamess.??.x or ??gamess.exe.</string> - </property> - <property name="text" > - <string/> - </property> - <property name="maxLength" > - <number>32767</number> - </property> - </widget> - </item> - <item row="6" column="1" > - <widget class="QLineEdit" name="gromacs_path_lineedit" > - <property name="enabled" > - <bool>false</bool> - </property> - <property name="toolTip" > - <string>The full path to the mdrun executable file for GROMACS.</string> - </property> - </widget> - </item> - <item row="8" column="1" > - <widget class="QLineEdit" name="nv1_path_lineedit" > - <property name="enabled" > - <bool>false</bool> - </property> - <property name="toolTip" > - <string>The full path to the mdrun executable file for GROMACS.</string> - </property> - </widget> - </item> - <item row="7" column="1" > - <widget class="QLineEdit" name="cpp_path_lineedit" > - <property name="enabled" > - <bool>false</bool> - </property> - <property name="toolTip" > - <string>The full path to the C-preprocessor (cpp) executable file for GROMACS to use.</string> - </property> - </widget> - </item> - <item row="8" column="0" > + <item row="0" column="0" > <layout class="QHBoxLayout" > <property name="spacing" > <number>0</number> @@ -6516,9 +6350,12 @@ <number>0</number> </property> <item> - <widget class="QCheckBox" name="nv1_checkbox" > + <widget class="QCheckBox" name="qutemol_checkbox" > + <property name="enabled" > + <bool>true</bool> + </property> <property name="toolTip" > - <string>Enable GROMACS</string> + <string>Enable QuteMolX</string> </property> <property name="text" > <string/> @@ -6526,41 +6363,56 @@ </widget> </item> <item> - <widget class="QLabel" name="nv1_label" > + <widget class="QLabel" name="qutemol_lbl" > + <property name="enabled" > + <bool>true</bool> + </property> + <property name="sizePolicy" > + <sizepolicy vsizetype="Preferred" hsizetype="Minimum" > + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize" > + <size> + <width>60</width> + <height>0</height> + </size> + </property> + <property name="toolTip" > + <string/> + </property> <property name="text" > - <string>NanoVision-1:</string> + <string>QuteMolX:</string> + </property> + <property name="alignment" > + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </item> </layout> </item> - <item row="8" column="2" > - <widget class="QPushButton" name="nv1_choose_btn" > + <item row="0" column="1" > + <widget class="QLineEdit" name="qutemol_path_lineedit" > <property name="enabled" > <bool>false</bool> </property> <property name="toolTip" > - <string>Choose the mdrun executable file for GROMACS</string> + <string>The full path to the QuteMolX executable file.</string> </property> <property name="text" > - <string>Browse...</string> + <string/> </property> </widget> </item> - <item row="6" column="2" > - <widget class="QPushButton" name="gromacs_choose_btn" > - <property name="enabled" > - <bool>false</bool> - </property> - <property name="toolTip" > - <string>Choose the mdrun executable file for GROMACS</string> - </property> + <item row="0" column="2" > + <widget class="QToolButton" name="qutemol_choose_btn" > <property name="text" > - <string>Browse...</string> + <string>...</string> </property> </widget> </item> - <item row="6" column="0" > + <item row="1" column="0" > <layout class="QHBoxLayout" > <property name="spacing" > <number>0</number> @@ -6578,9 +6430,12 @@ <number>0</number> </property> <item> - <widget class="QCheckBox" name="gromacs_checkbox" > + <widget class="QCheckBox" name="nanohive_checkbox" > + <property name="enabled" > + <bool>true</bool> + </property> <property name="toolTip" > - <string>Enable GROMACS</string> + <string>Enable NanoHive-1</string> </property> <property name="text" > <string/> @@ -6588,15 +6443,56 @@ </widget> </item> <item> - <widget class="QLabel" name="gromacs_label" > + <widget class="QLabel" name="nanohive_lbl" > + <property name="enabled" > + <bool>true</bool> + </property> + <property name="sizePolicy" > + <sizepolicy vsizetype="Preferred" hsizetype="Minimum" > + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize" > + <size> + <width>60</width> + <height>0</height> + </size> + </property> + <property name="toolTip" > + <string/> + </property> <property name="text" > - <string>GROMACS:</string> + <string>NanoHive-1:</string> + </property> + <property name="alignment" > + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </item> </layout> </item> - <item row="7" column="0" > + <item row="1" column="1" > + <widget class="QLineEdit" name="nanohive_path_lineedit" > + <property name="enabled" > + <bool>false</bool> + </property> + <property name="toolTip" > + <string>The full path to the NanoHive-1 executable file.</string> + </property> + <property name="text" > + <string/> + </property> + </widget> + </item> + <item row="1" column="2" > + <widget class="QToolButton" name="nanohive_choose_btn" > + <property name="text" > + <string>...</string> + </property> + </widget> + </item> + <item row="2" column="0" > <layout class="QHBoxLayout" > <property name="spacing" > <number>0</number> @@ -6614,9 +6510,9 @@ <number>0</number> </property> <item> - <widget class="QCheckBox" name="cpp_checkbox" > + <widget class="QCheckBox" name="povray_checkbox" > <property name="toolTip" > - <string>Enable cpp (needed by GROMACS)</string> + <string>Enable POV-Ray</string> </property> <property name="text" > <string/> @@ -6624,9 +6520,24 @@ </widget> </item> <item> - <widget class="QLabel" name="cpp_label" > + <widget class="QLabel" name="povray_lbl" > + <property name="sizePolicy" > + <sizepolicy vsizetype="Preferred" hsizetype="Minimum" > + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize" > + <size> + <width>60</width> + <height>0</height> + </size> + </property> + <property name="toolTip" > + <string/> + </property> <property name="text" > - <string>cpp:</string> + <string>POV-Ray:</string> </property> <property name="alignment" > <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> @@ -6635,7 +6546,36 @@ </item> </layout> </item> - <item row="5" column="0" > + <item row="2" column="1" > + <widget class="QLineEdit" name="povray_path_lineedit" > + <property name="enabled" > + <bool>false</bool> + </property> + <property name="maximumSize" > + <size> + <width>32767</width> + <height>32767</height> + </size> + </property> + <property name="toolTip" > + <string>The full path to the POV-Ray executable file.</string> + </property> + <property name="text" > + <string/> + </property> + <property name="maxLength" > + <number>32767</number> + </property> + </widget> + </item> + <item row="2" column="2" > + <widget class="QToolButton" name="povray_choose_btn" > + <property name="text" > + <string>...</string> + </property> + </widget> + </item> + <item row="3" column="0" > <layout class="QHBoxLayout" > <property name="spacing" > <number>0</number> @@ -6653,9 +6593,9 @@ <number>0</number> </property> <item> - <widget class="QCheckBox" name="gamess_checkbox" > + <widget class="QCheckBox" name="megapov_checkbox" > <property name="toolTip" > - <string>Enable GAMESS</string> + <string>Enable MegaPOV</string> </property> <property name="text" > <string/> @@ -6663,7 +6603,7 @@ </widget> </item> <item> - <widget class="QLabel" name="gamess_lbl" > + <widget class="QLabel" name="megapov_lbl" > <property name="sizePolicy" > <sizepolicy vsizetype="Preferred" hsizetype="Minimum" > <horstretch>0</horstretch> @@ -6680,7 +6620,7 @@ <string/> </property> <property name="text" > - <string>GAMESS:</string> + <string>MegaPOV:</string> </property> <property name="alignment" > <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> @@ -6689,6 +6629,35 @@ </item> </layout> </item> + <item row="3" column="1" > + <widget class="QLineEdit" name="megapov_path_lineedit" > + <property name="enabled" > + <bool>false</bool> + </property> + <property name="maximumSize" > + <size> + <width>32767</width> + <height>32767</height> + </size> + </property> + <property name="toolTip" > + <string>The full path to the MegaPOV executable file (megapov.exe).</string> + </property> + <property name="text" > + <string/> + </property> + <property name="maxLength" > + <number>32767</number> + </property> + </widget> + </item> + <item row="3" column="2" > + <widget class="QToolButton" name="megapov_choose_btn" > + <property name="text" > + <string>...</string> + </property> + </widget> + </item> <item row="4" column="0" > <layout class="QHBoxLayout" > <property name="spacing" > @@ -6746,7 +6715,24 @@ </item> </layout> </item> - <item row="3" column="0" > + <item row="4" column="1" > + <widget class="QLineEdit" name="povdir_lineedit" > + <property name="enabled" > + <bool>false</bool> + </property> + <property name="toolTip" > + <string>Select custom POV include directory</string> + </property> + </widget> + </item> + <item row="4" column="2" > + <widget class="QToolButton" name="povdir_choose_btn" > + <property name="text" > + <string>...</string> + </property> + </widget> + </item> + <item row="5" column="0" > <layout class="QHBoxLayout" > <property name="spacing" > <number>0</number> @@ -6764,9 +6750,9 @@ <number>0</number> </property> <item> - <widget class="QCheckBox" name="megapov_checkbox" > + <widget class="QCheckBox" name="gamess_checkbox" > <property name="toolTip" > - <string>Enable MegaPOV</string> + <string>Enable GAMESS</string> </property> <property name="text" > <string/> @@ -6774,7 +6760,7 @@ </widget> </item> <item> - <widget class="QLabel" name="megapov_lbl" > + <widget class="QLabel" name="gamess_lbl" > <property name="sizePolicy" > <sizepolicy vsizetype="Preferred" hsizetype="Minimum" > <horstretch>0</horstretch> @@ -6791,7 +6777,7 @@ <string/> </property> <property name="text" > - <string>MegaPOV:</string> + <string>GAMESS:</string> </property> <property name="alignment" > <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> @@ -6800,7 +6786,36 @@ </item> </layout> </item> - <item row="2" column="0" > + <item row="5" column="1" > + <widget class="QLineEdit" name="gamess_path_lineedit" > + <property name="enabled" > + <bool>false</bool> + </property> + <property name="maximumSize" > + <size> + <width>32767</width> + <height>32767</height> + </size> + </property> + <property name="toolTip" > + <string>The gamess executable file. Usually it's called gamess.??.x or ??gamess.exe.</string> + </property> + <property name="text" > + <string/> + </property> + <property name="maxLength" > + <number>32767</number> + </property> + </widget> + </item> + <item row="5" column="2" > + <widget class="QToolButton" name="gamess_choose_btn" > + <property name="text" > + <string>...</string> + </property> + </widget> + </item> + <item row="6" column="0" > <layout class="QHBoxLayout" > <property name="spacing" > <number>0</number> @@ -6818,9 +6833,9 @@ <number>0</number> </property> <item> - <widget class="QCheckBox" name="povray_checkbox" > + <widget class="QCheckBox" name="gromacs_checkbox" > <property name="toolTip" > - <string>Enable POV-Ray</string> + <string>Enable GROMACS</string> </property> <property name="text" > <string/> @@ -6828,33 +6843,32 @@ </widget> </item> <item> - <widget class="QLabel" name="povray_lbl" > - <property name="sizePolicy" > - <sizepolicy vsizetype="Preferred" hsizetype="Minimum" > - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="minimumSize" > - <size> - <width>60</width> - <height>0</height> - </size> - </property> - <property name="toolTip" > - <string/> - </property> + <widget class="QLabel" name="gromacs_label" > <property name="text" > - <string>POV-Ray:</string> - </property> - <property name="alignment" > - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + <string>GROMACS:</string> </property> </widget> </item> </layout> </item> - <item row="1" column="0" > + <item row="6" column="1" > + <widget class="QLineEdit" name="gromacs_path_lineedit" > + <property name="enabled" > + <bool>false</bool> + </property> + <property name="toolTip" > + <string>The full path to the mdrun executable file for GROMACS.</string> + </property> + </widget> + </item> + <item row="6" column="2" > + <widget class="QToolButton" name="gromacs_choose_btn" > + <property name="text" > + <string>...</string> + </property> + </widget> + </item> + <item row="7" column="0" > <layout class="QHBoxLayout" > <property name="spacing" > <number>0</number> @@ -6872,12 +6886,9 @@ <number>0</number> </property> <item> - <widget class="QCheckBox" name="nanohive_checkbox" > - <property name="enabled" > - <bool>true</bool> - </property> + <widget class="QCheckBox" name="cpp_checkbox" > <property name="toolTip" > - <string>Enable NanoHive-1</string> + <string>Enable cpp (needed by GROMACS)</string> </property> <property name="text" > <string/> @@ -6885,27 +6896,9 @@ </widget> </item> <item> - <widget class="QLabel" name="nanohive_lbl" > - <property name="enabled" > - <bool>true</bool> - </property> - <property name="sizePolicy" > - <sizepolicy vsizetype="Preferred" hsizetype="Minimum" > - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="minimumSize" > - <size> - <width>60</width> - <height>0</height> - </size> - </property> - <property name="toolTip" > - <string/> - </property> + <widget class="QLabel" name="cpp_label" > <property name="text" > - <string>NanoHive-1:</string> + <string>cpp:</string> </property> <property name="alignment" > <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> @@ -6914,7 +6907,24 @@ </item> </layout> </item> - <item row="0" column="0" > + <item row="7" column="1" > + <widget class="QLineEdit" name="cpp_path_lineedit" > + <property name="enabled" > + <bool>false</bool> + </property> + <property name="toolTip" > + <string>The full path to the C-preprocessor (cpp) executable file for GROMACS to use.</string> + </property> + </widget> + </item> + <item row="7" column="2" > + <widget class="QToolButton" name="cpp_choose_btn" > + <property name="text" > + <string>...</string> + </property> + </widget> + </item> + <item row="10" column="0" > <layout class="QHBoxLayout" > <property name="spacing" > <number>0</number> @@ -6932,12 +6942,9 @@ <number>0</number> </property> <item> - <widget class="QCheckBox" name="qutemol_checkbox" > - <property name="enabled" > - <bool>true</bool> - </property> + <widget class="QCheckBox" name="nv1_checkbox" > <property name="toolTip" > - <string>Enable QuteMolX</string> + <string>Enable NanoVision-1</string> </property> <property name="text" > <string/> @@ -6945,147 +6952,156 @@ </widget> </item> <item> - <widget class="QLabel" name="qutemol_lbl" > - <property name="enabled" > - <bool>true</bool> - </property> - <property name="sizePolicy" > - <sizepolicy vsizetype="Preferred" hsizetype="Minimum" > - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="minimumSize" > - <size> - <width>60</width> - <height>0</height> - </size> - </property> - <property name="toolTip" > - <string/> - </property> + <widget class="QLabel" name="nv1_label" > <property name="text" > - <string>QuteMolX:</string> - </property> - <property name="alignment" > - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + <string>NanoVision-1:</string> </property> </widget> </item> </layout> </item> - <item row="7" column="2" > - <widget class="QPushButton" name="cpp_choose_btn" > + <item row="10" column="1" > + <widget class="QLineEdit" name="nv1_path_lineedit" > <property name="enabled" > <bool>false</bool> </property> <property name="toolTip" > - <string>Choose the C-preprocessor (cpp) executable file for GROMACS to use.</string> - </property> - <property name="text" > - <string>Browse...</string> + <string>The full path to the mdrun executable file for NanoVision-1.</string> </property> </widget> </item> - <item row="0" column="2" > - <widget class="QPushButton" name="qutemol_choose_btn" > - <property name="enabled" > - <bool>false</bool> - </property> - <property name="toolTip" > - <string>Choose location of QuteMolX executable </string> - </property> + <item row="10" column="2" > + <widget class="QToolButton" name="nv1_choose_btn" > <property name="text" > - <string>Browse...</string> - </property> - <property name="autoDefault" > - <bool>false</bool> + <string>...</string> </property> </widget> </item> - <item row="2" column="2" > - <widget class="QPushButton" name="povray_choose_btn" > - <property name="enabled" > - <bool>false</bool> + <item row="8" column="0" > + <layout class="QHBoxLayout" > + <property name="spacing" > + <number>0</number> </property> - <property name="toolTip" > - <string>Choose POV-Ray executable</string> + <property name="leftMargin" > + <number>0</number> </property> - <property name="text" > - <string>Browse...</string> + <property name="topMargin" > + <number>0</number> </property> - <property name="autoDefault" > - <bool>false</bool> + <property name="rightMargin" > + <number>0</number> </property> - </widget> + <property name="bottomMargin" > + <number>0</number> + </property> + <item> + <widget class="QCheckBox" name="rosetta_checkbox" > + <property name="toolTip" > + <string>Enable Rosetta</string> + </property> + <property name="text" > + <string/> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="rosetta_label" > + <property name="text" > + <string>Rosetta:</string> + </property> + </widget> + </item> + </layout> </item> - <item row="4" column="2" > - <widget class="QPushButton" name="povdir_choose_btn" > + <item row="8" column="1" > + <widget class="QLineEdit" name="rosetta_path_lineedit" > <property name="enabled" > <bool>false</bool> </property> <property name="toolTip" > - <string>Choose the POV include directory</string> - </property> - <property name="text" > - <string>Browse...</string> - </property> - <property name="autoDefault" > - <bool>false</bool> + <string>The full path to Rosetta executable file.</string> </property> </widget> </item> - <item row="3" column="2" > - <widget class="QPushButton" name="megapov_choose_btn" > - <property name="enabled" > - <bool>false</bool> - </property> - <property name="toolTip" > - <string>Choose MegaPOV executable (megapov.exe)</string> - </property> + <item row="8" column="2" > + <widget class="QToolButton" name="rosetta_choose_btn" > <property name="text" > - <string>Browse...</string> - </property> - <property name="autoDefault" > - <bool>false</bool> + <string>...</string> </property> </widget> </item> - <item row="5" column="2" > - <widget class="QPushButton" name="gamess_choose_btn" > - <property name="enabled" > - <bool>false</bool> + <item row="9" column="0" > + <layout class="QHBoxLayout" > + <property name="spacing" > + <number>0</number> </property> - <property name="toolTip" > - <string>Choose GAMESS executable</string> + <property name="leftMargin" > + <number>0</number> </property> - <property name="text" > - <string>Browse...</string> + <property name="topMargin" > + <number>0</number> </property> - <property name="autoDefault" > - <bool>false</bool> + <property name="rightMargin" > + <number>0</number> </property> - </widget> + <property name="bottomMargin" > + <number>0</number> + </property> + <item> + <widget class="QCheckBox" name="rosetta_db_checkbox" > + <property name="toolTip" > + <string>Enable Rosetta Database</string> + </property> + <property name="text" > + <string/> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="rosetta_db_label" > + <property name="text" > + <string>Rosetta DB:</string> + </property> + </widget> + </item> + </layout> </item> - <item row="1" column="2" > - <widget class="QPushButton" name="nanohive_choose_btn" > + <item row="9" column="1" > + <widget class="QLineEdit" name="rosetta_db_path_lineedit" > <property name="enabled" > <bool>false</bool> </property> <property name="toolTip" > - <string>Choose location of NanoHive-1 executable </string> + <string>The top-level Rosetta database directory.</string> </property> + </widget> + </item> + <item row="9" column="2" > + <widget class="QToolButton" name="rosetta_db_choose_btn" > <property name="text" > - <string>Browse...</string> - </property> - <property name="autoDefault" > - <bool>false</bool> + <string>...</string> </property> </widget> </item> </layout> </widget> </item> + <item> + <spacer> + <property name="orientation" > + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType" > + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" > + <size> + <width>384</width> + <height>71</height> + </size> + </property> + </spacer> + </item> </layout> </widget> <widget class="QWidget" name="Undo" > |