Hi,
How do I apply a specific property to all of the QListWidget items within a list? I have included a QListWidget on my form in Qt Designer, and I want to be able to edit the name of an item just by double clicking. The form I created has only one item within the list when it is first created, but there are 'add and 'remove' buttons that allow the user to dynamically add/remove more items. While the first item in the list (the one that is automatically created) can be edited, all the items that are added during with the add/remove buttons cannot. What am I doing wrong?
Oh! While I'm here, I also have another question. How can I make a table with two columns, the first which acts essentially as a lineEdit (in which the user can enter the name of a property, ie 'volume'), and the second which is a double spin-box with a numerical value? I also want to allow the user to add new rows to this table during run-time. I am fairly new to Qt (and C++ programming in general), so simple explanations would be really helpful.
Thanks!
Bookmarks