![]() |
OpenMS
|
#include <OpenMS/VISUAL/DIALOGS/PythonSelector.h>
Signals | |
| void | valueChanged (QString last_known_python_exe, bool valid_python) |
Public Member Functions | |
| PythonSelector (QWidget *parent=nullptr) | |
| ~PythonSelector () | |
| const String & | getLastPython () const |
Private Slots | |
| void | showFileDialog_ () |
| void | validate_ () |
Private Attributes | |
| String | last_known_python_exe_ = "python" |
| initial guess or last valid user input More... | |
| bool | currently_valid_ = false |
| unless proven otherwise by 'validate_()' More... | |
| Ui::PythonSelector * | ui_ |
A QLineEdit + Browse button to have the user select a local python installation By default, 'python' is used
|
explicit |
| ~PythonSelector | ( | ) |
|
inline |
|
privateslot |
|
privateslot |
|
signal |
emitted whenever the line-edit has new values for the current python executable
| last_known_python_exe | The currently best guess where python can be found |
| valid_python | Is the python executable given in last_known_python_exe callable? |
|
private |
unless proven otherwise by 'validate_()'
|
private |
initial guess or last valid user input
|
private |