X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPlugins%2FInterface%2FParametersQtDialog.h;h=d19d31450323814a4ceec7f3ae11cd8d12110784;hb=f654620df52b811be7bd263a1775c93d29c69a65;hp=365ec9ca1edda5eba97419f97a2983dd0aae6f9b;hpb=7d66cc1aeec6d5bbcd4c963fe4115e4d64eaee67;p=cpPlugins.git diff --git a/lib/cpPlugins/Interface/ParametersQtDialog.h b/lib/cpPlugins/Interface/ParametersQtDialog.h index 365ec9c..d19d314 100644 --- a/lib/cpPlugins/Interface/ParametersQtDialog.h +++ b/lib/cpPlugins/Interface/ParametersQtDialog.h @@ -7,15 +7,15 @@ #include #include +#include -#include +#include #include #include #include #include -class vtkAbstractWidget; class vtkRenderWindowInteractor; namespace cpPlugins @@ -29,13 +29,20 @@ namespace cpPlugins { Q_OBJECT; + public: + typedef cpExtensions::Interaction::ImageInteractorStyle TStyle; + + typedef std::set< vtkRenderWindowInteractor* > TInteractors; + public: ParametersQtDialog( QWidget* parent = 0, Qt::WindowFlags f = 0 ); virtual ~ParametersQtDialog( ); bool IsModal( ) const; Parameters* getParameters( ) const; - void setInteractor( vtkRenderWindowInteractor* interactor ); + void addInteractor( vtkRenderWindowInteractor* interactor ); + TInteractors& getInteractors( ); + const TInteractors& getInteractors( ) const; bool setParameters( Parameters* parameters ); void setTitle( const std::string& title ); @@ -50,8 +57,7 @@ namespace cpPlugins QVBoxLayout* m_ToolsLayout; bool m_IsModal; - vtkRenderWindowInteractor* m_Interactor; - std::vector< vtkAbstractWidget* > m_Widgets; + TInteractors m_Interactors; }; } // ecapseman