Developer documentation | Axl-2.5.1

axlInspectorObjectCylinder.h
Go to the documentation of this file.
1 /* axlInspectorObjectCylinder.h ---
2  *
3  * Author: Meriadeg Perrinel
4  * Copyright (C) 2008 - Meriadeg Perrinel, Inria.
5  * Created: Fri Mar 18 11:18:43 2011 (+0100)
6  * Version: $Id$
7  * Last-Updated: Mon Mar 28 16:57:54 2011 (+0200)
8  * By: Meriadeg Perrinel
9  * Update #: 13
10  */
11 
12 /* Commentary:
13  *
14  */
15 
16 /* Change log:
17  *
18  */
19 
20 #ifndef AXLINSPECTOROBJECTCYLINDER_H
21 #define AXLINSPECTOROBJECTCYLINDER_H
22 
23 #include "axlGuiExport.h"
25 #include <QtWidgets>
26 
27 class axlCylinder;
28 class dtkAbstractData;
29 
30 class axlInspectorObjectCylinderPrivate;
31 
33 {
34  Q_OBJECT
35 
36 public:
37  axlInspectorObjectCylinder(QWidget *parent = 0);
39 
40  QSize sizeHint(void) const;
41 
42 //signals:
43  //void dataChangedByGeometry(dtkAbstractData *data);
44  //void modifiedProperty(dtkAbstractData *,int);
45  //void update(void);
46 
47 public slots:
48  void setData(axlCylinder *cylinder);
49  void onCoordDataChangedFirst_x(double x);
50  void onCoordDataChangedFirst_y(double y);
51  void onCoordDataChangedFirst_z(double z);
52 
53  void onCoordDataChangedSecond_x(double x);
54  void onCoordDataChangedSecond_y(double y);
55  void onCoordDataChangedSecond_z(double z);
56  void onRadiusChanged(double radius);
57 
58 
59  void onColorChanged(QColor color);
60  // void onSizeChanged(int size);
61  void onOpacityChanged(int opacity);
62 
63  void openShader(void);
64  void onShaderStateChanged(bool isShader);
65  void onShaderChanged(QString);
66  void onLineEditShaderChanged(QString);
67 
68 public slots:
69  void updateValues(void);
70 
71 private :
72  // void initComboBoxShaderValue(void);
73  void initWidget(void);
74  int initOpacityValue(void);
75  QString initShaderValue(void);
76  QColor initColorValue(void);
77 
78 private:
79  axlInspectorObjectCylinderPrivate *d;
80 };
81 
82 #endif //AXLINSPECTOROBJECTCYLINDER_H
#define AXLGUI_EXPORT
Definition: axlGuiExport2.h:15
Class axlCylinder defines 3D cylinders.
Definition: axlCylinder.h:33
virtual void setData(dtkAbstractData *data)