Public Member Functions
ModelSliderEditor Class Reference

Brief description of class still missing. More...

#include <ModelSliderEditor.h>

Inheritance diagram for ModelSliderEditor:
QGpGuiTools::Dialog QGpGuiTools::FrameGrabber

List of all members.

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 ()

Detailed Description

Brief description of class still missing.

Full description of class still missing


Constructor & Destructor Documentation

ModelSliderEditor::ModelSliderEditor ( QWidget *  parent = 0)

Description of constructor still missing

References TRACE.

    : Dialog(parent)
{
  TRACE;
  setupUi(this);
}

Description of destructor still missing

References TRACE.

{
  TRACE;
}

Member Function Documentation

QString ModelSliderEditor::code ( ) const

References TRACE.

{
  TRACE;
  return codeEdit->text();
}
void ModelSliderEditor::setCode ( const QString &  t)

References TRACE.

{
  TRACE;
  codeEdit->setText(t);
}

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)

References TRACE.

{
  TRACE;
  return titleEdit->setText(t);
}
QString ModelSliderEditor::title ( ) const

References TRACE.

{
  TRACE;
  return titleEdit->text();
}

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines