1 #ifndef __CPPLUGINS__INTERFACE__PARAMETERSQTDIALOG__H__
2 #define __CPPLUGINS__INTERFACE__PARAMETERSQTDIALOG__H__
4 #include <cpPlugins/Interface/Config.h>
6 #ifdef cpPlugins_Interface_QT4
8 #include <cpPlugins/Interface/cpPlugins_Interface_Export.h>
9 #include <cpPlugins/Interface/Parameters.h>
10 #include <cpExtensions/Interaction/ImageInteractorStyle.h>
15 #include <QDialogButtonBox>
16 #include <QGridLayout>
18 #include <QVBoxLayout>
20 class vtkRenderWindowInteractor;
28 class cpPlugins_Interface_EXPORT ParametersQtDialog
34 typedef cpExtensions::Interaction::ImageInteractorStyle TStyle;
36 typedef std::set< vtkRenderWindowInteractor* > TInteractors;
39 ParametersQtDialog( QWidget* parent = 0, Qt::WindowFlags f = 0 );
40 virtual ~ParametersQtDialog( );
42 Parameters* getParameters( ) const;
43 void addInteractor( vtkRenderWindowInteractor* interactor );
44 TInteractors& getInteractors( );
45 const TInteractors& getInteractors( ) const;
46 bool setParameters( Parameters* parameters );
51 void updateParameters( );
55 void _dlg_OpenSingleFile( );
56 void _dlg_SaveSingleFile( );
57 void _dlg_OpenSinglePath( );
58 void _dlg_OpenMultipleFiles( );
64 Parameters* m_Parameters;
66 QGridLayout* m_MainLayout;
67 QVBoxLayout* m_ToolsLayout;
68 QDialogButtonBox* m_Buttons;
70 TInteractors m_Interactors;
77 #endif // cpPlugins_Interface_QT4
79 #endif // __CPPLUGINS__INTERFACE__PARAMETERSQTDIALOG__H__