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. QLCDNumber change display signal
Forum Updated to NodeBB v4.3 + New Features

QLCDNumber change display signal

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 297 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.
  • gfxxG Offline
    gfxxG Offline
    gfxx
    wrote on last edited by
    #1

    THere are some useful signal to use for detect when LCDNumber widget update it's value? somethings like:

    connect(ui->LCDmine, SIGNAL(valueChanged()), this, SLOT(changeLogic()));
    

    As Qlabel and so on .... sorry but not find on doc ....

    bkt

    JonBJ 1 Reply Last reply
    0
    • gfxxG gfxx

      THere are some useful signal to use for detect when LCDNumber widget update it's value? somethings like:

      connect(ui->LCDmine, SIGNAL(valueChanged()), this, SLOT(changeLogic()));
      

      As Qlabel and so on .... sorry but not find on doc ....

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #2

      @gfxx
      No, QLCDNumber is just an output display/label, not an input. So nothing like valueChanged signal, just as, say, QLabel does not have a signal when you change its text. You say "As Qlabel and so on", but QLabel does not have any such signal.

      gfxxG 1 Reply Last reply
      1
      • JonBJ JonB

        @gfxx
        No, QLCDNumber is just an output display/label, not an input. So nothing like valueChanged signal, just as, say, QLabel does not have a signal when you change its text. You say "As Qlabel and so on", but QLabel does not have any such signal.

        gfxxG Offline
        gfxxG Offline
        gfxx
        wrote on last edited by
        #3

        @JonB you are in right .... sorry my error .... so need to reimplemet the widget right?

        thanks

        bkt

        SGaistS 1 Reply Last reply
        0
        • gfxxG gfxx has marked this topic as solved on
        • gfxxG gfxx

          @JonB you are in right .... sorry my error .... so need to reimplemet the widget right?

          thanks

          SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @gfxx hi,

          Why te-implement QLCDNumber ? Simply connect your logic to the signal that will change the value of QLCDNumber

          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
          0

          • Login

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