aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/window
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@digia.com>2012-11-26 16:52:26 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-26 20:19:35 +0100
commit6c7ee9d83788f89868011cc6458c2a0073d41292 (patch)
tree236cb55a1071abf42a969d42d5e94722cc9accf8 /src/imports/window
parent224316b515ed42411c43e1be8997c2d8faedc45e (diff)
Imports: update .qmltypes files
Change-Id: I897c1e04cbbb2adf9655cbd277d7d51bcd2a50de Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Diffstat (limited to 'src/imports/window')
-rw-r--r--src/imports/window/plugins.qmltypes64
1 files changed, 54 insertions, 10 deletions
diff --git a/src/imports/window/plugins.qmltypes b/src/imports/window/plugins.qmltypes
index 53984614a0..ff29466670 100644
--- a/src/imports/window/plugins.qmltypes
+++ b/src/imports/window/plugins.qmltypes
@@ -63,26 +63,38 @@ Module {
Component {
name: "QWindow"
prototype: "QObject"
- Property { name: "windowTitle"; type: "string" }
- Property { name: "windowIcon"; type: "QIcon" }
- Property { name: "windowModality"; type: "Qt::WindowModality" }
+ Property { name: "title"; type: "string" }
+ Property { name: "modality"; type: "Qt::WindowModality" }
+ Property { name: "flags"; type: "Qt::WindowFlags" }
Property { name: "x"; type: "int" }
Property { name: "y"; type: "int" }
Property { name: "width"; type: "int" }
Property { name: "height"; type: "int" }
- Property { name: "pos"; type: "QPoint" }
- Property { name: "size"; type: "QSize" }
- Property { name: "geometry"; type: "QRect" }
+ Property { name: "minimumWidth"; type: "int" }
+ Property { name: "minimumHeight"; type: "int" }
+ Property { name: "maximumWidth"; type: "int" }
+ Property { name: "maximumHeight"; type: "int" }
Property { name: "visible"; type: "bool" }
Property { name: "contentOrientation"; type: "Qt::ScreenOrientation" }
- Property { name: "cursor"; type: "QCursor" }
+ Property { name: "windowTitle"; type: "string" }
+ Property { name: "windowFilePath"; type: "string" }
+ Property { name: "windowIcon"; type: "QIcon" }
+ Property { name: "windowModality"; type: "Qt::WindowModality" }
+ Signal {
+ name: "windowModalityChanged"
+ Parameter { name: "windowModality"; type: "Qt::WindowModality" }
+ }
Signal {
name: "screenChanged"
Parameter { name: "screen"; type: "QScreen"; isPointer: true }
}
Signal {
- name: "windowModalityChanged"
- Parameter { name: "windowModality"; type: "Qt::WindowModality" }
+ name: "modalityChanged"
+ Parameter { name: "modality"; type: "Qt::WindowModality" }
+ }
+ Signal {
+ name: "windowStateChanged"
+ Parameter { name: "windowState"; type: "Qt::WindowState" }
}
Signal {
name: "xChanged"
@@ -101,6 +113,22 @@ Module {
Parameter { name: "arg"; type: "int" }
}
Signal {
+ name: "minimumWidthChanged"
+ Parameter { name: "arg"; type: "int" }
+ }
+ Signal {
+ name: "minimumHeightChanged"
+ Parameter { name: "arg"; type: "int" }
+ }
+ Signal {
+ name: "maximumWidthChanged"
+ Parameter { name: "arg"; type: "int" }
+ }
+ Signal {
+ name: "maximumHeightChanged"
+ Parameter { name: "arg"; type: "int" }
+ }
+ Signal {
name: "visibleChanged"
Parameter { name: "arg"; type: "bool" }
}
@@ -126,7 +154,7 @@ Module {
Method { name: "raise" }
Method { name: "lower" }
Method {
- name: "setWindowTitle"
+ name: "setTitle"
Parameter { type: "string" }
}
Method {
@@ -145,5 +173,21 @@ Module {
name: "setHeight"
Parameter { name: "arg"; type: "int" }
}
+ Method {
+ name: "setMinimumWidth"
+ Parameter { name: "w"; type: "int" }
+ }
+ Method {
+ name: "setMinimumHeight"
+ Parameter { name: "h"; type: "int" }
+ }
+ Method {
+ name: "setMaximumWidth"
+ Parameter { name: "w"; type: "int" }
+ }
+ Method {
+ name: "setMaximumHeight"
+ Parameter { name: "h"; type: "int" }
+ }
}
}