Qt-interest Archive, August 2006
QTableWidget::itemSelectionChanged, QTableWidget::selectedItems
Message 1 in thread
I have written a slot to be called from
QTableWidget::itemSelectionChanged, but selectedItems() returns an
empty list, even when several cells are highlighted. A clicked and
highlighted cell means selected right? Am I missing something?
thanks
--
[ signature omitted ]
Message 2 in thread
Hi,
> I have written a slot to be called from
> QTableWidget::itemSelectionChanged, but selectedItems() returns an
> empty list, even when several cells are highlighted. A clicked and
> highlighted cell means selected right? Am I missing something?
I have no problem using the QTableWidget::itemChanged(QTableWidgetItem*)
signal. Did you try it?
Cheers,
Ãmeric
--
[ signature omitted ]
Message 3 in thread
itemChanged is only emitted when the item's data QVariant is changed.
I want to get the selected items when the selection is changed, like
by clicking the mouse.
On 8/28/06, Émeric Maschino <emeric.maschino@xxxxxxxxxxxx> wrote:
> Hi,
>
> > I have written a slot to be called from
> > QTableWidget::itemSelectionChanged, but selectedItems() returns an
> > empty list, even when several cells are highlighted. A clicked and
> > highlighted cell means selected right? Am I missing something?
>
> I have no problem using the QTableWidget::itemChanged(QTableWidgetItem*)
> signal. Did you try it?
>
> Cheers,
>
> Émeric
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>
--
[ signature omitted ]