qt-interest@trolltech.com
[Top] [All Lists]

Re: QTableWidget-Problem (any comments?)

Subject: Re: QTableWidget-Problem any comments?
From: Ionathan
Date: Thu, 29 Nov 2007 15:59:08 +0100
...snip ...
>>     out << ( out, fileNameItem ) ;
>> #ifdef TEST_ME   // here we crash!!
>>     std::cout << "\nFileNameItem" << &out << "\n" << endl ;
>> #endif
>>  }
>
thanks,
> Hi Joerg,
>
> Just a general hint here...
>
> I have faced a similar problem before and it was due to 2 things:
>
> 1. I tried to extract data from an uninitialized QTableWidgetItem.
QTableWidgetItem is filled with data (see example of Trolltech)
> 2. I was extracting data from the same QTableWidgetItem. You should
> populate the QTableWidget with "new" QTableWidgetItem objects, not
> with the same one.
>
see above ...
> Hope this helps,
thanks for the hints ... J.

--
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/

<Prev in Thread] Current Thread [Next in Thread>