[Interest] passing QWindow as parameter to a Q_INVOKABLE method
Thomas Sevaldrud
thomas at silentwings.no
Sat Aug 30 23:52:35 CEST 2014
Hi,
I'm trying to pass a reference to the main application window to an
invokable method in Quick. Something like this:
ApplicationWindow {
id: mainWindow
visible: true
width: 1280
height: 720
....
}
Component.onCompleted: {
initialize(mainWindow);
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140830/d55b4c5e/attachment.html>
More information about the Interest
mailing list