[PyKDE] PyQt
Hello, I am new to PyQt although I have experience in php. I have an application built in php and I am trying to convert it to PyQt. It uses a Mysql database to store and retrieve information about our company's work process. Anyway I am using it as a project, in order to learn PyQt. Initially I have two questions. 1. I made some menus in Qt with Qtdesigner [File (new,open,etc)] and I would like to know how can I display different screens each time one of them is clicked (in html terms, change the source of the page) 2. Is there an equivelant for the html frame tag for Qt? Any help would be appreciated. Thanks ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] PyQt
I understand that the principles of gui and http programming are different. I used some html terms in my email just to give people a hint of what I would like to do in my application. When I say 'equivelant to the html frame tag' I just want to know if there is a Qt widget that has ie scrollbars and can be embedded to an existing widget. I just need some hints Thanks - Original Message - From: Diez B. Roggisch [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 2:14 PM Subject: Re: [PyKDE] PyQt Hi, I am new to PyQt although I have experience in php. I have an application built in php and I am trying to convert it to PyQt. It uses a Mysql database to store and The paradigms you're known to from http driven programming don't apply well in the native gui world. That has nothing to do with python/php or qt themselves, but follows from the overall design principles behind gui toolkits and http/html. I suggest you try to read one of the tutorials out there, for example this http://www-106.ibm.com/developerworks/linux/library/l-qt/?ca=dgr-linuxw02QTPyQT Together with pyqt, there comes a bunch of examples you can also study to see how things work. And of course Boudewijn Rempt's book is a great resource as well: http://www.opendocspublishing.com/pyqt/index.lxp Regards, Diez ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] PyQt
I understand that the principles of gui and http programming are different. I used some html terms in my email just to give people a hint of what I would like to do in my application. Ok, so then this was a misunderstanding. When I say 'equivelant to the html frame tag' I just want to know if there is a Qt widget that has ie scrollbars and can be embedded to an existing widget. I just need some hints QScrollView does that. Diez ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] [OFF-TOPIC] - Patrick Volkerdi (Slackware) is needing your help (disease) - Patrick Volkerdi (Slackware) está precisando da sua ajuda ( doença )
English Hi ! I know that this is off-topic, and for the radicals i beg your pardon, but this email can help a great opensource comunity member. Im talking about Patrick Volkerdi, the creator of Slackware. He is sick and he writed a letter about it in the slackware-current changelog. We're searching for a doctor who know this disease and can help him. If you know someone, please ask him to read Patrick's letter on slackware-current (link below) and see if he can help. Im not doing this for someone order or something like that. I just want to save a friend. The link to his letter is this: ftp://ftp.slackware.com/pub/slackware/slackware-current/PAT-NEEDS-YOUR-HELP.txt Thanks for the patience. Portuguese Olá ! Eu sei que isso é um off-topic, e para os mais radicais eu imploro seu perdão, mas este email pode ajudar um grande membro da comunidade opensource. Estou falando sobre Patrick Volkerdi, o criador do Slackware, ele está doente e escreveu uma carta sobre isso no slackware-current changelog. Estamos procurando por um médico que conheça esta doença e possa ajudá-lo. Se você conhece alguém, por favor peça a ele para ler a carta de Patrick no slackware-current (link abaixo) e ver se pode ajudar de alguma forma. Eu não estou fazendo isso por ordem de ninguém ou alguma coisa desse tipo. Apenas quero salvar um amigo. O link para a carta é esse: ftp://ftp.slackware.com/pub/slackware/slackware-current/PAT-NEEDS-YOUR-HELP.txt Obrigado pela paciência. -- Douglas Soares de Andrade - UnilesteMG dsa em unilestemg.br ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] Windows app crashing on import
I have successfully integrated python into my windows app. There is a problem though. I cannot import qt or qtui, which I need. I dug deep into the import process and found it was only trying to import libsip_d.pyd. So I took libsip and renamed it, but now I get an assertion failure. Does anyone know what it takes to get these modules imported in debug mode? I also tried it in release mode. I didnt get an error, but it didnt work either. Thanks! __ This electronic message may contain proprietary and confidential information of Verint Systems Inc., its affiliates and/or subsidiaries. The information is intended to be for the use of the individual(s) or entity(ies) named above. If you are not the intended recipient (or authorized to receive this e-mail for the intended recipient), you may not use, copy, disclose or distribute to anyone this message or any information contained in this message. If you have received this electronic message in error, please notify us by replying to this e-mail. (1) ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] Python IOSlaves
On Wed, 17 Nov 2004 18:48:09, Luke Monahan wrote: I have downloaded the files pykde-components-2004-01-20.tar.bz2 from David's site and set about installing his IOSlaves so I can play around with them. I uploaded a later version but didn't link it in. If you look at that page again you'll see it. Unfortunately I can't get the build script to work. Sorry about that. It needs a rewrite. It continues to complain that it can't find the sips libraries in my python lib directories. They are there, but build.py is looking for libsip* wheras the sip related libraries I have (after installing the latest binaries from the sourceforge site linked of the PyKDE site) are /usr/lib/python2.3/site-packages/sipconfig.py /usr/lib/python2.3/site-packages/sip.so Yes, it expects the old-style libsip.so. You can probably just strip out all the SIP checks. So... I create a softlink libsip.so to sip.so. Then I get a similar complaint about other libraries, which I fix in a similar manner. It can't find PyQT or PyKDE for the same reason. Sorry. I'll update the script again. :-/ When I get it finding everything the build starts, but borks on a SIP operation (which I won't post here just yet). My main question is: have there been major changes to the way these libraries are used since these demos were written? If not why might I be getting all these errors? How would I go about getting an updated build.py, details.py etc -- I couldn't find where they came from. No major changes to the way they are used from the Python side, but it looks like the should build script should be rewritten. It should probably use the configuration information that PyQt and PyKDE provide rather than scanning various directories in the hope that it will find all the libraries it needs. I'll try and upload a new version soon. David ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] PyQt
On Wednesday 17 November 2004 3:12 am, Thomas Bellos wrote: 1. I made some menus in Qt with Qtdesigner [File (new,open,etc)] and I would like to know how can I display different screens each time one of them is clicked (in html terms, change the source of the page) If you want to keep 'switching' widgets when some event happens, take a look at QWidgetStack. It allows you to hold many widgets and display any one of them at a given time. 2. Is there an equivelant for the html frame tag for Qt? Just lay it out how you want it with the 'frame' widget being a QWidgetStack. Any help would be appreciated. Your best bet will be to read through the material that some of the other people already mentioned. Good luck. --Kaleb pgpRegHJ8ybSl.pgp Description: PGP signature ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] Error
PyKDE version 3.11.3 --- Python include directory is /usr/include/python2.3 Python version is 2.3.4 sip version is 4.0.1 (4.0.1) Qt directory is /usr/share/qt3 Qt version is 3.3.3 PyQt directory is /usr/share/sip PyQt version is 3.13 (3.13.0) If reporting errors, paste all of the output above into your message and post to the PyKDE mailing list at: mailto:[EMAIL PROTECTED] subscribe: http://mats.imk.fraunhofer.de/mailman/listinfo/pykde You can redirect the output into a file ( output.txt) if needed HELP-MEE _ MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com PyKDE version 3.11.3 --- Python include directory is /usr/include/python2.3 Python version is 2.3.4 sip version is 4.0.1 (4.0.1) Qt directory is /usr/share/qt3 Qt version is 3.3.3 PyQt directory is /usr/share/sip PyQt version is 3.13 (3.13.0) If reporting errors, paste all of the output above into your message and post to the PyKDE mailing list at: mailto:[EMAIL PROTECTED] subscribe: http://mats.imk.fraunhofer.de/mailman/listinfo/pykde You can redirect the output into a file ( output.txt) if needed ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] newbie question
Hello, What is the difference when naming a function as : def myfunction(self) def __myfunction__(self) and def __myfunction(self) Thanks ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde