Version: 6.3.1
Public Member Functions | Private Slots | Private Member Functions | Private Attributes

VisuGUI_SetupPlot2dDlg Class Reference

#include <VisuGUI_SetupPlot2dDlg.h>

Inheritance diagram for VisuGUI_SetupPlot2dDlg:
Inheritance graph

Public Member Functions

 VisuGUI_SetupPlot2dDlg (_PTR(SObject) object, QWidget *parent=0)
 ~VisuGUI_SetupPlot2dDlg ()
void getCurves (QList< Plot2d_Curve * > &container)
void getCurvesSource (int &horIndex, QList< int > &verIndexes, QList< int > &ver2Indexes, QList< int > &zIndexes)
bool getCurveAttributes (const int vIndex, bool &isAuto, int &marker, int &line, int &lineWidth, QColor &color)

Private Slots

void onHBtnToggled (bool)
void onVBtnToggled (bool)
void onV2BtnToggled (bool)
void onHelp ()
void enableControls ()

Private Member Functions

void keyPressEvent (QKeyEvent *e)
 _PTR (SObject) myObject

Private Attributes

QScrollArea * myView
QPushButton * myOkBtn
QPushButton * myCancelBtn
QPushButton * myHelpBtn
QList< VisuGUI_ItemContainer * > myItems

Constructor & Destructor Documentation

VisuGUI_SetupPlot2dDlg::VisuGUI_SetupPlot2dDlg ( _PTR(SObject)  object,
QWidget parent = 0 
)
VisuGUI_SetupPlot2dDlg::~VisuGUI_SetupPlot2dDlg ( )

Destructor


Member Function Documentation

void VisuGUI_SetupPlot2dDlg::getCurves ( QList< Plot2d_Curve * > &  container)

Creates and returns curves presentations

References _PTR(), getCurvesSource(), MESSAGE, and myItems.

void VisuGUI_SetupPlot2dDlg::getCurvesSource ( int &  horIndex,
QList< int > &  verIndexes,
QList< int > &  ver2Indexes,
QList< int > &  zIndices 
)

Gets curves info ( indexes of row data in the table for horizontal and verical axes )

References myItems.

bool VisuGUI_SetupPlot2dDlg::getCurveAttributes ( const int  vIndex,
bool &  isAuto,
int &  marker,
int &  line,
int &  lineWidth,
QColor &  color 
)

Gets curve attributes

References myItems.

void VisuGUI_SetupPlot2dDlg::keyPressEvent ( QKeyEvent *  e) [private]

Provides help on F1 button click

References onHelp().

void VisuGUI_SetupPlot2dDlg::onHBtnToggled ( bool  on) [private, slot]

Slot, called when any <H> button is clicked

References enableControls(), and myItems.

void VisuGUI_SetupPlot2dDlg::onVBtnToggled ( bool  on) [private, slot]

Slot, called when any <V> button is clicked

References enableControls(), VisuGUI_ItemContainer.myAssigned, myItems, and VisuGUI_ItemContainer.myUnitLab.

void VisuGUI_SetupPlot2dDlg::onV2BtnToggled ( bool  on) [private, slot]

Slot, called when any <V2> button is clicked

References enableControls(), VisuGUI_ItemContainer.myAssigned, myItems, and VisuGUI_ItemContainer.myUnitLab.

void VisuGUI_SetupPlot2dDlg::onHelp ( ) [private, slot]

Slot, called when <Help> button is clicked

void VisuGUI_SetupPlot2dDlg::enableControls ( ) [private, slot]

Enables/disables buttons

References myItems, and myOkBtn.

VisuGUI_SetupPlot2dDlg._PTR ( SObject  ) [private]

Field Documentation

QScrollArea* VisuGUI_SetupPlot2dDlg.myView [private]
QPushButton* VisuGUI_SetupPlot2dDlg.myOkBtn [private]
QPushButton* VisuGUI_SetupPlot2dDlg.myCancelBtn [private]
QPushButton* VisuGUI_SetupPlot2dDlg.myHelpBtn [private]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS