Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QlistWidget and python3.3.4
Forum Update on Monday, May 27th 2025

QlistWidget and python3.3.4

Scheduled Pinned Locked Moved Qt Creator and other tools
1 Posts 1 Posters 601 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.
  • K Offline
    K Offline
    kfb13181
    wrote on 14 Mar 2014, 12:31 last edited by
    #1

    how do I add text in an item for a QlistWidget (pyqt4)
    self.listWidget.addItem(item)
    item = QtGui.QListWidgetItem()
    and when the item in the QlistWidget is clicked it should display the text ?

    1 Reply Last reply
    0

    1/1

    14 Mar 2014, 12:31

    • Login

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