Version: 9.12.0
Plot2d_SetupViewDlg Class Reference

Dialog box to setup Plot2d view window. More...

#include <Plot2d_SetupViewDlg.h>

Inheritance diagram for Plot2d_SetupViewDlg:
Inheritance graph

Public Member Functions

 Plot2d_SetupViewDlg (QWidget *=0, bool=false, bool=false)
 Constructor. More...
 
 ~Plot2d_SetupViewDlg ()
 Destructor. More...
 
void setMainTitle (bool, const QString &=QString())
 Set main title attributes. More...
 
bool isMainTitleEnabled ()
 Check if main title is enabled. More...
 
QString getMainTitle ()
 Get main title. More...
 
void setXTitle (bool, const QString &=QString())
 Set horizontal axis title attributes. More...
 
bool isXTitleEnabled ()
 Check if main title is enabled. More...
 
QString getXTitle ()
 Get horizontal axis title. More...
 
void setYTitle (bool, const QString &=QString())
 Set left vertical axis title attributes. More...
 
void setY2Title (bool, const QString &=QString())
 Set right vertical axis title attributes. More...
 
bool isYTitleEnabled ()
 Check if left vertical axis title is enabled. More...
 
bool isY2TitleEnabled ()
 Check if right vertical axis title is enabled. More...
 
QString getYTitle ()
 Get left vertical axis title. More...
 
QString getY2Title ()
 Get right vertical axis title. More...
 
void setCurveType (const int)
 Set curve type. More...
 
int getCurveType ()
 Get curve type. More...
 
bool getLMaxNormMode ()
 Check if normalization to maximum by left Y axis sets. More...
 
void setLMaxNormMode (const bool)
 Set normalization to maximum by left Y axis. More...
 
bool getLMinNormMode ()
 Check if normalization to minimum by left Y axis sets. More...
 
void setLMinNormMode (const bool)
 Set normalization to minimum by left Y axis. More...
 
bool getRMaxNormMode ()
 Check if normalization to maximum by right Y axis sets. More...
 
void setRMaxNormMode (const bool)
 Set normalization to maximum by right Y axis. More...
 
bool getRMinNormMode ()
 Check if normalization to minimum by right Y axis sets. More...
 
void setRMinNormMode (const bool)
 Set normalization to minimum by right Y axis. More...
 
void setLegend (bool, int, int, const QFont &, const QColor &, const QColor &)
 Set legend attribute. More...
 
bool isLegendEnabled ()
 Check if legend is enabled. More...
 
int getLegendPos ()
 Get legend position. More...
 
int getLegendSymbolType ()
 Get legend symbol type. More...
 
QFont getLegendFont ()
 Get legend font. More...
 
QColor getLegendColor ()
 Get legend font color. More...
 
QColor getSelectedLegendColor ()
 Get selected legend font color. More...
 
void setMarkerSize (const int)
 Set marker size. More...
 
int getMarkerSize ()
 Get marker size. More...
 
void setBackgroundColor (const QColor &)
 Set background color. More...
 
QColor getBackgroundColor ()
 Get background color. More...
 
void setSelectionColor (const QColor &)
 Set selection color. More...
 
QColor getSelectionColor ()
 Get selection color. More...
 
void setMajorGrid (bool, const int, bool, const int, bool, const int)
 Set major grid parameters. More...
 
void getMajorGrid (bool &, int &, bool &, int &, bool &, int &)
 Get major grid parameters. More...
 
void setMinorGrid (bool, const int, bool, const int, bool, const int)
 Set minor grid parameters. More...
 
void getMinorGrid (bool &, int &, bool &, int &, bool &, int &)
 Get minor grid parameters. More...
 
void setScaleMode (const int, const int)
 Set scale mode for horizontal and vertical axes. More...
 
int getXScaleMode ()
 Get scale mode for horizontal axis. More...
 
int getYScaleMode ()
 Get scale mode for vertical axis. More...
 
void setDeviationMarkerLw (const int)
 Set deviation marker line width. More...
 
int getDeviationMarkerLw () const
 Get deviation marker line width. More...
 
void setDeviationMarkerTs (const int)
 Set deviation marker tick size. More...
 
int getDeviationMarkerTs () const
 Get deviation marker tick size. More...
 
void setDeviationMarkerCl (const QColor &)
 Set color of the deviation marker. More...
 
QColor getDeviationMarkerCl () const
 Get color of the deviation marker. More...
 
bool isSetAsDefault ()
 Get "Set settings as default" check box value. More...
 

Protected Slots

void onMainTitleChecked ()
 Called when user clicks "Show main title" check box. More...
 
void onXTitleChecked ()
 Called when user clicks "Show horizontal axis title" check box. More...
 
void onYTitleChecked ()
 Called when user clicks "Show vertical left axis title" check box. More...
 
void onY2TitleChecked ()
 Called when user clicks "Show vertical right axis title" check box. More...
 
void onLegendChecked ()
 Called when user clicks "Show Legend" check box. More...
 
void onXGridMajorChecked ()
 Called when user clicks "Enable horizontal major grid" check box. More...
 
void onYGridMajorChecked ()
 Called when user clicks "Enable left vertical major grid" check box. More...
 
void onY2GridMajorChecked ()
 Called when user clicks "Enable right vertical major grid" check box. More...
 
void onXGridMinorChecked ()
 Called when user clicks "Enable horizontal minor grid" check box. More...
 
void onYGridMinorChecked ()
 Called when user clicks "Enable left vertical minor grid" check box. More...
 
void onY2GridMinorChecked ()
 Called when user clicks "Enable right vertical minor grid" check box. More...
 
void onNormLMaxChecked ()
 Called when user clicks "Left Y Axis: Normalize to maximum" check box. More...
 
void onNormLMinChecked ()
 Called when user clicks "Left Y Axis: Normalize to minimum" check box. More...
 
void onNormRMaxChecked ()
 Called when user clicks "Right Y Axis: Normalize to maximum" check box. More...
 
void onNormRMinChecked ()
 Called when user clicks "Right Y Axis: Normalize to minimum" check box. More...
 
void onHelp ()
 

Private Attributes

QCheckBox * myTitleCheck
 
QLineEditmyTitleEdit
 
QCheckBox * myTitleXCheck
 
QLineEditmyTitleXEdit
 
QCheckBox * myTitleYCheck
 
QCheckBox * myTitleY2Check
 
QLineEditmyTitleYEdit
 
QLineEditmyTitleY2Edit
 
QtxColorButtonmyBackgroundBtn
 
QtxColorButtonmySelectionBtn
 
QtxColorButtonmyLegendFontColor
 
QtxColorButtonmySelectedLegendFontColor
 
QtxFontEditmyLegendFont
 
QCheckBox * myXGridCheck
 
QSpinBoxmyXGridSpin
 
QCheckBox * myYGridCheck
 
QCheckBox * myY2GridCheck
 
QSpinBoxmyYGridSpin
 
QSpinBoxmyY2GridSpin
 
QCheckBox * myXMinGridCheck
 
QSpinBoxmyXMinGridSpin
 
QCheckBox * myYMinGridCheck
 
QCheckBox * myY2MinGridCheck
 
QSpinBoxmyYMinGridSpin
 
QSpinBoxmyY2MinGridSpin
 
QComboBoxmyCurveCombo
 
QCheckBox * myLegendCheck
 
QComboBoxmyLegendCombo
 
QComboBoxmyLegendSymbolType
 
QSpinBoxmyMarkerSpin
 
QComboBoxmyXModeCombo
 
QComboBoxmyYModeCombo
 
QCheckBox * myNormLMaxCheck
 
QCheckBox * myNormLMinCheck
 
QCheckBox * myNormRMaxCheck
 
QCheckBox * myNormRMinCheck
 
QComboBoxmyY2ModeCombo
 
QCheckBox * myDefCheck
 
QPushButton * myOkBtn
 
QPushButton * myCancelBtn
 
QPushButton * myHelpBtn
 
QSpinBoxmyDeviationLw
 
QSpinBoxmyDeviationTs
 
