#include <VisuGUI_SetupPlot2dDlg.h>

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 |
| VisuGUI_SetupPlot2dDlg::VisuGUI_SetupPlot2dDlg | ( | _PTR(SObject) | object, |
| QWidget * | parent = 0 |
||
| ) |
Constructor
References _PTR(), VisuGUI_ItemContainer.createWidgets(), DLG_SIZE_HEIGHT, DLG_SIZE_WIDTH, enableControls(), MARGIN_SIZE, MESSAGE, VisuGUI_ItemContainer.myAssigned, VisuGUI_ItemContainer.myAutoCheck, myCancelBtn, VisuGUI_ItemContainer.myColorBtn, VisuGUI_ItemContainer.myHBtn, myHelpBtn, myItems, VisuGUI_ItemContainer.myLineCombo, VisuGUI_ItemContainer.myLineSpin, VisuGUI_ItemContainer.myMarkerCombo, myOkBtn, VisuGUI_ItemContainer.myTitleLab, VisuGUI_ItemContainer.myUnitLab, VisuGUI_ItemContainer.myV2Btn, VisuGUI_ItemContainer.myVBtn, myView, VISU_Example_06.nbRows, onHBtnToggled(), onHelp(), onV2BtnToggled(), onVBtnToggled(), and SPACING_SIZE.
| VisuGUI_SetupPlot2dDlg::~VisuGUI_SetupPlot2dDlg | ( | ) |
Destructor
| 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] |
| VisuGUI_SetupPlot2dDlg._PTR | ( | SObject | ) | [private] |
QScrollArea* VisuGUI_SetupPlot2dDlg.myView [private] |
QPushButton* VisuGUI_SetupPlot2dDlg.myOkBtn [private] |
QPushButton* VisuGUI_SetupPlot2dDlg.myCancelBtn [private] |
QPushButton* VisuGUI_SetupPlot2dDlg.myHelpBtn [private] |
QList<VisuGUI_ItemContainer*> VisuGUI_SetupPlot2dDlg.myItems [private] |