|
| PythonEditorWidget (QWidget *parent, InviwoApplication *app, std::function< void(const std::string &)> onTextChange=nullptr) |
|
void | appendToOutput (const std::string &msg, bool error=false) |
|
void | loadFile (const std::filesystem::path &fileName, bool askForSave=true) |
|
virtual void | onPythonExecutionOutput (const std::string &msg, PythonOutputType outputType) override |
|
void | save () |
|
void | saveAs () |
|
void | open () |
|
void | runOrStop (bool run) |
|
void | run () |
|
void | stop () |
|
void | show () |
|
void | setDefaultText () |
|
void | clearOutput () |
|
void | onTextChange () |
|
virtual void | loadState () override |
|
void | restore () |
|
void | setName (std::string_view name) |
|
const std::string & | getName () const |
|
void | setSource (std::string_view source) |
|
const std::string & | getSource () const |
|
| InviwoDockWidget (QString title, QWidget *parent) |
|
| InviwoDockWidget (QString title, QWidget *parent, QString objname) |
|
virtual void | showEvent (QShowEvent *showEvent) override |
|
virtual void | keyPressEvent (QKeyEvent *keyEvent) override |
|
void | setSticky (bool sticky) |
|
bool | isSticky () const |
|
void | setContents (QWidget *widget) |
|
void | setContents (QLayout *layout) |
|
| Observer (const Observer &other) |
|
| Observer (Observer &&other) |
|
Observer & | operator= (Observer &&other) |
|
Observer & | operator= (const Observer &other) |
|
virtual | ~Observer () |
|
void | removeObservation (ObservableInterface *observable) |
|
void | removeObservations () |
|
◆ closeEvent()
virtual void inviwo::PythonEditorWidget::closeEvent |
( |
QCloseEvent * | event | ) |
|
|
overrideprotectedvirtual |
◆ loadState()
virtual void inviwo::PythonEditorWidget::loadState |
( |
| ) |
|
|
overridevirtual |
Load state related to the dock widget, called in the constructor. If you overload this function you must also call it in your constructor. Uses the objectName as settings group
Reimplemented from inviwo::InviwoDockWidget.
◆ onPythonExecutionOutput()
virtual void inviwo::PythonEditorWidget::onPythonExecutionOutput |
( |
const std::string & | msg, |
|
|
PythonOutputType | outputType ) |
|
overridevirtual |
The documentation for this class was generated from the following file: