Tree view contains Dimension and Annotation text items:  
 More...
#include <GEOMGUI_TextTreeWdg.h>
 | 
| class   | VisualProperty | 
|   | Common interface for working with shape dimension and annotation properties of object in a unified way irrespectively of the implementation.  More...
  | 
|   | 
 | 
|   | GEOMGUI_TextTreeWdg (SalomeApp_Application *app) | 
|   | 
|   | ~GEOMGUI_TextTreeWdg () | 
|   | 
| int  | getWinID () | 
|   | 
| void  | removeBranch (const BranchType &theBranchType, const QString &theEntry, bool force=true) | 
|   | 
| int  | idFromItem (QTreeWidgetItem *theItem) | 
|   | 
| QString  | entryFromItem (QTreeWidgetItem *theShapeItem) const  | 
|   | 
| QTreeWidgetItem *  | itemFromEntry (const BranchType &theBranchType, QString theEntry) | 
|   | 
| void  | setAllShapeItemsVisibility (const BranchType &theBranchType, const QString &theEntry, const bool theVisibility) | 
|   | 
| void  | setShapeItemVisibility (const BranchType &theBranchType, const QString &theEntry, QTreeWidgetItem *theWidgetItem, const bool theVisibility) | 
|   | 
| void  | updateVisibility () | 
|   | 
| void  | getSelected (QMap< QString, QList< int > > &theAnnotations) | 
|   | 
| void  | setSelected (const QMap< QString, QList< int > > &theAnnotations) | 
|   | 
| QList< QString >  | getAllEntries (const BranchType &theBranchType) | 
|   | 
| QString  | getSingleSelectedObject () | 
|   | 
- text visibility in OCC viewer
 
- text object name 
 
 
| Enumerator | 
|---|
| DimensionShape  | 
 | 
| AnnotationShape  | 
 | 
 
 
      
        
          | GEOMGUI_TextTreeWdg::GEOMGUI_TextTreeWdg  | 
          ( | 
          SalomeApp_Application *  | 
          app | ) | 
           | 
        
      
 
 
      
        
          | GEOMGUI_TextTreeWdg::~GEOMGUI_TextTreeWdg  | 
          ( | 
           | ) | 
           | 
        
      
 
 
  
  
      
        
          | void GEOMGUI_TextTreeWdg::createActions  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
      
        
          | QString GEOMGUI_TextTreeWdg::entryFromItem  | 
          ( | 
          QTreeWidgetItem *  | 
          theShapeItem | ) | 
           const | 
        
      
 
 
  
  
      
        
          | void GEOMGUI_TextTreeWdg::fillBranch  | 
          ( | 
          const BranchType &  | 
          theBranchType,  | 
         
        
           | 
           | 
          const QString &  | 
          theEntry  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
private   | 
  
 
 
      
        
          | QList< QString > GEOMGUI_TextTreeWdg::getAllEntries  | 
          ( | 
          const BranchType &  | 
          theBranchType | ) | 
           | 
        
      
 
 
      
        
          | void GEOMGUI_TextTreeWdg::getSelected  | 
          ( | 
          QMap< QString, QList< int > > &  | 
          theAnnotations | ) | 
           | 
        
      
 
 
      
        
          | QString GEOMGUI_TextTreeWdg::getSingleSelectedObject  | 
          ( | 
           | ) | 
           | 
        
      
 
 
  
  
      
        
          | int GEOMGUI_TextTreeWdg::getWinID  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | void GEOMGUI_TextTreeWdg::onItemClicked  | 
          ( | 
          QTreeWidgetItem *  | 
          theItem,  | 
         
        
           | 
           | 
          int  | 
          theColumn  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
privateslot   | 
  
 
 
  
  
      
        
          | void GEOMGUI_TextTreeWdg::onUpdateVisibilityColumn  | 
          ( | 
          QString  | 
          theEntry,  | 
         
        
           | 
           | 
          Qtx::VisibilityState  | 
          theState  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
privateslot   | 
  
 
 
  
  
      
        
          | void GEOMGUI_TextTreeWdg::redisplay  | 
          ( | 
          QString  | 
          theEntry | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
      
        
          | void GEOMGUI_TextTreeWdg::removeBranch  | 
          ( | 
          const BranchType &  | 
          theBranchType,  | 
        
        
           | 
           | 
          const QString &  | 
          theEntry,  | 
        
        
           | 
           | 
          bool  | 
          force = true  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | void GEOMGUI_TextTreeWdg::setAllShapeItemsVisibility  | 
          ( | 
          const BranchType &  | 
          theBranchType,  | 
        
        
           | 
           | 
          const QString &  | 
          theEntry,  | 
        
        
           | 
           | 
          const bool  | 
          theVisibility  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | void GEOMGUI_TextTreeWdg::setSelected  | 
          ( | 
          const QMap< QString, QList< int > > &  | 
          theAnnotations | ) | 
           | 
        
      
 
 
      
        
          | void GEOMGUI_TextTreeWdg::setShapeItemVisibility  | 
          ( | 
          const BranchType &  | 
          theBranchType,  | 
        
        
           | 
           | 
          const QString &  | 
          theEntry,  | 
        
        
           | 
           | 
          QTreeWidgetItem *  | 
          theWidgetItem,  | 
        
        
           | 
           | 
          const bool  | 
          theVisibility  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
  
  
      
        
          | bool GEOMGUI_TextTreeWdg::setShapeItemVisibility  | 
          ( | 
          QSharedPointer< VisualProperty > &  | 
          theProps,  | 
         
        
           | 
           | 
          QTreeWidgetItem *  | 
          theWidgetItem,  | 
         
        
           | 
           | 
          const bool  | 
          theVisibility  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | void GEOMGUI_TextTreeWdg::setVisibility  | 
          ( | 
          QTreeWidgetItem *  | 
          theItem,  | 
         
        
           | 
           | 
          bool  | 
          visibility  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
privateslot   | 
  
 
 
  
  
      
        
          | void GEOMGUI_TextTreeWdg::showContextMenu  | 
          ( | 
          const QPoint &  | 
          pos | ) | 
           | 
         
       
   | 
  
privateslot   | 
  
 
References branchTypeFromItem(), entryFromItem(), getObjects(), getPropertyRootItem(), getVisualProperty(), GEOMOp::OpDeleteAnnotation, GEOMOp::OpEditAnnotation, GEOMOp::OpHide, GEOMOp::OpHideAllAnnotations, GEOMOp::OpShow, GEOMOp::OpShowAllAnnotations, and setVisibility().
 
 
  
  
      
        
          | void GEOMGUI_TextTreeWdg::updateAnnotationBranch  | 
          ( | 
          const QString &  | 
          theEntry | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
 
  
  
      
        
          | void GEOMGUI_TextTreeWdg::updateBranches  | 
          ( | 
          const QString &  | 
          theEntry | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
 
  
  
      
        
          | void GEOMGUI_TextTreeWdg::updateDimensionBranch  | 
          ( | 
          const QString &  | 
          theEntry | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
 
  
  
      
        
          | void GEOMGUI_TextTreeWdg::updateObjectName  | 
          ( | 
          const QString &  | 
          theEntry | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
 
  
  
      
        
          | void GEOMGUI_TextTreeWdg::updateTree  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
 
      
        
          | void GEOMGUI_TextTreeWdg::updateVisibility  | 
          ( | 
           | ) | 
           | 
        
      
 
 
  
  
      
        
          | void GEOMGUI_TextTreeWdg::updateVisibilityColumn  | 
          ( | 
          const BranchType &  | 
          theBranchType,  | 
         
        
           | 
           | 
          QString  | 
          theEntry,  | 
         
        
           | 
           | 
          Qtx::VisibilityState  | 
          theState  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | QMap<int, QAction*> GEOMGUI_TextTreeWdg::myActions | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | QIcon GEOMGUI_TextTreeWdg::myInvisibleIcon | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | SalomeApp_Study* GEOMGUI_TextTreeWdg::myStudy | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | QIcon GEOMGUI_TextTreeWdg::myVisibleIcon | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | int GEOMGUI_TextTreeWdg::myWindowID | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following files: