Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
GEOMToolsGUI_ReduceStudyDlg Class Reference

#include <GEOMToolsGUI_ReduceStudyDlg.h>

Inheritance diagram for GEOMToolsGUI_ReduceStudyDlg:
Inheritance graph

Public Member Functions

 GEOMToolsGUI_ReduceStudyDlg (QWidget *)
 
 ~GEOMToolsGUI_ReduceStudyDlg ()
 

Private Slots

void onItemClicked (QTreeWidgetItem *, int)
 
void onHeaderClicked (int)
 
void selectionChanged ()
 
void update ()
 
void clickOnOk ()
 
void clickOnHelp ()
 

Private Member Functions

void init (const std::set< std::string > &theObjectEntries)
 
std::set< std::string > getSelectedObjects () const
 
void createTreeWidget (QTreeWidget *)
 
QGroupBoxcreateButtonGroup (QButtonGroup *)
 
void addObjectsToTree (QTreeWidget *, std::set< std::string > &)
 
GEOMToolsGUI_TreeWidgetItemaddSubObject (QTreeWidget *, std::set< std::string > &, GEOM::GEOM_Object_var)
 
GEOMToolsGUI_TreeWidgetItemfindObjectInTree (QTreeWidget *, GEOM::GEOM_Object_var)
 
void checkVisibleIcon (QTreeWidget *)
 
bool isObjectDrawable (std::string)
 
void unpublishObjects (std::set< std::string > &)
 
void removeObjects (std::set< std::string > &)
 
void removeObject (std::string &)
 
void removeEmptyFolders ()
 
void getEmptyFolders (_PTR(SObject), std::set< std::string > &)
 
 _PTR (Study) myStudy
 

Private Attributes

QTreeWidgetmyTreeKeptObjects
 
QTreeWidgetmyTreeRemoveObjects
 
std::map< QTreeWidget *, bool > myMapTreeSelectAll
 
QButtonGroup * myGroupIntermediates
 
QButtonGroup * myGroupSubObjects
 
QCheckBox * myCBRemoveEmptyFolder
 
QCheckBox * myCBSoftRemoval
 
std::set< std::string > myMainEntries
 
std::set< std::string > myKeptObjects
 
std::set< std::string > myRemovedObjects
 
std::set< std::string > myListParents
 
std::set< std::string > myListSubObjects
 
QIcon myVisible
 
QIcon myInvisible
 
GEOM_Displayer myDisplayer
 
SalomeApp_Application * myApp
 

Constructor & Destructor Documentation

GEOMToolsGUI_ReduceStudyDlg::~GEOMToolsGUI_ReduceStudyDlg ( )

Member Function Documentation

GEOMToolsGUI_ReduceStudyDlg::_PTR ( Study  )
private
void GEOMToolsGUI_ReduceStudyDlg::addObjectsToTree ( QTreeWidget theWidget,
std::set< std::string > &  theObjects 
)
private
GEOMToolsGUI_TreeWidgetItem * GEOMToolsGUI_ReduceStudyDlg::addSubObject ( QTreeWidget theWidget,
std::set< std::string > &  theObjects,
GEOM::GEOM_Object_var  theObject 
)
private
void GEOMToolsGUI_ReduceStudyDlg::checkVisibleIcon ( QTreeWidget theWidget)
private
void GEOMToolsGUI_ReduceStudyDlg::clickOnHelp ( )
privateslot

References myApp.

QGroupBox * GEOMToolsGUI_ReduceStudyDlg::createButtonGroup ( QButtonGroup *  theButtonGroup)
private
void GEOMToolsGUI_ReduceStudyDlg::createTreeWidget ( QTreeWidget theTreeWidget)
private
GEOMToolsGUI_TreeWidgetItem * GEOMToolsGUI_ReduceStudyDlg::findObjectInTree ( QTreeWidget theWidget,
GEOM::GEOM_Object_var  theObject 
)
private
void GEOMToolsGUI_ReduceStudyDlg::getEmptyFolders ( _PTR(SObject)  theSO,
std::set< std::string > &  theFolders 
)
private

References _PTR().

std::set< std::string > GEOMToolsGUI_ReduceStudyDlg::getSelectedObjects ( ) const
private
void GEOMToolsGUI_ReduceStudyDlg::init ( const std::set< std::string > &  theObjectEntries)
private
bool GEOMToolsGUI_ReduceStudyDlg::isObjectDrawable ( std::string  theStudyEntry)
private

References _PTR().

void GEOMToolsGUI_ReduceStudyDlg::removeEmptyFolders ( )
private
void GEOMToolsGUI_ReduceStudyDlg::removeObject ( std::string &  theStudyEntry)
private
void GEOMToolsGUI_ReduceStudyDlg::removeObjects ( std::set< std::string > &  theObjects)
private
void GEOMToolsGUI_ReduceStudyDlg::selectionChanged ( )
privateslot

References getSelectedObjects(), and init().

void GEOMToolsGUI_ReduceStudyDlg::unpublishObjects ( std::set< std::string > &  theObjects)
private

Member Data Documentation

SalomeApp_Application* GEOMToolsGUI_ReduceStudyDlg::myApp
private
QCheckBox* GEOMToolsGUI_ReduceStudyDlg::myCBRemoveEmptyFolder
private
QCheckBox* GEOMToolsGUI_ReduceStudyDlg::myCBSoftRemoval
private
GEOM_Displayer GEOMToolsGUI_ReduceStudyDlg::myDisplayer
private
QButtonGroup* GEOMToolsGUI_ReduceStudyDlg::myGroupIntermediates
private
QButtonGroup* GEOMToolsGUI_ReduceStudyDlg::myGroupSubObjects
private
QIcon GEOMToolsGUI_ReduceStudyDlg::myInvisible
private
std::set<std::string> GEOMToolsGUI_ReduceStudyDlg::myKeptObjects
private
std::set<std::string> GEOMToolsGUI_ReduceStudyDlg::myListParents
private
std::set<std::string> GEOMToolsGUI_ReduceStudyDlg::myListSubObjects
private
std::set<std::string> GEOMToolsGUI_ReduceStudyDlg::myMainEntries
private
std::map<QTreeWidget*,bool> GEOMToolsGUI_ReduceStudyDlg::myMapTreeSelectAll
private
std::set<std::string> GEOMToolsGUI_ReduceStudyDlg::myRemovedObjects
private
QTreeWidget* GEOMToolsGUI_ReduceStudyDlg::myTreeKeptObjects
private
QTreeWidget* GEOMToolsGUI_ReduceStudyDlg::myTreeRemoveObjects
private
QIcon GEOMToolsGUI_ReduceStudyDlg::myVisible
private

The documentation for this class was generated from the following files: