The Following User Says Thank You to attila77 For This Useful Post: | ||
![]() |
2010-05-14
, 10:21
|
|
Posts: 1,366 |
Thanked: 1,185 times |
Joined on Jan 2006
|
#12
|
Bad news on that front, sadly. I was hoping to lobby it into the QMaemo5 module or a lib in Extras at least, but in the end, it seems it will remain as-is, a Qt solutions example. This sadly means that there will be no system level solution for Qt widgets, it’s every man for himself.
The Following User Says Thank You to mikec For This Useful Post: | ||
![]() |
2010-05-14
, 11:07
|
|
Posts: 1,296 |
Thanked: 1,773 times |
Joined on Aug 2009
@ Budapest, Hungary
|
#13
|
Bad news on that front, sadly. I was hoping to lobby it into the QMaemo5 module or a lib in Extras at least, but in the end, it seems it will remain as-is, a Qt solutions example. This sadly means that there will be no system level solution for Qt widgets, it’s every man for himself.
![]() |
2010-05-14
, 11:51
|
Posts: 3,319 |
Thanked: 5,610 times |
Joined on Aug 2008
@ Finland
|
#14
|
![]() |
2010-06-03
, 20:32
|
|
Posts: 59 |
Thanked: 42 times |
Joined on Nov 2009
@ Wageningen (NL)
|
#15
|
![]() |
2010-06-13
, 09:22
|
|
Posts: 1,296 |
Thanked: 1,773 times |
Joined on Aug 2009
@ Budapest, Hungary
|
#16
|
![]() |
2010-06-13
, 09:28
|
|
Posts: 1,366 |
Thanked: 1,185 times |
Joined on Jan 2006
|
#17
|
Bump.
It seems that this very early approach does exactly what I need - it is able to dynamically add a desktop widget from inside an application.
The only issue with it is that it disappears after reboot.
The Following User Says Thank You to mikec For This Useful Post: | ||
![]() |
2010-06-13
, 11:14
|
|
Posts: 1,296 |
Thanked: 1,773 times |
Joined on Aug 2009
@ Budapest, Hungary
|
#18
|
Looks like its calling X and widget bits to make a hole in the desktop to push your widget ?
(python bloke trying to understand C++)
The Following User Says Thank You to Venemo For This Useful Post: | ||
![]() |
2010-06-13
, 11:34
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#19
|
Right.
I don't want my widget to appear in Desktop menu / Add widget, instad I want my app to dynamically create them with a push of a button from the app.
The Following User Says Thank You to qwerty12 For This Useful Post: | ||
![]() |
2010-06-13
, 13:32
|
|
Posts: 1,296 |
Thanked: 1,773 times |
Joined on Aug 2009
@ Budapest, Hungary
|
#20
|
With that requirement, you're not going to solve "The only issue with it is that it disappears after reboot." any time soon.
Hildon Home will only save the positions of those widgets etc. in GConf if it has been added from that menu, AFAIK.
That said, you could make a widget that shows up in Add Widget and keeps track of the other dynamically added widgets. That way, when that widget is loaded, presumably on bootup, it'll load your other widgets.
I believe earlier versions of krk969's battery level applet placed an Upstart job definition in /etc/event.d so that the widget would be placed on the desktop after rebooting (this was before the Qt loader for Hildon Desktop).
The Following User Says Thank You to Venemo For This Useful Post: | ||
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc