schrodinger.application.desmond.cwidget module¶
Widgets used mainly in Desmond and MCPRO+ panels.
Copyright Schrodinger, LLC. All rights reserved.
-
class
schrodinger.application.desmond.cwidget.AdvLabel(text, parent, max_height=None)¶ Bases:
PyQt5.QtWidgets.QLabelA mutli-line label with small, bold text.
-
class
schrodinger.application.desmond.cwidget.EntryField(parent, label_text, initial_text='')¶ Bases:
PyQt5.QtWidgets.QWidgetA special composite widget which contains a labeled line edit field.
-
hasAcceptableInput()¶
-
setText(text)¶ Set the text for the QLineEdit part of the entry field
-
setValidator(validator)¶
-
text()¶ Returns the text for the QLineEdit part of the entry field
-
-
class
schrodinger.application.desmond.cwidget.FileEntry(parent, label_text, fdlg_title, fdlg_ftypes, initial_dir='', command=None)¶ Bases:
PyQt5.QtWidgets.QWidgetClass combining a QLabel, QLineEdit, and a QPushButton (Browse…).
-
browse()¶ Called when the user clicks on the Browse button
-
pathModified()¶ Called when the selected file path is modified.
-
setText(value)¶ Set the value of the entry field.
-
text()¶ Get the value of the entry field.
-