X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=creaWT.git;a=blobdiff_plain;f=wt%2Fbbtk_wt_PKG%2Fsrc%2FbbwtLayoutTab.cxx~;fp=wt%2Fbbtk_wt_PKG%2Fsrc%2FbbwtLayoutTab.cxx~;h=0000000000000000000000000000000000000000;hp=a0437165ed6193666ccf3072af85e6b5ea73146b;hb=5bdd6bc07e285c2dc485dd053aaee47356d8689b;hpb=430578713a572cd83e04ca0f65c6e34e87879cd6 diff --git a/wt/bbtk_wt_PKG/src/bbwtLayoutTab.cxx~ b/wt/bbtk_wt_PKG/src/bbwtLayoutTab.cxx~ deleted file mode 100644 index a043716..0000000 --- a/wt/bbtk_wt_PKG/src/bbwtLayoutTab.cxx~ +++ /dev/null @@ -1,91 +0,0 @@ -//===== -// 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) -//===== -#include "bbwtLayoutTab.h" -#include "bbwtPackage.h" -#include "bbtkUtilities.h" - -namespace bbwt -{ - -BBTK_ADD_BLACK_BOX_TO_PACKAGE(wt,LayoutTab) -BBTK_BLACK_BOX_IMPLEMENTATION(LayoutTab,bbtk::WtBlackBox); -//===== -// 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) -//===== -void LayoutTab::Process() -{ - - -} -//===== -// 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) -//===== -void LayoutTab::CreateWidget(Wt::WContainerWidget* parent) -{ - - - - - Wt::WContainerWidget *w = new Wt::WContainerWidget(parent); - Wt::WTabWidget* layout = new Wt::WTabWidget(); - Wt::WContainerWidget *cw; - - if ((cw=bbCreateWidgetOfInput("Widget1",w)) != 0) {layout->addTab(cw,bbtk::std2wt(bbGetInputLabel1()));} - if ((cw=bbCreateWidgetOfInput("Widget2",w)) != 0) {layout->addTab(cw,bbtk::std2wt(bbGetInputLabel2()));} - if ((cw=bbCreateWidgetOfInput("Widget3",w)) != 0) {layout->addTab(cw,bbtk::std2wt(bbGetInputLabel3()));} - if ((cw=bbCreateWidgetOfInput("Widget4",w)) != 0) {layout->addTab(cw,bbtk::std2wt(bbGetInputLabel4()));} - if ((cw=bbCreateWidgetOfInput("Widget5",w)) != 0) {layout->addTab(cw,bbtk::std2wt(bbGetInputLabel5()));} - if ((cw=bbCreateWidgetOfInput("Widget6",w)) != 0) {layout->addTab(cw,bbtk::std2wt(bbGetInputLabel6()));} - if ((cw=bbCreateWidgetOfInput("Widget7",w)) != 0) {layout->addTab(cw,bbtk::std2wt(bbGetInputLabel7()));} - if ((cw=bbCreateWidgetOfInput("Widget8",w)) != 0) {layout->addTab(cw,bbtk::std2wt(bbGetInputLabel8()));} - if ((cw=bbCreateWidgetOfInput("Widget9",w)) != 0) {layout->addTab(cw,bbtk::std2wt(bbGetInputLabel9()));} - - w->setLayout(layout); - bbSetOutputWidget( w ); - - -} -//===== -// 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) -//===== -void LayoutTab::bbUserSetDefaultValues() -{ - - bbSetInputWidget1(NULL); - bbSetInputWidget2(NULL); - bbSetInputWidget3(NULL); - bbSetInputWidget4(NULL); - bbSetInputWidget5(NULL); - bbSetInputWidget6(NULL); - bbSetInputWidget7(NULL); - bbSetInputWidget8(NULL); - bbSetInputWidget9(NULL); - bbSetInputLabel1("Tab 1"); - bbSetInputLabel2("Tab 2"); - bbSetInputLabel3("Tab 3"); - bbSetInputLabel4("Tab 4"); - bbSetInputLabel5("Tab 5"); - bbSetInputLabel6("Tab 6"); - bbSetInputLabel7("Tab 7"); - bbSetInputLabel8("Tab 8"); - bbSetInputLabel9("Tab 9"); -} -//===== -// 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) -//===== -void LayoutTab::bbUserInitializeProcessing() -{ - -} -//===== -// 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) -//===== -void LayoutTab::bbUserFinalizeProcessing() -{ - -} -} -// EO namespace bbwt - -