Back to index

salome-geom  6.5.0
Classes | Public Types | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Private Types | Private Slots | Private Member Functions | Private Attributes
GEOMTOOLSGUI_EXPORT Protocol Reference

#include <GEOMToolsGUI.h>

Collaboration diagram for GEOMTOOLSGUI_EXPORT:
Collaboration graph
[legend]

List of all members.

Classes

struct  Reflection

Public Types

enum  ActionType { SHOWDLG, INCR, DECR }

Signals

void changed ()

Public Member Functions

 GEOMToolsGUI (GeometryGUI *)
 ~GEOMToolsGUI ()
bool OnGUIEvent (int, SUIT_Desktop *)
virtual void deactivate ()
 GEOMToolsGUI_DeflectionDlg (QWidget *)
 ~GEOMToolsGUI_DeflectionDlg ()
double getTheDC () const
void setTheDC (const double)
 GEOMToolsGUI_DeleteDlg (QWidget *, const QMap< QString, QString > &, bool=false)
 ~GEOMToolsGUI_DeleteDlg ()
 GEOMToolsGUI_LineWidthDlg (QWidget *, const QString &)
 ~GEOMToolsGUI_LineWidthDlg ()
int getTheLW () const
void setTheLW (const int)
 GEOMToolsGUI_MarkerDlg (QWidget *=0)
 ~GEOMToolsGUI_MarkerDlg ()
void setStandardMarker (GEOM::marker_type, GEOM::marker_size)
void setCustomMarker (int)
GEOM::marker_type getMarkerType () const
GEOM::marker_size getStandardMarkerScale () const
int getCustomMarkerID () const
void accept ()
 GEOMToolsGUI_MaterialPropertiesDlg (QWidget *=0)
 ~GEOMToolsGUI_MaterialPropertiesDlg ()
void accept ()
bool eventFilter (QObject *, QEvent *)
 GEOMToolsGUI_NbIsosDlg (QWidget *)
 ~GEOMToolsGUI_NbIsosDlg ()
int getU () const
int getV () const
void setU (const int)
void setV (const int)
 GEOMToolsGUI_PublishDlg (QWidget *)
 ~GEOMToolsGUI_PublishDlg ()
 GEOMToolsGUI_TransparencyDlg (QWidget *)
 ~GEOMToolsGUI_TransparencyDlg ()

Protected Slots

void clickOnOk ()
void clickOnApply ()
void clickOnSelectAll ()
void clickOnUnSelectAll ()

Protected Member Functions

void keyPressEvent (QKeyEvent *)
void initData ()
void buildTree (_PTR(Study) theStudy, SalomeApp_DataObject *theItem)
QTreeWidgetItem * findParentItem (_PTR(Study) theStudy, SalomeApp_DataObject *theItem, BufferedList &theList)
QTreeWidgetItem * createItem (QTreeWidgetItem *theItem, Pair theAttributes, bool isCheckable)
void getDrawableList (QTreeWidgetItem *theItem, QList< QTreeWidgetItem * > &theList)
void getTails (QTreeWidgetItem *theItem, QList< QTreeWidgetItem * > &theList)

Private Types

enum  { Current, Global, User }
enum  { TypeRole = Qt::UserRole + 123, NameRole }

Private Slots

void ClickOnHelp ()
void ClickOnHelp ()
void browse ()
void help ()
void onChanged ()
void onMaterialChanged ()
void onItemChanged (QListWidgetItem *)
void onContextMenu (QContextMenuEvent *)
void onDeleteMaterial ()
void onAddMaterial ()
void onApply ()
void onHelp ()
void ClickOnHelp ()
void ClickOnOk ()
void ClickOnClose ()
void ClickOnHelp ()
void ValueHasChanged ()
void SliderHasMoved (int)
void SetTransparency ()

Private Member Functions

bool Import ()
bool Export ()
void OnEditDelete ()
void OnCheckGeometry ()
void OnAutoColor ()
void OnDisableAutoColor ()
void OnColor ()
void OnTexture ()
void OnTransparency ()
void OnNbIsos (ActionType actionType=SHOWDLG)
void OnDeflection ()
void OnSelectOnly (int mode)
void OnShowHideChildren (bool)
void OnUnpublishObject ()
void OnPublishObject ()
void OnPointMarker ()
void OnMaterialProperties ()
void OnEdgeWidth ()
void OnIsosWidth ()
void OnBringToFront ()
void OnClsBringToFront ()
void OnChangeTransparency (bool)
void removeObjectWithChildren (_PTR(SObject), _PTR(Study), QList< SALOME_View * >, GEOM_Displayer *)
void keyPressEvent (QKeyEvent *)
void keyPressEvent (QKeyEvent *)
void init ()
void addTexture (int, bool=false) const
SalomeApp_Study * getStudy () const
void updateState ()
void toModel (Material_Model &) const
void fromModel (const Material_Model &)
QString findUniqueName (const QString &, QListWidgetItem *=0, bool=false)
void keyPressEvent (QKeyEvent *)
void processAll (QTreeWidgetItem *theItem, Qt::CheckState state)
void keyPressEvent (QKeyEvent *)

Private Attributes

SalomeApp_DoubleSpinBox * SpinBox
QString myHelpFileName
SalomeApp_IntSpinBox * mySpinBox
GEOM::GEOM_IInsertOperations_var myOperation
QButtonGroup * myTypeGroup
QStackedWidget * myWGStack
QtxComboBox * myStdTypeCombo
QtxComboBox * myStdScaleCombo
QtxComboBox * myCustomTypeCombo
GEOMToolsGUI_MaterialListmyMaterials
QCheckBox * myPhysical
QList< ReflectionmyReflection
QtxDoubleSpinBox * myShininess
QLabel * myColorLab
QtxColorButton * myColor
QPushButton * myAddButton
QPushButton * myDelButton
Material_ResourceMgr myResourceMgr
Material_Model myCurrentModel
QSpinBox * SpinBoxU
QSpinBox * SpinBoxV
QTreeWidget * myTreeWidget
SalomeApp_DataObject * myGeomRoot
Entry2ItemMap myEntryToItem
bool myFirstInit
QSlider * mySlider
QLabel * myValueLab

Detailed Description

Definition at line 46 of file GEOMToolsGUI.h.


Class Documentation

struct GEOMTOOLSGUI_EXPORT::Reflection

Definition at line 77 of file GEOMToolsGUI_MaterialPropertiesDlg.h.

Class Members
QtxDoubleSpinBox * coef
QtxColorButton * color
QCheckBox * enabled
QLabel * label

Member Enumeration Documentation

anonymous enum [private]
Enumerator:
Current 
Global 
User 

Definition at line 44 of file GEOMToolsGUI_MaterialPropertiesDlg.h.

anonymous enum [private]
Enumerator:
TypeRole 
NameRole 

Definition at line 45 of file GEOMToolsGUI_MaterialPropertiesDlg.h.

{ TypeRole = Qt::UserRole + 123, NameRole  };
Enumerator:
SHOWDLG 
INCR 
DECR 

Definition at line 55 of file GEOMToolsGUI.h.

{ SHOWDLG, INCR, DECR };

Constructor & Destructor Documentation


Member Function Documentation

void GEOMTOOLSGUI_EXPORT::addTexture ( int  ,
bool  = false 
) const [private]
void GEOMTOOLSGUI_EXPORT::browse ( ) [private, slot]
void GEOMTOOLSGUI_EXPORT::buildTree ( _PTR(Study)  theStudy,
SalomeApp_DataObject *  theItem 
) [protected]
void GEOMTOOLSGUI_EXPORT::changed ( ) [signal]
void GEOMTOOLSGUI_EXPORT::clickOnApply ( ) [protected, slot]
void GEOMTOOLSGUI_EXPORT::ClickOnClose ( ) [private, slot]
void GEOMTOOLSGUI_EXPORT::ClickOnHelp ( ) [private, slot]
void GEOMTOOLSGUI_EXPORT::ClickOnHelp ( ) [private, slot]
void GEOMTOOLSGUI_EXPORT::ClickOnHelp ( ) [private, slot]
void GEOMTOOLSGUI_EXPORT::ClickOnHelp ( ) [private, slot]
void GEOMTOOLSGUI_EXPORT::ClickOnOk ( ) [private, slot]
void GEOMTOOLSGUI_EXPORT::clickOnOk ( ) [protected, slot]
void GEOMTOOLSGUI_EXPORT::clickOnSelectAll ( ) [protected, slot]
void GEOMTOOLSGUI_EXPORT::clickOnUnSelectAll ( ) [protected, slot]
QTreeWidgetItem* GEOMTOOLSGUI_EXPORT::createItem ( QTreeWidgetItem *  theItem,
Pair  theAttributes,
bool  isCheckable 
) [protected]
virtual void GEOMTOOLSGUI_EXPORT::deactivate ( ) [virtual]
bool GEOMTOOLSGUI_EXPORT::eventFilter ( QObject *  ,
QEvent *   
)
bool GEOMTOOLSGUI_EXPORT::Export ( ) [private]
QTreeWidgetItem* GEOMTOOLSGUI_EXPORT::findParentItem ( _PTR(Study)  theStudy,
SalomeApp_DataObject *  theItem,
BufferedList theList 
) [protected]
QString GEOMTOOLSGUI_EXPORT::findUniqueName ( const QString &  ,
QListWidgetItem *  = 0,
bool  = false 
) [private]
void GEOMTOOLSGUI_EXPORT::fromModel ( const Material_Model &  ) [private]
GEOMTOOLSGUI_EXPORT::GEOMToolsGUI ( GeometryGUI *  )
GEOMTOOLSGUI_EXPORT::GEOMToolsGUI_DeleteDlg ( QWidget *  ,
const QMap< QString, QString > &  ,
bool  = false 
)
GEOMTOOLSGUI_EXPORT::GEOMToolsGUI_LineWidthDlg ( QWidget *  ,
const QString &   
)
void GEOMTOOLSGUI_EXPORT::getDrawableList ( QTreeWidgetItem *  theItem,
QList< QTreeWidgetItem * > &  theList 
) [protected]
SalomeApp_Study* GEOMTOOLSGUI_EXPORT::getStudy ( ) const [private]
void GEOMTOOLSGUI_EXPORT::getTails ( QTreeWidgetItem *  theItem,
QList< QTreeWidgetItem * > &  theList 
) [protected]
void GEOMTOOLSGUI_EXPORT::help ( ) [private, slot]
bool GEOMTOOLSGUI_EXPORT::Import ( ) [private]
void GEOMTOOLSGUI_EXPORT::init ( ) [private]
void GEOMTOOLSGUI_EXPORT::initData ( ) [protected]
void GEOMTOOLSGUI_EXPORT::keyPressEvent ( QKeyEvent *  ) [private]
void GEOMTOOLSGUI_EXPORT::keyPressEvent ( QKeyEvent *  ) [private]
void GEOMTOOLSGUI_EXPORT::keyPressEvent ( QKeyEvent *  ) [private]
void GEOMTOOLSGUI_EXPORT::keyPressEvent ( QKeyEvent *  ) [protected]
void GEOMTOOLSGUI_EXPORT::keyPressEvent ( QKeyEvent *  ) [private]
void GEOMTOOLSGUI_EXPORT::onAddMaterial ( ) [private, slot]
void GEOMTOOLSGUI_EXPORT::onApply ( ) [private, slot]
void GEOMTOOLSGUI_EXPORT::onChanged ( ) [private, slot]
void GEOMTOOLSGUI_EXPORT::OnChangeTransparency ( bool  ) [private]
void GEOMTOOLSGUI_EXPORT::OnColor ( ) [private]
void GEOMTOOLSGUI_EXPORT::onContextMenu ( QContextMenuEvent *  ) [private, slot]
void GEOMTOOLSGUI_EXPORT::onDeleteMaterial ( ) [private, slot]
bool GEOMTOOLSGUI_EXPORT::OnGUIEvent ( int  ,
SUIT_Desktop *   
)
void GEOMTOOLSGUI_EXPORT::onHelp ( ) [private, slot]
void GEOMTOOLSGUI_EXPORT::onItemChanged ( QListWidgetItem *  ) [private, slot]
void GEOMTOOLSGUI_EXPORT::onMaterialChanged ( ) [private, slot]
void GEOMTOOLSGUI_EXPORT::OnNbIsos ( ActionType  actionType = SHOWDLG) [private]
void GEOMTOOLSGUI_EXPORT::OnSelectOnly ( int  mode) [private]
void GEOMTOOLSGUI_EXPORT::OnShowHideChildren ( bool  ) [private]
void GEOMTOOLSGUI_EXPORT::OnTexture ( ) [private]
void GEOMTOOLSGUI_EXPORT::processAll ( QTreeWidgetItem *  theItem,
Qt::CheckState  state 
) [private]
void GEOMTOOLSGUI_EXPORT::removeObjectWithChildren ( _PTR(SObject)  ,
_PTR(Study)  ,
QList< SALOME_View * >  ,
GEOM_Displayer *   
) [private]
void GEOMTOOLSGUI_EXPORT::setTheDC ( const double  )
void GEOMTOOLSGUI_EXPORT::setTheLW ( const int  )
void GEOMTOOLSGUI_EXPORT::SetTransparency ( ) [private, slot]
void GEOMTOOLSGUI_EXPORT::setU ( const int  )
void GEOMTOOLSGUI_EXPORT::setV ( const int  )
void GEOMTOOLSGUI_EXPORT::SliderHasMoved ( int  ) [private, slot]
void GEOMTOOLSGUI_EXPORT::toModel ( Material_Model &  ) const [private]
void GEOMTOOLSGUI_EXPORT::ValueHasChanged ( ) [private, slot]

Member Data Documentation

QPushButton* GEOMTOOLSGUI_EXPORT::myAddButton [private]

Definition at line 91 of file GEOMToolsGUI_MaterialPropertiesDlg.h.

QtxColorButton* GEOMTOOLSGUI_EXPORT::myColor [private]

Definition at line 90 of file GEOMToolsGUI_MaterialPropertiesDlg.h.

Definition at line 89 of file GEOMToolsGUI_MaterialPropertiesDlg.h.

Material_Model GEOMTOOLSGUI_EXPORT::myCurrentModel [private]

Definition at line 94 of file GEOMToolsGUI_MaterialPropertiesDlg.h.

Definition at line 72 of file GEOMToolsGUI_MarkerDlg.h.

QPushButton* GEOMTOOLSGUI_EXPORT::myDelButton [private]

Definition at line 92 of file GEOMToolsGUI_MaterialPropertiesDlg.h.

Definition at line 77 of file GEOMToolsGUI_PublishDlg.h.

Definition at line 54 of file GEOMToolsGUI_TransparencyDlg.h.

SalomeApp_DataObject* GEOMTOOLSGUI_EXPORT::myGeomRoot [private]

Definition at line 76 of file GEOMToolsGUI_PublishDlg.h.

Definition at line 56 of file GEOMToolsGUI_DeflectionDlg.h.

Definition at line 85 of file GEOMToolsGUI_MaterialPropertiesDlg.h.

GEOM::GEOM_IInsertOperations_var GEOMTOOLSGUI_EXPORT::myOperation [private]

Definition at line 67 of file GEOMToolsGUI_MarkerDlg.h.

QCheckBox* GEOMTOOLSGUI_EXPORT::myPhysical [private]

Definition at line 86 of file GEOMToolsGUI_MaterialPropertiesDlg.h.

Definition at line 87 of file GEOMToolsGUI_MaterialPropertiesDlg.h.

Definition at line 93 of file GEOMToolsGUI_MaterialPropertiesDlg.h.

QtxDoubleSpinBox* GEOMTOOLSGUI_EXPORT::myShininess [private]

Definition at line 88 of file GEOMToolsGUI_MaterialPropertiesDlg.h.

QSlider* GEOMTOOLSGUI_EXPORT::mySlider [private]

Definition at line 55 of file GEOMToolsGUI_TransparencyDlg.h.

SalomeApp_IntSpinBox* GEOMTOOLSGUI_EXPORT::mySpinBox [private]

Definition at line 55 of file GEOMToolsGUI_LineWidthDlg.h.

QtxComboBox* GEOMTOOLSGUI_EXPORT::myStdScaleCombo [private]

Definition at line 71 of file GEOMToolsGUI_MarkerDlg.h.

QtxComboBox* GEOMTOOLSGUI_EXPORT::myStdTypeCombo [private]

Definition at line 70 of file GEOMToolsGUI_MarkerDlg.h.

QTreeWidget* GEOMTOOLSGUI_EXPORT::myTreeWidget [private]

Definition at line 75 of file GEOMToolsGUI_PublishDlg.h.

QButtonGroup* GEOMTOOLSGUI_EXPORT::myTypeGroup [private]

Definition at line 68 of file GEOMToolsGUI_MarkerDlg.h.

Definition at line 56 of file GEOMToolsGUI_TransparencyDlg.h.

QStackedWidget* GEOMTOOLSGUI_EXPORT::myWGStack [private]

Definition at line 69 of file GEOMToolsGUI_MarkerDlg.h.

SalomeApp_DoubleSpinBox* GEOMTOOLSGUI_EXPORT::SpinBox [private]

Definition at line 55 of file GEOMToolsGUI_DeflectionDlg.h.

QSpinBox* GEOMTOOLSGUI_EXPORT::SpinBoxU [private]

Definition at line 61 of file GEOMToolsGUI_NbIsosDlg.h.

QSpinBox* GEOMTOOLSGUI_EXPORT::SpinBoxV [private]

Definition at line 62 of file GEOMToolsGUI_NbIsosDlg.h.


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