[PyQt] browse for a directory

T

tim.stoop

Hi people,

I'm trying my first little app to create a small, simple application in
Python (just to see how PyQt works and all) and I seem to get stuck. I
want to make a front-end for ImageMagick's convert for my dad. He
usually wants to send people pictures he made with his digital camera
and he needs those smaller. So I want him to be able to select a
directory and click a button to have the python-script automagically
call convert to resize the images. (Maybe later I'll make it fully
python, but this is just a test.)

But I can't find any Qt widget that enables me to browse for a
directory! I'm using qt-designer v.3.2 (from Mandriva Linux 2005LE).
Can anyone tell me where how to add a directory-browser to my little
program?

I've searched the Qt manual, but it's not in there. There doesn't seem
to be a reference for PyQt (none that I can find, any way), so I'm
stuck here...

Thanks in advance for your time.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,067
Latest member
HunterTere

Latest Threads

Top