Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. how to connect a signal emitted from one class into the slot of other class in Qt Creator !
Forum Updated to NodeBB v4.3 + New Features

how to connect a signal emitted from one class into the slot of other class in Qt Creator !

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 3 Posters 722 Views 1 Watching
  • 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.
  • S Offline
    S Offline
    SHUBHAM SINGH RAO
    wrote on last edited by
    #1

    Detailed Description:
    I have created a separate class of keypad in qt and I need to receive that signal into the slot in mainwindow !
    how to achieve that!

    ODБOïO Pablo J. RoginaP 2 Replies Last reply
    0
    • S SHUBHAM SINGH RAO

      Detailed Description:
      I have created a separate class of keypad in qt and I need to receive that signal into the slot in mainwindow !
      how to achieve that!

      ODБOïO Offline
      ODБOïO Offline
      ODБOï
      wrote on last edited by
      #2

      @SHUBHAM-SINGH-RAO hi,
      https://wiki.qt.io/New_Signal_Slot_Syntax

      S 1 Reply Last reply
      2
      • S SHUBHAM SINGH RAO

        Detailed Description:
        I have created a separate class of keypad in qt and I need to receive that signal into the slot in mainwindow !
        how to achieve that!

        Pablo J. RoginaP Offline
        Pablo J. RoginaP Offline
        Pablo J. Rogina
        wrote on last edited by
        #3

        @SHUBHAM-SINGH-RAO first thing: did you add a Keypad object to your MainWindow?
        If so you can connect programmatically as @LeLev suggested.

        Upvote the answer(s) that helped you solve the issue
        Use "Topic Tools" button to mark your post as Solved
        Add screenshots via postimage.org
        Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

        S 1 Reply Last reply
        3
        • ODБOïO ODБOï

          @SHUBHAM-SINGH-RAO hi,
          https://wiki.qt.io/New_Signal_Slot_Syntax

          S Offline
          S Offline
          SHUBHAM SINGH RAO
          wrote on last edited by
          #4

          @LeLev THANKS

          1 Reply Last reply
          0
          • Pablo J. RoginaP Pablo J. Rogina

            @SHUBHAM-SINGH-RAO first thing: did you add a Keypad object to your MainWindow?
            If so you can connect programmatically as @LeLev suggested.

            S Offline
            S Offline
            SHUBHAM SINGH RAO
            wrote on last edited by
            #5

            @Pablo-J.-Rogina THANKS

            1 Reply Last reply
            0
            • ODБOïO Offline
              ODБOïO Offline
              ODБOï
              wrote on last edited by
              #6

              Hi @SHUBHAM-SINGH-RAO, if your Signal is now connected to the suited Slot, you can mark this topic as Solved :)

              1 Reply Last reply
              3

              • Login

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