Have you tried QHeaderView.setResizeMode(int, ResizeMode)?
Note there may be issues depending on the order in which you set the
columns. I found I had set all of the fixed columns before setting any
stretchable ones.
Tony
From: interest-bounces+tony=rightsoft.com...@qt-project.or
>
> 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
Some discouragement (from personal experience):
- often systems have more then 1 network card and do not guarantee that
they will return the same MAC addresses even after simple reboot (Windows
XP as an example) not even counting different configurations.
- I am not sure what Qt uses to receive M
Thanks Konrad
I believe the mac address will suffice. In addition I will probably some other
hardware related data and create a hash from it.
I emagined there would be a solution for this problem but it semes its not that
easy.
Case closed.
Freundliche GrĂ¼sse / Best Regards / Meilleures saluta
On Tuesday 14 May 2013 22:27:23 Alex Malyushytskyy wrote:
> Such things are normally resolved using MAC address on any system, which is
> unique for every network adapter,
> But there always may be a system which does not have network adapter, have
> a few network adapters or does not let you to ob
Hi,
When pySide for QT5 will be available?
--
Sergey
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
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
Thanks Rene I did that. Thanks
On Wed, May 15, 2013 at 3:52 PM, R. Reucher wrote:
> **
>
> On Wednesday 15 May 2013 09:46:32 Sujan Dasmahapatra wrote:
>
> > I have a log in page where user enters user name and password. After that
>
> > when I press 'Ok' button it is working, but if I 'Enter' fr
On Wednesday 15 May 2013 09:46:32 Sujan Dasmahapatra wrote:
> I have a log in page where user enters user name and password. After that
> when I press 'Ok' button it is working, but if I 'Enter' from keyboard it's
> not logging in. Please suggest how can I achieve this. Thansk a lot.
Assuming that
I have a log in page where user enters user name and password. After that
when I press 'Ok' button it is working, but if I 'Enter' from keyboard it's
not logging in. Please suggest how can I achieve this. Thansk a lot.
--
Thanks & Regards
Sujan
___
Inte
11 matches
Mail list logo