What is difference between SIGNAL(currentTextChanged(const QString&)) and Signal(itemSelectionChanged) for Q



  • What is difference between SIGNAL(currentTextChanged(const QString&)) and Signal(itemSelectionChanged) for QListWidget , when to use which one


  • Qt Champions 2017

    void QListWidget::currentTextChanged(const QString & currentText)
    This signal is emitted whenever the current item changes.

    void QListWidget::itemSelectionChanged()
    This signal is emitted whenever the selection changes

    Edit Signal or Selected Signal:

    So often you will use both.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.