WindowManager QML Type
Singlton object to manage all opened windows. More...
Import Statement: | import CSDataQuick.Components 1.0 |
Properties
- entries : ListModel
Methods
- appendWindow(window)
- closeAllWindow()
- closeWindow(window)
- Window findWindow(absFilePath, macro)
- printWindow(window)
Detailed Description
Example:
ListView { model: WindowManager.entries delegate: Text { text: model.modelData.filePath } }
Property Documentation
entries : ListModel |
The list of all opened windows. Each list element has the follow properties,
- filePath - absolute file path this window represents
- macro - macro expansion used to create this window
- window - the window instance
Method Documentation
Window findWindow(absFilePath, macro) |
Search for a window instance opened with absFilePath and macro. It will return the found instance or null otherwise.
Grab a screenshot of window and send to printer.
The actual printing is performed by Qt Print Support.
See also QQuickWindow::grabWindow.