Re: [PyQt] pyrcc4 changed?

2012-07-09 Thread Mike Ramirez
I forgot to add that maybe you want to use a custom script, bash or python for compiling things with pyrcc4. At work we have one for that and pyuic4 On Mon, Jul 9, 2012 at 7:09 PM, Mike Ramirez wrote: > But look at the two commands, this one is completely different than > the first one you swear

Re: [PyQt] pyrcc4 changed?

2012-07-09 Thread Mike Ramirez
But look at the two commands, this one is completely different than the first one you swear worked before. On Mon, Jul 9, 2012 at 4:17 PM, David Beck wrote: > Okay, after rebooting the computer, the following worked > > pyrcc4 -py3 rsrc/images.qrc -o images.py > >>> >>> I'm using the terminal co

Re: [PyQt] pyrcc4 changed?

2012-07-09 Thread David Beck
Okay, after rebooting the computer, the following worked pyrcc4 -py3 rsrc/images.qrc -o images.py I have no idea why rebooting my computer had anything to do with it. Before reboot, this syntax gave me an error message. Note that this is not consistent with what the man page for pyrcc4 -h says,

Re: [PyQt] pyrcc4 changed?

2012-07-09 Thread Andrew Suffield
On Mon, Jul 09, 2012 at 04:21:04PM -0600, David Beck wrote: > > Try pyrcc4 -h > > Just did, it just gave me the help options, which I've already seen. Phil's point is that it explains the syntax, which you have got quite wrong. Start over and follow the help carefully. __

Re: [PyQt] pyrcc4 changed?

2012-07-09 Thread David Beck
On 2012-07-09, at 3:07 PM, Phil Thompson wrote: > On Mon, 9 Jul 2012 14:22:50 -0600, David Beck wrote: >> Has something changed with pyrcc4 in PyQt 4.9.2? > > No. > >> I have a .qrc file (built >> in QtCreator 2.5.0) that converted into a .py file fine with PyQt 4.8.x > but >> which now fails

Re: [PyQt] pyrcc4 changed?

2012-07-09 Thread Phil Thompson
On Mon, 9 Jul 2012 14:22:50 -0600, David Beck wrote: > Has something changed with pyrcc4 in PyQt 4.9.2? No. > I have a .qrc file (built > in QtCreator 2.5.0) that converted into a .py file fine with PyQt 4.8.x but > which now fails to convert properly (none of the button icons or > backgrounds i

[PyQt] pyrcc4 changed?

2012-07-09 Thread David Beck
Has something changed with pyrcc4 in PyQt 4.9.2? I have a .qrc file (built in QtCreator 2.5.0) that converted into a .py file fine with PyQt 4.8.x but which now fails to convert properly (none of the button icons or backgrounds it contains show up in the application when I run it). I'm using th

Re: [PyQt] QSystemTrayIcon - can you change the size/aspect?

2012-07-09 Thread Brian Knudson
On Jul 9, 2012, at 10:51 AM, Glenn Linderman wrote: > On 7/9/2012 10:43 AM, Brian Knudson wrote: >> As an example, I'm looking at Adobe updater's system tray icon. It has the >> Adobe logo & a number next to it that denotes the number of updates >> available. In order to do this, the icon is

[PyQt] QSystemTrayIcon - can you change the size/aspect?

2012-07-09 Thread Brian Knudson
As an example, I'm looking at Adobe updater's system tray icon. It has the Adobe logo & a number next to it that denotes the number of updates available. In order to do this, the icon is wider than it is tall. screen shot: http://churchofbk.com/misc/tray_icon.png I would love to be able to do

Re: [PyQt] Item data on QTreeView

2012-07-09 Thread Diego
On Mon, Jul 9, 2012 at 3:42 AM, Andreas Pakulat wrote: > > > You could store it only in the first item of a row and always access it > there. Another option would be have a dict of messages and use the > row-number as key - this only works of course as long as your rows are not > re-arranged frequ

Re: [PyQt] possible regression

2012-07-09 Thread Phil Thompson
On Mon, 09 Jul 2012 17:28:31 +0200, Sebastian Elsner wrote: > Hello, > > I am updating some code to use PyQt-Py2.6-x86-gpl-4.9.4-1.exe. I have > previously used PyQt-Py2.6-x86-gpl-4.8.6-1.exe. With the code attached I > get a runtime error in 4.9.4 I did not get in the 4.8.6. > > Please execut

[PyQt] possible regression

2012-07-09 Thread Sebastian Elsner
Hello, I am updating some code to use PyQt-Py2.6-x86-gpl-4.9.4-1.exe. I have previously used PyQt-Py2.6-x86-gpl-4.8.6-1.exe. With the code attached I get a runtime error in 4.9.4 I did not get in the 4.8.6. Please execute the attached py file and click the open button in the window appearing

[PyQt] Problem with QGraphicsView and Scale

2012-07-09 Thread Cyril Giraudon
Hello, My system is win7 and I use PyQt version 4.8.5 on Qt 4.7.3. Seems there is a bug with QGraphicsView and scaling capability. Consider the script below. It is a simple circle in a view. The program can take a parameter : 1 <= the scale <= 1000 (for instance). When scale = 1 (python script.

Re: [PyQt] Old vs New Signals

2012-07-09 Thread Phil Thompson
On Mon, 09 Jul 2012 21:54:52 +1000, John Floyd wrote: > On Mon, 9 Jul 2012 11:18:40 you wrote: >> On Sun, 08 Jul 2012 17:43:55 +1000, John Floyd >> >> wrote: >> > Note Corrected Subject (was New vs New ... sorry) >> > >> > I have 2 cases where I am having difficulties in PyQwt signals. Since

Re: [PyQt] Old vs New Signals

2012-07-09 Thread Phil Thompson
On Sun, 08 Jul 2012 17:43:55 +1000, John Floyd wrote: > Note Corrected Subject (was New vs New ... sorry) > > I have 2 cases where I am having difficulties in PyQwt signals. Since my > original post I have investiagted the PyQwt code a bit closer and the > following comes from that. The prev

Re: [PyQt] Item data on QTreeView

2012-07-09 Thread Andrew Suffield
On Sun, Jul 08, 2012 at 07:02:27PM -0300, Diego wrote: > When a row is selected in the QTreeView, I need to be able to access > the object whose attributes are being displayed in that row. I don't > know how to properly do that, and the only thing that worked for me is > to store the original objec