QtxColorButtonmyDeviationCl
 
bool mySecondAxisY
 

Detailed Description

Dialog box to setup Plot2d view window.

Constructor & Destructor Documentation

◆ Plot2d_SetupViewDlg()

◆ ~Plot2d_SetupViewDlg()

Plot2d_SetupViewDlg::~Plot2d_SetupViewDlg ( )

Destructor.

Member Function Documentation

◆ getBackgroundColor()

QColor Plot2d_SetupViewDlg::getBackgroundColor ( )

Get background color.

Returns
background color
See also
setBackgroundColor()

References QtxColorButton::color(), and myBackgroundBtn.

◆ getCurveType()

int Plot2d_SetupViewDlg::getCurveType ( )

Get curve type.

Returns
curve type: 0 (points), 1 (lines) or 2 (splines)
See also
setCurveType()

References myCurveCombo.

◆ getDeviationMarkerCl()

QColor Plot2d_SetupViewDlg::getDeviationMarkerCl ( ) const

Get color of the deviation marker.

Returns
marker color
See also
setDeviationMarkerCl()

References QtxColorButton::color(), and myDeviationCl.

◆ getDeviationMarkerLw()

int Plot2d_SetupViewDlg::getDeviationMarkerLw ( ) const

Get deviation marker line width.

Returns
marker line width
See also
setMarkerSize()

References myDeviationLw.

◆ getDeviationMarkerTs()

int Plot2d_SetupViewDlg::getDeviationMarkerTs ( ) const

Get deviation marker tick size.

Returns
marker tick size
See also
setDeviationMarkerTs()

References myDeviationTs.

◆ getLegendColor()

QColor Plot2d_SetupViewDlg::getLegendColor ( )

Get legend font color.

Returns
legend font color
See also
setLegend()

References QtxColorButton::color(), and myLegendFontColor.

◆ getLegendFont()

QFont Plot2d_SetupViewDlg::getLegendFont ( )

Get legend font.

Returns
legend font
See also
setLegend()

References QtxFontEdit::currentFont(), and myLegendFont.

◆ getLegendPos()

int Plot2d_SetupViewDlg::getLegendPos ( )

Get legend position.

Returns
legend position: 0 (left), 1 (right), 2 (top), 3 (bottom)
See also
setLegend()

References myLegendCombo.

◆ getLegendSymbolType()

int Plot2d_SetupViewDlg::getLegendSymbolType ( )

Get legend symbol type.

Returns
legend symbol type: 0 (marker on line), 1 (marker above line)
See also
setLegend()

References myLegendSymbolType.

◆ getLMaxNormMode()

bool Plot2d_SetupViewDlg::getLMaxNormMode ( )

Check if normalization to maximum by left Y axis sets.

Returns
curve normalizatoin type: true,false
See also
setMaxNormMode()

References myNormLMaxCheck.

◆ getLMinNormMode()

bool Plot2d_SetupViewDlg::getLMinNormMode ( )

Check if normalization to minimum by left Y axis sets.

Returns
curve normalizatoin type: true,false
See also
setMinNormMode()

References myNormLMinCheck.

◆ getMainTitle()

QString Plot2d_SetupViewDlg::getMainTitle ( )

Get main title.

Returns
main title
See also
setMainTitle()

References myTitleEdit.

◆ getMajorGrid()

void Plot2d_SetupViewDlg::getMajorGrid ( bool &  enableX,
int &  divX,
bool &  enableY,
int &  divY,
bool &  enableY2,
int &  divY2 
)

Get major grid parameters.

Parameters
enableXtrue if horizontal major grid is enabled
divXmaximum number of ticks for horizontal major grid
enableYtrue if left vertical major grid is enabled
divYmaximum number of ticks for left vertical major grid
enableY2true if right vertical major grid is enabled
divY2maximum number of ticks for right vertical major grid
See also
setMajorGrid()

References mySecondAxisY, myXGridCheck, myXGridSpin, myY2GridCheck, myY2GridSpin, myYGridCheck, and myYGridSpin.

◆ getMarkerSize()

