QML Creator 4.9.2 From designer to the code
-
wrote on 1 Aug 2019, 07:44 last edited by
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
-
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
Lifetime Qt Championwrote on 1 Aug 2019, 08:25 last edited by jsulm 8 Jan 2019, 08:28@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 -
@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.htmlwrote on 2 Aug 2019, 16:11 last edited by ThomasBauer20 8 Mar 2019, 15:55This post is deleted! -
@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.htmlwrote on 5 Aug 2019, 16:37 last edited by -
@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.htmlwrote on 10 Aug 2019, 10:39 last edited byDid 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.
5/5