#include <Plugin-VSI/baseWidget.hh>
|
void | codeToScriptEditor (QString _code) |
|
|
| BaseWidget (Context *_ctx, QWidget *_parent) |
|
void | setupUi () |
| Adds element widgets to toolbox.
|
|
void | updateTitle () |
| Update window title.
|
|
bool | saveIfChanged () |
| Asks the user if he want to save his changes.
|
|
void | closeEvent (QCloseEvent *_event) |
| Chatch close event.
|
|
|
Context * | ctx_ |
|
GraphicsScene * | mainScene_ |
|
QStack< GraphicsScene * > | scenes_ |
|
QSplitter * | splitter_ |
|
QToolBox * | toolbox_ |
|
QStackedWidget * | views_ |
|
QString | fileName_ |
|
bool | changedContent_ |
|
Main widget for the visual scripting interface editor
Definition at line 69 of file baseWidget.hh.
◆ addScene
add a new scene
Add scene to stack widget.
Definition at line 496 of file baseWidget.cc.
◆ codeToScript
void VSI::BaseWidget::codeToScript |
( |
| ) |
|
|
slot |
converts visual script to textual script
signal to open textual script editor with current script
Definition at line 222 of file baseWidget.cc.
◆ contentChanged
void VSI::BaseWidget::contentChanged |
( |
| ) |
|
|
slot |
used changed something
Called if something it the scene has changed.
Definition at line 396 of file baseWidget.cc.
◆ executeCode
void VSI::BaseWidget::executeCode |
( |
| ) |
|
|
slot |
executes current script
Executes current visual script.
Definition at line 199 of file baseWidget.cc.
◆ load
void VSI::BaseWidget::load |
( |
| ) |
|
|
slot |
◆ newFile
void VSI::BaseWidget::newFile |
( |
| ) |
|
|
slot |
◆ popScene
void VSI::BaseWidget::popScene |
( |
| ) |
|
|
slot |
go back to last scene (function)
Go back to previous scene (function)
Definition at line 482 of file baseWidget.cc.
◆ pushScene
show a new scene (function) in editor
Display a new scene (function) in editor.
Definition at line 473 of file baseWidget.cc.
◆ removeScene
remove a scene
Remove scene from stack widget.
Definition at line 504 of file baseWidget.cc.
◆ save
bool VSI::BaseWidget::save |
( |
bool |
_newName = false | ) |
|
|
slot |
◆ saveAs
bool VSI::BaseWidget::saveAs |
( |
| ) |
|
|
slot |
The documentation for this class was generated from the following files: