From e068be6bc87886f9672eea8ee86e159c41b3f1e1 Mon Sep 17 00:00:00 2001 From: ouv Date: Wed, 3 Dec 2008 15:55:53 +0000 Subject: [PATCH] Dump Python extension --- doc/salome/gui/images/notebook1.png | Bin 0 -> 15743 bytes doc/salome/gui/input/gui_module_chapter.doc | 1 + doc/salome/gui/input/index.doc | 1 + doc/salome/gui/input/using_notebook.doc | 26 ++++++++++++++++++++ src/SalomeApp/SalomeApp_NoteBookDlg.cxx | 10 ++++---- 5 files changed, 33 insertions(+), 5 deletions(-) create mode 100644 doc/salome/gui/images/notebook1.png create mode 100644 doc/salome/gui/input/using_notebook.doc diff --git a/doc/salome/gui/images/notebook1.png b/doc/salome/gui/images/notebook1.png new file mode 100644 index 0000000000000000000000000000000000000000..03d320d93b017e2b7ee2d18a8df0959a72d19583 GIT binary patch literal 15743 zcmdUWby$>N*X|$^3X&2-3kcEzqSDexcY`o=hje$>h)9Fd9nwg5N=i4dncd)e@}SE?)Ozw+LK?#Z z3KVQ?xVIGK9kVeXC1rXj0Wt9t*}*q|V&q#;E!Au7I2_4&b1E-`gT?uecgOM5y!dp? zPg1xX&>^>yqSF;u8=PYv<$lchG?bJGyL_%11wFamGM}&^@tR={${g6(o6uUV;+j<| zoDd3}kY45Da)Zw?@Zy5}5F6LN$B=hH&px1%Ji-gQ<5v#TViqgXa6o`K?alhv)j&o$C~hlc{W;cQQ;~Ok#PY zUE>1?5G^;Xh&*#IIaj&duZ7!_oU6qpJV*6>)(9a=q3bLkmM;BFEI4g&=<- zFYbaWat`X|GDF^^rx(9t#BUoLdkT3Pf(p^8cgApYLz$fX3=e0EDSk&E+pPAGFwEfP zC*w9$yKXi`3XZ(MI2R-F_kA5<6;hM&_1>BhbOSV!1c#!#8XKcIEK&)OQlXgF+L)s5E+kh+icBmQ8XWmYh{-JsXudi_GxW2;}0 zf`S49(bd!Q!9;w3#bbgsyIc6uXm}!;cymoKr19=9+Htn_Bd&C!Ga|&@Lz9w??E$Qe z@MQaqiqyxAA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KoQA`ZqMHhH?%e%h>P{5Sp-+^?;TMDs2gncNP|}fQn3G&j^}3L_o)H0ERE< e#j3hP`8M)|oIn1f3V5*^@?JznxL8ov_rC$aoKD^V literal 0 HcmV?d00001 diff --git a/doc/salome/gui/input/gui_module_chapter.doc b/doc/salome/gui/input/gui_module_chapter.doc index bc95ea061..3645116b0 100644 --- a/doc/salome/gui/input/gui_module_chapter.doc +++ b/doc/salome/gui/input/gui_module_chapter.doc @@ -20,6 +20,7 @@
  • \subpage using_find_tool_page
  • \subpage using_registry_tool_page
  • \subpage using_catalog_generator_page "Using Catalog Generator"
  • +
  • \subpage using_notebook
  • \subpage viewers_page
    • \ref occ_3d_viewer_page
    • diff --git a/doc/salome/gui/input/index.doc b/doc/salome/gui/input/index.doc index 1f4d18053..e4666e575 100644 --- a/doc/salome/gui/input/index.doc +++ b/doc/salome/gui/input/index.doc @@ -31,6 +31,7 @@
    • \ref using_find_tool_page
    • \ref using_registry_tool_page
    • \ref using_catalog_generator_page "Using Catalog Generator"
    • +
    • \ref using_notebook
    • \ref viewers_page
      • \ref occ_3d_viewer_page
      • diff --git a/doc/salome/gui/input/using_notebook.doc b/doc/salome/gui/input/using_notebook.doc new file mode 100644 index 000000000..d48fe8fcb --- /dev/null +++ b/doc/salome/gui/input/using_notebook.doc @@ -0,0 +1,26 @@ +/*! + +\page using_notebook Using NoteBook + +SALOME NoteBook is destined for managing numerical and boolean +parameters (variables) which are used to create and modify objects in +different components. + +To open the NoteBook choose File > Notebook, the following +dialog box will appear: + +\image html notebook1.png + +Here you can add new variables, remove and rename existing variables and +change their values. + +If you have modified some variables, which are already used in the current +study, you should click Update Study button to apply your changes +to the study. + +\note The dialog will not be validated until at least one of variables in +the table has invalid name or value (marked by red color). Names of +variables should be unique and their values should be numerical (integer or +double) or boolean ("True" / "False"). + +*/ \ No newline at end of file diff --git a/src/SalomeApp/SalomeApp_NoteBookDlg.cxx b/src/SalomeApp/SalomeApp_NoteBookDlg.cxx index d321db431..6d6c69fba 100644 --- a/src/SalomeApp/SalomeApp_NoteBookDlg.cxx +++ b/src/SalomeApp/SalomeApp_NoteBookDlg.cxx @@ -152,12 +152,12 @@ QString NoteBook_TableRow::GetValue() const //============================================================================ bool NoteBook_TableRow::CheckName() { - bool aResult = false; QString aName = GetName(); - if( !aName.isEmpty() ) - aResult = true; - - return aResult; + int aPos = 0; + QRegExpValidator aValidator( QRegExp("^([a-zA-Z]+)([a-zA-Z0-9_]*)$"), 0 ); + if( aName.isEmpty() || !aValidator.validate( aName, aPos ) ) + return false; + return true; } //============================================================================ -- 2.39.2