QAbstractItemView::EditKeyPressed );
myTable->setColumnCount( COLUMNS_COUNT );
+
QStringList aColumnNames;
aColumnNames << tr( "STRICKLER_TYPE" ) << tr( "STRICKLER_COEFFICIENT" ) << tr( "ATTR_VALUE" ) << tr( "COLOR" );
myTable->setHorizontalHeaderLabels( aColumnNames );
myTable->horizontalHeader()->setStretchLastSection( false );
- myTable->horizontalHeader()->setSectionResizeMode( 0, QHeaderView::ResizeToContents );
- myTable->horizontalHeader()->setSectionResizeMode( 1, QHeaderView::ResizeToContents );
- myTable->horizontalHeader()->setSectionResizeMode( 2, QHeaderView::ResizeToContents );
- myTable->horizontalHeader()->setSectionResizeMode( 3, QHeaderView::Stretch );
+ myTable->horizontalHeader()->setSectionResizeMode( 0, QHeaderView::Interactive );
+ myTable->horizontalHeader()->setSectionResizeMode( 1, QHeaderView::Interactive );
+ myTable->horizontalHeader()->setSectionResizeMode( 2, QHeaderView::Interactive );
+ myTable->horizontalHeader()->setSectionResizeMode( 3, QHeaderView::Interactive );
myTable->horizontalHeader()->setMinimumSectionSize( 50 );
myTable->verticalHeader()->setSectionResizeMode( QHeaderView::ResizeToContents );