-project.org
[mailto:interest-bounces+tony=rightsoft.com...@qt-project.org] On Behalf Of
Sujan Dasmahapatra
Sent: Wednesday, 15 May 2013 8:09 PM
To: interest@qt-project.org
Subject: [Interest] TableWidget size dynamically
I got a QTableWidget with 3 columns in it. How can I resize the columnwidth
based on
>
> On Wed, May 15, 2013 at 3:08 AM, Sujan Dasmahapatra
> mailto:sujan.dasmahapa...@gmail.com>> wrote:
>
> I got a QTableWidget with 3 columns in it. How can I resize the
> columnwidth
> based on resizing my MainWindow. Currently I have set a fixed width for
> column using
Create you
Direct answer on your question will be
ui.TableWidget->setColumnWidth(0,201);
ui.TableWidget->setColumnWidth(1,120);
ui.TableWidget->setColumnWidth(2,121);
Ask yourself why you did not like solution above or your own solution and
what you want to achieve.
Then if you can't figure out how to implem
I got a QTableWidget with 3 columns in it. How can I resize the columnwidth
based on resizing my MainWindow. Currently I have set a fixed width for
column using
ui.TableWidget->setColumnWidth(0,200);
ui.TableWidget->setColumnWidth(1,200);
ui.TableWidget->setColumnWidth(2,200);
Any help is highly