Active Topics

 


Reply
Thread Tools
Posts: 605 | Thanked: 137 times | Joined on Nov 2005 @ La Rochelle, France
#1
Hi,
I want to develop a new ControlPanel Applet and I suppose it is the right time to do it the Qt way ...
I've already done it with GTK (gnokii-gconf, contact-infos).
I didn't find any example in the docs or in the garage project ...

Do you know any ?

It would be nice to find a nice project with everything set up right (deb, i18n, config ...)

Thanks

Fred
 
krk969's Avatar
Posts: 754 | Thanked: 630 times | Joined on Sep 2009 @ London
#2
i dont think QT supports status bar applets yet.
It did support the desktop applet mode by setting an attribute on the widget WA_QMaemo5DesktopApplet but then later I saw it was removed not sure if they have put it back in the later releases of qt4.6. I had tried that and it worked just fine.
__________________
Developer of :
Buddy - budget/expense manager ( website )
Showtime - a telly channel listing viewer/reminder ( website )
Travelapp - london underground status/planner ( website )
Batlevel - desktop widget for battery level ( website )

“I hear and I forget. I see and I remember. I do and I understand.”
 
pillar's Avatar
Posts: 154 | Thanked: 124 times | Joined on Mar 2007
#3
http://qt.gitorious.org/+qt-develope...5/controlpanel

There is an example, but it's still quite experimental. Report back if you are able to make something with it
 
Posts: 605 | Thanked: 137 times | Joined on Nov 2005 @ La Rochelle, France
#4
If I'm not mistaken, Control-Panel applet is a dialog called from an execute entryPoint in a library (at least it was like this in Maemo4)
 
Posts: 605 | Thanked: 137 times | Joined on Nov 2005 @ La Rochelle, France
#5
Originally Posted by pillar View Post
http://qt.gitorious.org/+qt-develope...5/controlpanel

There is an example, but it's still quite experimental. Report back if you are able to make something with it
Thanks a lot, I'll try that
 
krk969's Avatar
Posts: 754 | Thanked: 630 times | Joined on Sep 2009 @ London
#6
Originally Posted by pillar View Post
http://qt.gitorious.org/+qt-develope...5/controlpanel

There is an example, but it's still quite experimental. Report back if you are able to make something with it
have seen that, but sorry thats not how real QT code should look like
Its using the Atoms directly and assuming the underlying window manager is X11, QT is supposed to be platform independent , so I think we just need to wait till the QTboys bring out some atttribute that can be set on a widget.

However, that would still work for the N900
__________________
Developer of :
Buddy - budget/expense manager ( website )
Showtime - a telly channel listing viewer/reminder ( website )
Travelapp - london underground status/planner ( website )
Batlevel - desktop widget for battery level ( website )

“I hear and I forget. I see and I remember. I do and I understand.”
 
Posts: 605 | Thanked: 137 times | Joined on Nov 2005 @ La Rochelle, France
#7
Well I had a quick glance and it looks like the execute launch an app (/usr/bin/qapplet) passing the parent window id on the command line ...

I didn't think it was that bad ...

Will there be a control panel in harmattan ? or is the concept completely changed ?
 
calvin_42's Avatar
Posts: 286 | Thanked: 219 times | Joined on Feb 2010 @ France
#8
Any news about it ?

Has anyone a tutorial on How to make a ControlPanel Applet ?
__________________
AutoDisconnect automatically closes your idle connections (Wifi/3G/Bluetooth) and switches the network mode to 2G when 3G is not used. [ Thread ] [ Wiki ] [ Donate ]
 
calvin_42's Avatar
Posts: 286 | Thanked: 219 times | Joined on Feb 2010 @ France
#9
I have managed to create a ControlPanel Applet with the GTK launcher available on http://qt.gitorious.org/+qt-develope...lugin/plugin.c.

But my main Application needed X11 librairies to get the parent, so the size of it increased from 500k to 800k.

If someone has a better solution
__________________
AutoDisconnect automatically closes your idle connections (Wifi/3G/Bluetooth) and switches the network mode to 2G when 3G is not used. [ Thread ] [ Wiki ] [ Donate ]
 
Posts: 726 | Thanked: 345 times | Joined on Apr 2010 @ Sweden
#10
Originally Posted by calvin_42 View Post
I have managed to create a ControlPanel Applet with the GTK launcher available on http://qt.gitorious.org/+qt-develope...lugin/plugin.c.

But my main Application needed X11 librairies to get the parent, so the size of it increased from 500k to 800k.

If someone has a better solution
How would needing the X11 libraries make your application bigger? Do you link them statically?
 
Reply

Tags
applet, control, panel


 
Forum Jump


All times are GMT. The time now is 18:08.