Version: 8.3.0
SMESHGUI_Preferences_ScalarBarDlg Class Reference

#include <SMESHGUI_Preferences_ScalarBarDlg.h>

Inheritance diagram for SMESHGUI_Preferences_ScalarBarDlg:

Public Member Functions

 ~SMESHGUI_Preferences_ScalarBarDlg ()
 SMESHGUI_Preferences_ScalarBarDlg::~SMESHGUI_Preferences_ScalarBarDlg. More...
 
void setOriginAndSize (const double, const double, const double, const double)
 SMESHGUI_Preferences_ScalarBarDlg::setOriginAndSize. More...
 
void initScalarBarFromResources ()
 SMESHGUI_Preferences_ScalarBarDlg::initScalarBarFromResources() More...
 

Static Public Member Functions

static void ScalarBarProperties (SMESHGUI *)
 SMESHGUI_Preferences_ScalarBarDlg::ScalarBarProperties. More...
 

Protected Slots

virtual void reject ()
 SMESHGUI_Preferences_ScalarBarDlg::reject. More...
 
void onOk ()
 SMESHGUI_Preferences_ScalarBarDlg::onOk. More...
 
bool onApply ()
 SMESHGUI_Preferences_ScalarBarDlg::onApply. More...
 
void onHelp ()
 SMESHGUI_Preferences_ScalarBarDlg::onHelp. More...
 
void onSelectionChanged ()
 SMESHGUI_Preferences_ScalarBarDlg::onSelectionChanged. More...
 
void onXYChanged ()
 SMESHGUI_Preferences_ScalarBarDlg::onXYChanged. More...
 
void onMinMaxChanged ()
 SMESHGUI_Preferences_ScalarBarDlg::onMinMaxChanged. More...
 
void onOrientationChanged ()
 SMESHGUI_Preferences_ScalarBarDlg::onOrientationChanged. More...
 
void onDistributionChanged (int)
 SMESHGUI_Preferences_ScalarBarDlg::onDistributionChanged. More...
 
void onDistributionActivated (bool)
 SMESHGUI_Preferences_ScalarBarDlg::onDistributionActivated. More...
 

Private Member Functions

 SMESHGUI_Preferences_ScalarBarDlg (SMESHGUI *)
 SMESHGUI_Preferences_ScalarBarDlg::SMESHGUI_Preferences_ScalarBarDlg. More...
 

Private Attributes

SMESHGUImySMESHGUI
 
LightApp_SelectionMgr * mySelectionMgr
 
SMESH_ActormyActor
 
double myIniX
 
double myIniY
 
double myIniW
 
double myIniH
 
int myIniOrientation
 
double DEF_VER_X
 
double DEF_VER_Y
 
double DEF_VER_H
 
double DEF_VER_W
 
double DEF_HOR_X
 
double DEF_HOR_Y
 
double DEF_HOR_H
 
double DEF_HOR_W
 
QGroupBoxmyRangeGrp
 
QLineEdit * myMinEdit
 
QLineEdit * myMaxEdit
 
QCheckBox * myLogarithmicCheck
 
QGroupBoxmyFontGrp
 
QtxColorButton * myTitleColorBtn
 
QComboBox * myTitleFontCombo
 
QCheckBox * myTitleBoldCheck
 
QCheckBox * myTitleItalicCheck
 
QCheckBox * myTitleShadowCheck
 
QtxColorButton * myLabelsColorBtn
 
QComboBox * myLabelsFontCombo
 
QCheckBox * myLabelsBoldCheck
 
QCheckBox * myLabelsItalicCheck
 
QCheckBox * myLabelsShadowCheck
 
QGroupBoxmyLabColorGrp
 
SalomeApp_IntSpinBox * myColorsSpin
 
SalomeApp_IntSpinBox * myLabelsSpin
 
QGroupBoxmyOrientationGrp
 
QRadioButton * myVertRadioBtn
 
QRadioButton * myHorizRadioBtn
 
QGroupBoxmyOriginDimGrp
 
SMESHGUI_SpinBoxmyXSpin
 
SMESHGUI_SpinBoxmyYSpin
 
SMESHGUI_SpinBoxmyWidthSpin
 
SMESHGUI_SpinBoxmyHeightSpin
 
QGroupBoxmyDistributionGrp
 
QRadioButton * myDMonoColor
 
QRadioButton * myDMultiColor
 
QtxColorButton * myMonoColorBtn
 
QLabel * myDistributionColorLbl
 
QGroupBoxmyButtonGrp
 
QButtonGroup * myDistribColorGrp
 
QPushButton * myOkBtn
 
QPushButton * myApplyBtn
 
QPushButton * myCancelBtn
 
QPushButton * myHelpBtn
 
QString myHelpFileName
 

Static Private Attributes

static
SMESHGUI_Preferences_ScalarBarDlg
myDlg = 0
 

Constructor & Destructor Documentation

SMESHGUI_Preferences_ScalarBarDlg::~SMESHGUI_Preferences_ScalarBarDlg ( )

Member Function Documentation

void SMESHGUI_Preferences_ScalarBarDlg::initScalarBarFromResources ( )
void SMESHGUI_Preferences_ScalarBarDlg::onDistributionActivated ( bool  on)
protectedslot
void SMESHGUI_Preferences_ScalarBarDlg::onDistributionChanged ( int  id)
protectedslot
void SMESHGUI_Preferences_ScalarBarDlg::onHelp ( )
protectedslot
void SMESHGUI_Preferences_ScalarBarDlg::onMinMaxChanged ( )
protectedslot

SMESHGUI_Preferences_ScalarBarDlg::onMinMaxChanged.

Called when Scalar Range values are changed

References myLogarithmicCheck, myMaxEdit, and myMinEdit.

Referenced by SMESHGUI_Preferences_ScalarBarDlg().

void SMESHGUI_Preferences_ScalarBarDlg::onOk ( )
protectedslot
void SMESHGUI_Preferences_ScalarBarDlg::onOrientationChanged ( )
protectedslot
void SMESHGUI_Preferences_ScalarBarDlg::onXYChanged ( )
protectedslot
void SMESHGUI_Preferences_ScalarBarDlg::reject ( )
protectedvirtualslot
void SMESHGUI_Preferences_ScalarBarDlg::ScalarBarProperties ( SMESHGUI theModule)
static

SMESHGUI_Preferences_ScalarBarDlg::ScalarBarProperties.

Gets the only instance of "Scalar Bar Properties" dialog box

References myDlg, and SMESHGUI_Preferences_ScalarBarDlg().

Referenced by SMESHGUI::OnGUIEvent().

void SMESHGUI_Preferences_ScalarBarDlg::setOriginAndSize ( const double  x,
const double  y,
const double  w,
const double  h 
)

Field Documentation

double SMESHGUI_Preferences_ScalarBarDlg::DEF_HOR_H
private
double SMESHGUI_Preferences_ScalarBarDlg::DEF_HOR_W
private
double SMESHGUI_Preferences_ScalarBarDlg::DEF_HOR_X
private
double SMESHGUI_Preferences_ScalarBarDlg::DEF_HOR_Y
private
double SMESHGUI_Preferences_ScalarBarDlg::DEF_VER_H
private
double SMESHGUI_Preferences_ScalarBarDlg::DEF_VER_W
private
double SMESHGUI_Preferences_ScalarBarDlg::DEF_VER_X
private
double SMESHGUI_Preferences_ScalarBarDlg::DEF_VER_Y
private
SMESH_Actor* SMESHGUI_Preferences_ScalarBarDlg::myActor
private
QPushButton* SMESHGUI_Preferences_ScalarBarDlg::myApplyBtn
private
QGroupBox* SMESHGUI_Preferences_ScalarBarDlg::myButtonGrp
private
QPushButton* SMESHGUI_Preferences_ScalarBarDlg::myCancelBtn
private
SalomeApp_IntSpinBox* SMESHGUI_Preferences_ScalarBarDlg::myColorsSpin
private
QButtonGroup* SMESHGUI_Preferences_ScalarBarDlg::myDistribColorGrp
private
QLabel* SMESHGUI_Preferences_ScalarBarDlg::myDistributionColorLbl
private
QGroupBox* SMESHGUI_Preferences_ScalarBarDlg::myDistributionGrp
private
SMESHGUI_Preferences_ScalarBarDlg * SMESHGUI_Preferences_ScalarBarDlg::myDlg = 0
staticprivate

Referenced by reject(), and ScalarBarProperties().

QRadioButton* SMESHGUI_Preferences_ScalarBarDlg::myDMonoColor
private
QRadioButton* SMESHGUI_Preferences_ScalarBarDlg::myDMultiColor
private
QGroupBox* SMESHGUI_Preferences_ScalarBarDlg::myFontGrp
private
SMESHGUI_SpinBox* SMESHGUI_Preferences_ScalarBarDlg::myHeightSpin
private
QPushButton* SMESHGUI_Preferences_ScalarBarDlg::myHelpBtn
private
QString SMESHGUI_Preferences_ScalarBarDlg::myHelpFileName
private
QRadioButton* SMESHGUI_Preferences_ScalarBarDlg::myHorizRadioBtn
private
double SMESHGUI_Preferences_ScalarBarDlg::myIniH
private
int SMESHGUI_Preferences_ScalarBarDlg::myIniOrientation
private
double SMESHGUI_Preferences_ScalarBarDlg::myIniW
private
double SMESHGUI_Preferences_ScalarBarDlg::myIniX
private
double SMESHGUI_Preferences_ScalarBarDlg::myIniY
private
QGroupBox* SMESHGUI_Preferences_ScalarBarDlg::myLabColorGrp
private
QCheckBox* SMESHGUI_Preferences_ScalarBarDlg::myLabelsBoldCheck
private
QtxColorButton* SMESHGUI_Preferences_ScalarBarDlg::myLabelsColorBtn
private
QComboBox* SMESHGUI_Preferences_ScalarBarDlg::myLabelsFontCombo
private
QCheckBox* SMESHGUI_Preferences_ScalarBarDlg::myLabelsItalicCheck
private
QCheckBox* SMESHGUI_Preferences_ScalarBarDlg::myLabelsShadowCheck
private
SalomeApp_IntSpinBox* SMESHGUI_Preferences_ScalarBarDlg::myLabelsSpin
private
QCheckBox* SMESHGUI_Preferences_ScalarBarDlg::myLogarithmicCheck
private
QLineEdit* SMESHGUI_Preferences_ScalarBarDlg::myMaxEdit
private
QLineEdit* SMESHGUI_Preferences_ScalarBarDlg::myMinEdit
private
QtxColorButton* SMESHGUI_Preferences_ScalarBarDlg::myMonoColorBtn
private
QPushButton* SMESHGUI_Preferences_ScalarBarDlg::myOkBtn
private
QGroupBox* SMESHGUI_Preferences_ScalarBarDlg::myOrientationGrp
private
QGroupBox* SMESHGUI_Preferences_ScalarBarDlg::myOriginDimGrp
private
QGroupBox* SMESHGUI_Preferences_ScalarBarDlg::myRangeGrp
private
LightApp_SelectionMgr* SMESHGUI_Preferences_ScalarBarDlg::mySelectionMgr
private
SMESHGUI* SMESHGUI_Preferences_ScalarBarDlg::mySMESHGUI
private
QCheckBox* SMESHGUI_Preferences_ScalarBarDlg::myTitleBoldCheck
private
QtxColorButton* SMESHGUI_Preferences_ScalarBarDlg::myTitleColorBtn
private
QComboBox* SMESHGUI_Preferences_ScalarBarDlg::myTitleFontCombo
private
QCheckBox* SMESHGUI_Preferences_ScalarBarDlg::myTitleItalicCheck
private
QCheckBox* SMESHGUI_Preferences_ScalarBarDlg::myTitleShadowCheck
private
QRadioButton* SMESHGUI_Preferences_ScalarBarDlg::myVertRadioBtn
private
SMESHGUI_SpinBox* SMESHGUI_Preferences_ScalarBarDlg::myWidthSpin
private
SMESHGUI_SpinBox* SMESHGUI_Preferences_ScalarBarDlg::myXSpin
private
SMESHGUI_SpinBox* SMESHGUI_Preferences_ScalarBarDlg::myYSpin
private