Unsolved QML Creator 4.9.2 From designer to the code
-
Hello,
I use the QML Creator 4.9.2 and develop the interface with buttons, text fields, lists and so on.If I select a button in the designer, how do I get into the mouse click event?
What's the procedure?Currently I am going to edit and must laboriously search the control. Hope you can help me.
Thanks in advance for tipps.
Best regards Thomas
-
@thomasbauer20 said in QML Creator 4.9.2 From designer to the code:
mouse click event
Do you mean signal?
What exactly do you want to do?
Connect a slot to clicked() signal?"If I select a button in the designer, how do I get into the mouse click event?" - first you need to put a button on your UI.
Take a look at https://doc.qt.io/archives/qt-4.8/designer-connection-mode.html -
This post is deleted! -
Hello,
1 Edit
2 Design
3 ControlMy goal is
Select the button --> 3
Switch to Edit - 1
I see the coding of the controlI'm having a hard time finding Control inside project.qml
Is there a way to find it easier to select for encoding?
Thanks in advance for tipps.
Greetings Thomas -
Did you understand my problem? I select the object, switch to EDIT and then have to search for the object in the QML file, I have to search the ID. This is bad, it would be better if the ID was selected. Is that possible? Yes or no. Thanks for a short answer.