Dialog box to setup Plot2d view window.
#include <Plot2d_SetupViewDlg.h>

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 () | 
| Plot2d_SetupViewDlg::Plot2d_SetupViewDlg | ( | QWidget * | parent = 0,  | 
        
| bool | showDefCheck = false,  | 
        ||
| bool | secondAxisY = false  | 
        ||
| ) | 
| parent | parent widget | 
| showDefCheck | if true, show "Set settings as default" check box  | 
| secondAxisY | if true, show widgets for the second (right) vertical axis  | 
References MARGIN_SIZE, MIN_COMBO_WIDTH, MIN_EDIT_WIDTH, MIN_SPIN_WIDTH, myBackgroundBtn, myCancelBtn, myCurveCombo, myDefCheck, myDeviationCl, myDeviationLw, myDeviationTs, myHelpBtn, myLegendCheck, myLegendCombo, myLegendFont, myLegendFontColor, myLegendSymbolType, myMarkerSpin, myNormLMaxCheck, myNormLMinCheck, myNormRMaxCheck, myNormRMinCheck, myOkBtn, mySecondAxisY, mySelectedLegendFontColor, mySelectionBtn, myTitleCheck, myTitleEdit, myTitleXCheck, myTitleXEdit, myTitleY2Check, myTitleY2Edit, myTitleYCheck, myTitleYEdit, myXGridCheck, myXGridSpin, myXMinGridCheck, myXMinGridSpin, myXModeCombo, myY2GridCheck, myY2GridSpin, myY2MinGridCheck, myY2MinGridSpin, myY2ModeCombo, myYGridCheck, myYGridSpin, myYMinGridCheck, myYMinGridSpin, myYModeCombo, onHelp(), onLegendChecked(), onMainTitleChecked(), onNormLMaxChecked(), onNormLMinChecked(), onNormRMaxChecked(), onNormRMinChecked(), onXGridMajorChecked(), onXGridMinorChecked(), onXTitleChecked(), onY2GridMajorChecked(), onY2GridMinorChecked(), onY2TitleChecked(), onYGridMajorChecked(), onYGridMinorChecked(), onYTitleChecked(), setBackgroundColor(), and SPACING_SIZE.
| Plot2d_SetupViewDlg::~Plot2d_SetupViewDlg | ( | ) | 
| QColor Plot2d_SetupViewDlg::getBackgroundColor | ( | ) | 
References QtxColorButton::color(), and myBackgroundBtn.
| int Plot2d_SetupViewDlg::getCurveType | ( | ) | 
References myCurveCombo.
| QColor Plot2d_SetupViewDlg::getDeviationMarkerCl | ( | ) | const | 
References QtxColorButton::color(), and myDeviationCl.
| int Plot2d_SetupViewDlg::getDeviationMarkerLw | ( | ) | const | 
| int Plot2d_SetupViewDlg::getDeviationMarkerTs | ( | ) | const | 
| QColor Plot2d_SetupViewDlg::getLegendColor | ( | ) | 
References QtxColorButton::color(), and myLegendFontColor.
| QFont Plot2d_SetupViewDlg::getLegendFont | ( | ) | 
| int Plot2d_SetupViewDlg::getLegendPos | ( | ) | 
References myLegendCombo.
| int Plot2d_SetupViewDlg::getLegendSymbolType | ( | ) | 
References myLegendSymbolType.
| bool Plot2d_SetupViewDlg::getLMaxNormMode | ( | ) | 
| bool Plot2d_SetupViewDlg::getLMinNormMode | ( | ) | 
| QString Plot2d_SetupViewDlg::getMainTitle | ( | ) | 
| void Plot2d_SetupViewDlg::getMajorGrid | ( | bool & | enableX, | 
| int & | divX, | ||
| bool & | enableY, | ||
| int & | divY, | ||
| bool & | enableY2, | ||
| int & | divY2 | ||
| ) | 
| enableX | true if horizontal major grid is enabled  | 
| divX | maximum number of ticks for horizontal major grid | 
| enableY | true if left vertical major grid is enabled  | 
| divY | maximum number of ticks for left vertical major grid | 
| enableY2 | true if right vertical major grid is enabled  | 
| divY2 | maximum number of ticks for right vertical major grid | 
References mySecondAxisY, myXGridCheck, myXGridSpin, myY2GridCheck, myY2GridSpin, myYGridCheck, and myYGridSpin.
| int Plot2d_SetupViewDlg::getMarkerSize | ( | ) | 
| void Plot2d_SetupViewDlg::getMinorGrid | ( | bool & | enableX, | 
| int & | divX, | ||
| bool & | enableY, | ||
| int & | divY, | ||
| bool & | enableY2, | ||
| int & | divY2 | ||
| ) | 
| enableX | true if horizontal minor grid is enabled  | 
| divX | maximum number of ticks for horizontal minor grid | 
| enableY | true if left vertical minor grid is enabled  | 
| divY | maximum number of ticks for left vertical minor grid | 
| enableY2 | true if right vertical minor grid is enabled  | 
| divY2 | maximum number of ticks for right vertical minor grid | 
References mySecondAxisY, myXMinGridCheck, myXMinGridSpin, myY2MinGridCheck, myY2MinGridSpin, myYMinGridCheck, and myYMinGridSpin.
| bool Plot2d_SetupViewDlg::getRMaxNormMode | ( | ) | 
| bool Plot2d_SetupViewDlg::getRMinNormMode | ( | ) | 
| QColor Plot2d_SetupViewDlg::getSelectedLegendColor | ( | ) | 
References QtxColorButton::color(), and mySelectedLegendFontColor.
| QColor Plot2d_SetupViewDlg::getSelectionColor | ( | ) | 
References QtxColorButton::color(), and mySelectionBtn.
| int Plot2d_SetupViewDlg::getXScaleMode | ( | ) | 
References myXModeCombo.
| QString Plot2d_SetupViewDlg::getXTitle | ( | ) | 
| QString Plot2d_SetupViewDlg::getY2Title | ( | ) | 
| int Plot2d_SetupViewDlg::getYScaleMode | ( | ) | 
References myYModeCombo.
| QString Plot2d_SetupViewDlg::getYTitle | ( | ) | 
| bool Plot2d_SetupViewDlg::isLegendEnabled | ( | ) | 
| bool Plot2d_SetupViewDlg::isMainTitleEnabled | ( | ) | 
| bool Plot2d_SetupViewDlg::isSetAsDefault | ( | ) | 
true if "Set settings as default" check box is on References myDefCheck.
| bool Plot2d_SetupViewDlg::isXTitleEnabled | ( | ) | 
| bool Plot2d_SetupViewDlg::isY2TitleEnabled | ( | ) | 
| bool Plot2d_SetupViewDlg::isYTitleEnabled | ( | ) | 
      
  | 
  protectedslot | 
