#ifndef __CPPLUGINS__INTERFACE__PARAMETERSQTDIALOG__H__ #define __CPPLUGINS__INTERFACE__PARAMETERSQTDIALOG__H__ #include #ifdef cpPlugins_Interface_QT4 #include #include #include #include #include #include #include class vtkAbstractWidget; class vtkRenderWindowInteractor; namespace cpPlugins { namespace Interface { /** */ class cpPlugins_Interface_EXPORT ParametersQtDialog : public QDialog { Q_OBJECT; public: ParametersQtDialog( QWidget* parent = 0, Qt::WindowFlags f = 0 ); virtual ~ParametersQtDialog( ); bool IsModal( ) const; Parameters* getParameters( ) const; void setInteractor( vtkRenderWindowInteractor* interactor ); bool setParameters( Parameters* parameters ); void setTitle( const std::string& title ); virtual int exec( ); virtual void show( ); void syncParameters( ); protected: Parameters* m_Parameters; QLabel* m_Title; QGridLayout* m_MainLayout; QVBoxLayout* m_ToolsLayout; bool m_IsModal; vtkRenderWindowInteractor* m_Interactor; std::vector< vtkAbstractWidget* > m_Widgets; }; } // ecapseman } // ecapseman #endif // cpPlugins_Interface_QT4 #endif // __CPPLUGINS__INTERFACE__PARAMETERSQTDIALOG__H__ // eof - $RCSfile$