Program: bbtk
Module: $RCSfile: bbtkConfigurationFile.cxx,v $
Language: C++
- Date: $Date: 2008/03/10 06:24:12 $
- Version: $Revision: 1.13 $
+ Date: $Date: 2008/03/17 10:51:35 $
+ Version: $Revision: 1.14 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See doc/license.txt or
std::string toolsappli_rel_path("/");
//EED toolsappli_rel_path += "toolsbbtk" + mFile_separator + "appli";
toolsappli_rel_path += "toolsbbtk/appli";
- mBbs_paths.push_back(mBbs_path + toolsappli_rel_path);
-
- int iStrVec,sizeStrVec;
-
- sizeStrVec = mBbs_paths.size();
- for (iStrVec=0;iStrVec<sizeStrVec;iStrVec++){
- Utilities::replace( mBbs_paths[iStrVec] , INVALID_FILE_SEPARATOR , VALID_FILE_SEPARATOR);
- }
+ //
+ //-----------------------------------------------------------
+ // LG : REMOVE BUGGY PATH WITH include *:
+ //
+ // mBbs_paths.push_back(mBbs_path + toolsappli_rel_path);
+ //-----------------------------------------------------------
+ int iStrVec,sizeStrVec;
+
+ sizeStrVec = mBbs_paths.size();
+ for (iStrVec=0;iStrVec<sizeStrVec;iStrVec++){
+ Utilities::replace( mBbs_paths[iStrVec] , INVALID_FILE_SEPARATOR , VALID_FILE_SEPARATOR);
+ }
// always add "." (current working directory) at the begining
connect typeBlackbox.Widget layoutHor.Widget1
connect formatBlackbox.Widget layoutHor.Widget2
+new CommandButton cancelButton
+ set cancelButton.In "quit"
+ set cancelButton.Label "Cancel"
+
new CommandButton createButton
set createButton.In "exec command; quit"
set createButton.Label "Go"
+new LayoutLine buttons
+ set buttons.Orientation Horizontal
+ connect cancelButton.Widget buttons.Widget1
+ connect createButton.Widget buttons.Widget2
+
new LayoutLine main
connect windowTitle.Widget main.Widget1
connect nameBlackbox.Widget main.Widget2
connect author.Widget main.Widget4
connect description.Widget main.Widget5
connect layoutHor.Widget main.Widget6
- connect createButton.Widget main.Widget7
+ connect buttons.Widget main.Widget7
set main.WinTitle "Create new black box"
set main.WinDialog true
set main.WinWidth 350
set description.Title "Description (caracters '<', '>' not accepted...)"
set description.In "_description_"
+new CommandButton cancelButton
+ set cancelButton.In "quit"
+ set cancelButton.Label "Cancel"
+
new CommandButton createButton
set createButton.In "exec command; quit"
set createButton.Label "Go"
+new LayoutLine buttons
+ set buttons.Orientation Horizontal
+ connect cancelButton.Widget buttons.Widget1
+ connect createButton.Widget buttons.Widget2
+
new LayoutLine main
connect windowTitle.Widget main.Widget1
connect name.Widget main.Widget2
connect author.Widget main.Widget3
connect description.Widget main.Widget4
- connect createButton.Widget main.Widget5
+ connect buttons.Widget main.Widget5
set main.WinTitle "Create new black box package"
set main.WinDialog true
set main.WinWidth 400