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. 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 Q

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 485 Views
  • 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.
  • Q Offline
    Q Offline
    Qt Enthusiast
    wrote on last edited by
    #1

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

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

      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.

      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