Developer documentation | Axl-2.5.1

axlInspectorObjectComposite.h
Go to the documentation of this file.
1 /* axlInspectorObjectComposite.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 AXLINSPECTOROBJECTCOMPOSITE_H
21 #define AXLINSPECTOROBJECTCOMPOSITE_H
22 
23 #include "axlGuiExport.h"
24 
25 #include "axlInspectorUtils.h"
26 
27 #include <QtWidgets>
28 
29 class dtkAbstractData;
30 
32 class axlInspectorObjectCompositePrivate;
33 
35 {
36  Q_OBJECT
37 
38 public:
39  axlInspectorObjectComposite(QWidget *parent = 0);
41 
42  QSize sizeHint(void) const;
43 
44 signals:
45  void showCurrentPoint(double u, double v, dtkAbstractData *data);
46  void moveCurrentPoint(double u, double v, dtkAbstractData *data);
47  void hideCurrentPoint(double u, double v, dtkAbstractData *data);
48 
49 // void colorChanged(QColor color, dtkAbstractData *data);
50 
51 // void dataChangedByShader(dtkAbstractData *data, QString isophoteShaderXml);
52 // void dataChangedByOpacity(dtkAbstractData *data, double opacity);
53 // void dataChangedByColor(dtkAbstractData *data, double red, double green, double blue);
54 
55  void update(void);
56  void modifiedProperty(dtkAbstractData *,int);
57 
58 public slots:
59  void setData(axlAbstractDataComposite *data);
60 
61  void onColorChanged(QColor color);
62 
63  void onOpacityChanged(int opacity);
64 
65  void openShader(void);
66  void onShaderStateChanged(bool isShader);
67  void onShaderChanged(QString);
68  void onLineEditShaderChanged(QString);
69 
70 
71  void onShowCurrentPoint(double u, double v);
72  void onMoveCurrentPoint(double u, double v);
73  void onHideCurrentPoint(double u, double v);
74 
75 private:
76  void initComboBoxShaderValue(void);
77 
78 
79 private:
80  axlInspectorObjectCompositePrivate *d;
81 };
82 
83 #endif //AXLINSPECTOROBJECTCOMPOSITE_H
#define AXLGUI_EXPORT
Definition: axlGuiExport2.h:15