Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Tags
    3. signals emit
    Log in to post

    • UNSOLVED Can you help me for not work in signals problem.
      General and Desktop • signals emit • • nyamnyam  

      9
      0
      Votes
      9
      Posts
      52
      Views

      No particular restrictions. As written before, QObject based classes are usually declared in their own header. Nothing prevents you from having them in a cpp file, you just have to put the corresponding include at the end so they are also parsed by moc for QObject based classes in them.
    • UNSOLVED can hide widget emit signal
      Mobile and Embedded • qt4.8 signals emit • • Andrea  

      6
      0
      Votes
      6
      Posts
      1990
      Views

      Hi, Out of curiosity, why do you want to "simulate" a button click ?
    • UNSOLVED Why don't the signals emit from QThread ?
      Language Bindings • qthread signal & slot pyqt5 qtimer signals emit • • daegontaven  

      23
      0
      Votes
      23
      Posts
      7755
      Views

      @SGaist I need the slot send_console_log to be called when the signal written in ConsoleStream is emitted. When running the program with a normal while/for loop in the interpreter, the slot will be called becuase at that moment its non blocking. But the moment I add time.sleep into a loop, slots will only be called at the end when all the blocking is over. Thank you for looking into this.
    • UNSOLVED Signal emit Issue - Listview is not showing full list
      QML and Qt Quick • listview cpp signals emit bind • • Mathan M  

      4
      0
      Votes
      4
      Posts
      1399
      Views

      @Mathan-M as i said when it displays a row, the model is correctly applied, so there must be something wrong with your model implementation. @Mathan-M said in Signal emit Issue - Listview is not showing full list: Do we have any link/tutorials to follow or how to bind the value from CPP to qml. Here you go.
    • SOLVED How to get the correct sender from a custom widget
      General and Desktop • signal & slot qtablewidget signals emit • • Rattata1234  

      3
      0
      Votes
      3
      Posts
      1753
      Views

      @mrjj Thank you! Sooo i kind of did what you said and used the currentIndexChanged signal. I made a Qbytearray where i store the currentindex and replace the index when an index changed. Then i can use this array to get the currentIndex from the row where the button was pressed. I know that there is probably a better solution but it works^^ I will mark this post as answered i guess.
    • SOLVED Sending data when a window is closed
      General and Desktop • signals emit connect slot send finished close dialog • • namit  

      4
      0
      Votes
      4
      Posts
      931
      Views

      @namit ok super.
    • QNetworkAccessManager finished signal error
      General and Desktop • qnetworkaccessm signals emit • • 4j1th  

      16
      0
      Votes
      16
      Posts
      6113
      Views

      Since it's a QObject you can use the parent/child paradigm to let Qt handle the deletion for you.
    • Qml signal doesn't take effect
      QML and Qt Quick • qml signals emit • • tootis  

      4
      0
      Votes
      4
      Posts
      1119
      Views

      Do you get any messages about slots/signals when connecting?(what I mean is "no such slot/signal")
    • can create a user-defined signals static?Or Changing the value of a variable to make sure that the function?
      General and Desktop • function signals emit change valuechanged • • ForestPoem  

      9
      0
      Votes
      9
      Posts
      1837
      Views

      @ForestPoem In the slot you know which signal was emitted (the one you connected it to), you can even get the pointer to the object which emitted the signal using sender()