#include <cpPlugins/Interface/cpPlugins_Interface_Export.h>
#include <cpPlugins/Interface/Parameters.h>
+#include <cpExtensions/Interaction/ImageInteractorStyle.h>
-#include <vector>
+#include <set>
#include <QDialog>
#include <QGridLayout>
#include <QLabel>
#include <QVBoxLayout>
-class vtkAbstractWidget;
class vtkRenderWindowInteractor;
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 );
QVBoxLayout* m_ToolsLayout;
bool m_IsModal;
- vtkRenderWindowInteractor* m_Interactor;
- std::vector< vtkAbstractWidget* > m_Widgets;
+ TInteractors m_Interactors;
};
- /* TODO
- bool cpPlugins_Interface_EXPORT ParametersQtDialog(
- Parameters* parameters,
- const std::string& title,
- QWidget* parent = NULL
- );
- */
-
} // ecapseman
} // ecapseman