Salome HOME
1468fa0a3e675509520bc2b0bedb83d46537ece7
[modules/visu.git] / src / VISUGUI / VisuGUI_ValuesLabelingDlg.h
1 // Copyright (C) 2007-2011  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.
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   : VisuGUI_ValuesLabelingDlg.h
21 //  Author : Sergey LITONIN
22 //  Module : SALOME
23 //
24 #ifndef VisuGUI_ValuesLabelingDlg_H
25 #define VisuGUI_ValuesLabelingDlg_H
26
27 #include "VisuGUI_Prs3dDlg.h"
28
29 class QtxFontEdit;
30 class QtxColorButton;
31
32 class VisuGUI_ValuesLabelingDlg : public VisuGUI_Prs3dDlg
33 {  
34   Q_OBJECT
35
36 public:
37   VisuGUI_ValuesLabelingDlg( SalomeApp_Module* theModule );
38   ~VisuGUI_ValuesLabelingDlg();
39
40   virtual void      initFromPrsObject( VISU::ColoredPrs3d_i* thePrs, bool theInit );
41
42   virtual int       storeToPrsObject( VISU::ColoredPrs3d_i* thePrs );
43
44 protected:
45   virtual QString   GetContextHelpFilePath();
46
47 private:
48   QtxFontEdit*      myFont;
49   QtxColorButton*   myColor;
50 };
51
52 #endif // VisuGUI_ValuesLabelingDlg_H
53
54
55
56
57
58
59
60
61
62
63
64
65
66