X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPlugins%2FInterface%2FParametersQtDialog.h;h=d19d31450323814a4ceec7f3ae11cd8d12110784;hb=00b54bc0344d74f31df8b93f7c28a07cfc8d6873;hp=9e9b73a3a5ebf8dbf5fa0fbf7514220409499faf;hpb=106a56bfe6a48067380089ffd61a518e40d77933;p=cpPlugins.git diff --git a/lib/cpPlugins/Interface/ParametersQtDialog.h b/lib/cpPlugins/Interface/ParametersQtDialog.h index 9e9b73a..d19d314 100644 --- a/lib/cpPlugins/Interface/ParametersQtDialog.h +++ b/lib/cpPlugins/Interface/ParametersQtDialog.h @@ -32,6 +32,8 @@ namespace cpPlugins public: typedef cpExtensions::Interaction::ImageInteractorStyle TStyle; + typedef std::set< vtkRenderWindowInteractor* > TInteractors; + public: ParametersQtDialog( QWidget* parent = 0, Qt::WindowFlags f = 0 ); virtual ~ParametersQtDialog( ); @@ -39,6 +41,8 @@ namespace cpPlugins bool IsModal( ) const; Parameters* getParameters( ) const; void addInteractor( vtkRenderWindowInteractor* interactor ); + TInteractors& getInteractors( ); + const TInteractors& getInteractors( ) const; bool setParameters( Parameters* parameters ); void setTitle( const std::string& title ); @@ -53,7 +57,7 @@ namespace cpPlugins QVBoxLayout* m_ToolsLayout; bool m_IsModal; - std::set< vtkRenderWindowInteractor* > m_Interactors; + TInteractors m_Interactors; }; } // ecapseman