int Plot2d_SetupViewDlg::getMarkerSize ( )

Get marker size.

Returns
marker size
See also
setMarkerSize()

References myMarkerSpin.

◆ getMinorGrid()

void Plot2d_SetupViewDlg::getMinorGrid ( bool &  enableX,
int &  divX,
bool &  enableY,
int &  divY,
bool &  enableY2,
int &  divY2 
)

Get minor grid parameters.

Parameters
enableXtrue if horizontal minor grid is enabled
divXmaximum number of ticks for horizontal minor grid
enableYtrue if left vertical minor grid is enabled
divYmaximum number of ticks for left vertical minor grid
enableY2true if right vertical minor grid is enabled
divY2maximum number of ticks for right vertical minor grid
See also
setMinorGrid()

References mySecondAxisY, myXMinGridCheck, myXMinGridSpin, myY2MinGridCheck, myY2MinGridSpin, myYMinGridCheck, and myYMinGridSpin.

◆ getRMaxNormMode()

bool Plot2d_SetupViewDlg::getRMaxNormMode ( )

Check if normalization to maximum by right Y axis sets.

Returns
curve normalizatoin type: true,false
See also
setMaxNormMode()

References myNormRMaxCheck.

◆ getRMinNormMode()

bool Plot2d_SetupViewDlg::getRMinNormMode ( )

Check if normalization to minimum by right Y axis sets.

Returns
curve normalizatoin type: true,false
See also
setMinNormMode()

References myNormRMinCheck.

◆ getSelectedLegendColor()

QColor Plot2d_SetupViewDlg::getSelectedLegendColor ( )

Get selected legend font color.

Returns
selected legend font color
See also
setLegend()

References QtxColorButton::color(), and mySelectedLegendFontColor.

◆ getSelectionColor()

QColor Plot2d_SetupViewDlg::getSelectionColor ( )

Get selection color.

Returns
selection color
See also
setSelectionColor()

References QtxColorButton::color(), and mySelectionBtn.

◆ getXScaleMode()

int Plot2d_SetupViewDlg::getXScaleMode ( )

Get scale mode for horizontal axis.

Returns
horizontal axis scale mode: 0 (linear), 1 (logarithmic)
See also
setScaleMode()

References myXModeCombo.

◆ getXTitle()

QString Plot2d_SetupViewDlg::getXTitle ( )

Get horizontal axis title.

Returns
horizontal axis title
See also
setXTitle()

References myTitleXEdit.

◆ getY2Title()

QString Plot2d_SetupViewDlg::getY2Title ( )

Get right vertical axis title.

Returns
right vertical axis title
See also
setY2Title()

References myTitleY2Edit.

◆ getYScaleMode()

int Plot2d_SetupViewDlg::getYScaleMode ( )

Get scale mode for vertical axis.

Returns
vertical axis scale mode: 0 (linear), 1 (logarithmic)
See also
setScaleMode()

References myYModeCombo.

◆ getYTitle()

QString Plot2d_SetupViewDlg::getYTitle ( )

Get left vertical axis title.

Returns
left vertical axis title
See also
setYTitle()

References myTitleYEdit.

◆ isLegendEnabled()

bool Plot2d_SetupViewDlg::isLegendEnabled ( )

Check if legend is enabled.

Returns
true if legend is enabled
See also
setLegend()

References myLegendCheck.

◆ isMainTitleEnabled()

bool Plot2d_SetupViewDlg::isMainTitleEnabled ( )

Check if main title is enabled.

Returns
true if main title is enabled
See also
setMainTitle()

References myTitleCheck.

◆ isSetAsDefault()

bool Plot2d_SetupViewDlg::isSetAsDefault ( )

Get "Set settings as default" check box value.

Returns
true if "Set settings as default" check box is on

References myDefCheck.

◆ isXTitleEnabled()

bool Plot2d_SetupViewDlg::isXTitleEnabled ( )

Check if main title is enabled.

Returns
true if horizontal axis title is enabled
See also
setXTitle()

References myTitleXCheck.

◆ isY2TitleEnabled()