Slot, called when user clicks "Help" button
References SUIT_Session::activeApplication(), app, SUIT_Application::onHelpContextModule(), and SUIT_Session::session().
      
  | 
  protectedslot | 
References myLegendCheck, and myLegendCombo.
      
  | 
  protectedslot | 
References myTitleCheck, and myTitleEdit.
      
  | 
  protectedslot | 
      
  | 
  protectedslot | 
      
  | 
  protectedslot | 
      
  | 
  protectedslot | 
      
  | 
  protectedslot | 
References myXGridCheck, and myXMinGridCheck.
      
  | 
  protectedslot | 
      
  | 
  protectedslot | 
References myTitleXCheck, and myTitleXEdit.
      
  | 
  protectedslot | 
References myY2GridCheck, and myY2MinGridCheck.
      
  | 
  protectedslot | 
      
  | 
  protectedslot | 
References myTitleY2Check, and myTitleY2Edit.
      
  | 
  protectedslot | 
References myYGridCheck, and myYMinGridCheck.
      
  | 
  protectedslot | 
      
  | 
  protectedslot | 
References myTitleYCheck, and myTitleYEdit.
| void Plot2d_SetupViewDlg::setBackgroundColor | ( | const QColor & | color | ) | 
| color | background color | 
References myBackgroundBtn, and QtxColorButton::setColor().
| void Plot2d_SetupViewDlg::setCurveType | ( | const int | type | ) | 
| type | curve type: 0 (points), 1 (lines) or 2 (splines) | 
References myCurveCombo.
| void Plot2d_SetupViewDlg::setDeviationMarkerCl | ( | const QColor & | col | ) | 
| color | marker color | 
References myDeviationCl, and QtxColorButton::setColor().
| void Plot2d_SetupViewDlg::setDeviationMarkerLw | ( | const int | width | ) | 
| void Plot2d_SetupViewDlg::setDeviationMarkerTs | ( | const int | size | ) | 
| void Plot2d_SetupViewDlg::setLegend | ( | bool | enable, | 
| int | pos, | ||
| int | symbolType, | ||
| const QFont & | fnt, | ||
| const QColor & | fontColor, | ||
| const QColor & | selFontColor | ||
| ) | 
| if | true legend is shown  | 
| pos | legend position: 0 (left), 1 (right), 2 (top), 3 (bottom) | 
| fnt | legend font | 
| col | legend font color | 
References myLegendCheck, myLegendCombo, myLegendFont, myLegendFontColor, myLegendSymbolType, mySelectedLegendFontColor, onLegendChecked(), QtxColorButton::setColor(), and QtxFontEdit::setCurrentFont().
| void Plot2d_SetupViewDlg::setLMaxNormMode | ( | const bool | type | ) | 
| void Plot2d_SetupViewDlg::setLMinNormMode | ( | const bool | type | ) | 
| void Plot2d_SetupViewDlg::setMainTitle | ( | bool | enable, | 
| const QString & | title = QString()  | 
        ||
| ) | 
| enable | if true main title is enabled  | 
| title | main title | 
References myTitleCheck, myTitleEdit, and onMainTitleChecked().
| void Plot2d_SetupViewDlg::setMajorGrid | ( | bool | enableX, | 
| const int | divX, | ||
| bool | enableY, | ||
| const int | divY, | ||
| bool | enableY2, | ||
| const int | divY2 | ||
| ) | 
| enableX | if true, horizontal major grid is enabled  | 
| divX | maximum number of ticks for horizontal major grid | 
| enableY | if true, left vertical major grid is enabled  | 
| divY | maximum number of ticks for left vertical major grid | 
| enableY2 | if true, right vertical major grid is enabled  | 
| divY2 | maximum number of ticks for right vertical major grid | 
References mySecondAxisY, myXGridCheck, myXGridSpin, myY2GridCheck, myY2GridSpin, myYGridCheck, myYGridSpin, onXGridMajorChecked(), onY2GridMajorChecked(), and onYGridMajorChecked().
| void Plot2d_SetupViewDlg::setMarkerSize | ( | const int | size | ) | 
| void Plot2d_SetupViewDlg::setMinorGrid | ( | bool | enableX, | 
| const int | divX, | ||
| bool | enableY, | ||
| const int | divY, | ||
| bool | enableY2, | ||
| const int | divY2 | ||
| ) | 
| enableX | if true, horizontal minor grid is enabled  | 
| divX | maximum number of ticks for horizontal minor grid | 
| enableY | if true, left vertical minor grid is enabled  | 
| divY | maximum number of ticks for left vertical minor grid | 
| enableY2 | if true, right vertical minor grid is enabled  | 
| divY2 | maximum number of ticks for right vertical minor grid | 
References mySecondAxisY, myXMinGridCheck, myXMinGridSpin, myY2MinGridCheck, myY2MinGridSpin, myYMinGridCheck, myYMinGridSpin, onXGridMinorChecked(), onY2GridMinorChecked(), and onYGridMinorChecked().
| void Plot2d_SetupViewDlg::setRMaxNormMode | ( | const bool | type | ) | 
| void Plot2d_SetupViewDlg::setRMinNormMode | ( | const bool | type | ) | 
| xMode | horizontal axis scale mode: 0 (linear), 1 (logarithmic) | 
| yMode | vertical axis scale mode: 0 (linear), 1 (logarithmic) | 
References myXModeCombo, and myYModeCombo.
| void Plot2d_SetupViewDlg::setSelectionColor | ( | const QColor & | color | ) | 
| color | selection color | 
References mySelectionBtn, and QtxColorButton::setColor().
| void Plot2d_SetupViewDlg::setXTitle | ( | bool | enable, | 
| const QString & | title = QString()  | 
        ||
| ) | 
| enable | if true horizontal axis title is enabled  | 
| title | horizontal axis title | 
References myTitleXCheck, myTitleXEdit, and onXTitleChecked().
| void Plot2d_SetupViewDlg::setY2Title | ( | bool | enable, | 
| const QString & | title = QString()  | 
        ||
| ) | 
| enable | if true right vertical axis title is enabled  | 
| title | right vertical axis title | 
References myTitleY2Check, myTitleY2Edit, and onY2TitleChecked().
| void Plot2d_SetupViewDlg::setYTitle | ( | bool | enable, | 
| const QString & | title = QString()  | 
        ||
| ) | 
| enable | if true left vertical axis title is enabled  | 
| title | left vertical axis title | 
References myTitleYCheck, myTitleYEdit, and onYTitleChecked().
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private |