Hi Dick,

It sounds like they're either assuming you have certain files in your icon library or forgot to include links to tutorial resources -- those files are not part of Qt. It should be easy to get substitute images.

When I look in this folder on my Ubuntu system with Gnome 3 installed:

/usr/share/icons/gnome/32x32/status/

I see these icons:

stock_volume-0.png stock_volume-max.png stock_volume-med.png stock_volume-min.png stock_volume-mute.png stock_volume.png

That sounds pretty similar to what they're asking for, and it being Qt4 they were probably assuming a system with Gnome 2 installed. I bet their default icons set has images with those names.

I have a number of folders with mute/min/med/max icons on my system: /usr/share/icons/oxygen/, /usr/share/icons/ubuntu-mono-dark, etc. You should be able to find suitable substitutes in one of the /usr/share/icons folders, depending on what window manager and/or theme libraries you have installed.

HTH,
Jason

On 12/24/2013 09:46 AM, Dick Steffens wrote:
I'm working through the tutorials at http://zetcode.com/gui/pyqt4/. So far, they all work, mostly. The mostly part refers to missing images. The section on PyQT4 Widgets includes an example of the use of a slider. The slider displays fine. But missing when I run the program is the image of a loud speaker and the ) shapes added to the right to indicate a sound level. There are a set of png files used by the program -- mute.png, min.png, med.png, max.png -- but they don't show up when I run it. Unless I skipped over something and missed it, I don't see anything that tells me where these files are supposed to be located. This is true for any other program in the set that uses an image file.

Is there some common set of files I should have downloaded when I installed python-qt4 on my Ubuntu 12.04 system?

Synaptic shows I have installed:

Package        Installed Version    Latest Version Description
---------- ----------------- -------------- -----------------------
python-qt4     4.9.1-2ubuntu1 4.9.1-2ubuntu1    Python bindings for Qt4

I don't see anything obvious in the list of packages in Synaptic, like some image library. What am I missing?

Thanks.


_______________________________________________
Portland mailing list
[email protected]
https://mail.python.org/mailman/listinfo/portland

Reply via email to