Re: [PyQt] Re: Any Large PyQt Projects?

2009-02-20 Thread Edward K. Ream
On Fri, Feb 20, 2009 at 5:42 PM, Arthur Pemberton wrote: > > I haven't reached this stage of programming experience with Python > yet, but it seems that it's dynamic typing forces one to have unit > tests with 100% coverage. Unit tests never hurt, of course, but pylint and the interpreter are s

Re: [PyQt] Re: Any Large PyQt Projects?

2009-02-20 Thread Edward K. Ream
On Fri, Feb 20, 2009 at 3:28 PM, Joshua Kugler wrote: > Miguel Lobo wrote: >> > I'm also interested in this, but from a different angle. For large >> > projects, how much of a problem is the lack of static checks of the >> > kind that would be performed by a C/C++ compiler? > > This is a great qu

[PyQt] QMovie not loading gif from resource after py2exe

2009-02-20 Thread Arthur Pemberton
I'm starting here as someone may be able to suggest something as it seems weird. I have a .py generated from a .qrc. I have several QActions which load PNGs successfully from my resources.py just fine. My .ui was done using Qt Designer. After py2exe, app seems to work just fine, including icons

[PyQt] Splash screen with progress bar (was Re: Any Large PyQt Projects?)

2009-02-20 Thread David Boddie
On Fri Feb 20 16:39:11 GMT 2009, Chris Withers wrote: > Toby Dickenson wrote: > > * Startup time while your modules are imported. Plan to have a splash > > screen with a progress bar :-( > > How do you do this with PyQt? One way is to take advantage of the fact that the splash screen is just a wi

[PyQt] Re: Any Large PyQt Projects?

2009-02-20 Thread Joshua Kugler
Miguel Lobo wrote: > I'm also interested in this, but from a different angle. For large > projects, how much of a problem is the lack of static checks of the > kind that would be performed by a C/C++ compiler? For example, if you > want to add a new parameter to a method, or change a parameter's

Re: [PyQt] Re: Any Large PyQt Projects?

2009-02-20 Thread Brian Kelley
For windows, a simple solution is to use py2exe and innosetup: http://www.py2exe.org/ http://jrsoftware.org/isinfo.php Brian On 2/20/09 2:06 PM, "Arthur Pemberton" wrote: I know your company may not be into charity. But I am interested in how people go about deploying such systems, especially f

Re: [PyQt] Re: Any Large PyQt Projects?

2009-02-20 Thread Arthur Pemberton
On Fri, Feb 20, 2009 at 9:13 AM, Toby Dickenson wrote: > Brent Villalobos wrote: > >> I'm looking for examples from people who have written large PyQt >> applications and I would like to hear your opinions on what worked well >> and what did not specifically with choosing python over C/C++. > > Hi

[PyQt] Phonon Quicktime Backend and py2App

2009-02-20 Thread mateyuzo
Hello all, I've looked through numerous posts and can not find an answer yet, so I am hoping someone has successfully built a PyQt 4.4.3 app through py2App that loads the Phonon/Quicktime backend. When running from the shell the app works just fine, but run as a self container mac package

Re: [PyQt] Any Large PyQt Projects?

2009-02-20 Thread Raoul Snyman
On Thu, 19 Feb 2009 14:33:57 -0800, Brent Villalobos wrote: > I'm looking for examples from people who have written large PyQt > applications and I would like to hear your opinions on what worked well > and what did not specifically with choosing python over C/C++. In > particular, how does you

Re: [PyQt] Any Large PyQt Projects?

2009-02-20 Thread Ville M. Vainio
On Fri, Feb 20, 2009 at 7:22 PM, Ville M. Vainio wrote: > Be sure to check out: > http://en.wikipedia.org/wiki/Multiprocessing Argh, I went too google-copy-paste happy. What I meant was: http://docs.python.org/library/multiprocessing.html -- Ville M. Vainio http://tinyurl.com/vainio

Re: [PyQt] Any Large PyQt Projects?

2009-02-20 Thread Ville M. Vainio
On Fri, Feb 20, 2009 at 12:33 AM, Brent Villalobos wrote: > computation? How does it handle multiple thread performance given python's > limitations on only running on one CPU (global interpreter lock)? I don't > need too much detail (obviously nothing proprietary), but I just want to > know if

Re: [PyQt] Re: Any Large PyQt Projects?

2009-02-20 Thread Chris Withers
Toby Dickenson wrote: * Startup time while your modules are imported. Plan to have a splash screen with a progress bar :-( How do you do this with PyQt? Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk

[PyQt] Re: Any Large PyQt Projects?

2009-02-20 Thread Toby Dickenson
Brent Villalobos wrote: > I'm looking for examples from people who have written large PyQt > applications and I would like to hear your opinions on what worked well > and what did not specifically with choosing python over C/C++. Hi, I'm lead developer for a 50kloc PyQt project. Comparing this t

[PyQt] small example of multi-line QTextEdit ?

2009-02-20 Thread Denis
Can someone point me to a small example of a multiline QTextEdit please ? I want "chunks" or "paragraphs" consisting of "lines" where "chunks" can be selected, deleted etc.; imagine chunk -> QTextFrame, line -> QTextBlock or is there an easier way ? A small class MultilineTextEdit(QTextEdit) must e