Version: 9.16.0
GEOMToolsGUI_MarkerDlg.h
Go to the documentation of this file.
1// Copyright (C) 2007-2026 CEA, EDF, OPEN CASCADE
2//
3// This library is free software; you can redistribute it and/or
4// modify it under the terms of the GNU Lesser General Public
5// License as published by the Free Software Foundation; either
6// version 2.1 of the License, or (at your option) any later version.
7//
8// This library is distributed in the hope that it will be useful,
9// but WITHOUT ANY WARRANTY; without even the implied warranty of
10// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11// Lesser General Public License for more details.
12//
13// You should have received a copy of the GNU Lesser General Public
14// License along with this library; if not, write to the Free Software
15// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16//
17// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18//
19
20// File : GEOMToolsGUI_MarkerDlg.h
21// Author : Vadim SANDLER, Open CASCADE S.A.S. (vadim.sandler@opencascade.com)
22//
23#ifndef GEOMTOOLSGUI_MARKERDLG_H
24#define GEOMTOOLSGUI_MARKERDLG_H
25
26#include "GEOM_ToolsGUI.hxx"
27
28#include <QDialog>
29
30#include <SALOMEconfig.h>
31#include CORBA_CLIENT_HEADER(GEOM_Gen)
32
33class QButtonGroup;
34class QStackedWidget;
35class QtxComboBox;
36class SalomeApp_Study;
37
39{
40 Q_OBJECT
41
42public:
45
46 void setStandardMarker( GEOM::marker_type, GEOM::marker_size );
47 void setCustomMarker( int );
48 GEOM::marker_type getMarkerType() const;
49 GEOM::marker_size getStandardMarkerScale() const;
50 int getCustomMarkerID() const;
51
52 void accept();
53
54protected:
55 void keyPressEvent( QKeyEvent* );
56
57private:
58 void init();
59 void addTexture( int, bool = false ) const;
60 SalomeApp_Study* getStudy() const;
61
62private slots:
63 void browse();
64 void help();
65
66private:
67 GEOM::GEOM_IInsertOperations_var myOperation;
68 QButtonGroup* myTypeGroup;
69 QStackedWidget* myWGStack;
70 QtxComboBox* myStdTypeCombo;
71 QtxComboBox* myStdScaleCombo;
72 QtxComboBox* myCustomTypeCombo;
73};
74
75#endif // GEOMTOOLSGUI_MARKERDLG_H
#define GEOMTOOLSGUI_EXPORT
Definition: GEOM_ToolsGUI.hxx:37
Definition: GEOMToolsGUI_MarkerDlg.h:39
QtxComboBox * myStdScaleCombo
Definition: GEOMToolsGUI_MarkerDlg.h:71
QStackedWidget * myWGStack
Definition: GEOMToolsGUI_MarkerDlg.h:69
QtxComboBox * myStdTypeCombo
Definition: GEOMToolsGUI_MarkerDlg.h:70
QtxComboBox * myCustomTypeCombo
Definition: GEOMToolsGUI_MarkerDlg.h:72
QButtonGroup * myTypeGroup
Definition: GEOMToolsGUI_MarkerDlg.h:68
GEOM::GEOM_IInsertOperations_var myOperation
Definition: GEOMToolsGUI_MarkerDlg.h:67
marker_type
Marker type.
Definition: GEOM_Gen.idl:67
marker_size
Definition: GEOM_Gen.idl:73