aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/quickcontrols2/chattutorial/chapter2-lists/main.qml2
-rw-r--r--examples/quickcontrols2/chattutorial/chapter3-navigation/ContactPage.qml2
-rw-r--r--examples/quickcontrols2/chattutorial/chapter4-models/ContactPage.qml2
-rw-r--r--examples/quickcontrols2/chattutorial/chapter4-models/ConversationPage.qml2
-rw-r--r--examples/quickcontrols2/chattutorial/chapter5-styling/ContactPage.qml2
-rw-r--r--examples/quickcontrols2/chattutorial/chapter5-styling/ConversationPage.qml2
-rw-r--r--examples/quickcontrols2/chattutorial/shared/Albert_Einstein.png (renamed from examples/quickcontrols2/chattutorial/shared/Albert Einstein.png)bin3638 -> 3638 bytes
-rw-r--r--examples/quickcontrols2/chattutorial/shared/Albert_Einstein@2x.png (renamed from examples/quickcontrols2/chattutorial/shared/Albert Einstein@2x.png)bin10178 -> 10178 bytes
-rw-r--r--examples/quickcontrols2/chattutorial/shared/Albert_Einstein@3x.png (renamed from examples/quickcontrols2/chattutorial/shared/Albert Einstein@3x.png)bin18568 -> 18568 bytes
-rw-r--r--examples/quickcontrols2/chattutorial/shared/Albert_Einstein@4x.png (renamed from examples/quickcontrols2/chattutorial/shared/Albert Einstein@4x.png)bin29420 -> 29420 bytes
-rw-r--r--examples/quickcontrols2/chattutorial/shared/Ernest_Hemingway.png (renamed from examples/quickcontrols2/chattutorial/shared/Ernest Hemingway.png)bin4053 -> 4053 bytes
-rw-r--r--examples/quickcontrols2/chattutorial/shared/Ernest_Hemingway@2x.png (renamed from examples/quickcontrols2/chattutorial/shared/Ernest Hemingway@2x.png)bin12231 -> 12231 bytes
-rw-r--r--examples/quickcontrols2/chattutorial/shared/Ernest_Hemingway@3x.png (renamed from examples/quickcontrols2/chattutorial/shared/Ernest Hemingway@3x.png)bin23040 -> 23040 bytes
-rw-r--r--examples/quickcontrols2/chattutorial/shared/Ernest_Hemingway@4x.png (renamed from examples/quickcontrols2/chattutorial/shared/Ernest Hemingway@4x.png)bin38378 -> 38378 bytes
-rw-r--r--examples/quickcontrols2/chattutorial/shared/Hans_Gude.png (renamed from examples/quickcontrols2/chattutorial/shared/Hans Gude.png)bin3610 -> 3610 bytes
-rw-r--r--examples/quickcontrols2/chattutorial/shared/Hans_Gude@2x.png (renamed from examples/quickcontrols2/chattutorial/shared/Hans Gude@2x.png)bin10977 -> 10977 bytes
-rw-r--r--examples/quickcontrols2/chattutorial/shared/Hans_Gude@3x.png (renamed from examples/quickcontrols2/chattutorial/shared/Hans Gude@3x.png)bin21196 -> 21196 bytes
-rw-r--r--examples/quickcontrols2/chattutorial/shared/Hans_Gude@4x.png (renamed from examples/quickcontrols2/chattutorial/shared/Hans Gude@4x.png)bin32962 -> 32962 bytes
-rw-r--r--examples/quickcontrols2/chattutorial/shared/shared.qrc24
19 files changed, 18 insertions, 18 deletions
diff --git a/examples/quickcontrols2/chattutorial/chapter2-lists/main.qml b/examples/quickcontrols2/chattutorial/chapter2-lists/main.qml
index 289b4545..150fd004 100644
--- a/examples/quickcontrols2/chattutorial/chapter2-lists/main.qml
+++ b/examples/quickcontrols2/chattutorial/chapter2-lists/main.qml
@@ -83,7 +83,7 @@ ApplicationWindow {
Image {
id: avatar
- source: "qrc:/" + modelData + ".png"
+ source: "qrc:/" + modelData.replace(" ", "_") + ".png"
}
}
}
diff --git a/examples/quickcontrols2/chattutorial/chapter3-navigation/ContactPage.qml b/examples/quickcontrols2/chattutorial/chapter3-navigation/ContactPage.qml
index 80f2bad6..200fa0ae 100644
--- a/examples/quickcontrols2/chattutorial/chapter3-navigation/ContactPage.qml
+++ b/examples/quickcontrols2/chattutorial/chapter3-navigation/ContactPage.qml
@@ -80,7 +80,7 @@ Page {
Image {
id: avatar
- source: "qrc:/" + modelData + ".png"
+ source: "qrc:/" + modelData.replace(" ", "_") + ".png"
}
}
}
diff --git a/examples/quickcontrols2/chattutorial/chapter4-models/ContactPage.qml b/examples/quickcontrols2/chattutorial/chapter4-models/ContactPage.qml
index 23c414fb..1051b189 100644
--- a/examples/quickcontrols2/chattutorial/chapter4-models/ContactPage.qml
+++ b/examples/quickcontrols2/chattutorial/chapter4-models/ContactPage.qml
@@ -82,7 +82,7 @@ Page {
Image {
id: avatar
- source: "qrc:/" + model.display + ".png"
+ source: "qrc:/" + model.display.replace(" ", "_") + ".png"
}
}
}
diff --git a/examples/quickcontrols2/chattutorial/chapter4-models/ConversationPage.qml b/examples/quickcontrols2/chattutorial/chapter4-models/ConversationPage.qml
index 490202b6..bcae4b99 100644
--- a/examples/quickcontrols2/chattutorial/chapter4-models/ConversationPage.qml
+++ b/examples/quickcontrols2/chattutorial/chapter4-models/ConversationPage.qml
@@ -104,7 +104,7 @@ Page {
Image {
id: avatar
- source: !sentByMe ? "qrc:/" + model.author + ".png" : ""
+ source: !sentByMe ? "qrc:/" + model.author.replace(" ", "_") + ".png" : ""
}
Rectangle {
diff --git a/examples/quickcontrols2/chattutorial/chapter5-styling/ContactPage.qml b/examples/quickcontrols2/chattutorial/chapter5-styling/ContactPage.qml
index 1ea449fe..ad37ba5f 100644
--- a/examples/quickcontrols2/chattutorial/chapter5-styling/ContactPage.qml
+++ b/examples/quickcontrols2/chattutorial/chapter5-styling/ContactPage.qml
@@ -82,7 +82,7 @@ Page {
Image {
id: avatar
- source: "qrc:/" + model.display + ".png"
+ source: "qrc:/" + model.display.replace(" ", "_") + ".png"
}
}
}
diff --git a/examples/quickcontrols2/chattutorial/chapter5-styling/ConversationPage.qml b/examples/quickcontrols2/chattutorial/chapter5-styling/ConversationPage.qml
index 6f873162..2ec6a55e 100644
--- a/examples/quickcontrols2/chattutorial/chapter5-styling/ConversationPage.qml
+++ b/examples/quickcontrols2/chattutorial/chapter5-styling/ConversationPage.qml
@@ -104,7 +104,7 @@ Page {
Image {
id: avatar
- source: !sentByMe ? "qrc:/" + model.author + ".png" : ""
+ source: !sentByMe ? "qrc:/" + model.author.replace(" ", "_") + ".png" : ""
}
Rectangle {
diff --git a/examples/quickcontrols2/chattutorial/shared/Albert Einstein.png b/examples/quickcontrols2/chattutorial/shared/Albert_Einstein.png
index 47cb15f6..47cb15f6 100644
--- a/examples/quickcontrols2/chattutorial/shared/Albert Einstein.png
+++ b/examples/quickcontrols2/chattutorial/shared/Albert_Einstein.png
Binary files differ
diff --git a/examples/quickcontrols2/chattutorial/shared/Albert Einstein@2x.png b/examples/quickcontrols2/chattutorial/shared/Albert_Einstein@2x.png
index c80ddd15..c80ddd15 100644
--- a/examples/quickcontrols2/chattutorial/shared/Albert Einstein@2x.png
+++ b/examples/quickcontrols2/chattutorial/shared/Albert_Einstein@2x.png
Binary files differ
diff --git a/examples/quickcontrols2/chattutorial/shared/Albert Einstein@3x.png b/examples/quickcontrols2/chattutorial/shared/Albert_Einstein@3x.png
index 41778835..41778835 100644
--- a/examples/quickcontrols2/chattutorial/shared/Albert Einstein@3x.png
+++ b/examples/quickcontrols2/chattutorial/shared/Albert_Einstein@3x.png
Binary files differ
diff --git a/examples/quickcontrols2/chattutorial/shared/Albert Einstein@4x.png b/examples/quickcontrols2/chattutorial/shared/Albert_Einstein@4x.png
index 88768902..88768902 100644
--- a/examples/quickcontrols2/chattutorial/shared/Albert Einstein@4x.png
+++ b/examples/quickcontrols2/chattutorial/shared/Albert_Einstein@4x.png
Binary files differ
diff --git a/examples/quickcontrols2/chattutorial/shared/Ernest Hemingway.png b/examples/quickcontrols2/chattutorial/shared/Ernest_Hemingway.png
index 988c2416..988c2416 100644
--- a/examples/quickcontrols2/chattutorial/shared/Ernest Hemingway.png
+++ b/examples/quickcontrols2/chattutorial/shared/Ernest_Hemingway.png
Binary files differ
diff --git a/examples/quickcontrols2/chattutorial/shared/Ernest Hemingway@2x.png b/examples/quickcontrols2/chattutorial/shared/Ernest_Hemingway@2x.png
index efffc1f2..efffc1f2 100644
--- a/examples/quickcontrols2/chattutorial/shared/Ernest Hemingway@2x.png
+++ b/examples/quickcontrols2/chattutorial/shared/Ernest_Hemingway@2x.png
Binary files differ
diff --git a/examples/quickcontrols2/chattutorial/shared/Ernest Hemingway@3x.png b/examples/quickcontrols2/chattutorial/shared/Ernest_Hemingway@3x.png
index 12633ec2..12633ec2 100644
--- a/examples/quickcontrols2/chattutorial/shared/Ernest Hemingway@3x.png
+++ b/examples/quickcontrols2/chattutorial/shared/Ernest_Hemingway@3x.png
Binary files differ
diff --git a/examples/quickcontrols2/chattutorial/shared/Ernest Hemingway@4x.png b/examples/quickcontrols2/chattutorial/shared/Ernest_Hemingway@4x.png
index f5639280..f5639280 100644
--- a/examples/quickcontrols2/chattutorial/shared/Ernest Hemingway@4x.png
+++ b/examples/quickcontrols2/chattutorial/shared/Ernest_Hemingway@4x.png
Binary files differ
diff --git a/examples/quickcontrols2/chattutorial/shared/Hans Gude.png b/examples/quickcontrols2/chattutorial/shared/Hans_Gude.png
index 7367a4a4..7367a4a4 100644
--- a/examples/quickcontrols2/chattutorial/shared/Hans Gude.png
+++ b/examples/quickcontrols2/chattutorial/shared/Hans_Gude.png
Binary files differ
diff --git a/examples/quickcontrols2/chattutorial/shared/Hans Gude@2x.png b/examples/quickcontrols2/chattutorial/shared/Hans_Gude@2x.png
index c3a394e1..c3a394e1 100644
--- a/examples/quickcontrols2/chattutorial/shared/Hans Gude@2x.png
+++ b/examples/quickcontrols2/chattutorial/shared/Hans_Gude@2x.png
Binary files differ
diff --git a/examples/quickcontrols2/chattutorial/shared/Hans Gude@3x.png b/examples/quickcontrols2/chattutorial/shared/Hans_Gude@3x.png
index 38ec67ee..38ec67ee 100644
--- a/examples/quickcontrols2/chattutorial/shared/Hans Gude@3x.png
+++ b/examples/quickcontrols2/chattutorial/shared/Hans_Gude@3x.png
Binary files differ
diff --git a/examples/quickcontrols2/chattutorial/shared/Hans Gude@4x.png b/examples/quickcontrols2/chattutorial/shared/Hans_Gude@4x.png
index 8c75d3e0..8c75d3e0 100644
--- a/examples/quickcontrols2/chattutorial/shared/Hans Gude@4x.png
+++ b/examples/quickcontrols2/chattutorial/shared/Hans_Gude@4x.png
Binary files differ
diff --git a/examples/quickcontrols2/chattutorial/shared/shared.qrc b/examples/quickcontrols2/chattutorial/shared/shared.qrc
index 8e112513..9eda6aa2 100644
--- a/examples/quickcontrols2/chattutorial/shared/shared.qrc
+++ b/examples/quickcontrols2/chattutorial/shared/shared.qrc
@@ -1,16 +1,16 @@
<RCC>
<qresource prefix="/">
- <file>Albert Einstein.png</file>
- <file>Albert Einstein@2x.png</file>
- <file>Albert Einstein@3x.png</file>
- <file>Albert Einstein@4x.png</file>
- <file>Ernest Hemingway.png</file>
- <file>Ernest Hemingway@2x.png</file>
- <file>Ernest Hemingway@3x.png</file>
- <file>Ernest Hemingway@4x.png</file>
- <file>Hans Gude.png</file>
- <file>Hans Gude@2x.png</file>
- <file>Hans Gude@3x.png</file>
- <file>Hans Gude@4x.png</file>
+ <file>Albert_Einstein.png</file>
+ <file>Albert_Einstein@2x.png</file>
+ <file>Albert_Einstein@3x.png</file>
+ <file>Albert_Einstein@4x.png</file>
+ <file>Ernest_Hemingway.png</file>
+ <file>Ernest_Hemingway@2x.png</file>
+ <file>Ernest_Hemingway@3x.png</file>
+ <file>Ernest_Hemingway@4x.png</file>
+ <file>Hans_Gude.png</file>
+ <file>Hans_Gude@2x.png</file>
+ <file>Hans_Gude@3x.png</file>
+ <file>Hans_Gude@4x.png</file>
</qresource>
</RCC>