#include <VisuGUI_SetupPlot2dDlg.h>

Public Slots | |
| void | onAutoChanged () |
| void | onHVToggled (bool) |
Signals | |
| void | autoClicked () |
| void | horToggled (bool) |
| void | verToggled (bool) |
| void | ver2Toggled (bool) |
Public Member Functions | |
| VisuGUI_ItemContainer (QObject *parent=0) | |
| void | createWidgets (QWidget *parentWidget, const QStringList &) |
| void | enableWidgets (bool enable) |
| void | setHorizontalOn (bool on) |
| bool | isHorizontalOn () const |
| void | setVerticalOn (bool on) |
| bool | isVerticalOn () const |
| void | setVertical2On (bool on) |
| bool | isVertical2On () const |
| bool | isAutoAssign () const |
| void | setAutoAssign (bool on) |
| void | setLine (const int line, const int width) |
| int | getLine () const |
| int | getLineWidth () const |
| void | setMarker (const int marker) |
| int | getMarker () const |
| void | setColor (const QColor &color) |
| QColor | getColor () const |
| int | assigned () const |
Data Fields | |
| bool | myEnabled |
| QToolButton * | myHBtn |
| QToolButton * | myVBtn |
| QToolButton * | myV2Btn |
| QLabel * | myTitleLab |
| QLabel * | myUnitLab |
| QCheckBox * | myAutoCheck |
| QComboBox * | myLineCombo |
| SalomeApp_IntSpinBox * | myLineSpin |
| QComboBox * | myMarkerCombo |
| QComboBox * | myAssigned |
| QtxColorButton * | myColorBtn |
Protected Member Functions | |
| void | updateState () |
| VisuGUI_ItemContainer::VisuGUI_ItemContainer | ( | QObject * | parent = 0 | ) |
Constructor
| void VisuGUI_ItemContainer::createWidgets | ( | QWidget * | parentWidget, |
| const QStringList & | lst | ||
| ) |
Creates widgets
References MAX_LINE_WIDTH, myAssigned, myAutoCheck, myColorBtn, myHBtn, myLineCombo, myLineSpin, myMarkerCombo, myTitleLab, myUnitLab, myV2Btn, myVBtn, onAutoChanged(), onHVToggled(), setColor(), and updateState().
| void VisuGUI_ItemContainer::enableWidgets | ( | bool | enable | ) |
Enables attributes widgets
References myEnabled, and updateState().
| void VisuGUI_ItemContainer::setHorizontalOn | ( | bool | on | ) |
Sets horizontal button's state on
References myHBtn.
| bool VisuGUI_ItemContainer::isHorizontalOn | ( | ) | const |
Gets horizontal button's state
References myHBtn.
| void VisuGUI_ItemContainer::setVerticalOn | ( | bool | on | ) |
Sets first vertical button's state on
References myVBtn.
| bool VisuGUI_ItemContainer::isVerticalOn | ( | ) | const |
Gets first vertical button's state
References myVBtn.
| void VisuGUI_ItemContainer::setVertical2On | ( | bool | on | ) |
Sets second vertical button's state on
References myV2Btn.
| bool VisuGUI_ItemContainer::isVertical2On | ( | ) | const |
Gets second vertical button's state
References myV2Btn.
| bool VisuGUI_ItemContainer::isAutoAssign | ( | ) | const |
Gets item AutoAssign flag state
References myAutoCheck.
| void VisuGUI_ItemContainer::setAutoAssign | ( | bool | on | ) |
Sets item AutoAssign flag state
References myAutoCheck, and updateState().
| void VisuGUI_ItemContainer::setLine | ( | const int | line, |
| const int | width | ||
| ) |
Sets item line type and width
References myLineCombo.
| int VisuGUI_ItemContainer::getLine | ( | ) | const |
Gets item line type
References myLineCombo.
| int VisuGUI_ItemContainer::getLineWidth | ( | ) | const |
Gets item line width
References myLineSpin.
| void VisuGUI_ItemContainer::setMarker | ( | const int | marker | ) |
Sets item marker type
References myMarkerCombo.
| int VisuGUI_ItemContainer::getMarker | ( | ) | const |
Gets item marker type
References myMarkerCombo.
| void VisuGUI_ItemContainer::setColor | ( | const QColor & | color | ) |
Sets item color
References myColorBtn.
| QColor VisuGUI_ItemContainer::getColor | ( | ) | const |
Gets item color
References myColorBtn.
| int VisuGUI_ItemContainer::assigned | ( | ) | const |
References isVertical2On(), isVerticalOn(), and myAssigned.
| void VisuGUI_ItemContainer::updateState | ( | ) | [protected] |
Enables/disables widgets
References myAutoCheck, myColorBtn, myEnabled, myLineCombo, myLineSpin, and myMarkerCombo.
| void VisuGUI_ItemContainer.autoClicked | ( | ) | [signal] |
| void VisuGUI_ItemContainer.horToggled | ( | bool | ) | [signal] |
| void VisuGUI_ItemContainer.verToggled | ( | bool | ) | [signal] |
| void VisuGUI_ItemContainer.ver2Toggled | ( | bool | ) | [signal] |
| void VisuGUI_ItemContainer::onAutoChanged | ( | ) | [slot] |
Slot, called when user clickes <Auto assign>=""> check box
References autoClicked(), and updateState().
| void VisuGUI_ItemContainer::onHVToggled | ( | bool | on | ) | [slot] |
<Color> button slot, invokes color selection dialog box
<H> and <V> buttons slot
References horToggled(), myHBtn, myV2Btn, myVBtn, ver2Toggled(), and verToggled().
| QToolButton* VisuGUI_ItemContainer.myHBtn |
| QToolButton* VisuGUI_ItemContainer.myVBtn |
| QToolButton* VisuGUI_ItemContainer.myV2Btn |
| QLabel* VisuGUI_ItemContainer.myTitleLab |
| QLabel* VisuGUI_ItemContainer.myUnitLab |
| QCheckBox* VisuGUI_ItemContainer.myAutoCheck |
| QComboBox* VisuGUI_ItemContainer.myLineCombo |
| SalomeApp_IntSpinBox* VisuGUI_ItemContainer.myLineSpin |
| QComboBox* VisuGUI_ItemContainer.myMarkerCombo |
| QComboBox * VisuGUI_ItemContainer.myAssigned |
| QtxColorButton* VisuGUI_ItemContainer.myColorBtn |