bool Plot2d_SetupViewDlg::isY2TitleEnabled ( )

Check if right vertical axis title is enabled.

Returns
true if right vertical axis title is enabled
See also
setY2Title()

References myTitleY2Check.

◆ isYTitleEnabled()

bool Plot2d_SetupViewDlg::isYTitleEnabled ( )

Check if left vertical axis title is enabled.

Returns
true if right vertical axis title is enabled
See also
setYTitle()

References myTitleYCheck.

◆ onHelp

void Plot2d_SetupViewDlg::onHelp ( )
protectedslot

Slot, called when user clicks "Help" button

References SUIT_Session::activeApplication(), SUIT_Application::onHelpContextModule(), and SUIT_Session::session().

◆ onLegendChecked

void Plot2d_SetupViewDlg::onLegendChecked ( )
protectedslot

Called when user clicks "Show Legend" check box.

References myLegendCheck, and myLegendCombo.

◆ onMainTitleChecked

void Plot2d_SetupViewDlg::onMainTitleChecked ( )
protectedslot

Called when user clicks "Show main title" check box.

References myTitleCheck, and myTitleEdit.

◆ onNormLMaxChecked

void Plot2d_SetupViewDlg::onNormLMaxChecked ( )
protectedslot

Called when user clicks "Left Y Axis: Normalize to maximum" check box.

◆ onNormLMinChecked

void Plot2d_SetupViewDlg::onNormLMinChecked ( )
protectedslot

Called when user clicks "Left Y Axis: Normalize to minimum" check box.

◆ onNormRMaxChecked

void Plot2d_SetupViewDlg::onNormRMaxChecked ( )
protectedslot

Called when user clicks "Right Y Axis: Normalize to maximum" check box.

◆ onNormRMinChecked

void Plot2d_SetupViewDlg::onNormRMinChecked ( )
protectedslot

Called when user clicks "Right Y Axis: Normalize to minimum" check box.

◆ onXGridMajorChecked

void Plot2d_SetupViewDlg::onXGridMajorChecked ( )
protectedslot

Called when user clicks "Enable horizontal major grid" check box.

References myXGridCheck, and myXMinGridCheck.

◆ onXGridMinorChecked

void Plot2d_SetupViewDlg::onXGridMinorChecked ( )
protectedslot

Called when user clicks "Enable horizontal minor grid" check box.

◆ onXTitleChecked

void Plot2d_SetupViewDlg::onXTitleChecked ( )
protectedslot

Called when user clicks "Show horizontal axis title" check box.

References myTitleXCheck, and myTitleXEdit.

◆ onY2GridMajorChecked

void Plot2d_SetupViewDlg::onY2GridMajorChecked ( )
protectedslot

Called when user clicks "Enable right vertical major grid" check box.

References myY2GridCheck, and myY2MinGridCheck.

◆ onY2GridMinorChecked

void Plot2d_SetupViewDlg::onY2GridMinorChecked ( )
protectedslot

Called when user clicks "Enable right vertical minor grid" check box.

◆ onY2TitleChecked

void Plot2d_SetupViewDlg::onY2TitleChecked ( )
protectedslot

Called when user clicks "Show vertical right axis title" check box.

References myTitleY2Check, and myTitleY2Edit.

◆ onYGridMajorChecked

void Plot2d_SetupViewDlg::onYGridMajorChecked ( )
protectedslot

Called when user clicks "Enable left vertical major grid" check box.

References myYGridCheck, and myYMinGridCheck.

◆ onYGridMinorChecked

void Plot2d_SetupViewDlg::onYGridMinorChecked ( )
protectedslot

Called when user clicks "Enable left vertical minor grid" check box.

◆ onYTitleChecked

void Plot2d_SetupViewDlg::onYTitleChecked ( )
protectedslot

Called when user clicks "Show vertical left axis title" check box.

References myTitleYCheck, and myTitleYEdit.

◆ setBackgroundColor()

void Plot2d_SetupViewDlg::setBackgroundColor ( const QColor &  color)

Set background color.

Parameters
colorbackground color
See also
getBackgroundColor()

References OCCViewer::color(), myBackgroundBtn, and QtxColorButton::setColor().

◆ setCurveType()

void Plot2d_SetupViewDlg::setCurveType ( const int  type)

Set curve type.

Parameters
typecurve type: 0 (points), 1 (lines) or 2 (splines)
See also
getCurveType()

References myCurveCombo.

◆ setDeviationMarkerCl()

void Plot2d_SetupViewDlg::setDeviationMarkerCl ( const QColor &  col)

Set color of the deviation marker.

Parameters
colormarker color
See also
getDeviationMarkerCl()

References myDeviationCl, and QtxColorButton::setColor().

◆ setDeviationMarkerLw()

void Plot2d_SetupViewDlg::setDeviationMarkerLw ( const int  width)

Set deviation marker line width.

Parameters
widthmarker line width
See also
getDeviationMarkerLw()

References myDeviationLw.

◆ setDeviationMarkerTs()

void Plot2d_SetupViewDlg::setDeviationMarkerTs ( const int  size)

Set deviation marker tick size.

Parameters
sizemarker tick size
See also
getDeviationMarkerTs()

References myDeviationTs.

◆ setLegend()

void Plot2d_SetupViewDlg::setLegend ( bool  enable,
int  pos,
int  symbolType,
const QFont &  fnt,
const QColor &  fontColor,
const QColor &  selFontColor 
)

Set legend attribute.

Parameters
iftrue legend is shown
poslegend position: 0 (left), 1 (right), 2 (top), 3 (bottom)
fntlegend font
collegend font color
See also
isLegendEnabled(), getLegendPos(), getLegendFont()

References myLegendCheck, myLegendCombo, myLegendFont, myLegendFontColor, myLegendSymbolType, mySelectedLegendFontColor, onLegendChecked(), QtxColorButton::setColor(), and QtxFontEdit::setCurrentFont().

◆ setLMaxNormMode()

void Plot2d_SetupViewDlg::setLMaxNormMode ( const bool  type)

Set normalization to maximum by left Y axis.

Parameters
typenormalizatoin type: true,false
See also
getMaxNormMode()

References myNormLMaxCheck.

◆ setLMinNormMode()

void Plot2d_SetupViewDlg::setLMinNormMode ( const bool  type)

Set normalization to minimum by left Y axis.

Parameters
typenormalizatoin type: true,false
See also
getMinNormMode()

References myNormLMinCheck.

◆ setMainTitle()

void Plot2d_SetupViewDlg::setMainTitle ( bool  enable,
const QString &  title = QString() 
)

Set main title attributes.

Parameters
enableif true main title is enabled
titlemain title
See also
isMainTitleEnabled(), getMainTitle()

References myTitleCheck, myTitleEdit, and onMainTitleChecked().

◆ setMajorGrid()

void Plot2d_SetupViewDlg::setMajorGrid ( bool  enableX,
const int  divX,
bool  enableY,
const int  divY,
bool  enableY2,
const int  divY2 
)

Set major grid parameters.

Parameters
enableXif true, horizontal major grid is enabled
divXmaximum number of ticks for horizontal major grid
enableYif true, left vertical major grid is enabled
divYmaximum number of ticks for left vertical major grid
enableY2if true, right vertical major grid is enabled
divY2maximum number of ticks for right vertical major grid
See also
getMajorGrid()

References mySecondAxisY, myXGridCheck, myXGridSpin, myY2GridCheck, myY2GridSpin, myYGridCheck, myYGridSpin, onXGridMajorChecked(), onY2GridMajorChecked(), and onYGridMajorChecked().

◆ setMarkerSize()

void Plot2d_SetupViewDlg::setMarkerSize ( const int  size)

Set marker size.

Parameters
sizemarker size
See also
getMarkerSize()

References myMarkerSpin.

◆ setMinorGrid()

void Plot2d_SetupViewDlg::setMinorGrid ( bool  enableX,
const int  divX,
bool  enableY,
const int  divY,
bool  enableY2,
const int  divY2 
)

Set minor grid parameters.

Parameters
enableXif true, horizontal minor grid is enabled
divXmaximum number of ticks for horizontal minor grid
enableYif true, left vertical minor grid is enabled
divYmaximum number of ticks for left vertical minor grid
enableY2if true, right vertical minor grid is enabled
divY2maximum number of ticks for right vertical minor grid
See also
getMinorGrid()

References mySecondAxisY, myXMinGridCheck, myXMinGridSpin, myY2MinGridCheck, myY2MinGridSpin, myYMinGridCheck, myYMinGridSpin, onXGridMinorChecked(), onY2GridMinorChecked(), and onYGridMinorChecked().

◆ setRMaxNormMode()

void Plot2d_SetupViewDlg::setRMaxNormMode ( const bool  type)

Set normalization to maximum by right Y axis.

Parameters
typenormalizatoin type: true,false
See also
getMaxNormMode()

References myNormRMaxCheck.

◆ setRMinNormMode()

void Plot2d_SetupViewDlg::setRMinNormMode ( const bool  type)

Set normalization to minimum by right Y axis.

Parameters
typenormalizatoin type: true,false
See also
getMinNormMode()

References myNormRMinCheck.

◆ setScaleMode()

void Plot2d_SetupViewDlg::setScaleMode ( const int  xMode,
const int  yMode 
)

Set scale mode for horizontal and vertical axes.

Parameters
xModehorizontal axis scale mode: 0 (linear), 1 (logarithmic)
yModevertical axis scale mode: 0 (linear), 1 (logarithmic)
See also
getXScaleMode(), getYScaleMode()

References myXModeCombo, and myYModeCombo.

◆ setSelectionColor()

void Plot2d_SetupViewDlg::setSelectionColor ( const QColor &  color)

Set selection color.

Parameters
colorselection color
See also
getSelectionColor()

References OCCViewer::color(), mySelectionBtn, and QtxColorButton::setColor().

◆ setXTitle()

void Plot2d_SetupViewDlg::setXTitle ( bool  enable,
const QString &  title = QString() 
)

Set horizontal axis title attributes.

Parameters
enableif true horizontal axis title is enabled
titlehorizontal axis title
See also
isXTitleEnabled(), getXTitle()

References myTitleXCheck, myTitleXEdit, and onXTitleChecked().

◆ setY2Title()

void Plot2d_SetupViewDlg::setY2Title ( bool  enable,
const QString &  title = QString() 
)

Set right vertical axis title attributes.

Parameters
enableif true right vertical axis title is enabled
titleright vertical axis title
See also
setYTitle(), isY2TitleEnabled(), getY2Title()

References myTitleY2Check, myTitleY2Edit, and onY2TitleChecked().

◆ setYTitle()

void Plot2d_SetupViewDlg::setYTitle ( bool  enable,
const QString &  title = QString() 
)

Set left vertical axis title attributes.

Parameters
enableif true left vertical axis title is enabled
titleleft vertical axis title
See also
setY2Title(), isYTitleEnabled(), getYTitle()

References myTitleYCheck, myTitleYEdit, and onYTitleChecked().

Member Data Documentation

◆ myBackgroundBtn

QtxColorButton* Plot2d_SetupViewDlg::myBackgroundBtn
private

◆ myCancelBtn

QPushButton* Plot2d_SetupViewDlg::myCancelBtn
private

◆ myCurveCombo

QComboBox* Plot2d_SetupViewDlg::myCurveCombo
private

◆ myDefCheck

QCheckBox* Plot2d_SetupViewDlg::myDefCheck
private

◆ myDeviationCl

QtxColorButton* Plot2d_SetupViewDlg::myDeviationCl
private

◆ myDeviationLw

QSpinBox* Plot2d_SetupViewDlg::myDeviationLw
private

◆ myDeviationTs

QSpinBox* Plot2d_SetupViewDlg::myDeviationTs
private

◆ myHelpBtn

QPushButton* Plot2d_SetupViewDlg::myHelpBtn
private

◆ myLegendCheck

QCheckBox* Plot2d_SetupViewDlg::myLegendCheck
private

◆ myLegendCombo

