aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/qml-type-descriptions/qtwebkit.qmltypes
blob: a200222c6622c50660f80396dc05641d35f09012 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
import QtQuick.tooling 1.0

// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.

Module {
    Component {
        name: "QAction"
        prototype: "QObject"
        Enum {
            name: "MenuRole"
            values: {
                "NoRole": 0,
                "TextHeuristicRole": 1,
                "ApplicationSpecificRole": 2,
                "AboutQtRole": 3,
                "AboutRole": 4,
                "PreferencesRole": 5,
                "QuitRole": 6
            }
        }
        Enum {
            name: "SoftKeyRole"
            values: {
                "NoSoftKey": 0,
                "PositiveSoftKey": 1,
                "NegativeSoftKey": 2,
                "SelectSoftKey": 3
            }
        }
        Enum {
            name: "Priority"
            values: {
                "LowPriority": 0,
                "NormalPriority": 128,
                "HighPriority": 256
            }
        }
        Property { name: "checkable"; type: "bool" }
        Property { name: "checked"; type: "bool" }
        Property { name: "enabled"; type: "bool" }
        Property { name: "icon"; type: "QIcon" }
        Property { name: "text"; type: "string" }
        Property { name: "iconText"; type: "string" }
        Property { name: "toolTip"; type: "string" }
        Property { name: "statusTip"; type: "string" }
        Property { name: "whatsThis"; type: "string" }
        Property { name: "font"; type: "QFont" }
        Property { name: "shortcut"; type: "QKeySequence" }
        Property { name: "shortcutContext"; type: "Qt::ShortcutContext" }
        Property { name: "autoRepeat"; type: "bool" }
        Property { name: "visible"; type: "bool" }
        Property { name: "menuRole"; type: "MenuRole" }
        Property { name: "softKeyRole"; type: "SoftKeyRole" }
        Property { name: "iconVisibleInMenu"; type: "bool" }
        Property { name: "priority"; type: "Priority" }
        Signal { name: "changed" }
        Signal {
            name: "triggered"
            Parameter { name: "checked"; type: "bool" }
        }
        Signal { name: "triggered" }
        Signal { name: "hovered" }
        Signal {
            name: "toggled"
            Parameter { type: "bool" }
        }
        Method { name: "trigger" }
        Method { name: "hover" }
        Method {
            name: "setChecked"
            Parameter { type: "bool" }
        }
        Method { name: "toggle" }
        Method {
            name: "setEnabled"
            Parameter { type: "bool" }
        }
        Method {
            name: "setDisabled"
            Parameter { name: "b"; type: "bool" }
        }
        Method {
            name: "setVisible"
            Parameter { type: "bool" }
        }
    }
    Component {
        name: "QDeclarativeWebSettings"
        prototype: "QObject"
        Property { name: "standardFontFamily"; type: "string" }
        Property { name: "fixedFontFamily"; type: "string" }
        Property { name: "serifFontFamily"; type: "string" }
        Property { name: "sansSerifFontFamily"; type: "string" }
        Property { name: "cursiveFontFamily"; type: "string" }
        Property { name: "fantasyFontFamily"; type: "string" }
        Property { name: "minimumFontSize"; type: "int" }
        Property { name: "minimumLogicalFontSize"; type: "int" }
        Property { name: "defaultFontSize"; type: "int" }
        Property { name: "defaultFixedFontSize"; type: "int" }
        Property { name: "autoLoadImages"; type: "bool" }
        Property { name: "javascriptEnabled"; type: "bool" }
        Property { name: "javaEnabled"; type: "bool" }
        Property { name: "pluginsEnabled"; type: "bool" }
        Property { name: "privateBrowsingEnabled"; type: "bool" }
        Property { name: "javascriptCanOpenWindows"; type: "bool" }
        Property { name: "javascriptCanAccessClipboard"; type: "bool" }
        Property { name: "developerExtrasEnabled"; type: "bool" }
        Property { name: "linksIncludedInFocusChain"; type: "bool" }
        Property { name: "zoomTextOnly"; type: "bool" }
        Property { name: "printElementBackgrounds"; type: "bool" }
        Property { name: "offlineStorageDatabaseEnabled"; type: "bool" }
        Property { name: "offlineWebApplicationCacheEnabled"; type: "bool" }
        Property { name: "localStorageDatabaseEnabled"; type: "bool" }
        Property { name: "localContentCanAccessRemoteUrls"; type: "bool" }
    }
    Component {
        name: "QDeclarativeWebView"
        defaultProperty: "data"
        prototype: "QDeclarativeItem"
        exports: [
            "QtWebKit/WebView 1.0"
        ]
        attachedType: "QDeclarativeWebViewAttached"
        Enum {
            name: "Status"
            values: {
                "Null": 0,
                "Ready": 1,
                "Loading": 2,
                "Error": 3
            }
        }
        Property { name: "title"; type: "string"; isReadonly: true }
        Property { name: "icon"; type: "QPixmap"; isReadonly: true }
        Property { name: "statusText"; type: "string"; isReadonly: true }
        Property { name: "html"; type: "string" }
        Property { name: "pressGrabTime"; type: "int" }
        Property { name: "preferredWidth"; type: "int" }
        Property { name: "preferredHeight"; type: "int" }
        Property { name: "url"; type: "QUrl" }
        Property { name: "progress"; type: "qreal"; isReadonly: true }
        Property { name: "status"; type: "Status"; isReadonly: true }
        Property { name: "reload"; type: "QAction"; isReadonly: true; isPointer: true }
        Property { name: "back"; type: "QAction"; isReadonly: true; isPointer: true }
        Property { name: "forward"; type: "QAction"; isReadonly: true; isPointer: true }
        Property { name: "stop"; type: "QAction"; isReadonly: true; isPointer: true }
        Property { name: "settings"; type: "QDeclarativeWebSettings"; isReadonly: true; isPointer: true }
        Property { name: "javaScriptWindowObjects"; type: "QObject"; isList: true; isReadonly: true }
        Property { name: "newWindowComponent"; type: "QDeclarativeComponent"; isPointer: true }
        Property { name: "newWindowParent"; type: "QDeclarativeItem"; isPointer: true }
        Property { name: "renderingEnabled"; type: "bool" }
        Property { name: "contentsSize"; type: "QSize"; isReadonly: true }
        Property { name: "contentsScale"; type: "qreal" }
        Signal { name: "preferredWidthChanged" }
        Signal { name: "preferredHeightChanged" }
        Signal { name: "urlChanged" }
        Signal { name: "progressChanged" }
        Signal {
            name: "statusChanged"
            Parameter { type: "Status" }
        }
        Signal {
            name: "titleChanged"
            Parameter { type: "string" }
        }
        Signal { name: "iconChanged" }
        Signal { name: "statusTextChanged" }
        Signal { name: "htmlChanged" }
        Signal { name: "pressGrabTimeChanged" }
        Signal { name: "newWindowComponentChanged" }
        Signal { name: "newWindowParentChanged" }
        Signal { name: "renderingEnabledChanged" }
        Signal {
            name: "contentsSizeChanged"
            Parameter { type: "QSize" }
        }
        Signal { name: "contentsScaleChanged" }
        Signal { name: "loadStarted" }
        Signal { name: "loadFinished" }
        Signal { name: "loadFailed" }
        Signal {
            name: "doubleClick"
            Parameter { name: "clickX"; type: "int" }
            Parameter { name: "clickY"; type: "int" }
        }
        Signal {
            name: "zoomTo"
            Parameter { name: "zoom"; type: "qreal" }
            Parameter { name: "centerX"; type: "int" }
            Parameter { name: "centerY"; type: "int" }
        }
        Signal {
            name: "alert"
            Parameter { name: "message"; type: "string" }
        }
        Method {
            name: "evaluateJavaScript"
            type: "QVariant"
            Parameter { type: "string" }
        }
        Method {
            name: "heuristicZoom"
            type: "bool"
            Parameter { name: "clickX"; type: "int" }
            Parameter { name: "clickY"; type: "int" }
            Parameter { name: "maxzoom"; type: "qreal" }
        }
    }
    Component {
        name: "QDeclarativeWebViewAttached"
        prototype: "QObject"
        Property { name: "windowObjectName"; type: "string" }
    }
}