#include <VisuGUI_InputPanel.h>

Public Member Functions | |
| VisuGUI_InputPanel (QWidget *theParent=0) | |
| Constructor creates enmpty docable window with invisible QVBox to be used as container of child widgets. | |
| virtual | ~VisuGUI_InputPanel () |
| Destructor: VisuGUI_InputPanel. | |
| void | showPanel (VisuGUI_BasePanel *thePanel) |
| Shows thePanel in input panel. If there is visible panel then it is hidden. | |
| void | hidePanel (VisuGUI_BasePanel *thePanel) |
| Hides thePanel in input panel. | |
| void | clear () |
| Hide all children panels. | |
| bool | isEmpty () const |
| Returns true if no panels are shown. | |
| bool | isShown (VisuGUI_BasePanel *thePanel) const |
| Returns true if the panel is shown. | |
Protected Slots | |
| void | onClosePanel () |
| Close panel which emits signal close(). | |
Private Attributes | |
| QWidget * | myGrp |
| QMap< VisuGUI_BasePanel *, bool > | myPanels |
| VisuGUI_BasePanel * | myCurrentPanel |
class VisuGUI_InputPanel Dockable window. Container for GUI controls
| VisuGUI_InputPanel::~VisuGUI_InputPanel | ( | ) | [virtual] |
| void VisuGUI_InputPanel::showPanel | ( | VisuGUI_BasePanel * | thePanel | ) |
| thePanel | widget |
References isEmpty(), myCurrentPanel, myGrp, myPanels, and onClosePanel().
| void VisuGUI_InputPanel::hidePanel | ( | VisuGUI_BasePanel * | thePanel | ) |
| thePanel | widget |
References isEmpty(), myCurrentPanel, and myPanels.
| void VisuGUI_InputPanel::clear | ( | ) |
References hidePanel(), and myCurrentPanel.
| bool VisuGUI_InputPanel::isEmpty | ( | ) | const |
References myPanels.
| bool VisuGUI_InputPanel::isShown | ( | VisuGUI_BasePanel * | thePanel | ) | const |
References myPanels.
| void VisuGUI_InputPanel::onClosePanel | ( | ) | [protected, slot] |
References hidePanel().
QWidget* VisuGUI_InputPanel.myGrp [private] |
QMap<VisuGUI_BasePanel*, bool> VisuGUI_InputPanel.myPanels [private] |