[quote author="Gerolf" date="1322777479"]why don't you use a table view and a delegate for the editing?[/quote]
Oooh great Gerolf, I've never thought about it !
Thanks for your answer !
But for a better explanation, the last block is not implemented, I replace the loop :
@/* Loop for Tx Display Area Layout */
for(int indexLayout = 0; indexLayout < TX_DISPLAY_NUMBER; indexLayout++){
tx_ScrollAreaLayout->addWidget(tx_Label[indexLayout] , indexLayout+1 , 0, Qt::AlignLeft);
tx_ScrollAreaLayout->addWidget(tx_Channel[indexLayout] , indexLayout+1 , 1, Qt::AlignLeft);
tx_ScrollAreaLayout->addWidget(tx_SDI[indexLayout] , indexLayout+1 , 2, Qt::AlignLeft);
tx_ScrollAreaLayout->addWidget(tx_Data[indexLayout] , indexLayout+1 , 3, Qt::AlignLeft);
tx_ScrollAreaLayout->addWidget(tx_SSM[indexLayout] , indexLayout+1 , 4, Qt::AlignLeft);
tx_ScrollAreaLayout->addWidget(tx_Parity[indexLayout] , indexLayout+1 , 5, Qt::AlignLeft);
tx_ScrollAreaLayout->addWidget(tx_Status[indexLayout] , indexLayout+1 , 6, Qt::AlignLeft);
}@
by the loop :
@for(int indexLayout = 0; indexLayout < TX_DISPLAY_NUMBER; indexLayout++){
txDisplayArea->setWidget(tx_Label[indexLayout]);
txDisplayArea->setWidget(tx_Channel[indexLayout]);
txDisplayArea->setWidget(tx_SDI[indexLayout]);
txDisplayArea->setWidget(tx_Data[indexLayout]);
txDisplayArea->setWidget(tx_SSM[indexLayout]);
txDisplayArea->setWidget(tx_Parity[indexLayout]);
txDisplayArea->setWidget(tx_Status[indexLayout]);
}@
but each loop doesn't make what I want : set the scroll bar
So I'll try with QTableView, I think this is the best way to realize what I want!
Thanks a lot !