#include "OpenImageDialog.h"
#include "vtkImageData.h"
+#include <structBCPSettings.h>
+#include <buttonContainerSettings.h>
+#include <creaPanelButtonContainer.h>
class MyApp:public wxApp
{
MyFrame *frame = new MyFrame(wxT("CREATIS basic"));
const int width = 600;
+
const int height = 250;
frame->SetSize(width,height);
-
+
frame->Show(true);
return true;
# ------------------------------------------------------------------------ */
#ADD_SUBDIRECTORY(ManualPaint)
-#ADD_SUBDIRECTORY(BasicViewer)
+##ADD_SUBDIRECTORY(BasicViewer)
IF(QT_USE_QTUITOOLS)
ADD_SUBDIRECTORY(QtVTKViewer)
{
ButtonContainerSettings* settings = new ButtonContainerSettings( );
printf("EED PanelButtonContainer::Process %d\n", bbGetInputIn( ).size() );
-
-
settings->AddButtons(bbGetInputIn( ), bbGetInputType());
-
-
PBContainer* panel = new PBContainer( myPanel, settings, bbGetInputType() );
wxBoxSizer* sizer = new wxBoxSizer( wxHORIZONTAL );
sizer->Add( panel, 1, wxEXPAND, 0 );
this->myPanel = new wxPanel( parent, -1 );
/// \TODO fix warning: unused variable ww
wxWindow* ww = bbCreateWidgetOfInput( "In", this->myPanel );
- bbSetOutputWidget( myPanel);
-
+ ww=NULL;
+ bbSetOutputWidget( myPanel );
}
//=====
// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)