Salome HOME
NRI : Update in order to search MODULES documentation and open active MODULE document...
[modules/kernel.git] / src / SALOMEGUI / SALOMEGUI_SetupCurveDlg.h
1 //  File      : SALOMEGUI_SetupCurveDlg.h
2 //  Created   : Wed Jun 27 16:38:42 2001
3 //  Author    : Vadim SANDLER
4 //  Project   : SALOME
5 //  Module    : SALOMEGUI
6 //  Copyright : Open CASCADE
7 //  $Header$
8
9 #ifndef SALOMEGUI_SetupCurveDlg_H
10 #define SALOMEGUI_SetupCurveDlg_H
11
12 #include <qdialog.h>
13
14 //=================================================================================
15 // class    : SALOMEGUI_SetupCurveDlg
16 // purpose  : Dialog box for setup Plot2d curve
17 //=================================================================================
18
19 class QPushButton;
20 class QComboBox;
21 class QSpinBox;
22 class QToolButton;
23
24 class SALOMEGUI_SetupCurveDlg : public QDialog
25
26   Q_OBJECT
27
28 public:
29   SALOMEGUI_SetupCurveDlg( QWidget* parent = 0 );
30   ~SALOMEGUI_SetupCurveDlg();
31
32 public:
33   void   setLine( const int line, const int width );
34   int    getLine() const;
35   int    getLineWidth() const;
36   void   setMarker( const int marker );
37   int    getMarker() const ;
38   void   setColor( const QColor& color );
39   QColor getColor() const;
40   
41 protected slots:
42   void   onColorChanged();
43
44 private:
45   QPushButton* myOkBtn;
46   QPushButton* myCancelBtn;
47   QComboBox*   myLineCombo;
48   QSpinBox*    myLineSpin;
49   QComboBox*   myMarkerCombo;
50   QToolButton* myColorBtn;
51 };
52
53 #endif // SALOMEGUI_SetupCurveDlg_H
54