QComboBox* Plot2d_SetupViewDlg::myLegendCombo
private

◆ myLegendFont

QtxFontEdit* Plot2d_SetupViewDlg::myLegendFont
private

◆ myLegendFontColor

QtxColorButton* Plot2d_SetupViewDlg::myLegendFontColor
private

◆ myLegendSymbolType

QComboBox* Plot2d_SetupViewDlg::myLegendSymbolType
private

◆ myMarkerSpin

QSpinBox* Plot2d_SetupViewDlg::myMarkerSpin
private

◆ myNormLMaxCheck

QCheckBox* Plot2d_SetupViewDlg::myNormLMaxCheck
private

◆ myNormLMinCheck

QCheckBox* Plot2d_SetupViewDlg::myNormLMinCheck
private

◆ myNormRMaxCheck

QCheckBox* Plot2d_SetupViewDlg::myNormRMaxCheck
private

◆ myNormRMinCheck

QCheckBox* Plot2d_SetupViewDlg::myNormRMinCheck
private

◆ myOkBtn

QPushButton* Plot2d_SetupViewDlg::myOkBtn
private

◆ mySecondAxisY

bool Plot2d_SetupViewDlg::mySecondAxisY
private

◆ mySelectedLegendFontColor

QtxColorButton* Plot2d_SetupViewDlg::mySelectedLegendFontColor
private

◆ mySelectionBtn

QtxColorButton* Plot2d_SetupViewDlg::mySelectionBtn
private

◆ myTitleCheck

QCheckBox* Plot2d_SetupViewDlg::myTitleCheck
private

◆ myTitleEdit

QLineEdit* Plot2d_SetupViewDlg::myTitleEdit
private

◆ myTitleXCheck

QCheckBox* Plot2d_SetupViewDlg::myTitleXCheck
private

◆ myTitleXEdit

QLineEdit* Plot2d_SetupViewDlg::myTitleXEdit
private

◆ myTitleY2Check

QCheckBox* Plot2d_SetupViewDlg::myTitleY2Check
private

◆ myTitleY2Edit

QLineEdit* Plot2d_SetupViewDlg::myTitleY2Edit
private

◆ myTitleYCheck

QCheckBox* Plot2d_SetupViewDlg::myTitleYCheck
private

◆ myTitleYEdit

QLineEdit* Plot2d_SetupViewDlg::myTitleYEdit
private

◆ myXGridCheck

QCheckBox* Plot2d_SetupViewDlg::myXGridCheck
private

◆ myXGridSpin

QSpinBox* Plot2d_SetupViewDlg::myXGridSpin
private

◆ myXMinGridCheck

QCheckBox* Plot2d_SetupViewDlg::myXMinGridCheck
private

◆ myXMinGridSpin

QSpinBox* Plot2d_SetupViewDlg::myXMinGridSpin
private

◆ myXModeCombo

QComboBox* Plot2d_SetupViewDlg::myXModeCombo
private

◆ myY2GridCheck

QCheckBox* Plot2d_SetupViewDlg::myY2GridCheck
private

◆ myY2GridSpin

QSpinBox* Plot2d_SetupViewDlg::myY2GridSpin
private

◆ myY2MinGridCheck

QCheckBox* Plot2d_SetupViewDlg::myY2MinGridCheck
private

◆ myY2MinGridSpin

QSpinBox* Plot2d_SetupViewDlg::myY2MinGridSpin
private

◆ myY2ModeCombo

QComboBox* Plot2d_SetupViewDlg::myY2ModeCombo
private

◆ myYGridCheck

QCheckBox* Plot2d_SetupViewDlg::myYGridCheck
private

◆ myYGridSpin

QSpinBox* Plot2d_SetupViewDlg::myYGridSpin
private

◆ myYMinGridCheck

QCheckBox* Plot2d_SetupViewDlg::myYMinGridCheck
private

◆ myYMinGridSpin

QSpinBox* Plot2d_SetupViewDlg::myYMinGridSpin
private

◆ myYModeCombo

QComboBox* Plot2d_SetupViewDlg::myYModeCombo
private

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