From: Kevin W. <sw...@wo...> - 2005-11-10 00:51:16
|
Adrien Bourdet wrote: > 2005/11/8, Diez B. Roggisch <de...@we...>: >> Adrien Bourdet wrote: >>> I have done a little app in pyqt wich works fine on linux. But with >>> the mac version, my QDialog seams to not have the focus :( All widgets >>> are paint with a grey color, as if they were disabled, but they work ! >>> Perhaps i didn't configure my QDialog correctly ? >>> I haven't my code under my eyes yet, but i remeber the call method : >>> dlg.show() >>> dlg.exec_loop() >>> >>> Does the parameters of __init__ could be implicated in my problem ? >> No, you need to run the application as an "aliased applet". That means >> you need something like the attached setup.py. >> >> HTH, >> >> Diez >> > > Hmm, my application is just a .py file that i run like : 'python > MyAppli.py'. Could I fix the problem without making a MacOSX .app ? > I'd prefer launch it in python because i have to develop and debug :) > > I didn't say that earlier, but the main menubar doesn't appear. > > Adrien > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Pyqt-mac-list mailing list > Pyq...@li... > https://lists.sourceforge.net/lists/listinfo/pyqt-mac-list > > You need to launch it with "pythonw," not "python." -- Cheers, Kevin Walzer, PhD WordTech Software - "Tame the Terminal" http://www.wordtech-software.com sw at wordtech-software.com |