Questions tagged [qqmlapplicationengine]

QQmlApplicationEngine is a class from the Qt Toolkit which provides a convenient way to load an application from a single QML file.

Documentation can be found here (Qt5).

67 questions
0
votes
1 answer

To access QML component in C++ backend

I have a qml file with Rectangle. I would like to trigger the onClicked( ) from C++ back-end. So, How can I get access of QML component reference in C++/Qt backend?
Ashif
  • 1,652
  • 14
  • 30
0
votes
2 answers

New qml object added to scene in c++

I have a problem with adding new QML object to existing scene. My main.qml source: ApplicationWindow { id:background visible: true width: 640 height: 480 } MyItem.qml source: Rectangle { width: 100 height: 62 color: "red" anchors.centerIn:…
hus
  • 117
  • 1
  • 7
0
votes
1 answer

Override QQuickImageProvider requestImage()

I am using QQuickImageProvider and have taken a class object(PageBuffer) in requestimage function: class ImageProvider : public QQuickImageProvider{ public: explicit ImageProvider(); virtual QImage requestImage(int id, QSize *size, const QSize&…
MJKhan
  • 61
  • 2
  • 7
-1
votes
1 answer

Conditional Statement in QML

I have a .json file in my project that looks as follows: { "ccu3":[ { "PinName":"J1-13", "PinDirection":"Input", "PinType":"digital", "System Function":"Park Lights" }, { …
Clive N
  • 9
  • 2
-3
votes
1 answer

Can We have a SwipeView by using PathView?

In QML Swipe View is not bidirectional.So I need a swipe view A code sample will be very beneficial for me. I need to keep only 3 items in my view & at a time only item should be visible & on swiping the view in either way left or right element…
-3
votes
1 answer

How to launch .exe file from qml?

Hello everyone i have to implement MVC based app. How to load sparate exe file on QML form.
-3
votes
1 answer

Update ImageView in QML

I am processing an image using opencv during runtime and want to display the updated version of this image in QML using imageView, i currently am creating a new image file at runtime and reassigning its path to the imageView in QML, is there any…
1 2 3 4
5