OpenMS
2.7.0
|
#include <OpenMS/VISUAL/DIALOGS/PythonModuleRequirement.h>
Public Slots | |
void | validate (const QString &python_exe) |
re-evaluate the presence of modules, based on a new python version More... | |
Signals | |
void | valueChanged (QStringList &valid_modules, QStringList &missing_modules) |
emitted whenever the requirement check was executed... More... | |
Public Member Functions | |
PythonModuleRequirement (QWidget *parent=nullptr) | |
~PythonModuleRequirement () | |
void | setTitle (const QString &title) |
change the label of the surrounding box More... | |
void | setRequiredModules (const QStringList &m) |
a list of python modules required for a certain functionality/script More... | |
void | setFreeText (const QString &text) |
some arbitrary description for the user to display statically More... | |
bool | isReady () |
are all modules present? More... | |
Private Attributes | |
QStringList | required_modules_ |
list of modules which are needed (order might be important – know your Python...) More... | |
QString | info_text_ |
additional text to display for the user More... | |
bool | is_ready_ = false |
all modules are present and the app is good to go More... | |
Ui::PythonModuleRequirement * | ui_ |
Given a list of python modules which are required, this widget checks them and displays the current status
|
explicit |
|
inline |
are all modules present?
void setFreeText | ( | const QString & | text | ) |
some arbitrary description for the user to display statically
void setRequiredModules | ( | const QStringList & | m | ) |
a list of python modules required for a certain functionality/script
void setTitle | ( | const QString & | title | ) |
change the label of the surrounding box
|
slot |
re-evaluate the presence of modules, based on a new python version
|
signal |
emitted whenever the requirement check was executed...
|
private |
additional text to display for the user
|
private |
all modules are present and the app is good to go
|
private |
list of modules which are needed (order might be important – know your Python...)
|
private |