Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / qt / 2007-02

Qt tray icon

9 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Felipe Monteiro de Carvalho

Hi Philip,

Can you test now the magnifier with latest lazarus? I did a basic trayicon implementation for Qt

By the way, in doing so I noticed that QSystemTrayIcon from Qt is extremely limited and is not enougth to implement a very large portion of TTrayIcon .... in the future a Cocoa implementation will be necessary. So far we were talking about Carbon, but the reality is that Carbon doesn't provide any way to interract with the menu extras. Cocoa API is the one that does.

thanks,

Felipe Monteiro de Carvalho
Hess, Philip J
to Felipe Monteiro de Carvalho

Felipe,

Sure, I'll try compiling it tonight.

I wasn't sure what the "update" syntax was with CVS. How does it differ from the "check out" syntax given in Source Forge?

Thanks.

-Phil

Earlier message 23 lines
-----Original Message----- From: [mailto:] On Behalf Of Felipe Monteiro de Carvalho Sent: Wednesday, February 07, 2007 1:49 PM To: Items specific to the Qt widget set Subject: [Qt] Qt tray icon Hi Philip, Can you test now the magnifier with latest lazarus? I did a basic trayicon implementation for Qt By the way, in doing so I noticed that QSystemTrayIcon from Qt is extremely limited and is not enougth to implement a very large portion of TTrayIcon .... in the future a Cocoa implementation will be necessary. So far we were talking about Carbon, but the reality is that Carbon doesn't provide any way to interract with the menu extras. Cocoa API is the one that does. thanks, -- Felipe Monteiro de Carvalho
Hess, Philip J
to Felipe Monteiro de Carvalho

Sorry, I've fallen behind on e-mails this week.

I'm in Indiana, U.S.A. On a map, find the city of Chicago (big) and look southeast to find the state of Indiana.

Thanks.

-Phil

Earlier message 15 lines
-----Original Message----- From: [mailto:] On Behalf Of Felipe Monteiro de Carvalho Sent: Wednesday, February 07, 2007 1:57 PM To: Items specific to the Qt widget set Subject: Re: [Qt] Qt tray icon I think it's just "cvs update" by the way, where are you from? You didn't say =) thanks, -- Felipe Monteiro de Carvalho
Hess, Philip J
to Felipe Monteiro de Carvalho: Can you test now the magnifier with latest lazarus? I did a basic trayicon implementation…

Felipe,

I did a "cvs update" but the Magnifier code doesn't appear to have changed since the last time I tried to compile (which didn't complete on Darwin), so I didn't try to compile again. Is there new Magnifier code that uses the Qt tray icon?

The new 1.27 qt4.pas does compile fine now on OS X with Lazarus, as does the 1.27 interface library. Thanks, Den.

Thanks.

-Phil

Earlier message 21 lines
-----Original Message----- From: on behalf of Felipe Monteiro de Carvalho Sent: Wed 2/7/2007 1:48 PM To: Items specific to the Qt widget set Subject: [Qt] Qt tray icon Hi Philip, Can you test now the magnifier with latest lazarus? I did a basic trayicon implementation for Qt By the way, in doing so I noticed that QSystemTrayIcon from Qt is extremely limited and is not enougth to implement a very large portion of TTrayIcon .... in the future a Cocoa implementation will be necessary. So far we were talking about Carbon, but the reality is that Carbon doesn't provide any way to interract with the menu extras. Cocoa API is the one that does. thanks, -- Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho
to Hess, Philip J

Hello,

Ok, I am extremely busy over here, so I will take a little longer to merge trayicon into the magnifier, and hopefully make the qt implementation of trayicon better. I will send an e-mail when I manage to get it done.

thanks,

Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho
to Felipe Monteiro de Carvalho

Ok, done.

I implemented a large portion of tray icon with qt now. You will need to update both lazarus and the magnifier.

Only the Icon is missing, but a blank area should appear, and be enougth for it to be usable. Or at least it appears on my KDE.

I am experiencing a wierd bug on the icon part of the code. If I comment some code without any relation at all to the Icon, the icon works .... very wierd bug.

Felipe Monteiro de Carvalho
Hess, Philip J
to Felipe Monteiro de Carvalho

Felipe,

I'm missing wsqttrayicon.pas. Is this part of the magnifier CVS?

Thanks.

-Phil

Earlier message 19 lines
-----Original Message----- From: on behalf of Felipe Monteiro de Carvalho Sent: Sun 2/11/2007 4:17 PM To: Items specific to the Qt widget set Subject: Re: [Qt] Qt tray icon Ok, done. I implemented a large portion of tray icon with qt now. You will need to update both lazarus and the magnifier. Only the Icon is missing, but a blank area should appear, and be enougth for it to be usable. Or at least it appears on my KDE. I am experiencing a wierd bug on the icon part of the code. If I comment some code without any relation at all to the Icon, the icon works .... very wierd bug. -- Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho
to Hess, Philip J
Philip J wrote
I'm missing wsqttrayicon.pas. Is this part of the magnifier CVS?

Ops, sorry. Now it is, I added the file.

Felipe Monteiro de Carvalho