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

[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 11:44 AM, Brian Knudson wrote: >> >>> Here's some example code (pardon the length). I would like to be able >> to >>> print the listed files/urls from the function "lister". Ultimately, I'd >>> like to the

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 > wrote: >> >> >> Any ideas how to correct this? > > It's arguably a Qt bug - it should call qRegisterMetaType() itself for any > types used in signa

[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 look

[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 . for every widget type? 2. Is it possible to package a font with the app, like in a resource file made with pyr

[PyQt] simpletreemodel example still throwing an error on exit

2012-08-13 Thread Brian Knudson
Hello, From the mail archives in March 2010, I see that simpletreemodel was throwing an error on exit. Phil responded saying that things were being destroyed in the wrong order on exit & that there would be a fix put into that night's snapshot. I don't believe the change ever made it into t

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

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

[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 matchi

[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 bl

Re: [PyQt] QThread not forcibly terminating as expected

2012-03-06 Thread Brian Knudson
scii > > On 05.03.12 13:35:02, 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 >>> To: pyqt@rive

Re: [PyQt] QThread not forcibly terminating as expected

2012-03-05 Thread Brian Knudson
: <20120303091739.ga8...@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 el

[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 interfac