[PyQt] [solved] Re: problem with threaded ftp and QFtp.close()

2013-03-19 Thread Brian Knudson
On Mar 19, 2013, at 2:24 AM, Phil Thompson wrote: On Mon, 18 Mar 2013 19:42:00 -0700, Brian Knudson bri...@pipelinefx.com wrote: I'm running multiple instances of QFtp in multiple QThreads so I can download in multiple streams at the same time. If I leave out ftp.close() (where ftp

[PyQt] problem with threaded ftp and QFtp.close()

2013-03-18 Thread Brian Knudson
I'm running multiple instances of QFtp in multiple QThreads so I can download in multiple streams at the same time. If I leave out ftp.close() (where ftp is a QFtp), all my threads properly emit a finished signal. This is great, but it leaves the ftp user logged into my ftp server, eventually

Re: [PyQt] Problem with threaded ftp: Cannot queue arguments of type 'QUrlInfo'

2012-11-20 Thread Brian Knudson
On Nov 20, 2012, at 2:21 AM, Phil Thompson wrote: On Fri, 16 Nov 2012 14:40:10 -0800, Brian Knudson bri...@pipelinefx.com wrote: Any ideas how to correct this? It's arguably a Qt bug - it should call qRegisterMetaType() itself for any types used in signal arguments. Here's some

[PyQt] Problem with threaded ftp: Cannot queue arguments of type 'QUrlInfo'

2012-11-16 Thread Brian Knudson
Certainly, I'm doing something wrong, but I must be missing it. I've made a little demo script that downloads a file from ftp updates a progress bar while doing so. The downloading updating the progress bar works fine, however, I'm trying to do the next step which is to take a url that looks

[PyQt] Fonts: possible to set for entire app? possible to package with app?

2012-08-17 Thread Brian Knudson
1. I know it's possible to set a font for a particular type of item, i.e. .QLabel, in css; but is it possible to set a base font for for everything in one place without defining a .Qt widget for every widget type? 2. Is it possible to package a font with the app, like in a resource file made

[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] 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 wider

Re: [PyQt] How do you compile 64bit PyQt on Windows w/o Visual Studio.

2012-05-18 Thread Brian Knudson
On May 18, 2012, at 2:17 AM, Phil Thompson wrote: On Thu, 17 May 2012 17:46:21 -0700, Brian Knudson bri...@pipelinefx.com wrote: I'm trying to compile 64bit PyQt on Windows 7. (I am a commercial customer, so I have to build PyQt, AFAIK). I've downloaded MinGW had good success getting SIP

[PyQt] How do you compile 64bit PyQt on Windows w/o Visual Studio.

2012-05-17 Thread Brian Knudson
I'm trying to compile 64bit PyQt on Windows 7. (I am a commercial customer, so I have to build PyQt, AFAIK). I've downloaded MinGW had good success getting SIP compiled, but I couldn't compile PyQt. I deduce that this is because I have 64bit Python with a 32bit MinGW the libs aren't

[PyQt] Required font package on Fedora14?

2012-05-16 Thread Brian Knudson
Hello all, My PyQt app is running on OS X and CentOS 5.4-6.0, but when I try to run it on Fedora 14, I see no text, only blocks where text should be. screen shot: http://churchofbk.com/misc/Screen_shot_2012-05-16_at_1.58.30_PM.png I installed all Py/Qt components the exact same way (using a

Re: [PyQt] QThread not forcibly terminating as expected

2012-03-06 Thread Brian Knudson
, Brian Knudson wrote: On Mar 3, 2012, at 4:00 AM, pyqt-requ...@riverbankcomputing.com wrote: Message: 1 Date: Sat, 3 Mar 2012 10:17:39 +0100 From: Andreas Pakulat ap...@gmx.de To: pyqt@riverbankcomputing.com Subject: Re: [PyQt] QThread not forcibly terminating as expected Message-ID

Re: [PyQt] QThread not forcibly terminating as expected

2012-03-05 Thread Brian Knudson
...@trinity.apaku.dnsalias.org Content-Type: text/plain; charset=us-ascii On 02.03.12 19:59:50, Brian Knudson wrote: Hello all, Apologies for the lengthy mail. The last paragraph is the important one, but everything else helps explain. I'm writing a PyQt interface for a networking system

[PyQt] QThread not forcibly terminating as expected

2012-03-02 Thread Brian Knudson
Hello all, Apologies for the lengthy mail. The last paragraph is the important one, but everything else helps explain. I'm writing a PyQt interface for a networking system (3rd party application) via its API. The 3rd party API calls don't have a configurable timeout. So that my