Brief description of class still missing. More...
#include <ModelSliderEditor.h>
Public Member Functions | |
QString | code () const |
ModelSliderEditor (QWidget *parent=0) | |
void | setCode (const QString &t) |
void | setModelType (GeophysicalModel *m) |
void | setTitle (const QString &t) |
QString | title () const |
~ModelSliderEditor () |
Brief description of class still missing.
Full description of class still missing
ModelSliderEditor::ModelSliderEditor | ( | QWidget * | parent = 0 | ) |
QString ModelSliderEditor::code | ( | ) | const |
void ModelSliderEditor::setCode | ( | const QString & | t | ) |
void ModelSliderEditor::setModelType | ( | GeophysicalModel * | m | ) |
References QGpCoreTools::ExpressionContext::addVariable(), and QGpCoreWave::GeophysicalModel::expressionContext().
{ GeophysicalModel::GeophysicalContext * context=m->expressionContext(); context->addVariable("p", 0.0); codeEdit->setContext(*context); delete context; }
void ModelSliderEditor::setTitle | ( | const QString & | t | ) |
QString ModelSliderEditor::title | ( | ) | const |