Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Plot2d_SetupCurveDlg Class Reference

Dialog box for modifying 2d curve settings.

#include <Plot2d_SetupCurveDlg.h>

Inheritance diagram for Plot2d_SetupCurveDlg:
Inheritance graph

Public Member Functions

 Plot2d_SetupCurveDlg (QWidget *=0)
 Constructor. More...
 
 ~Plot2d_SetupCurveDlg ()
 Destructor. More...
 
void setLine (Plot2d::LineType, const int)
 Set curve line type and width. More...
 
Plot2d::LineType getLine () const
 Get curve line type. More...
 
int getLineWidth () const
 Get curve line width. More...
 
void setMarker (Plot2d::MarkerType)
 Set curve marker type. More...
 
Plot2d::MarkerType getMarker () const
 Get curve marker type. More...
 
void setColor (const QColor &)
 Set curve color. More...
 
QColor getColor () const
 Get curve color. More...
 

Private Slots

void updatePreview ()
 

Private Attributes

QPushButton * myOkBtn
 
QPushButton * myCancelBtn
 
QComboBoxmyLineCombo
 
QSpinBoxmyLineSpin
 
QComboBoxmyMarkerCombo
 
QtxColorButtonmyColorBtn
 
QLabelmyPreview
 

Constructor & Destructor Documentation

Plot2d_SetupCurveDlg::~Plot2d_SetupCurveDlg ( )

Member Function Documentation

QColor Plot2d_SetupCurveDlg::getColor ( ) const
Returns
curve color
See Also
setColor()

References QtxColorButton::color(), and myColorBtn.

Plot2d::LineType Plot2d_SetupCurveDlg::getLine ( ) const
Returns
chosen curve line type
See Also
setLine(), getLineWidth()

References myLineCombo.

int Plot2d_SetupCurveDlg::getLineWidth ( ) const
Returns
chosen curve line width
See Also
setLine(), getLine()

References myLineSpin.

Plot2d::MarkerType Plot2d_SetupCurveDlg::getMarker ( ) const
Returns
chosen curve marker type
See Also
setMarker()

References myMarkerCombo.

void Plot2d_SetupCurveDlg::setColor ( const QColor &  color)
Parameters
colorcurve color
See Also
getColor()

References myColorBtn, QtxColorButton::setColor(), and updatePreview().

void Plot2d_SetupCurveDlg::setLine ( Plot2d::LineType  type,
const int  width 
)
Parameters
typecurve line type
widthcurve line width
See Also
getLine(), getLineWidth()

References myLineCombo, myLineSpin, and updatePreview().

void Plot2d_SetupCurveDlg::setMarker ( Plot2d::MarkerType  type)
Parameters
typecurve marker type
See Also
getMarker()

References myMarkerCombo, and updatePreview().

void Plot2d_SetupCurveDlg::updatePreview ( )
privateslot

Member Data Documentation

QPushButton* Plot2d_SetupCurveDlg::myCancelBtn
private
QtxColorButton* Plot2d_SetupCurveDlg::myColorBtn
private
QComboBox* Plot2d_SetupCurveDlg::myLineCombo
private
QSpinBox* Plot2d_SetupCurveDlg::myLineSpin
private
QComboBox* Plot2d_SetupCurveDlg::myMarkerCombo
private
QPushButton* Plot2d_SetupCurveDlg::myOkBtn
private
QLabel* Plot2d_SetupCurveDlg::myPreview
private

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