Back to index

salome-geom  6.5.0
Public Member Functions | Public Attributes
BasicGUI_ParamCurveWidget Class Reference

#include <BasicGUI_ParamCurveWidget.h>

List of all members.

Public Member Functions

 BasicGUI_ParamCurveWidget (QWidget *parent=0)
 ~BasicGUI_ParamCurveWidget ()

Public Attributes

QLineEdit * myXExpr
QLineEdit * myYExpr
QLineEdit * myZExpr
SalomeApp_DoubleSpinBox * myPMin
SalomeApp_DoubleSpinBox * myPMax
SalomeApp_IntSpinBox * myPStep

Detailed Description

Definition at line 35 of file BasicGUI_ParamCurveWidget.h.


Constructor & Destructor Documentation

Definition at line 38 of file BasicGUI_ParamCurveWidget.cxx.

                                                                   :
  QWidget(parent) {

  QGridLayout* l = new QGridLayout( this );
  l->setSpacing( 0 );
  l->setMargin( 0 );

  QGroupBox* groupBox = new QGroupBox( tr("GEOM_PCURVE_TITLE"), this );

  QGridLayout* gridLayout = new QGridLayout( groupBox );
  gridLayout->setSpacing( 6 );
  gridLayout->setMargin( 11 );
  
  //X Equation
  QLabel* textLabel1 = new QLabel( tr("GEOM_PCURVE_X"), groupBox );
  myXExpr = new QLineEdit( groupBox );

  //Y Equation
  QLabel* textLabel2 = new QLabel(tr("GEOM_PCURVE_Y"), groupBox);
  myYExpr = new QLineEdit( groupBox );

  //Z Equation
  QLabel* textLabel3 = new QLabel( tr("GEOM_PCURVE_Z"), groupBox );
  myZExpr = new QLineEdit( groupBox );

  // Min and Max
  QLabel* textLabel4 = new QLabel( tr("GEOM_PCURVE_MIN"), groupBox );
  myPMin = new SalomeApp_DoubleSpinBox( groupBox );

  // Min and Max
  QLabel* textLabel5 = new QLabel( tr("GEOM_PCURVE_MAX"), groupBox );
  myPMax = new SalomeApp_DoubleSpinBox( groupBox );    

  // Step
  QLabel* textLabel6 = new QLabel( tr("GEOM_PCURVE_NBSTEP"), groupBox );
  myPStep = new SalomeApp_IntSpinBox( groupBox );

  //Layout
  gridLayout->addWidget(textLabel1, 0, 0, 1, 1);
  gridLayout->addWidget(myXExpr,    0, 1, 1, 1);

  gridLayout->addWidget(textLabel2, 1, 0, 1, 1);
  gridLayout->addWidget(myYExpr,    1, 1, 1, 1);

  gridLayout->addWidget(textLabel3, 2, 0, 1, 1);
  gridLayout->addWidget(myZExpr,    2, 1, 1, 1);

  gridLayout->addWidget(textLabel4, 3, 0, 1, 1);
  gridLayout->addWidget(myPMin,     3, 1, 1, 1);

  gridLayout->addWidget(textLabel5, 4, 0, 1, 1);
  gridLayout->addWidget(myPMax,     4, 1, 1, 1);

  gridLayout->addWidget(textLabel6, 5, 0, 1, 1);
  gridLayout->addWidget(myPStep,    5, 1, 1, 1);

  l->addWidget(groupBox, 0, 0, 1, 1);
}

Definition at line 98 of file BasicGUI_ParamCurveWidget.cxx.

                                                     {
}

Member Data Documentation

SalomeApp_DoubleSpinBox* BasicGUI_ParamCurveWidget::myPMax

Definition at line 48 of file BasicGUI_ParamCurveWidget.h.

SalomeApp_DoubleSpinBox* BasicGUI_ParamCurveWidget::myPMin

Definition at line 47 of file BasicGUI_ParamCurveWidget.h.

SalomeApp_IntSpinBox* BasicGUI_ParamCurveWidget::myPStep

Definition at line 49 of file BasicGUI_ParamCurveWidget.h.

Definition at line 43 of file BasicGUI_ParamCurveWidget.h.

Definition at line 44 of file BasicGUI_ParamCurveWidget.h.

Definition at line 45 of file BasicGUI_ParamCurveWidget.h.


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