diff options
| author | Gunnar Sletta <gunnar.sletta@digia.com> | 2012-11-05 12:00:29 +0100 |
|---|---|---|
| committer | Gunnar Sletta <gunnar.sletta@digia.com> | 2012-11-05 12:01:55 +0100 |
| commit | 02cd7b25bee996459299d76ceb0b08b11a1ce193 (patch) | |
| tree | 77d2eeb05293ff7bae55421ef3c2f568e8b98299 /examples/tutorial | |
| parent | ab392456e78e25c77e62b8b7c692144960dc94f9 (diff) | |
code slide...
Diffstat (limited to 'examples/tutorial')
| -rw-r--r-- | examples/tutorial/SlideDeck.qml | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/examples/tutorial/SlideDeck.qml b/examples/tutorial/SlideDeck.qml index 50c13b5..ee26630 100644 --- a/examples/tutorial/SlideDeck.qml +++ b/examples/tutorial/SlideDeck.qml @@ -156,13 +156,34 @@ Presentation } - + CodeSlide { + title: "CodeSlide {} Element" + code: +"CodeSlide { + title: \"CodeSlide {} Element\" + code: +\" +// Whitespaces are preserved, +// so we start at the beginning of the line... + +// You can mouse click on any line + +// Navigate with keypad when the code has focus + +int main(int argc, char **argv) { + QGuiApplication app; + QWindow window; + window.show(); + return app.exec(); +} +\" " + } Slide { title: "Font size relative to screen size" content: [ "Which means you don't need to worry about it", - "Bullet points wraps around on the edges, regardless of how long they are, like this. Even if you should choose to use a very long bullet point (which would distract your audience) it would still look ok'ish", + "Bullet points wrap around on the edges, regardless of how long they are, like this. Even if you should choose to use a very long bullet point (which would distract your audience) it would still look ok'ish", "If you run out of height, you're out of luck though..." ] } |
