00001 #ifndef SUI_NODEPROPERTIESWIDGET_H
00002 #define SUI_NODEPROPERTIESWIDGET_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #include <QWidget>
00024 #include "ui_NodePropertiesWidget.h"
00025
00026 class Node;
00027 class MainWindow;
00028 class NodeItem;
00029 #include <QPointF>
00030
00032 class NodePropertiesWidget : public QWidget, public Ui::NodePropertiesWidget
00033 {
00034 Q_OBJECT
00035 public:
00036 NodePropertiesWidget( QWidget* parent = 0 );
00037 void setNode( NodeItem* n, QPointF pos );
00038 void disconnectNode( Node* arg1 );
00039
00040
00041 private slots:
00042 void on__color_activated( const QColor& c );
00043 void on__images_activated( const QString& s );
00044 void reflectAttributes();
00045 void updateAutomateAttributes( bool b );
00046 void on__addProperty_clicked();
00047
00048 private:
00049
00050 Node* _node;
00051 MainWindow* _mainWindow;
00052 NodeItem* _item;
00053 QString _svgFile;
00054
00055 };
00056 #endif