[Interest] Enter focus is not comint

2013-05-15 Thread Sujan Dasmahapatra
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 ___

Re: [Interest] Enter focus is not comint

2013-05-15 Thread R. Reucher
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

Re: [Interest] Enter focus is not comint

2013-05-15 Thread Sujan Dasmahapatra
Thanks Rene I did that. Thanks On Wed, May 15, 2013 at 3:52 PM, R. Reucher rene.reuc...@batcom-it.netwrote: ** 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,

[Interest] TableWidget size dynamically

2013-05-15 Thread Sujan Dasmahapatra
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

[Interest] pySide for QT5

2013-05-15 Thread Sergey
Hi, When pySide for QT5 will be available? -- Sergey ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Unique - Hardware bound - ID

2013-05-15 Thread Konrad Rosenbaum
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

Re: [Interest] Unique - Hardware bound - ID

2013-05-15 Thread Alex Malyushytskyy
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

Re: [Interest] TableWidget size dynamically

2013-05-15 Thread Alex Malyushytskyy
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

Re: [Interest] TableWidget size dynamically

2013-05-15 Thread william.croc...@analog.com
On Wed, May 15, 2013 at 3:08 AM, Sujan Dasmahapatra sujan.dasmahapa...@gmail.com 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

Re: [Interest] TableWidget size dynamically

2013-05-15 Thread Tony Rietwyk
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: