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

VisuGUI_InputPane Class Reference

#include <VisuGUI_InputPane.h>

Inheritance diagram for VisuGUI_InputPane:
Inheritance graph

Public Slots

virtual void onSelectionChanged ()
virtual void onReInitialize (bool)
virtual void changeTimeStamp (int)

Public Member Functions

 VisuGUI_InputPane (VISU::VISUType theType, SalomeApp_Module *theModule, VisuGUI_Prs3dDlg *theDialog)
virtual ~VisuGUI_InputPane ()
virtual bool check ()
virtual void clear ()
void initFromPrsObject (VISU::ColoredPrs3d_i *)
int storeToPrsObject (VISU::ColoredPrs3d_i *)
bool eventFilter (QObject *object, QEvent *event)
void SetRestoreInitialSelection (bool on)
bool GetRestoreInitialSelection ()

Private Slots

void onTypeChanged ()
void onListDoubleClicked (QListWidgetItem *theItem)
void onAdd ()
void onRemove ()

Private Attributes

SalomeApp_ModulemyModule
VisuGUI_Prs3dDlgmyDialog
VISU::ColoredPrs3d_imyPrs
QGroupBoxmyUseGroupsGroupBox
VisuGUI_ListWidgetmyAllGroups
VisuGUI_ListWidgetmySelectedGroups
QToolButton * myAddButton
QToolButton * myRemoveButton
QGroupBoxmyDataSourceGroupBox
QLineEditmyMedFile
QLineEditmyMeshName
QLineEditmyEntityName
QLineEditmyFieldName
QComboBox * myTimeStamps
QCheckBox * myReInit
VISU::Result_var myResult
int myEntity
bool isRestoreInitialSelection
VisuGUI_FieldFiltermyFieldFilter
SALOME_ListIO mySavedSelection

Constructor & Destructor Documentation

VisuGUI_InputPane::VisuGUI_InputPane ( VISU::VISUType  theType,
SalomeApp_Module theModule,
VisuGUI_Prs3dDlg theDialog 
)
VisuGUI_InputPane::~VisuGUI_InputPane ( ) [virtual]

Member Function Documentation

bool VisuGUI_InputPane::check ( ) [virtual]

References myTimeStamps.

void VisuGUI_InputPane::clear ( ) [virtual]
void VisuGUI_InputPane::initFromPrsObject ( VISU::ColoredPrs3d_i thePrs)
int VisuGUI_InputPane::storeToPrsObject ( VISU::ColoredPrs3d_i thePrs)
bool VisuGUI_InputPane::eventFilter ( QObject object,
QEvent *  event 
)

Event filter

References mySelectedGroups, and onRemove().

void VisuGUI_InputPane::SetRestoreInitialSelection ( bool  on)
bool VisuGUI_InputPane::GetRestoreInitialSelection ( )
void VisuGUI_InputPane::onSelectionChanged ( ) [virtual, slot]
void VisuGUI_InputPane::onReInitialize ( bool  on) [virtual, slot]

References onSelectionChanged().

void VisuGUI_InputPane::changeTimeStamp ( int  theTimeStamp) [virtual, slot]
void VisuGUI_InputPane::onTypeChanged ( ) [private, slot]

Called when the checkbox is toggled

References myAddButton, myAllGroups, myRemoveButton, mySelectedGroups, and myUseGroupsGroupBox.

void VisuGUI_InputPane::onListDoubleClicked ( QListWidgetItem *  theItem) [private, slot]

Called when an item of listbox is double-clicked

References myAllGroups, and mySelectedGroups.

void VisuGUI_InputPane::onAdd ( ) [private, slot]

Called when add button is clicked, adds item to choosen groups

References myAllGroups, and mySelectedGroups.

void VisuGUI_InputPane::onRemove ( ) [private, slot]

Called when remove button is clicked, remove selected items from choosen

References mySelectedGroups.


Field Documentation

QToolButton* VisuGUI_InputPane.myAddButton [private]
QToolButton* VisuGUI_InputPane.myRemoveButton [private]
QComboBox* VisuGUI_InputPane.myTimeStamps [private]
QCheckBox* VisuGUI_InputPane.myReInit [private]
VISU::Result_var VisuGUI_InputPane.myResult [private]
SALOME_ListIO VisuGUI_InputPane.mySavedSelection [private]
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