Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML Creator 4.9.2 From designer to the code
Forum Update on Monday, May 27th 2025

QML Creator 4.9.2 From designer to the code

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
5 Posts 2 Posters 471 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    ThomasBauer20
    wrote on last edited by
    #1

    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

    jsulmJ 1 Reply Last reply
    0
    • T ThomasBauer20

      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

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by jsulm
      #2

      @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

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      T 3 Replies Last reply
      0
      • jsulmJ jsulm

        @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

        T Offline
        T Offline
        ThomasBauer20
        wrote on last edited by ThomasBauer20
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • jsulmJ jsulm

          @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

          T Offline
          T Offline
          ThomasBauer20
          wrote on last edited by
          #4

          Hello,
          1 Edit
          2 Design
          3 Control

          My goal is
          Select the button --> 3
          Switch to Edit - 1
          I see the coding of the control

          I'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 Thomas0_1565022969438__SELECT_Control_QML_1.jpg

          0_1565022985666__SELECT_Control_QML_2.jpg

          1 Reply Last reply
          0
          • jsulmJ jsulm

            @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

            T Offline
            T Offline
            ThomasBauer20
            wrote on last edited by
            #5

            @jsulm

            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.

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved