Hi,
I have a QListview widget that allows me to store a bunch of strings in
it. This strings can be visualized, sorted, selected, etc.
My Problem is that I cant find a way to get the user selected items
back from it! I looked over the Qt documentation many times over but
there is no method to
Flavio schrieb:
Hi,
I have a QListview widget that allows me to store a bunch of strings in
it. This strings can be visualized, sorted, selected, etc.
My Problem is that I cant find a way to get the user selected items
back from it! I looked over the Qt documentation many times over but
Hi!
Sorry for adopting your post for my own question, but since it is
related to PyQT I think it's ok: Does anybody of you know where the
openbook »GUI Programming with Python: QT Edition« has gone? It's not
available any more: http://www.opendocs.org/pyqt/ points now to a
non-existing site.
Iterating over the items and checking if it is selected, sounds like a
good idea, but there no obvious way to get a hold of the list of
items!! The only way you can get an item is if you are in single
selection mode and you call selectedItem(). But I have to use multiple
selection mode, for which
Flavio schrieb:
Iterating over the items and checking if it is selected, sounds like a
good idea, but there no obvious way to get a hold of the list of
items!! The only way you can get an item is if you are in single
selection mode and you call selectedItem(). But I have to use multiple
On Thursday 02 February 2006 9:25 pm, Fabian Steiner wrote:
Hi!
Sorry for adopting your post for my own question, but since it is
related to PyQT I think it's ok: Does anybody of you know where the
openbook »GUI Programming with Python: QT Edition« has gone? It's not
available any more:
Who has created these items? Obviously you, so you _can_ store the list
of selected items.
well yeah, but the Idea was to let the user select(through the widget)
a subset of the original list and then access that subset...
Or you use the equally well documented QListViewItemIterator to
Flavio schrieb:
Who has created these items? Obviously you, so you _can_ store the list
of selected items.
well yeah, but the Idea was to let the user select(through the widget)
a subset of the original list and then access that subset...
Or you use the equally well documented