TODO Comment class here. More...
#include <SofaWidget.h>
Public Slots | |
void | applyChanges () |
slot called when apply changes is pressed More... | |
void | runSofa () |
slot called when runSofa button is pressed More... | |
void | sofaExited () |
slot called when sofa is finished More... | |
Public Member Functions | |
SofaWidget (QWidget *parent=0, SofaSimulator *sofaSimulator=NULL) | |
constructor More... | |
void | writeScn (QString path) |
write text typed in the highlighted QTextEdit into a scn file More... | |
~SofaWidget () | |
destructor More... | |
Public Member Functions inherited from SimulatorWidget | |
SimulatorWidget (QWidget *parent=nullptr) | |
constructor More... | |
~SimulatorWidget () override=default | |
destructor More... | |
Private Attributes | |
std::string | scnFile |
sofa scn file More... | |
std::string | scnFileTemp |
temp copy of scn filr More... | |
SofaSimulator * | sofaSimulator |
the sofa simulator More... | |
Ui::ui_SofaWidget | ui |
the ui widget designed in qtdesigner More... | |
XmlHighlighter * | xmlHighlighter |
xml highlighter More... | |
Additional Inherited Members | |
Signals inherited from SimulatorWidget | |
void | reload () |
TODO Comment class here.
SofaWidget::SofaWidget | ( | QWidget * | parent = 0 , |
SofaSimulator * | sofaSimulator = NULL |
||
) |
constructor
References applyChanges(), SofaSimulator::getScnFile(), runSofa(), scnFile, scnFileTemp, sofaSimulator, ui, and xmlHighlighter.
SofaWidget::~SofaWidget | ( | ) |
destructor
References xmlHighlighter.
|
slot |
slot called when apply changes is pressed
References SimulatorWidget::reload(), scnFile, and writeScn().
Referenced by SofaWidget().
|
slot |
slot called when runSofa button is pressed
References scnFileTemp, sofaExited(), and writeScn().
Referenced by SofaWidget().
|
slot |
slot called when sofa is finished
References scnFileTemp.
Referenced by runSofa().
void SofaWidget::writeScn | ( | QString | path | ) |
write text typed in the highlighted QTextEdit into a scn file
path | filename to use |
References ui.
Referenced by applyChanges(), and runSofa().
|
private |
sofa scn file
Referenced by applyChanges(), and SofaWidget().
|
private |
temp copy of scn filr
Referenced by runSofa(), sofaExited(), and SofaWidget().
|
private |
the sofa simulator
Referenced by SofaWidget().
|
private |
the ui widget designed in qtdesigner
Referenced by SofaWidget(), and writeScn().
|
private |
xml highlighter
Referenced by SofaWidget(), and ~SofaWidget().