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 Updated to NodeBB v4.3 + New Features

QML Creator 4.9.2 From designer to the code

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
5 Posts 2 Posters 482 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 1 Aug 2019, 07:44 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

    J 1 Reply Last reply 1 Aug 2019, 08:25
    0
    • T ThomasBauer20
      1 Aug 2019, 07:44

      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

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 1 Aug 2019, 08:25 last edited by jsulm 8 Jan 2019, 08:28
      #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 2 Aug 2019, 16:11
      0
      • J jsulm
        1 Aug 2019, 08:25

        @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 2 Aug 2019, 16:11 last edited by ThomasBauer20 8 Mar 2019, 15:55
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • J jsulm
          1 Aug 2019, 08:25

          @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 5 Aug 2019, 16:37 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
          • J jsulm
            1 Aug 2019, 08:25

            @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 10 Aug 2019, 10:39 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

            5/5

            10 Aug 2019, 10:39

            • Login

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