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 connects the button signal to other classes
Qt 6.11 is out! See what's new in the release blog

How to connects the button signal to other classes

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 193 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.
  • C Offline
    C Offline
    Connor101
    wrote on last edited by Connor101
    #1

    I'm new to QT.
    I use qt in Visual Studio 2019.
    If I want to connect the button signal and label to other classes.
    What do I need to do to achieve the desired effect?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Please take the time to go through Qt's examples in the documentation. There are a lot that shows that kind things.

      Note that one of the main thing to take into account is to not expose your widgets internals. Have a proper API for your widgets so you can change the implementation details without having to rewrite everything.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      • Login

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