Re: [Php-qt-users] QTableView questions
Status: Beta
Brought to you by:
tm243
From: Ferenc V. <li...@ne...> - 2006-12-08 20:53:55
|
Hi all, I solved the problems. Ferenc Veres wrote, On 2006-11-29 01:27: > > 1. Html like tables? > I copy the selected row's content to two (wordwrap true) QLabels above the table, that can display long text too, thus users can read the long text entries from the table by selecting the row. (Maybe I'll change those to two read-only QTextEdits later. (To allow scrolling of even longer text entries.) > 2. Connect doubleClick of tables? I use QTableWidget, which has cellCliked and cellDoubleClicked, these functions return X,Y to the click. Thus I can get the content by ->item(y,x). (This signal gives the X value in both variables, that may be a little bug in php_qt, or something in my program, I'll keep on debugging. :) ) Thanks anyway, Ferenc |