Inviwo  0.9.10.1
Inviwo documentation
inviwo::PythonEditorWidget Class Reference
+ Inheritance diagram for inviwo::PythonEditorWidget:

Public Member Functions

 PythonEditorWidget (QWidget *parent, InviwoApplication *app)
 
void appendToOutput (const std::string &msg, bool error=false)
 
void loadFile (std::string fileName, bool askForSave=true)
 
virtual void onPyhonExecutionOutput (const std::string &msg, PythonOutputType outputType) override
 
void save ()
 
void saveAs ()
 
void open ()
 
void run ()
 
void show ()
 
void setDefaultText ()
 
void clearOutput ()
 
void onTextChange ()
 
virtual void loadState () override
 
- Public Member Functions inherited from inviwo::InviwoDockWidget
 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)
 
- Public Member Functions inherited from inviwo::Observer
 Observer (const Observer &other)
 
 Observer (Observer &&other)
 
Observeroperator= (Observer &&other)
 
Observeroperator= (const Observer &other)
 
virtual ~Observer ()
 
void removeObservation (ObservableInterface *observable)
 
void removeObservations ()
 

Protected Member Functions

virtual void closeEvent (QCloseEvent *event) override
 
- Protected Member Functions inherited from inviwo::Observer
void addObservation (ObservableInterface *observable)
 

Additional Inherited Members

- Signals inherited from inviwo::InviwoDockWidget
void stickyFlagChanged (bool sticky)
 
- Protected Types inherited from inviwo::Observer
using ObservableSet = std::unordered_set< ObservableInterface * >
 
- Protected Attributes inherited from inviwo::Observer
ObservableSet observables_
 

Member Function Documentation

◆ loadState()

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.


The documentation for this class was generated from the following files: