Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef GEOMTOOLSGUI_MARKERDLG_H
00024 #define GEOMTOOLSGUI_MARKERDLG_H
00025
00026 #include "GEOM_ToolsGUI.hxx"
00027
00028 #include <QDialog>
00029
00030 #include <SALOMEconfig.h>
00031 #include CORBA_CLIENT_HEADER(GEOM_Gen)
00032
00033 class QButtonGroup;
00034 class QStackedWidget;
00035 class QtxComboBox;
00036 class SalomeApp_Study;
00037
00038 class GEOMTOOLSGUI_EXPORT GEOMToolsGUI_MarkerDlg : public QDialog
00039 {
00040 Q_OBJECT
00041
00042 public:
00043 GEOMToolsGUI_MarkerDlg( QWidget* = 0 );
00044 ~GEOMToolsGUI_MarkerDlg();
00045
00046 void setStandardMarker( GEOM::marker_type, GEOM::marker_size );
00047 void setCustomMarker( int );
00048 GEOM::marker_type getMarkerType() const;
00049 GEOM::marker_size getStandardMarkerScale() const;
00050 int getCustomMarkerID() const;
00051
00052 void accept();
00053
00054 protected:
00055 void keyPressEvent( QKeyEvent* );
00056
00057 private:
00058 void init();
00059 void addTexture( int, bool = false ) const;
00060 SalomeApp_Study* getStudy() const;
00061
00062 private slots:
00063 void browse();
00064 void help();
00065
00066 private:
00067 GEOM::GEOM_IInsertOperations_var myOperation;
00068 QButtonGroup* myTypeGroup;
00069 QStackedWidget* myWGStack;
00070 QtxComboBox* myStdTypeCombo;
00071 QtxComboBox* myStdScaleCombo;
00072 QtxComboBox* myCustomTypeCombo;
00073 };
00074
00075 #endif // GEOMTOOLSGUI_MARKERDLG_H