Version: 8.3.0
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
GEOMToolsGUI_MarkerDlg.h
Go to the documentation of this file.
1
// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, 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
33
class
QButtonGroup;
34
class
QStackedWidget;
35
class
QtxComboBox;
36
class
SalomeApp_Study;
37
38
class
GEOMTOOLSGUI_EXPORT
GEOMToolsGUI_MarkerDlg
:
public
QDialog
39
{
40
Q_OBJECT
41
42
public
:
43
GEOMToolsGUI_MarkerDlg
(
QWidget
* = 0 );
44
~
GEOMToolsGUI_MarkerDlg
();
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
54
protected
:
55
void
keyPressEvent( QKeyEvent* );
56
57
private
:
58
void
init();
59
void
addTexture(
int
,
bool
=
false
)
const
;
60
SalomeApp_Study* getStudy()
const
;
61
62
private
slots:
63
void
browse();
64
void
help();
65
66
private
:
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
src
GEOMToolsGUI
GEOMToolsGUI_MarkerDlg.h
Copyright © 2007-2017 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS