|
|
Line 10: |
Line 10: |
| * [[User:Barre/Slicer|Slicer]] topics | | * [[User:Barre/Slicer|Slicer]] topics |
|
| |
|
| ==C/C++== | | ==C/C == |
| * [[User:Barre/Development/GCC/Static Build|GCC Static Build]] | | * [[User:Barre/Development/GCC/Static Build|GCC Static Build]] |
| ==CMake stuff== | | ==CMake stuff== |
| * Add a 'cvsupdate' target to update the source tree from the build tree: | | * Add a 'cvsupdate' target to update the source tree from the build tree: |
| <pre> | | <pre> |
| ADD_CUSTOM_TARGET(cvsupdate ${CMAKE_COMMAND} -E chdir "${CMAKE_SOURCE_DIR}" "${CVSCOMMAND}" update) | | ADD_CUSTOM_TARGET(cvsupdate ${CMAKE_COMMAND} -E chdir |
| </pre>
| |
| | |
| == State Machine ==
| |
| | |
| <graphviz>
| |
| digraph G {
| |
| rankdir=LR;
| |
| node [fontcolor="#000000", fontsize=9, fontname="Helvetica"];
| |
| edge [fontcolor="#0000ff", fontsize=9, fontname="Helvetica"];
| |
| | |
| 1 [label="Start", peripheries=2];
| |
| 2 [label="2"];
| |
| 3 [label="3"];
| |
| | |
| 1 -> 2 [label="next"];
| |
| 1 -> 3 [label="skip"];
| |
| 2 -> 3 [label="next"];
| |
| 3 -> 1 [label="next"];
| |
| 2 -> 2 [label="invalid"];
| |
| | |
| subgraph cluster1 {
| |
| fontcolor="#000000";
| |
| fontsize=10;
| |
| style=dashed;
| |
| fontname="Helvetica";
| |
| 2;
| |
| 3;
| |
| }
| |
| | |
| fontcolor="#000000";
| |
| fontsize=12;
| |
| fontname="Helvetica";
| |
| label="State Machine Example";
| |
| }
| |
| </graphviz>
| |
| | |
| == Wizard Workflow ==
| |
| | |
| <graphviz>
| |
| digraph G {
| |
| rankdir=TB;
| |
| node [fontcolor="#000000", fontsize=9, fontname="Helvetica"];
| |
| edge [fontcolor="#0000ff", fontsize=8, fontname="Helvetica"];
| |
| | |
| 1 [label="Operator|I\n[e]"];
| |
| 2 [label="Operator|V"];
| |
| 3 [label="Operand 1/2|I\n[e]"];
| |
| 4 [label="Operand 1/2|V"];
| |
| 5 [label="Operand 2/2|I\n[e]"];
| |
| 6 [label="Operand 2/2|V"];
| |
| 7 [label="Result|I\n[e]"];
| |
| 8 [label="Result|V"];
| |
| 9 [label="Operand 1/1|I\n[e]"];
| |
| 10 [label="Operand 1/1|V"];
| |
| | |
| 1 -> 2 [label="validate [e]"];
| |
| 2 -> 1 [label="invalid"];
| |
| 3 -> 4 [label="validate [e]"];
| |
| 4 -> 3 [label="invalid"];
| |
| 2 -> 3 [label="valid [s]"];
| |
| 3 -> 1 [label="back to: Operator [s]"];
| |
| 5 -> 6 [label="validate [e]"];
| |
| 6 -> 5 [label="invalid"];
| |
| 4 -> 5 [label="valid [s]"];
| |
| 5 -> 3 [label="back to: Operand 1/2 [s]"];
| |
| 7 -> 8 [label="validate [e]"];
| |
| 8 -> 7 [label="invalid"];
| |
| 6 -> 7 [label="valid [s]"];
| |
| 7 -> 5 [label="back to: Operand 2/2 [s]"];
| |
| 9 -> 10 [label="validate [e]"];
| |
| 10 -> 9 [label="invalid"];
| |
| 2 -> 9 [label="valid 1/1 [s]"];
| |
| 9 -> 1 [label="back to: Operator [s]"];
| |
| 10 -> 7 [label="valid [s]"];
| |
| 7 -> 9 [label="back to: Operand 1/1 [s]"];
| |
| | |
| subgraph cluster1 {
| |
| fontcolor="#000000"; fontsize=10; fontname="Helvetica";
| |
| style=dashed;
| |
| label="Operator"
| |
| 1; 2;
| |
| }
| |
| | |
| subgraph cluster2 {
| |
| fontcolor="#000000"; fontsize=10; fontname="Helvetica";
| |
| style=dashed;
| |
| label="Operand 1/2"
| |
| 3; 4;
| |
| }
| |
| | |
| subgraph cluster3 {
| |
| fontcolor="#000000"; fontsize=10; fontname="Helvetica";
| |
| style=dashed;
| |
| label="Operand 2/2"
| |
| 5; 6;
| |
| }
| |
| | |
| subgraph cluster4 {
| |
| fontcolor="#000000"; fontsize=10; fontname="Helvetica";
| |
| style=dashed;
| |
| label="Result"
| |
| 7; 8;
| |
| }
| |
| | |
| subgraph cluster5 {
| |
| fontcolor="#000000"; fontsize=10; fontname="Helvetica";
| |
| style=dashed;
| |
| label="Operand 1/1"
| |
| 9; 10;
| |
| }
| |
| | |
| fontcolor="#000000";
| |
| fontsize=12;
| |
| fontname="Helvetica";
| |
| label="KWWizardDialogExample 1.0";
| |
| }
| |
| </graphviz>
| |