From 75e867d56b12626d3db13d21b6d55c5cebaf9858 Mon Sep 17 00:00:00 2001 From: Ian Walters Date: Tue, 28 Apr 2009 10:12:47 +1000 Subject: Reorg so that snippets are more readable. Reorg not complete though. May implement use of namespace features in chapter 2 so that can reduce duplicated files in chapter 3. --- .../1_Drawing_and_Animation/1/Removebutton.qml | 4 + .../1_Drawing_and_animation.qml | 12 +-- .../1_Drawing_and_Animation/2/RemoveButton.qml | 10 +++ .../1_Drawing_and_Animation/3/RemoveButton.qml | 23 ++++++ .../1_Drawing_and_Animation/4/RemoveButton.qml | 65 +++++++++++++++ .../1_Drawing_and_Animation/5/RemoveButton.qml | 70 ++++++++++++++++ .../contacts/1_Drawing_and_Animation/GroupBox.qml | 12 ++- .../1_Drawing_and_Animation/RemoveButton1.qml | 4 - .../1_Drawing_and_Animation/RemoveButton2.qml | 10 --- .../1_Drawing_and_Animation/RemoveButton3.qml | 23 ------ .../1_Drawing_and_Animation/RemoveButton4.qml | 65 --------------- .../1_Drawing_and_Animation/RemoveButton5.qml | 70 ---------------- .../tutorials/contacts/2_Reuse/1/ContactField.qml | 18 ++++ .../tutorials/contacts/2_Reuse/1/RemoveButton.qml | 70 ++++++++++++++++ .../tutorials/contacts/2_Reuse/2/ContactField.qml | 20 +++++ .../tutorials/contacts/2_Reuse/2/RemoveButton.qml | 76 +++++++++++++++++ .../tutorials/contacts/2_Reuse/2_Reuse.qml | 12 +-- .../tutorials/contacts/2_Reuse/3/Contact.qml | 29 +++++++ .../tutorials/contacts/2_Reuse/3/ContactField.qml | 36 ++++++++ .../tutorials/contacts/2_Reuse/3/FieldText.qml | 91 ++++++++++++++++++++ .../tutorials/contacts/2_Reuse/3/RemoveButton.qml | 76 +++++++++++++++++ .../tutorials/contacts/2_Reuse/4/Contact.qml | 32 ++++++++ .../tutorials/contacts/2_Reuse/4/ContactField.qml | 35 ++++++++ .../tutorials/contacts/2_Reuse/4/FieldText.qml | 96 ++++++++++++++++++++++ .../tutorials/contacts/2_Reuse/4/RemoveButton.qml | 80 ++++++++++++++++++ .../tutorials/contacts/2_Reuse/Contact3.qml | 29 ------- .../tutorials/contacts/2_Reuse/Contact4.qml | 32 -------- .../tutorials/contacts/2_Reuse/ContactField1.qml | 18 ---- .../tutorials/contacts/2_Reuse/ContactField2.qml | 20 ----- .../tutorials/contacts/2_Reuse/ContactField3.qml | 36 -------- .../tutorials/contacts/2_Reuse/ContactField4.qml | 35 -------- .../tutorials/contacts/2_Reuse/FieldText3.qml | 91 -------------------- .../tutorials/contacts/2_Reuse/FieldText4.qml | 96 ---------------------- .../tutorials/contacts/2_Reuse/GroupBox.qml | 12 ++- .../tutorials/contacts/2_Reuse/RemoveButton1.qml | 70 ---------------- .../tutorials/contacts/2_Reuse/RemoveButton2.qml | 76 ----------------- .../tutorials/contacts/2_Reuse/RemoveButton3.qml | 76 ----------------- .../tutorials/contacts/2_Reuse/RemoveButton4.qml | 80 ------------------ .../tutorials/contacts/3_Collections/1/Button.qml | 38 +++++++++ .../tutorials/contacts/3_Collections/1/Contact.qml | 28 +++++++ .../contacts/3_Collections/1/ContactField.qml | 35 ++++++++ .../contacts/3_Collections/1/ContactView.qml | 28 +++++++ .../contacts/3_Collections/1/FieldText.qml | 96 ++++++++++++++++++++++ .../contacts/3_Collections/1/RemoveButton.qml | 80 ++++++++++++++++++ .../tutorials/contacts/3_Collections/2/Button.qml | 38 +++++++++ .../tutorials/contacts/3_Collections/2/Contact.qml | 28 +++++++ .../contacts/3_Collections/2/ContactField.qml | 35 ++++++++ .../contacts/3_Collections/2/ContactView.qml | 69 ++++++++++++++++ .../contacts/3_Collections/2/FieldText.qml | 96 ++++++++++++++++++++++ .../contacts/3_Collections/2/RemoveButton.qml | 80 ++++++++++++++++++ .../tutorials/contacts/3_Collections/3/Button.qml | 38 +++++++++ .../tutorials/contacts/3_Collections/3/Contact.qml | 28 +++++++ .../contacts/3_Collections/3/ContactField.qml | 35 ++++++++ .../contacts/3_Collections/3/ContactView.qml | 74 +++++++++++++++++ .../contacts/3_Collections/3/FieldText.qml | 96 ++++++++++++++++++++++ .../contacts/3_Collections/3/RemoveButton.qml | 80 ++++++++++++++++++ .../contacts/3_Collections/3_Collections.qml | 41 ++------- .../tutorials/contacts/3_Collections/Button.qml | 38 --------- .../tutorials/contacts/3_Collections/Contact.qml | 28 ------- .../contacts/3_Collections/ContactField.qml | 35 -------- .../contacts/3_Collections/ContactView1.qml | 28 ------- .../contacts/3_Collections/ContactView2.qml | 68 --------------- .../contacts/3_Collections/ContactView3.qml | 73 ---------------- .../tutorials/contacts/3_Collections/FieldText.qml | 96 ---------------------- .../tutorials/contacts/3_Collections/GroupBox.qml | 12 ++- .../contacts/3_Collections/RemoveButton.qml | 80 ------------------ 66 files changed, 1883 insertions(+), 1328 deletions(-) create mode 100644 examples/declarative/tutorials/contacts/1_Drawing_and_Animation/1/Removebutton.qml create mode 100644 examples/declarative/tutorials/contacts/1_Drawing_and_Animation/2/RemoveButton.qml create mode 100644 examples/declarative/tutorials/contacts/1_Drawing_and_Animation/3/RemoveButton.qml create mode 100644 examples/declarative/tutorials/contacts/1_Drawing_and_Animation/4/RemoveButton.qml create mode 100644 examples/declarative/tutorials/contacts/1_Drawing_and_Animation/5/RemoveButton.qml delete mode 100644 examples/declarative/tutorials/contacts/1_Drawing_and_Animation/RemoveButton1.qml delete mode 100644 examples/declarative/tutorials/contacts/1_Drawing_and_Animation/RemoveButton2.qml delete mode 100644 examples/declarative/tutorials/contacts/1_Drawing_and_Animation/RemoveButton3.qml delete mode 100644 examples/declarative/tutorials/contacts/1_Drawing_and_Animation/RemoveButton4.qml delete mode 100644 examples/declarative/tutorials/contacts/1_Drawing_and_Animation/RemoveButton5.qml create mode 100644 examples/declarative/tutorials/contacts/2_Reuse/1/ContactField.qml create mode 100644 examples/declarative/tutorials/contacts/2_Reuse/1/RemoveButton.qml create mode 100644 examples/declarative/tutorials/contacts/2_Reuse/2/ContactField.qml create mode 100644 examples/declarative/tutorials/contacts/2_Reuse/2/RemoveButton.qml create mode 100644 examples/declarative/tutorials/contacts/2_Reuse/3/Contact.qml create mode 100644 examples/declarative/tutorials/contacts/2_Reuse/3/ContactField.qml create mode 100644 examples/declarative/tutorials/contacts/2_Reuse/3/FieldText.qml create mode 100644 examples/declarative/tutorials/contacts/2_Reuse/3/RemoveButton.qml create mode 100644 examples/declarative/tutorials/contacts/2_Reuse/4/Contact.qml create mode 100644 examples/declarative/tutorials/contacts/2_Reuse/4/ContactField.qml create mode 100644 examples/declarative/tutorials/contacts/2_Reuse/4/FieldText.qml create mode 100644 examples/declarative/tutorials/contacts/2_Reuse/4/RemoveButton.qml delete mode 100644 examples/declarative/tutorials/contacts/2_Reuse/Contact3.qml delete mode 100644 examples/declarative/tutorials/contacts/2_Reuse/Contact4.qml delete mode 100644 examples/declarative/tutorials/contacts/2_Reuse/ContactField1.qml delete mode 100644 examples/declarative/tutorials/contacts/2_Reuse/ContactField2.qml delete mode 100644 examples/declarative/tutorials/contacts/2_Reuse/ContactField3.qml delete mode 100644 examples/declarative/tutorials/contacts/2_Reuse/ContactField4.qml delete mode 100644 examples/declarative/tutorials/contacts/2_Reuse/FieldText3.qml delete mode 100644 examples/declarative/tutorials/contacts/2_Reuse/FieldText4.qml delete mode 100644 examples/declarative/tutorials/contacts/2_Reuse/RemoveButton1.qml delete mode 100644 examples/declarative/tutorials/contacts/2_Reuse/RemoveButton2.qml delete mode 100644 examples/declarative/tutorials/contacts/2_Reuse/RemoveButton3.qml delete mode 100644 examples/declarative/tutorials/contacts/2_Reuse/RemoveButton4.qml create mode 100644 examples/declarative/tutorials/contacts/3_Collections/1/Button.qml create mode 100644 examples/declarative/tutorials/contacts/3_Collections/1/Contact.qml create mode 100644 examples/declarative/tutorials/contacts/3_Collections/1/ContactField.qml create mode 100644 examples/declarative/tutorials/contacts/3_Collections/1/ContactView.qml create mode 100644 examples/declarative/tutorials/contacts/3_Collections/1/FieldText.qml create mode 100644 examples/declarative/tutorials/contacts/3_Collections/1/RemoveButton.qml create mode 100644 examples/declarative/tutorials/contacts/3_Collections/2/Button.qml create mode 100644 examples/declarative/tutorials/contacts/3_Collections/2/Contact.qml create mode 100644 examples/declarative/tutorials/contacts/3_Collections/2/ContactField.qml create mode 100644 examples/declarative/tutorials/contacts/3_Collections/2/ContactView.qml create mode 100644 examples/declarative/tutorials/contacts/3_Collections/2/FieldText.qml create mode 100644 examples/declarative/tutorials/contacts/3_Collections/2/RemoveButton.qml create mode 100644 examples/declarative/tutorials/contacts/3_Collections/3/Button.qml create mode 100644 examples/declarative/tutorials/contacts/3_Collections/3/Contact.qml create mode 100644 examples/declarative/tutorials/contacts/3_Collections/3/ContactField.qml create mode 100644 examples/declarative/tutorials/contacts/3_Collections/3/ContactView.qml create mode 100644 examples/declarative/tutorials/contacts/3_Collections/3/FieldText.qml create mode 100644 examples/declarative/tutorials/contacts/3_Collections/3/RemoveButton.qml delete mode 100644 examples/declarative/tutorials/contacts/3_Collections/Button.qml delete mode 100644 examples/declarative/tutorials/contacts/3_Collections/Contact.qml delete mode 100644 examples/declarative/tutorials/contacts/3_Collections/ContactField.qml delete mode 100644 examples/declarative/tutorials/contacts/3_Collections/ContactView1.qml delete mode 100644 examples/declarative/tutorials/contacts/3_Collections/ContactView2.qml delete mode 100644 examples/declarative/tutorials/contacts/3_Collections/ContactView3.qml delete mode 100644 examples/declarative/tutorials/contacts/3_Collections/FieldText.qml delete mode 100644 examples/declarative/tutorials/contacts/3_Collections/RemoveButton.qml diff --git a/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/1/Removebutton.qml b/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/1/Removebutton.qml new file mode 100644 index 0000000..dc3f505 --- /dev/null +++ b/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/1/Removebutton.qml @@ -0,0 +1,4 @@ + diff --git a/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/1_Drawing_and_animation.qml b/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/1_Drawing_and_animation.qml index 4ea77f3..31a95c6 100644 --- a/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/1_Drawing_and_animation.qml +++ b/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/1_Drawing_and_animation.qml @@ -1,9 +1,9 @@ - - - - - - + + + + + + diff --git a/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/2/RemoveButton.qml b/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/2/RemoveButton.qml new file mode 100644 index 0000000..d3cb045 --- /dev/null +++ b/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/2/RemoveButton.qml @@ -0,0 +1,10 @@ + + + diff --git a/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/3/RemoveButton.qml b/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/3/RemoveButton.qml new file mode 100644 index 0000000..257686f --- /dev/null +++ b/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/3/RemoveButton.qml @@ -0,0 +1,23 @@ + + + + + diff --git a/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/4/RemoveButton.qml b/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/4/RemoveButton.qml new file mode 100644 index 0000000..6d97db1 --- /dev/null +++ b/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/4/RemoveButton.qml @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/5/RemoveButton.qml b/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/5/RemoveButton.qml new file mode 100644 index 0000000..ddb3507 --- /dev/null +++ b/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/5/RemoveButton.qml @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/GroupBox.qml b/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/GroupBox.qml index 01f26ee..77f7093 100644 --- a/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/GroupBox.qml +++ b/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/GroupBox.qml @@ -1,4 +1,4 @@ - + @@ -14,4 +14,12 @@ - + + + + + + + + + diff --git a/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/RemoveButton1.qml b/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/RemoveButton1.qml deleted file mode 100644 index dc3f505..0000000 --- a/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/RemoveButton1.qml +++ /dev/null @@ -1,4 +0,0 @@ - diff --git a/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/RemoveButton2.qml b/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/RemoveButton2.qml deleted file mode 100644 index 2ba488d..0000000 --- a/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/RemoveButton2.qml +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/RemoveButton3.qml b/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/RemoveButton3.qml deleted file mode 100644 index 9a364c5..0000000 --- a/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/RemoveButton3.qml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - diff --git a/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/RemoveButton4.qml b/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/RemoveButton4.qml deleted file mode 100644 index 45ca19d..0000000 --- a/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/RemoveButton4.qml +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/RemoveButton5.qml b/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/RemoveButton5.qml deleted file mode 100644 index 68c1838..0000000 --- a/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/RemoveButton5.qml +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/declarative/tutorials/contacts/2_Reuse/1/ContactField.qml b/examples/declarative/tutorials/contacts/2_Reuse/1/ContactField.qml new file mode 100644 index 0000000..6d8bb9f --- /dev/null +++ b/examples/declarative/tutorials/contacts/2_Reuse/1/ContactField.qml @@ -0,0 +1,18 @@ + + + + + diff --git a/examples/declarative/tutorials/contacts/2_Reuse/1/RemoveButton.qml b/examples/declarative/tutorials/contacts/2_Reuse/1/RemoveButton.qml new file mode 100644 index 0000000..ddb3507 --- /dev/null +++ b/examples/declarative/tutorials/contacts/2_Reuse/1/RemoveButton.qml @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/declarative/tutorials/contacts/2_Reuse/2/ContactField.qml b/examples/declarative/tutorials/contacts/2_Reuse/2/ContactField.qml new file mode 100644 index 0000000..5f8ff51 --- /dev/null +++ b/examples/declarative/tutorials/contacts/2_Reuse/2/ContactField.qml @@ -0,0 +1,20 @@ + + + + + diff --git a/examples/declarative/tutorials/contacts/2_Reuse/2/RemoveButton.qml b/examples/declarative/tutorials/contacts/2_Reuse/2/RemoveButton.qml new file mode 100644 index 0000000..e52bcbf --- /dev/null +++ b/examples/declarative/tutorials/contacts/2_Reuse/2/RemoveButton.qml @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/declarative/tutorials/contacts/2_Reuse/2_Reuse.qml b/examples/declarative/tutorials/contacts/2_Reuse/2_Reuse.qml index 92afc0c..98fdb86 100644 --- a/examples/declarative/tutorials/contacts/2_Reuse/2_Reuse.qml +++ b/examples/declarative/tutorials/contacts/2_Reuse/2_Reuse.qml @@ -1,9 +1,9 @@ - - - - - - + + + + + + diff --git a/examples/declarative/tutorials/contacts/2_Reuse/3/Contact.qml b/examples/declarative/tutorials/contacts/2_Reuse/3/Contact.qml new file mode 100644 index 0000000..cf6c657 --- /dev/null +++ b/examples/declarative/tutorials/contacts/2_Reuse/3/Contact.qml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + diff --git a/examples/declarative/tutorials/contacts/2_Reuse/3/ContactField.qml b/examples/declarative/tutorials/contacts/2_Reuse/3/ContactField.qml new file mode 100644 index 0000000..5748a81 --- /dev/null +++ b/examples/declarative/tutorials/contacts/2_Reuse/3/ContactField.qml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/declarative/tutorials/contacts/2_Reuse/3/FieldText.qml b/examples/declarative/tutorials/contacts/2_Reuse/3/FieldText.qml new file mode 100644 index 0000000..8010ac0 --- /dev/null +++ b/examples/declarative/tutorials/contacts/2_Reuse/3/FieldText.qml @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/declarative/tutorials/contacts/2_Reuse/3/RemoveButton.qml b/examples/declarative/tutorials/contacts/2_Reuse/3/RemoveButton.qml new file mode 100644 index 0000000..e52bcbf --- /dev/null +++ b/examples/declarative/tutorials/contacts/2_Reuse/3/RemoveButton.qml @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/declarative/tutorials/contacts/2_Reuse/4/Contact.qml b/examples/declarative/tutorials/contacts/2_Reuse/4/Contact.qml new file mode 100644 index 0000000..2f4d540 --- /dev/null +++ b/examples/declarative/tutorials/contacts/2_Reuse/4/Contact.qml @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + diff --git a/examples/declarative/tutorials/contacts/2_Reuse/4/ContactField.qml b/examples/declarative/tutorials/contacts/2_Reuse/4/ContactField.qml new file mode 100644 index 0000000..819914c --- /dev/null +++ b/examples/declarative/tutorials/contacts/2_Reuse/4/ContactField.qml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/declarative/tutorials/contacts/2_Reuse/4/FieldText.qml b/examples/declarative/tutorials/contacts/2_Reuse/4/FieldText.qml new file mode 100644 index 0000000..0f2ef4e --- /dev/null +++ b/examples/declarative/tutorials/contacts/2_Reuse/4/FieldText.qml @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/declarative/tutorials/contacts/2_Reuse/4/RemoveButton.qml b/examples/declarative/tutorials/contacts/2_Reuse/4/RemoveButton.qml new file mode 100644 index 0000000..14e5043 --- /dev/null +++ b/examples/declarative/tutorials/contacts/2_Reuse/4/RemoveButton.qml @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/declarative/tutorials/contacts/2_Reuse/Contact3.qml b/examples/declarative/tutorials/contacts/2_Reuse/Contact3.qml deleted file mode 100644 index 2933437..0000000 --- a/examples/declarative/tutorials/contacts/2_Reuse/Contact3.qml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - diff --git a/examples/declarative/tutorials/contacts/2_Reuse/Contact4.qml b/examples/declarative/tutorials/contacts/2_Reuse/Contact4.qml deleted file mode 100644 index e87ed60..0000000 --- a/examples/declarative/tutorials/contacts/2_Reuse/Contact4.qml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/examples/declarative/tutorials/contacts/2_Reuse/ContactField1.qml b/examples/declarative/tutorials/contacts/2_Reuse/ContactField1.qml deleted file mode 100644 index 7bfdd28..0000000 --- a/examples/declarative/tutorials/contacts/2_Reuse/ContactField1.qml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - diff --git a/examples/declarative/tutorials/contacts/2_Reuse/ContactField2.qml b/examples/declarative/tutorials/contacts/2_Reuse/ContactField2.qml deleted file mode 100644 index 7ec3e4d..0000000 --- a/examples/declarative/tutorials/contacts/2_Reuse/ContactField2.qml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - diff --git a/examples/declarative/tutorials/contacts/2_Reuse/ContactField3.qml b/examples/declarative/tutorials/contacts/2_Reuse/ContactField3.qml deleted file mode 100644 index cef25ce..0000000 --- a/examples/declarative/tutorials/contacts/2_Reuse/ContactField3.qml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/declarative/tutorials/contacts/2_Reuse/ContactField4.qml b/examples/declarative/tutorials/contacts/2_Reuse/ContactField4.qml deleted file mode 100644 index 13ccbc0..0000000 --- a/examples/declarative/tutorials/contacts/2_Reuse/ContactField4.qml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/declarative/tutorials/contacts/2_Reuse/FieldText3.qml b/examples/declarative/tutorials/contacts/2_Reuse/FieldText3.qml deleted file mode 100644 index d09ad0b..0000000 --- a/examples/declarative/tutorials/contacts/2_Reuse/FieldText3.qml +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/declarative/tutorials/contacts/2_Reuse/FieldText4.qml b/examples/declarative/tutorials/contacts/2_Reuse/FieldText4.qml deleted file mode 100644 index 191da52..0000000 --- a/examples/declarative/tutorials/contacts/2_Reuse/FieldText4.qml +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/declarative/tutorials/contacts/2_Reuse/GroupBox.qml b/examples/declarative/tutorials/contacts/2_Reuse/GroupBox.qml index 01f26ee..77f7093 100644 --- a/examples/declarative/tutorials/contacts/2_Reuse/GroupBox.qml +++ b/examples/declarative/tutorials/contacts/2_Reuse/GroupBox.qml @@ -1,4 +1,4 @@ - + @@ -14,4 +14,12 @@ - + + + + + + + + + diff --git a/examples/declarative/tutorials/contacts/2_Reuse/RemoveButton1.qml b/examples/declarative/tutorials/contacts/2_Reuse/RemoveButton1.qml deleted file mode 100644 index 68c1838..0000000 --- a/examples/declarative/tutorials/contacts/2_Reuse/RemoveButton1.qml +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/declarative/tutorials/contacts/2_Reuse/RemoveButton2.qml b/examples/declarative/tutorials/contacts/2_Reuse/RemoveButton2.qml deleted file mode 100644 index d9ff4c5..0000000 --- a/examples/declarative/tutorials/contacts/2_Reuse/RemoveButton2.qml +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/declarative/tutorials/contacts/2_Reuse/RemoveButton3.qml b/examples/declarative/tutorials/contacts/2_Reuse/RemoveButton3.qml deleted file mode 100644 index d9ff4c5..0000000 --- a/examples/declarative/tutorials/contacts/2_Reuse/RemoveButton3.qml +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/declarative/tutorials/contacts/2_Reuse/RemoveButton4.qml b/examples/declarative/tutorials/contacts/2_Reuse/RemoveButton4.qml deleted file mode 100644 index 991d6a0..0000000 --- a/examples/declarative/tutorials/contacts/2_Reuse/RemoveButton4.qml +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/declarative/tutorials/contacts/3_Collections/1/Button.qml b/examples/declarative/tutorials/contacts/3_Collections/1/Button.qml new file mode 100644 index 0000000..8290d35 --- /dev/null +++ b/examples/declarative/tutorials/contacts/3_Collections/1/Button.qml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/declarative/tutorials/contacts/3_Collections/1/Contact.qml b/examples/declarative/tutorials/contacts/3_Collections/1/Contact.qml new file mode 100644 index 0000000..293b3a5 --- /dev/null +++ b/examples/declarative/tutorials/contacts/3_Collections/1/Contact.qml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + diff --git a/examples/declarative/tutorials/contacts/3_Collections/1/ContactField.qml b/examples/declarative/tutorials/contacts/3_Collections/1/ContactField.qml new file mode 100644 index 0000000..819914c --- /dev/null +++ b/examples/declarative/tutorials/contacts/3_Collections/1/ContactField.qml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/declarative/tutorials/contacts/3_Collections/1/ContactView.qml b/examples/declarative/tutorials/contacts/3_Collections/1/ContactView.qml new file mode 100644 index 0000000..d48aa02 --- /dev/null +++ b/examples/declarative/tutorials/contacts/3_Collections/1/ContactView.qml @@ -0,0 +1,28 @@ + + + + + + + + SELECT recid, label, email, phone FROM contacts ORDER BY label, recid + + + + + + + diff --git a/examples/declarative/tutorials/contacts/3_Collections/1/FieldText.qml b/examples/declarative/tutorials/contacts/3_Collections/1/FieldText.qml new file mode 100644 index 0000000..068590a --- /dev/null +++ b/examples/declarative/tutorials/contacts/3_Collections/1/FieldText.qml @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/declarative/tutorials/contacts/3_Collections/1/RemoveButton.qml b/examples/declarative/tutorials/contacts/3_Collections/1/RemoveButton.qml new file mode 100644 index 0000000..ad488c1 --- /dev/null +++ b/examples/declarative/tutorials/contacts/3_Collections/1/RemoveButton.qml @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/declarative/tutorials/contacts/3_Collections/2/Button.qml b/examples/declarative/tutorials/contacts/3_Collections/2/Button.qml new file mode 100644 index 0000000..8290d35 --- /dev/null +++ b/examples/declarative/tutorials/contacts/3_Collections/2/Button.qml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/declarative/tutorials/contacts/3_Collections/2/Contact.qml b/examples/declarative/tutorials/contacts/3_Collections/2/Contact.qml new file mode 100644 index 0000000..293b3a5 --- /dev/null +++ b/examples/declarative/tutorials/contacts/3_Collections/2/Contact.qml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + diff --git a/examples/declarative/tutorials/contacts/3_Collections/2/ContactField.qml b/examples/declarative/tutorials/contacts/3_Collections/2/ContactField.qml new file mode 100644 index 0000000..819914c --- /dev/null +++ b/examples/declarative/tutorials/contacts/3_Collections/2/ContactField.qml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/declarative/tutorials/contacts/3_Collections/2/ContactView.qml b/examples/declarative/tutorials/contacts/3_Collections/2/ContactView.qml new file mode 100644 index 0000000..c72d9ce --- /dev/null +++ b/examples/declarative/tutorials/contacts/3_Collections/2/ContactView.qml @@ -0,0 +1,69 @@ + + + + + + + + SELECT recid AS contactid, label, email, phone FROM contacts ORDER BY label, recid + + + + + + + + + + + + + + + + + + + + + + + if (wrapper.state == 'opened') { + wrapper.state = ''; + } + + + + +