forked from qt-creator/qt-creator
Doc: put QML snippets back to text
A workaround for problems in handling QML snippets. Remove the snippet files. Change-Id: Id0f445c031e740eafffd8098b44672c771634eab Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
//! [0]
|
||||
import QtQuick 1.0
|
||||
|
||||
ListModel {
|
||||
ListElement {
|
||||
name: "Ariane"
|
||||
}
|
||||
ListElement {
|
||||
name: "Bella"
|
||||
}
|
||||
ListElement {
|
||||
name: "Corinna"
|
||||
}
|
||||
}
|
||||
//! [0]
|
||||
@@ -1,8 +0,0 @@
|
||||
//! [0]
|
||||
ListView {
|
||||
model: dataModel
|
||||
delegate: ContactDelegate {
|
||||
name: name
|
||||
}
|
||||
}
|
||||
//! [0]
|
||||
@@ -1,11 +0,0 @@
|
||||
//! [0]
|
||||
import QtQuick 1.0
|
||||
import QmlDesigner 1.0
|
||||
|
||||
DummyContextObject {
|
||||
parent: Item {
|
||||
width: 640
|
||||
height: 300
|
||||
}
|
||||
}
|
||||
//! [0]
|
||||
@@ -1,12 +0,0 @@
|
||||
Item {
|
||||
//! [properties and signal definitions]
|
||||
property string text: ""
|
||||
property int fontSize: 10
|
||||
|
||||
signal clicked
|
||||
|
||||
width: 60
|
||||
height: 40
|
||||
|
||||
//! [properties and signal definitions]
|
||||
}
|
||||
Reference in New Issue
Block a user