|
2010-09-15
, 07:35
|
Posts: 478 |
Thanked: 101 times |
Joined on Feb 2010
|
#162
|
|
2010-09-16
, 03:05
|
|
Posts: 118 |
Thanked: 13 times |
Joined on Jun 2010
@ mother earth
|
#163
|
an unexpected error occurred.
check that you are using the latest version of PyQt and send .. ."alot of text":
*your version of PyQt (4.7.6)
*the UI file that caused this error
*the debug output of pyuci4 (use the -d flag when calling pyuic4
|
2010-09-16
, 10:20
|
Posts: 478 |
Thanked: 101 times |
Joined on Feb 2010
|
#164
|
|
2010-09-16
, 13:17
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#165
|
|
2010-09-16
, 20:11
|
|
Posts: 1,648 |
Thanked: 2,122 times |
Joined on Mar 2007
@ UNKLE's Never Never Land
|
#166
|
|
2010-09-16
, 21:07
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#167
|
Thanks, I definitely read the first post. On later posts other people have been wondering too but there wasn't any conclusion.
In any case, the optimal with the maximum screen estate (an not cut anything) was to set it at 800x410 and the tab widget to have the geometry [(5,2), 791 x 386]
Hope it is useful.
|
2010-09-17
, 01:32
|
|
Posts: 118 |
Thanked: 13 times |
Joined on Jun 2010
@ mother earth
|
#168
|
Did either of you try the -d flag like it suggests to get the debug output?
It might give us more info. For reference I use 4.6.2 QT and QT Designer on my desktop (Linux). But my python-qt4 packages are 4.7.2. They seem to work ok.
trackback (most recent call last):
file"C:\program files\python26\lib\site-packages\PyQt4\uic\port_v2\invoke.py", line 12 in invoke
exit_status = driver.invoke()
file"C:\program files\python26\lib\site-packages\PyQt4\uic\port_v2\driver,py", line 7 in invoke
self.generate()
file"C:\program files\python26\lib\site-packages\PyQt4\uic\port_v2\driver,py", line 60 in _generate
pyfile = open(self.opt.output, "wt", encoding="utf8")
typeError: "encoding" is an invalid keyword argument for this function
|
2010-09-18
, 11:49
|
Posts: 44 |
Thanked: 9 times |
Joined on Apr 2010
@ Erfurt, Germany
|
#169
|
|
2010-09-18
, 16:38
|
Posts: 3,319 |
Thanked: 5,610 times |
Joined on Aug 2008
@ Finland
|
#170
|
has anyone understood what is the correct/optimal size for a main window?
I use 800x450 which doesn't look that bad. Still though it doesn't look correct on the bottom and I have some space on the sides.
I've tried several but haven't figured if an aspect ratio is needed to be kept etc.
Thanks.
Edit: forgot to mention that with the above setting I have to keep some space free/unused at the bottom otherwise those elements are cut. That makes it quite non-intuitive and more trial and error than it needs.
Last edited by Saturn; 2010-09-14 at 23:23.