|
|
void | appendToOutput (const std::string &msg, bool error=false) |
| |
|
void | clearOutput () |
| |
|
const std::string & | getName () const |
| |
|
const std::string & | getSource () const |
| |
|
void | loadFile (const std::filesystem::path &fileName, bool askForSave=true) |
| |
| virtual void | loadState () override |
| |
| virtual void | onPythonExecutionOutput (const std::string &msg, PythonOutputType outputType) override |
| |
|
void | onTextChange () |
| |
|
void | open () |
| |
|
| PythonEditorWidget (QWidget *parent, InviwoApplication *app, std::function< void(PythonEditorWidget &, const std::string &)> onTextChange=nullptr, std::function< void(UnorderedStringMap< QVariant > &)> stateLoader=nullptr, std::function< void(const UnorderedStringMap< QVariant > &)> stateSaver=nullptr) |
| |
|
void | restore () |
| |
|
void | run () |
| |
|
void | runOrStop (bool run) |
| |
|
void | save () |
| |
|
void | saveAs () |
| |
| virtual void | saveState () override |
| |
|
void | setDefaultText () |
| |
|
void | setName (std::string_view name) |
| |
|
void | setSource (std::string_view source) |
| |
|
void | show () |
| |
|
void | stop () |
| |
|
| InviwoDockWidget (QString title, QWidget *parent) |
| |
|
| InviwoDockWidget (QString title, QWidget *parent, QString objname) |
| |
|
bool | isSticky () const |
| |
|
void | setContents (QLayout *layout) |
| |
|
void | setContents (QWidget *widget) |
| |
|
void | setSticky (bool sticky) |
| |
|
| Observer (const Observer &rhs) |
| |
|
| Observer (Observer &&rhs) |
| |
|
Observer & | operator= (const Observer &that) |
| |
|
Observer & | operator= (Observer &&that) |
| |
| void | removeObservation (ObservableInterface *observable) |
| |
|
void | removeObservations () |
| |
| virtual | ~Observer () |
| |
|
| virtual void | closeEvent (QCloseEvent *event) override |
| |
| virtual void | getState (UnorderedStringMap< QVariant > &state) const override |
| |
| virtual void | setState (const UnorderedStringMap< QVariant > &state) override |
| |
|
virtual void | hideEvent (QHideEvent *event) override |
| |
|
virtual void | keyPressEvent (QKeyEvent *keyEvent) override |
| |
|
void | loadStateDefault (UnorderedStringMap< QVariant > &state) const |
| |
|
virtual void | moveEvent (QMoveEvent *event) override |
| |
|
virtual void | resizeEvent (QResizeEvent *event) override |
| |
|
void | saveStateDefault (const UnorderedStringMap< QVariant > &state) |
| |
|
virtual void | showEvent (QShowEvent *showEvent) override |
| |
| void | addObservation (ObservableInterface *observed) |
| |
|
|
void | stateChanged () |
| |
|
void | stickyFlagChanged (bool sticky) |
| |
|
std::unordered_set< ObservableInterface * > | observables_ |
| |
◆ closeEvent()
| virtual void inviwo::PythonEditorWidget::closeEvent |
( |
QCloseEvent * | event | ) |
|
|
overrideprotectedvirtual |
◆ getState()
| virtual void inviwo::PythonEditorWidget::getState |
( |
UnorderedStringMap< QVariant > & | state | ) |
const |
|
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 |
◆ saveState()
| virtual void inviwo::PythonEditorWidget::saveState |
( |
| ) |
|
|
overridevirtual |
Save state related to the dock widget, called in the close event. Uses the objectName as settings group
Reimplemented from inviwo::InviwoDockWidget.
◆ setState()
| virtual void inviwo::PythonEditorWidget::setState |
( |
const UnorderedStringMap< QVariant > & | state | ) |
|
|
overrideprotectedvirtual |
The documentation for this class was generated from the following file:
- modules/python3qt/include/modules/python3qt/pythoneditorwidget.h