Functions related to the QQuickView class.
More...
Functions related to the QQuickView class.
◆ dos_qquickview_create()
Create a new QQuickView.
- Returns
- A new QQuickView
- Note
- The returned QQuickView should be freed by using dos_qquickview_delete(DosQQuickview*)
◆ dos_qquickview_delete()
Free the memory allocated for the given QQuickView.
- Parameters
-
◆ dos_qquickview_rootContext()
Return the QQuickView::rootContext() as a QQuickContext.
- Parameters
-
◆ dos_qquickview_set_resize_mode()
DOS_API void dos_qquickview_set_resize_mode |
( |
DosQQuickView * |
vptr, |
|
|
int |
resizeMode |
|
) |
| |
Calls the QQuickView::setResizeMode() function.
- Parameters
-
vptr | The QQuickView |
resizeMode | The resize mode |
◆ dos_qquickview_set_source()
DOS_API void dos_qquickview_set_source |
( |
DosQQuickView * |
vptr, |
|
|
const char * |
filename |
|
) |
| |
Calls the QQuickView::setSource() function.
- Parameters
-
vptr | The QQuickView |
filename | The source path as an UTF-8 string. The path is relative to the directory that contains the application executable |
◆ dos_qquickview_set_source_url()
Calls the QQuickView::setSource() function.
- Parameters
-
vptr | The QQuickView |
url | The source QUrl |
◆ dos_qquickview_show()
Calls the QQuickView::show() function.
- Parameters
-
◆ dos_qquickview_source()
DOS_API char* dos_qquickview_source |
( |
const DosQQuickView * |
vptr | ) |
|
Calls the QQuickView::source() function.
- Parameters
-
- Returns
- The QQuickView source as an UTF-8 string
- Note
- The returned string should be freed by using the dos_chararray_delete() function