#ifndef _QTNODEPARAMETERS_H_ #define _QTNODEPARAMETERS_H_ #include "UINode.h" #include "UINodeParameters.h" #include #include #include #include #include #include #include #include namespace FD { using namespace std; class QtNodeParameters : public QDialog { Q_OBJECT; public: QtNodeParameters(UINode *node); static std::vector getObjectTypes(); protected: QWidget* buildParametersTable(); UINode *m_node; QVBoxLayout *m_vLayout; QGridLayout *m_paramsLayout; QTabWidget *m_tabWidget; QDialogButtonBox *m_buttonBox; UINodeParameters *m_params; QList m_valuesWidge; QList m_typesWidge; protected: void addValues(int index, string type); void validParameters(); void setView(const std::vector &textParams); protected slots: void buttonClicked( QAbstractButton * button ); void valueChanged(); void typeChanged(); }; }//namespace FD #endif