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.QLabel
A mutli-line label with small, bold text.
-
class
schrodinger.application.desmond.cwidget.
EntryField
(parent, label_text, initial_text='')¶ Bases:
PyQt5.QtWidgets.QWidget
A special composite widget which contains a labeled line edit field.
-
setText
(text)¶ Set the text for the QLineEdit part of the entry field
-
text
()¶ Returns the text for the QLineEdit part of the entry field
-
setValidator
(validator)¶
-
hasAcceptableInput
()¶
-
-
class
schrodinger.application.desmond.cwidget.
FileEntry
(parent, label_text, fdlg_title, fdlg_ftypes, initial_dir='', command=None)¶ Bases:
PyQt5.QtWidgets.QWidget
Class combining a QLabel, QLineEdit, and a QPushButton (Browse…).
-
pathModified
()¶ Called when the selected file path is modified.
-
browse
()¶ Called when the user clicks on the Browse button
-
text
()¶ Get the value of the entry field.
-
setText
(value)¶ Set the value of the entry field.
-