Version: 6.3.1
Public Member Functions | Protected Slots | Private Attributes

VisuGUI_InputPanel Class Reference

#include <VisuGUI_InputPanel.h>

Inheritance diagram for VisuGUI_InputPanel:
Inheritance graph

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

QWidgetmyGrp
QMap< VisuGUI_BasePanel *, bool > myPanels
VisuGUI_BasePanelmyCurrentPanel

Detailed Description

class VisuGUI_InputPanel Dockable window. Container for GUI controls


Constructor & Destructor Documentation

VisuGUI_InputPanel::VisuGUI_InputPanel ( QWidget theParent = 0)

References myGrp.

VisuGUI_InputPanel::~VisuGUI_InputPanel ( ) [virtual]

Member Function Documentation

void VisuGUI_InputPanel::showPanel ( VisuGUI_BasePanel thePanel)
Parameters:
thePanelwidget

References isEmpty(), myCurrentPanel, myGrp, myPanels, and onClosePanel().

void VisuGUI_InputPanel::hidePanel ( VisuGUI_BasePanel thePanel)
Parameters:
thePanelwidget

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().


Field Documentation

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS