ArnaudC
11th September 2013, 14:44
Hi everyone,
I want to have a Qtable with one resizable colomn and one fixed colomn.
I tried that, but it didn't work :
ui.listFileTable->horizontalHeader()->setResizeMode(QHeaderView::Stretch);
ui.listFileTable->horizontalHeader()->resizeSection(1,50);
It's very simple but I just don't find the command to do that, does anyone know it?
I want to have a Qtable with one resizable colomn and one fixed colomn.
I tried that, but it didn't work :
ui.listFileTable->horizontalHeader()->setResizeMode(QHeaderView::Stretch);
ui.listFileTable->horizontalHeader()->resizeSection(1,50);
It's very simple but I just don't find the command to do that, does anyone know it?