Version: 9.12.0
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 > &)
 

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

GEOMToolsGUI_ReduceStudyDlg::~GEOMToolsGUI_ReduceStudyDlg ( )

Member Function Documentation

◆ addObjectsToTree()

void GEOMToolsGUI_ReduceStudyDlg::addObjectsToTree ( QTreeWidget theWidget,
std::set< std::string > &  theObjects 
)
private

◆ addSubObject()

GEOMToolsGUI_TreeWidgetItem * GEOMToolsGUI_ReduceStudyDlg::addSubObject ( QTreeWidget theWidget,
std::set< std::string > &  theObjects,
GEOM::GEOM_Object_var  theObject 
)
private

◆ checkVisibleIcon()

void GEOMToolsGUI_ReduceStudyDlg::checkVisibleIcon ( QTreeWidget theWidget)
private

◆ clickOnHelp

void GEOMToolsGUI_ReduceStudyDlg::clickOnHelp ( )
privateslot

References myApp.

◆ clickOnOk

◆ createButtonGroup()

QGroupBox * GEOMToolsGUI_ReduceStudyDlg::createButtonGroup ( QButtonGroup *  theButtonGroup)
private

◆ createTreeWidget()

void GEOMToolsGUI_ReduceStudyDlg::createTreeWidget ( QTreeWidget theTreeWidget)
private

◆ findObjectInTree()

GEOMToolsGUI_TreeWidgetItem * GEOMToolsGUI_ReduceStudyDlg::findObjectInTree ( QTreeWidget theWidget,
GEOM::GEOM_Object_var  theObject 
)
private

◆ getEmptyFolders()

void GEOMToolsGUI_ReduceStudyDlg::getEmptyFolders ( _PTR(SObject)  theSO,
std::set< std::string > &  theFolders 
)
private

◆ getSelectedObjects()

std::set< std::string > GEOMToolsGUI_ReduceStudyDlg::getSelectedObjects ( ) const
private

◆ init()

void GEOMToolsGUI_ReduceStudyDlg::init ( const std::set< std::string > &  theObjectEntries)
private

◆ isObjectDrawable()

bool GEOMToolsGUI_ReduceStudyDlg::isObjectDrawable ( std::string  theStudyEntry)
private

◆ onHeaderClicked

◆ onItemClicked

◆ removeEmptyFolders()

void GEOMToolsGUI_ReduceStudyDlg::removeEmptyFolders ( )
private

◆ removeObject()

void GEOMToolsGUI_ReduceStudyDlg::removeObject ( std::string &  theStudyEntry)
private

◆ removeObjects()

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

◆ selectionChanged

void GEOMToolsGUI_ReduceStudyDlg::selectionChanged ( )
privateslot

References getSelectedObjects(), and init().

◆ unpublishObjects()

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

◆ update

Member Data Documentation

◆ myApp

SalomeApp_Application* GEOMToolsGUI_ReduceStudyDlg::myApp
private

◆ myCBRemoveEmptyFolder

QCheckBox* GEOMToolsGUI_ReduceStudyDlg::myCBRemoveEmptyFolder
private

◆ myCBSoftRemoval

QCheckBox* GEOMToolsGUI_ReduceStudyDlg::myCBSoftRemoval
private

◆ myDisplayer

GEOM_Displayer GEOMToolsGUI_ReduceStudyDlg::myDisplayer
private

◆ myGroupIntermediates

QButtonGroup* GEOMToolsGUI_ReduceStudyDlg::myGroupIntermediates
private

◆ myGroupSubObjects

QButtonGroup* GEOMToolsGUI_ReduceStudyDlg::myGroupSubObjects
private

◆ myInvisible

QIcon GEOMToolsGUI_ReduceStudyDlg::myInvisible
private

◆ myKeptObjects

std::set<std::string> GEOMToolsGUI_ReduceStudyDlg::myKeptObjects
private

◆ myListParents

std::set<std::string> GEOMToolsGUI_ReduceStudyDlg::myListParents
private

◆ myListSubObjects

std::set<std::string> GEOMToolsGUI_ReduceStudyDlg::myListSubObjects
private

◆ myMainEntries

std::set<std::string> GEOMToolsGUI_ReduceStudyDlg::myMainEntries
private

◆ myMapTreeSelectAll

std::map<QTreeWidget*,bool> GEOMToolsGUI_ReduceStudyDlg::myMapTreeSelectAll
private

◆ myRemovedObjects

std::set<std::string> GEOMToolsGUI_ReduceStudyDlg::myRemovedObjects
private

◆ myTreeKeptObjects

QTreeWidget* GEOMToolsGUI_ReduceStudyDlg::myTreeKeptObjects
private

◆ myTreeRemoveObjects

QTreeWidget* GEOMToolsGUI_ReduceStudyDlg::myTreeRemoveObjects
private

◆ myVisible

QIcon GEOMToolsGUI_ReduceStudyDlg::myVisible
private

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