[PyQt] Subclass Undo of a QTextEdit

2009-03-01 Thread projetmbc
Title: Flashmail




Hello,when I copy a text twice in a QTextEdit and I use CTRL+Z to use UNDO, I would like to go back just after the first copy and not before the first copy.So I would like to subclass the method UNDO of a QTextEdit but I don't know how to do that, how to catch a change.Best regards.Christophe





___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] QSystemTrayIcon::showMessage VistaX64

2009-03-01 Thread Philippe Fremy
Ian Jones wrote:
 I'm curious if other people have been able to use this feature successfully.
 
 Computer specs:
 Python 2.6.1 (32bit) (python.org)
 PyQt 2.6-gpl-4.4.4-2.exe (from riverbank website)
 
 Running the examples/desktop/systray/systray.pyw that came with pyqt
 
 The window opens, icons appear in the system tray, change icon etc but
 the balloon message never appears.
 
 The docs say it is supported on 'All supported versions of Windows'
 and I am assuming Vista is on that list but I couldn't find the actual
 list to compare it to.

I've got the exact same problem, but on windows XP.

Since the same program produces different output on my or on a different
computer, I guess it's somehow related to the computer configuration.
But I could not find anything related to showing messages in the systray
in the control panel.

Since we both have the issue, maybe we can identify the source of the
problem by checking something common in our configuration ?

I am running virtual desktop manager from Microsoft, maybe that's what
is causing the problem. Are you running any kind of software that could
alter systray behavior ?

cheers,

Philippe

___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


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

2009-03-01 Thread Henrique Bastos

Hi Gustavo!

OpenCoffee looks nice! It was easy to walk through the code and to  
understand how some QT features like styling, resources, separation  
from ui definition and code, etc. were used. People learning PyQT,  
like myself, should consider read it.


You should really consider adopting english as the main language, so  
you could help more people and gain more visibility to the project.


Best regards,
--
Henrique Bastos
henri...@bastos.net
http://henriquebastos.net
+55 21 9618-6180

On 27/02/2009, at 15:17, Gustavo A. Díaz wrote:


Hi!

I am writing a supposed will be large aplication in PyQt.

http://opencoffee.lnxteam.org (sorry, mainly spanish site/project  
but will have translations..)


Cheers.


___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

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

2009-03-01 Thread Gustavo A . Díaz
Hi.

   Yes... i try to maintain a clean code easy to understand (even if you
don't understand the comments, the code is clean and readable). Indeed i am
learning Python and Qt with this project.
   About English as main Language. Sorry, but no... my main language is
Spanish and so is the project.
The application will be translated to English too as well. But main language
and comments on the code will stay in Spanish. Sorry.

Thanks!

Cheers!

2009/3/1 Henrique Bastos henri...@bastos.net

 Hi Gustavo!
 OpenCoffee looks nice! It was easy to walk through the code and to
 understand how some QT features like styling, resources, separation from ui
 definition and code, etc. were used. People learning PyQT, like myself,
 should consider read it.

 You should really consider adopting english as the main language, so you
 could help more people and gain more visibility to the project.

 Best regards,
 --
 Henrique Bastos
 henri...@bastos.net
 http://henriquebastos.net
 +55 21 9618-6180

 On 27/02/2009, at 15:17, Gustavo A. Díaz wrote:

 Hi!

 I am writing a supposed will be large aplication in PyQt.

 http://opencoffee.lnxteam.org (sorry, mainly spanish site/project but will
 have translations..)

 Cheers.





-- 
Gustavo A. Díaz
GDNet Projects
www.gdnet.com.ar
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

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

2009-03-01 Thread Arthur Pemberton
On Sun, Mar 1, 2009 at 2:41 PM, Gustavo A. Díaz gustavo.d...@gmail.com wrote:
 Hi.

    Yes... i try to maintain a clean code easy to understand (even if you
 don't understand the comments, the code is clean and readable). Indeed i am
 learning Python and Qt with this project.
    About English as main Language. Sorry, but no... my main language is
 Spanish and so is the project.
 The application will be translated to English too as well. But main language
 and comments on the code will stay in Spanish. Sorry.

 Thanks!

You really don't need to apologize for any of that.

-- 
Fedora 9 : sulphur is good for the skin
( www.pembo13.com )

___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


[PyQt] Packaging a PyQt app in GNU/Linux

2009-03-01 Thread Saúl Ibarra
Hi all,

This is my first mail to the list, so if this an obvious question,
please point me to the right place :)

I'm trying to pack an application I made a while ago, but I'm a little
confused. I've been reading about distutils and setuptools, but I
don't really know if it's the right way to package a PyQt app.

Should I try to make a Python egg with setuptools or just compress all
files together?

Thanks in advance,


-- 
Saúl -- Nunca subestimes el ancho de banda de un camión lleno de disketes.

http://www.saghul.net/

___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] Packaging a PyQt app in GNU/Linux

2009-03-01 Thread Giovanni Bajo
On dom, 2009-03-01 at 23:17 +0100, Saúl Ibarra wrote:
 Hi all,
 
 This is my first mail to the list, so if this an obvious question,
 please point me to the right place :)
 
 I'm trying to pack an application I made a while ago, but I'm a little
 confused. I've been reading about distutils and setuptools, but I
 don't really know if it's the right way to package a PyQt app.
 
 Should I try to make a Python egg with setuptools or just compress all
 files together?

Depends on the goal. The correct way to package an app on Linux is to
make a distribution-dependent package (.deb/.rpm mostly).

If instead you want to distribute your application as a binary static
package, try PyInstaller.
-- 
Giovanni Bajo
Develer S.r.l.
http://www.develer.com


___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] QSystemTrayIcon::showMessage VistaX64

2009-03-01 Thread Ian Jones
My test boxes are vanilla vista sp1 x64 installs, with all the updates
and just those two applications (python,pyqt) installed. As I
originally thought it could be some sort of conflict.

Ian


On Sun, Mar 1, 2009 at 7:21 AM, Philippe Fremy p...@freehackers.org wrote:
 Ian Jones wrote:
 I'm curious if other people have been able to use this feature successfully.

 Computer specs:
 Python 2.6.1 (32bit) (python.org)
 PyQt 2.6-gpl-4.4.4-2.exe (from riverbank website)

 Running the examples/desktop/systray/systray.pyw that came with pyqt

 The window opens, icons appear in the system tray, change icon etc but
 the balloon message never appears.

 The docs say it is supported on 'All supported versions of Windows'
 and I am assuming Vista is on that list but I couldn't find the actual
 list to compare it to.

 I've got the exact same problem, but on windows XP.

 Since the same program produces different output on my or on a different
 computer, I guess it's somehow related to the computer configuration.
 But I could not find anything related to showing messages in the systray
 in the control panel.

 Since we both have the issue, maybe we can identify the source of the
 problem by checking something common in our configuration ?

 I am running virtual desktop manager from Microsoft, maybe that's what
 is causing the problem. Are you running any kind of software that could
 alter systray behavior ?

 cheers,

 Philippe

 ___
 PyQt mailing list    p...@riverbankcomputing.com
 http://www.riverbankcomputing.com/mailman/listinfo/pyqt


'

___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


[PyQt] New PyQt tutorial series: PyQt by example

2009-03-01 Thread Roberto Alsina
I just published the first part in this series. It's probably going to be 10-
parts or more, and I will try to do two parts a week.

http://lateral.netmanagers.com.ar/stories/BBS47.html

Comments, suggestions, questions, etc, are welcome.


___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt