#include <VisuGUI_Prs3dDlg.h>

Signals | |
| void | updatePreview () |
Public Member Functions | |
| VisuGUI_BarPrefDlg (QWidget *parent) | |
| ~VisuGUI_BarPrefDlg () | |
| void | setRatios (int titleRatioSize, int labelRatioWidth, int barRatioWidth, int barRatioHeight) |
| void | getRatios (int &titleRatioSize, int &labelRatioWidth, int &barRatioWidth, int &barRatioHeight) |
| void | setUnitsVisible (bool isVisible) |
| bool | isUnitsVisible () |
| void | setLabelsPrecision (const int p) |
| int | getLabelsPrecision () const |
| void | setOrientation (const int ori) |
| int | getOrientation () const |
Protected Slots | |
| void | accept () |
| void | reject () |
| void | onHelp () |
Protected Attributes | |
| SalomeApp_IntSpinBox * | myTitleSizeSpin |
| SalomeApp_IntSpinBox * | myLabelSizeSpin |
| SalomeApp_IntSpinBox * | myBarWidthSpin |
| SalomeApp_IntSpinBox * | myBarHeightSpin |
| QCheckBox * | myUnitsChk |
| SalomeApp_IntSpinBox * | myPrecisionSpin |
| int | myTitleSize |
| int | myLabelSize |
| int | myBarWidth |
| int | myBarHeight |
| bool | myUnits |
| int | myPrecision |
| int | myOrientation |
Private Member Functions | |
| void | keyPressEvent (QKeyEvent *e) |
| VisuGUI_BarPrefDlg::VisuGUI_BarPrefDlg | ( | QWidget * | parent | ) |
Constructor
References accept(), myBarHeight, myBarHeightSpin, myBarWidth, myBarWidthSpin, myLabelSize, myLabelSizeSpin, myPrecision, myPrecisionSpin, myTitleSize, myTitleSizeSpin, myUnits, myUnitsChk, onHelp(), reject(), and updatePreview().
| VisuGUI_BarPrefDlg.~VisuGUI_BarPrefDlg | ( | ) |
| void VisuGUI_BarPrefDlg::setRatios | ( | int | titleRatioSize, |
| int | labelRatioWidth, | ||
| int | barRatioWidth, | ||
| int | barRatioHeight | ||
| ) |
References myBarHeight, myBarHeightSpin, myBarWidth, myBarWidthSpin, myLabelSize, myLabelSizeSpin, myTitleSize, and myTitleSizeSpin.
| void VisuGUI_BarPrefDlg::getRatios | ( | int & | titleRatioSize, |
| int & | labelRatioWidth, | ||
| int & | barRatioWidth, | ||
| int & | barRatioHeight | ||
| ) |
References myBarHeightSpin, myBarWidthSpin, myLabelSizeSpin, and myTitleSizeSpin.
| void VisuGUI_BarPrefDlg::setUnitsVisible | ( | bool | isVisible | ) |
References myUnits, and myUnitsChk.
| bool VisuGUI_BarPrefDlg::isUnitsVisible | ( | ) |
References myUnitsChk.
| void VisuGUI_BarPrefDlg::setLabelsPrecision | ( | const int | p | ) |
References myPrecisionSpin.
| int VisuGUI_BarPrefDlg::getLabelsPrecision | ( | ) | const |
References myPrecisionSpin.
| void VisuGUI_BarPrefDlg::setOrientation | ( | const int | ori | ) |
References myOrientation.
| int VisuGUI_BarPrefDlg::getOrientation | ( | ) | const |
References myOrientation.
| void VisuGUI_BarPrefDlg::keyPressEvent | ( | QKeyEvent * | e | ) | [private] |
Provides help on F1 button click
References onHelp().
| void VisuGUI_BarPrefDlg.updatePreview | ( | ) | [signal] |
| void VisuGUI_BarPrefDlg::accept | ( | ) | [protected, slot] |
Called when <Ok> button is clicked, store begin values
References myBarHeight, myBarHeightSpin, myBarWidth, myBarWidthSpin, myLabelSize, myLabelSizeSpin, myOrientation, myPrecision, myPrecisionSpin, myTitleSize, myTitleSizeSpin, myUnits, and myUnitsChk.
| void VisuGUI_BarPrefDlg::reject | ( | ) | [protected, slot] |
Called when <Cancel> button is clicked, restore begin values
References myBarHeight, myBarHeightSpin, myBarWidth, myBarWidthSpin, myLabelSize, myLabelSizeSpin, myPrecision, myPrecisionSpin, myTitleSize, myTitleSizeSpin, myUnits, and myUnitsChk.
| void VisuGUI_BarPrefDlg::onHelp | ( | ) | [protected, slot] |
SalomeApp_IntSpinBox* VisuGUI_BarPrefDlg.myTitleSizeSpin [protected] |
SalomeApp_IntSpinBox* VisuGUI_BarPrefDlg.myLabelSizeSpin [protected] |
SalomeApp_IntSpinBox* VisuGUI_BarPrefDlg.myBarWidthSpin [protected] |
SalomeApp_IntSpinBox* VisuGUI_BarPrefDlg.myBarHeightSpin [protected] |
QCheckBox* VisuGUI_BarPrefDlg.myUnitsChk [protected] |
SalomeApp_IntSpinBox* VisuGUI_BarPrefDlg.myPrecisionSpin [protected] |
int VisuGUI_BarPrefDlg.myTitleSize [protected] |
int VisuGUI_BarPrefDlg.myLabelSize [protected] |
int VisuGUI_BarPrefDlg.myBarWidth [protected] |
int VisuGUI_BarPrefDlg.myBarHeight [protected] |
bool VisuGUI_BarPrefDlg.myUnits [protected] |
int VisuGUI_BarPrefDlg.myPrecision [protected] |
int VisuGUI_BarPrefDlg.myOrientation [protected] |