#include "bbtkWxGUIHtmlBrowser.h"
#include "bbtkWxGUIPackageBrowser2.h"
-#include "../../src/icons/cc_run.xpm"
+//#include "../../src/icons/cc_run.xpm"
#include "../../src/icons/cc_exit.xpm"
using namespace bbtk;
ENDFOREACH(page)
+#===================================================================
+# Regenerate package doc / boxes lists
+# Must be made manually as:
+# 1) Is useless for installers (it is to be run after install)
+# 2) Can be done manually for a build tree (e.g. in bbStudio)
+IF(FALSE)
+
SET(INDEX_OUTPUT index-alpha.html)
IF (WIN32)
DEPENDS ${INDEX_OUTPUT}
)
+ENDIF(FALSE)
MESSAGE(STATUS "=======================================")
# HOWEVER A USER SHOULD USE std BY LISTING IT IN THE VARIABLE
# ${BBTK_PACKAGE_NAME}_USE_PACKAGES (see above)
../std/src
+ # The path to the build tree folder is needed to find bbstd_EXPORT.h
+ ${PROJECT_BINARY_DIR}/packages/std/src
)
#===========================================================================
--- /dev/null
+description "A tour of all kw widgets"
+author "laurent.guigues at creatis.insa-lyon.fr"
+category "demo"
+
+print "=================================="
+print "A Slider whose output is plugged into an OutputText"
+
+include kw
+load std
+new kwSlider in
+new kwOutputText out
+connect in.Out out.In
+connect in.BoxChange out.BoxExecute
+new kwLayoutSplit window
+connect in.Widget window.Widget1
+connect out.Widget window.Widget2
+exec window
+reset
+
+print "=================================="
+print "The kwSlicer widget"
+
+load kw
+include vtk
+load wx
+
+new LoadHola r
+new kwSlicer s
+connect r.Out s.In
+exec s
+reset
+
+print "=================================="
+print "Using both kw and wx"
+
+load wx
+load kw
+load std
+
+new OutputText t
+exec t
+
+new kwSlider s
+connect s.Out t.In
+connect s.BoxChange t.BoxExecute
+
+exec s