maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread (https://talk.maemo.org/showthread.php?t=45388)

Lake 2010-05-22 22:26

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
In response to the problems with the Ebay beecon / snippet -

I can implement (i.e. add the code and run) the snippet but the output I get in the widget does not match what display fields you have in the example screenshot you posted with the instructions on how to build it. What I see is the title of the listing and then underneath where the field says "ID:" I also get a repeat of the title, where I expect to see the item number. Underneath this, I expect to see the time left for bidding etc but I don't see any of that.

So I don't think this is a 'timer' issue as you understand it - I am just not returning the field data in the widget that I expect to.

My reference to 'optifying' the layout (if that's even a word?) is because when the Ebay widget appears, the listing title dissappears from the right of the page, meaning the length is too short in the default value methinks.

I hope that makes better sense.

gkuenning 2010-05-22 23:13

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by No!No!No!Yes! (Post 670862)
Application Manager -> Uninstall ... Look in that list.

Heh. Never occurred to me to look in an UNinstaller to find out the installed version! But of course it's the perfect place.

I've got 0.1.4. Looks like that's the latest, no?

No!No!No!Yes! 2010-05-22 23:23

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by Lake (Post 670954)
In response to the problems with the Ebay beecon / snippet -

I can implement (i.e. add the code and run) the snippet but the output I get in the widget does not match what display fields you have in the example screenshot you posted with the instructions on how to build it. What I see is the title of the listing and then underneath where the field says "ID:" I also get a repeat of the title, where I expect to see the item number. Underneath this, I expect to see the time left for bidding etc but I don't see any of that.

So I don't think this is a 'timer' issue as you understand it - I am just not returning the field data in the widget that I expect to.

My reference to 'optifying' the layout (if that's even a word?) is because when the Ebay widget appears, the listing title dissappears from the right of the page, meaning the length is too short in the default value methinks.

I hope that makes better sense.

Please ... let's move to the relevant thread ... Thanks.:)

Lake 2010-05-23 14:43

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
[Feature request]

If possible, a beecon to start / stop record the output from the N900 FM radio app which can then be played in media player?

gkuenning 2010-05-23 20:36

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by gkuenning (Post 670734)
So here's a somewhat fancier script.

The script I posted yesterday had a bug that made it ignore hostile teams. I've edited the post to include the corrected code, so you only need to re-download it if you grabbed it before the timestamp on this post. Or you could just hand-edit it: in the if statement that checks for wins, two occurrences of "tm[i]" should both be "ct".

No!No!No!Yes! 2010-05-23 20:46

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by gkuenning (Post 672184)
The script I posted yesterday had a bug that made it ignore hostile teams. I've edited the post to include the corrected code, so you only need to re-download it if you grabbed it before the timestamp on this post. Or you could just hand-edit it: in the if statement that checks for wins, two occurrences of "tm[i]" should both be "ct".

Thanks, WIKI points to original post so no need for amendments there as well.

BTW ... with respect to the Timer issues, there is indeed some weird bug here and I'm in the process for a solution.

No!No!No!Yes! 2010-05-24 11:29

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by No!No!No!Yes!
However I also have one more issue which is bothering me since QBW was born. I already opened a thread in Development forum but no brave member came up with suggestions.

I hope I have a better chance now that community has gone much more cerebral about Maemo, N900 and Hildon-Desktop.
I repost here my original request as it could move QBW a step further with still one new possibility.

Thanks to new extended IPC mechanism it could be now possible to treat many QBW instances as one intercommunicating entity thus allowing stacked instances (and hot spots over beecons) like in this example:

Quote:

Originally Posted by No!No!No!Yes! (Post 582390)
I believe the cheapest solution could be this one:

http://i41.tinypic.com/nei7hy.png http://i39.tinypic.com/2zf7j8y.png http://i44.tinypic.com/eugi69.png

With "A" being the "status" beecon (with status querying script updating manually, every startup, on desktop change, every 30 or so seconds updated via new QBW IPC features by "B") and "B" being the "toggle" beecon/button (with status toggling script just for manual interaction)

http://i42.tinypic.com/wu4bxi.png http://i44.tinypic.com/11m8ahz.png http://i43.tinypic.com/2u4lw5g.png

ISSUE: Still unable to programmatically control the stacking of different widgets on desktop.

This was the original enigma:
Quote:

Originally Posted by No!No!No!Yes! (Post 538205)
Hi, as per subject I need to programmatically control the overlaying positions of 3 instances of the same multi-instance hildon desktop (hildon-home) widget.
Programming Language is C.

I basically need to send the top most yellow box behind the red and green boxes (the very-very back) while I'm in the top most widget's settings dialog box.

http://i46.tinypic.com/2vcgjye.png

http://i48.tinypic.com/2qukdqh.png

I've already tried:
  1. gtk_window_set_keep_below gtk_window_set_keep_below
  2. HildonWindowStack family functions

No success so far... anyone can help?

Bye!


Sorry for bringing this back again but I received some tips from a friend and I'd like you guys to help me elaborating on them:

Quote:

Originally Posted by friend
I was reading the applet positioning code in hildon-desktop a bit and it seems that the applets are placed on the desktop in the order of modification timestamps so that recently modified applet windows are on top. The modification timestamp is stored to GConf, under /apps/osso/hildon-desktop/applets/<applet>/modified for each applet.

So you could edit this timestamp to change the stacking order of the applets. I think you'd need to trigger the restacking of applets somehow aftre changing the value. The stacking code is here:
http://maemo.gitorious.org/fremantle...hd-home-view.c

Anyone has any idea on how to "trigger the restacking of applets"

Ciao.

AgentZ 2010-05-24 20:51

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
WOW, this is one incredible piece of work. I have no programming skills ,but it seems to me that this widget can do just about anything with the right script. So may question is this; i have a GOOGLE VOICE account and want to eliminate sms fees from recieveing texts from my account. So could QBW poll my account for new messages alert me of them, and then open a selected VOIP account to let me handle the message however i feel fit? The potential for this app is incredible; if this is possible?

No!No!No!Yes! 2010-05-24 21:38

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by AgentZ (Post 673930)
WOW, this is one incredible piece of work. I have no programming skills ,but it seems to me that this widget can do just about anything with the right script. So may question is this; i have a GOOGLE VOICE account and want to eliminate sms fees from recieveing texts from my account. So could QBW poll my account for new messages alert me of them, and then open a selected VOIP account to let me handle the message however i feel fit? The potential for this app is incredible; if this is possible?

Uhm ... I'll try some speculations here... just brainstorming as I cannot connect to Google Voice ("Please note that Google Voice is only available for sign up in the US.")
  • It is already possible to check for GMails via a RSS feed through GMail: New Mail Notifier Widget
  • There's a mobile access URL for http://www.google.com/voice/m (I'm not able to inspect further because of access limitations)
  • I believe there are methods of issuing DBUS commands to start voip connections
  • I believe there are methods of issuing DBUS commands to have the N900 play sounds like incoming mails or chat conversations
  • QBW can provide the frontend to all this notification/action scripting
As you see ... just speculations and still a lot more to investigate and test but maybe the Community can help testing & scripting here

I Can't go further then this ... sorry :(

AgentZ 2010-05-24 22:39

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by No!No!No!Yes! (Post 674003)
Uhm ... I'll try some speculations here... just brainstorming as I cannot connect to Google Voice ("Please note that Google Voice is only available for sign up in the US.")
Oops your not from here,lol
  • It is already possible to check for GMails via a RSS feed through GMail: New Mail Notifier Widget
    Yep saw that is why I asked here, because getting into GV would probably use the same script
  • There's a mobile access URL for http://www.google.com/voice/m (I'm not able to inspect further because of access limitations)
    Understandable, but the mobile isn't that great,but I guess you could use it to get the info for which QBW could use, would prefer the real site in any case
  • I believe there are methods of issuing DBUS commands to start voip connections
  • I believe there are methods of issuing DBUS commands to have the N900 play sounds like incoming mails or chat conversations
  • QBW can provide the frontend to all this notification/action scripting
As you see ... just speculations and still a lot more to investigate and test but maybe the Community can help testing & scripting here

I Can't go further then this ... sorry :(

Oh no don't be sorry you have created something pretty dam awesome, I mean come on what can't it do!

No!No!No!Yes! 2010-05-25 15:31

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by qwerty12 (Post 669974)
Feature request (no, not a D-Bus-related one this time :p): http://wiki.maemo.org/Documentation/...k-up_locations

Done >=0.1.8 ...
QBW is now integrated into the N900 system backup/restore features according to standard specifications as better described in the SDK Using Backup Application ...
It is now being tested internally

No!No!No!Yes! 2010-05-25 16:08

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
PR1.2 OTA upgrade still not available here (IT), could anybody who has already upgraded, report here for any issue with QBW with new rel? 10x

As soon as PR1.2 is available I'll perform the upgrade and release 0.1.8 in extras-devel.
Ciao.

qwerty12 2010-05-25 17:04

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
No!No!No!Yes!, if http://slexy.org/view/s2TuPIskK2 looks legit to you, can you include it in 0.18? It adds two buttons to the Advanced dialog re. the buffer: Export from Buffer to File and Import from File to Buffer. I got tired of importing/exporting via Leafpad. :)

Best regards,
Faheem

Gah, crap, I forgot to add "g_clear_error" statements

Sash 2010-05-25 17:44

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by No!No!No!Yes! (Post 676292)
PR1.2 OTA upgrade still not available here (IT), could anybody who has already upgraded, report here for any issue with QBW with new rel? 10x

Hi No!No!No!Yes!

I've just flashed to PR 1.2 and I had a few problems when I tried to re-install Queen BeeCon. The widgets were on my desktop but i couldn't see them, only when i click on the gear icon for configuration of the desktop would I see them, but I wouldn't be able to edit them.

I would also get messages saying Hildon-home is not responding.

I'm probably not explaining very well so I'll install it again and get some screenshots.

Sash 2010-05-25 17:58

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
I just tried it again and again Hildon-home wouldn't respond.

I couldn't get any screenshots as when i clicked on the gear icon like this:

http://wiki.maemo.org/images/d/d8/Qbwinst1.png

the desktop would stop responding.

No!No!No!Yes! 2010-05-25 18:19

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by Sash (Post 676583)
I just tried it again and again Hildon-home wouldn't respond.

I couldn't get any screenshots as when i clicked on the gear icon like this:

http://wiki.maemo.org/images/d/d8/Qbwinst1.png

the desktop would stop responding.

Ciao, could you please verify if problem is related some way to this thread: http://talk.maemo.org/showthread.php?t=53593

Sash 2010-05-25 18:29

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by No!No!No!Yes! (Post 676643)
Ciao, could you please verify if problem is related some way to this thread: http://talk.maemo.org/showthread.php?t=53593

Not that I can tell as I've had no trouble customising any other widgets/desktops or menus. Also my device is not Over Clocked.

No!No!No!Yes! 2010-05-25 18:45

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by Sash (Post 676684)
Not that I can tell as I've had no trouble customising any other widgets/desktops or menus. Also my device is not Over Clocked.

Ok, release is 0.1.4, right?
If you wouldn't bother to give it a shot, I could send you a link to the 0.1.8 version .deb package.
Just to see if a version compiled with PR1.2 aware sdk suffers the same deseases!!!

How about that?

Sash 2010-05-25 18:48

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Sure I'll give it a shot.

I think it was 0.1.4, just the one in Extras.

No!No!No!Yes! 2010-05-25 19:27

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by qwerty12 (Post 676429)
No!No!No!Yes!, if http://slexy.org/view/s2TuPIskK2 looks legit to you, can you include it in 0.18? It adds two buttons to the Advanced dialog re. the buffer: Export from Buffer to File and Import from File to Buffer. I got tired of importing/exporting via Leafpad. :)

Best regards,
Faheem

Gah, crap, I forgot to add "g_clear_error" statements

OK ... I be waiting for new diff file

No!No!No!Yes! 2010-05-25 21:35

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by qwerty12 (Post 676429)
No!No!No!Yes!, if http://slexy.org/view/s2TuPIskK2 looks legit to you, can you include it in 0.18? It adds two buttons to the Advanced dialog re. the buffer: Export from Buffer to File and Import from File to Buffer. I got tired of importing/exporting via Leafpad. :)

Best regards,
Faheem

Gah, crap, I forgot to add "g_clear_error" statements

Quote:

Originally Posted by No!No!No!Yes! (Post 676836)
OK ... I be waiting for new diff file

Never mind ... I managed to stick "g_clear_error" here:

Code:

static void importFileBufferBt_clicked_cb ( HildonButton * button, QueenBeecon *self )
{
        g_warning ("(%p) %s",self, G_STRFUNC);

        GtkWidget *file_chooser = hildon_file_chooser_dialog_new (NULL, GTK_FILE_CHOOSER_ACTION_OPEN);
        //gtk_window_set_title (GTK_WINDOW (file_chooser), "Choose file to import from");
        if (gtk_dialog_run (GTK_DIALOG (file_chooser)) == GTK_RESPONSE_OK)
        {
                GtkTextIter start, end;
                GError *error = NULL;
                gchar *filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (file_chooser));

                if (!filename)
                {
                        gtk_widget_destroy (file_chooser);
                        return;
                }

                gchar *contents = NULL;
                if (!g_file_get_contents (filename, &contents, NULL, &error))
                {
                        hildon_banner_show_informationf (NULL, NULL, "Importing failed: %s", error->message);
                        g_free (filename);
                        g_clear_error (&error);
                        gtk_widget_destroy (file_chooser);
                        return;
                }

                gtk_text_buffer_get_bounds (self->priv->importExportBuffer, &start, &end);
                gtk_text_buffer_delete (self->priv->importExportBuffer, &start, &end);
                gtk_text_buffer_insert (self->priv->importExportBuffer, &start, contents, -1);

                g_free (filename);
                g_free (contents);
        }
        gtk_widget_destroy (file_chooser);
}

static void exportFileBufferBt_clicked_cb ( HildonButton * button, QueenBeecon *self )
{
        g_warning ("(%p) %s",self, G_STRFUNC);

        gchar *mydocsdir = g_strdup (g_getenv ("MYDOCSDIR"));
        if (!mydocsdir) mydocsdir = g_build_filename (g_get_home_dir (), "MyDocs", NULL);

        GtkWidget *file_chooser = hildon_file_chooser_dialog_new (NULL, GTK_FILE_CHOOSER_ACTION_SAVE);
        gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (file_chooser), mydocsdir);
        g_free (mydocsdir);

        if (gtk_dialog_run (GTK_DIALOG (file_chooser)) == GTK_RESPONSE_OK)
        {
                GtkTextIter start, end;
                GError *error = NULL;
                gchar *filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (file_chooser));

                if (!filename) {
                        gtk_widget_destroy (file_chooser);
                        return;
                }

                gtk_text_buffer_get_bounds (self->priv->importExportBuffer, &start, &end);

                gchar *contents = gtk_text_buffer_get_text (self->priv->importExportBuffer, &start, &end, FALSE);
                if (!contents) {
                        hildon_banner_show_information (NULL, NULL, "Exporting failed");
                        g_free (filename);
                        gtk_widget_destroy (file_chooser);
                        return;
                }

                if (!g_file_set_contents (filename, contents, -1, &error)) {
                        hildon_banner_show_informationf (NULL, NULL, "Exporting failed: %s", error->message);
                        g_clear_error (&error);
                }
                g_free (filename);
                g_free (contents);
        }
        gtk_widget_destroy (file_chooser);
}

Do you believe it's enough?

No!No!No!Yes! 2010-05-25 21:39

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
And changed buttons layout & captions a little bit:

http://i46.tinypic.com/24gptp4.jpg

qwerty12 2010-05-25 21:39

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by No!No!No!Yes! (Post 677153)
Do you believe it's enough?

Yessir :)

(10-char limit...)

No!No!No!Yes! 2010-05-25 21:57

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by No!No!No!Yes! (Post 676292)
PR1.2 OTA upgrade still not available here (IT), could anybody who has already upgraded, report here for any issue with QBW with new rel? 10x

As soon as PR1.2 is available I'll perform the upgrade and release 0.1.8 in extras-devel.
Ciao.

Quote:

Originally Posted by Sash (Post 676543)
Hi No!No!No!Yes!

I've just flashed to PR 1.2 and I had a few problems when I tried to re-install Queen BeeCon. The widgets were on my desktop but i couldn't see them, only when i click on the gear icon for configuration of the desktop would I see them, but I wouldn't be able to edit them.

I would also get messages saying Hildon-home is not responding.

I'm probably not explaining very well so I'll install it again and get some screenshots.

....

Quote:

Originally Posted by No!No!No!Yes! (Post 676735)
Ok, release is 0.1.4, right?
If you wouldn't bother to give it a shot, I could send you a link to the 0.1.8 version .deb package.
Just to see if a version compiled with PR1.2 aware sdk suffers the same deseases!!!

How about that?

0.1.8-PR1.2compiled + "killall hildon-home" seem to have done the trick ... but I'm curious about why 0.1.4 was not working...

Definitely stay tuned till I upgrade my terminal...

And one other rhetorical question for promotion processes across devel-testing-extra ...

Should we wait >3 weeks to have a working PR1.2-proof QBW 0.2.0 in Extras!?!?!?!?!?
:mad::confused::eek::(

Definitely stay tuned...

No!No!No!Yes! 2010-05-26 13:55

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by qwerty12 (Post 670012)
I'd like to place in a request for replacing that font dialog with http://wiki.maemo.org/Hildon-Extras#HeFontDialog because I also like the Droid Fonts but I'm biased...

Uhm ... no easy way to preserve backward compatibility if I implement this feature with Hildon-Extras extensions.
Especially if exported instances, with extended-fonts functionalities, need to be read by older releases.

Same happens if I change Color (both foreground and background) dialog with extended and more cosmetic one.

Unless it is polite to ask users to check and change fonts/color after import.
:confused::(

BTW, is it possible that HeColorButton is a bit buggy with PR1.2 SDK?
http://wiki.maemo.org/images/7/7f/HeColorButton.png
In scratchbox, if I click on black button frame then color dialogs opens, if I click on orange rectangle nothing happens...

Ciao.

UPDATE:
Also if I compile this:
Code:

                GtkWidget *cmdFontBox = gtk_hbox_new (FALSE, 0);//AP1

                GtkWidget *cmdFontSz;
                if (!g_strcmp0(self->priv->cmdExtFont,"")) {
                        GtkWidget *cmdFontFam = hildon_touch_selector_new_text ();//AP1
                        for(i=0;p_fonts[i]!=NULL;i++) {//AP1
                                int j;
                                for (j=0;j<4;j++) {//AP1
                                        gchar fs[256];//AP1
                                        g_sprintf(fs, "%s %s",p_fonts[i], p_fonts_types[j]);//AP1
                                        hildon_touch_selector_append_text (HILDON_TOUCH_SELECTOR (cmdFontFam), fs);//AP1
                                }//AP1
                        }//AP1
                        hildon_touch_selector_set_active (HILDON_TOUCH_SELECTOR (cmdFontFam), 0, self->priv->cmdFontName);//AP1

                        GtkWidget * cmdFontSelector = hildon_picker_button_new (HILDON_SIZE_AUTO_WIDTH | HILDON_SIZE_THUMB_HEIGHT, HILDON_BUTTON_ARRANGEMENT_VERTICAL);//AP1
                        hildon_button_set_title (HILDON_BUTTON (cmdFontSelector), "Font Face: ");//AP1
                        hildon_button_set_alignment (HILDON_BUTTON (cmdFontSelector), 0, 0.5, 0, 0);//AP1
                        hildon_picker_button_set_selector (HILDON_PICKER_BUTTON (cmdFontSelector), HILDON_TOUCH_SELECTOR (cmdFontFam));//AP1
                        gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontSelector, FALSE, FALSE, 0);//AP1

                        cmdFontSz = gtk_hscale_new_with_range ((gdouble)8, (gdouble)72, (gdouble)1);//AP1
                        gtk_range_set_value(GTK_RANGE(cmdFontSz), self->priv->cmdFontSize);//AP1
                        gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontSz, TRUE, TRUE, 0);//AP1
                }
                GtkWidget *cmdFontFam = he_font_button_new_with_font (self->priv->cmdExtFont);
                gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontFam, TRUE, TRUE, 0);


                gtk_container_add (GTK_CONTAINER (content_area), cmdFontBox);//AP1

Everything goes fine ... if I move the he_font_button before the old font selectors and scales ... H-H dumps

Code:

                GtkWidget *cmdFontBox = gtk_hbox_new (FALSE, 0);//AP1

                GtkWidget *cmdFontSz;
                GtkWidget *cmdFontFam = he_font_button_new_with_font (self->priv->cmdExtFont);
                gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontFam, TRUE, TRUE, 0);

                if (!g_strcmp0(self->priv->cmdExtFont,"")) {
                        GtkWidget *cmdFontFam = hildon_touch_selector_new_text ();//AP1
                        for(i=0;p_fonts[i]!=NULL;i++) {//AP1
                                int j;
                                for (j=0;j<4;j++) {//AP1
                                        gchar fs[256];//AP1
                                        g_sprintf(fs, "%s %s",p_fonts[i], p_fonts_types[j]);//AP1
                                        hildon_touch_selector_append_text (HILDON_TOUCH_SELECTOR (cmdFontFam), fs);//AP1
                                }//AP1
                        }//AP1
                        hildon_touch_selector_set_active (HILDON_TOUCH_SELECTOR (cmdFontFam), 0, self->priv->cmdFontName);//AP1

                        GtkWidget * cmdFontSelector = hildon_picker_button_new (HILDON_SIZE_AUTO_WIDTH | HILDON_SIZE_THUMB_HEIGHT, HILDON_BUTTON_ARRANGEMENT_VERTICAL);//AP1
                        hildon_button_set_title (HILDON_BUTTON (cmdFontSelector), "Font Face: ");//AP1
                        hildon_button_set_alignment (HILDON_BUTTON (cmdFontSelector), 0, 0.5, 0, 0);//AP1
                        hildon_picker_button_set_selector (HILDON_PICKER_BUTTON (cmdFontSelector), HILDON_TOUCH_SELECTOR (cmdFontFam));//AP1
                        gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontSelector, FALSE, FALSE, 0);//AP1

                        cmdFontSz = gtk_hscale_new_with_range ((gdouble)8, (gdouble)72, (gdouble)1);//AP1
                        gtk_range_set_value(GTK_RANGE(cmdFontSz), self->priv->cmdFontSize);//AP1
                        gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontSz, TRUE, TRUE, 0);//AP1
                }

                gtk_container_add (GTK_CONTAINER (content_area), cmdFontBox);//AP1


das_schlumpfie 2010-05-27 01:53

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
hi No!No!No!Yes! (what a name =p)

i saw you made some queen beecon widgets for overclocked device, i saw it in the overlock post, now its not there for some reason.

but still very curious as to how i can get some of those, is it like i can change different configs (profile, frequency etc) right at the desktop?

thanks for the good work btw

No!No!No!Yes! 2010-05-27 05:52

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by das_schlumpfie (Post 681324)
hi No!No!No!Yes! (what a name =p)

i saw you made some queen beecon widgets for overclocked device, i saw it in the overlock post, now its not there for some reason.

but still very curious as to how i can get some of those, is it like i can change different configs (profile, frequency etc) right at the desktop?

thanks for the good work btw

Ciao.
For overclocking See 1st and 3rd beecon here http://wiki.maemo.org/Queen_BeeCon_Widget#Beecons

Other examples are in the wiki
ciao.

das_schlumpfie 2010-05-27 09:30

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
cheers mate

das_schlumpfie 2010-05-27 10:00

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
hi again, so you knows he has those '1 Ghz' and 'Ideal' widgets?

do those actually alter the kernel settings?

thanks

No!No!No!Yes! 2010-05-27 10:42

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by das_schlumpfie (Post 682197)
hi again, so you knows he has those '1 Ghz' and 'Ideal' widgets?

do those actually alter the kernel settings?

thanks

Ciao,
actually I'm not much into this overclocking wisdom I suggest you just drop Jakiman a message and he can point you towards the latest working QBWs he developed (also PR1.2-aware). In fact I heard there were some issues with rootsh/sudo lately which prevented commands to work properly.

Ciao.

Sash 2010-05-27 10:55

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by das_schlumpfie (Post 682197)
hi again, so you knows he has those '1 Ghz' and 'Ideal' widgets?

do those actually alter the kernel settings?

thanks

If you're using the scripts from here:
http://talk.maemo.org/showpost.php?p...postcount=3947

The "snippet_ideal.txt" script will change the kernel to ideal settings.

To have a 1Ghz snippet, you have to follow these instructions first:
Code:

1. Launch xterminal
2. root
3. kernel-config load ideal
4. kernel-config limits 500 1000
5. kernel-config save ideal_1000

and then the "snippet_ideal_1000.txt" script will change the kernel to 1Ghz

No!No!No!Yes! 2010-05-27 14:58

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by No!No!No!Yes! (Post 679452)
Uhm ... no easy way to preserve backward compatibility if I implement this feature with Hildon-Extras extensions.
Especially if exported instances, with extended-fonts functionalities, need to be read by older releases.

Same happens if I change Color (both foreground and background) dialog with extended and more cosmetic one.

Unless it is polite to ask users to check and change fonts/color after import.
:confused::(

BTW, is it possible that HeColorButton is a bit buggy with PR1.2 SDK?
http://wiki.maemo.org/images/7/7f/HeColorButton.png
In scratchbox, if I click on black button frame then color dialogs opens, if I click on orange rectangle nothing happens...

Ciao.

UPDATE:
Also if I compile this:
Code:

                GtkWidget *cmdFontBox = gtk_hbox_new (FALSE, 0);//AP1

                GtkWidget *cmdFontSz;
                if (!g_strcmp0(self->priv->cmdExtFont,"")) {
                        GtkWidget *cmdFontFam = hildon_touch_selector_new_text ();//AP1
                        for(i=0;p_fonts[i]!=NULL;i++) {//AP1
                                int j;
                                for (j=0;j<4;j++) {//AP1
                                        gchar fs[256];//AP1
                                        g_sprintf(fs, "%s %s",p_fonts[i], p_fonts_types[j]);//AP1
                                        hildon_touch_selector_append_text (HILDON_TOUCH_SELECTOR (cmdFontFam), fs);//AP1
                                }//AP1
                        }//AP1
                        hildon_touch_selector_set_active (HILDON_TOUCH_SELECTOR (cmdFontFam), 0, self->priv->cmdFontName);//AP1

                        GtkWidget * cmdFontSelector = hildon_picker_button_new (HILDON_SIZE_AUTO_WIDTH | HILDON_SIZE_THUMB_HEIGHT, HILDON_BUTTON_ARRANGEMENT_VERTICAL);//AP1
                        hildon_button_set_title (HILDON_BUTTON (cmdFontSelector), "Font Face: ");//AP1
                        hildon_button_set_alignment (HILDON_BUTTON (cmdFontSelector), 0, 0.5, 0, 0);//AP1
                        hildon_picker_button_set_selector (HILDON_PICKER_BUTTON (cmdFontSelector), HILDON_TOUCH_SELECTOR (cmdFontFam));//AP1
                        gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontSelector, FALSE, FALSE, 0);//AP1

                        cmdFontSz = gtk_hscale_new_with_range ((gdouble)8, (gdouble)72, (gdouble)1);//AP1
                        gtk_range_set_value(GTK_RANGE(cmdFontSz), self->priv->cmdFontSize);//AP1
                        gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontSz, TRUE, TRUE, 0);//AP1
                }
                GtkWidget *cmdFontFam = he_font_button_new_with_font (self->priv->cmdExtFont);
                gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontFam, TRUE, TRUE, 0);


                gtk_container_add (GTK_CONTAINER (content_area), cmdFontBox);//AP1

Everything goes fine ... if I move the he_font_button before the old font selectors and scales ... H-H dumps

Code:

                GtkWidget *cmdFontBox = gtk_hbox_new (FALSE, 0);//AP1

                GtkWidget *cmdFontSz;
                GtkWidget *cmdFontFam = he_font_button_new_with_font (self->priv->cmdExtFont);
                gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontFam, TRUE, TRUE, 0);

                if (!g_strcmp0(self->priv->cmdExtFont,"")) {
                        GtkWidget *cmdFontFam = hildon_touch_selector_new_text ();//AP1
                        for(i=0;p_fonts[i]!=NULL;i++) {//AP1
                                int j;
                                for (j=0;j<4;j++) {//AP1
                                        gchar fs[256];//AP1
                                        g_sprintf(fs, "%s %s",p_fonts[i], p_fonts_types[j]);//AP1
                                        hildon_touch_selector_append_text (HILDON_TOUCH_SELECTOR (cmdFontFam), fs);//AP1
                                }//AP1
                        }//AP1
                        hildon_touch_selector_set_active (HILDON_TOUCH_SELECTOR (cmdFontFam), 0, self->priv->cmdFontName);//AP1

                        GtkWidget * cmdFontSelector = hildon_picker_button_new (HILDON_SIZE_AUTO_WIDTH | HILDON_SIZE_THUMB_HEIGHT, HILDON_BUTTON_ARRANGEMENT_VERTICAL);//AP1
                        hildon_button_set_title (HILDON_BUTTON (cmdFontSelector), "Font Face: ");//AP1
                        hildon_button_set_alignment (HILDON_BUTTON (cmdFontSelector), 0, 0.5, 0, 0);//AP1
                        hildon_picker_button_set_selector (HILDON_PICKER_BUTTON (cmdFontSelector), HILDON_TOUCH_SELECTOR (cmdFontFam));//AP1
                        gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontSelector, FALSE, FALSE, 0);//AP1

                        cmdFontSz = gtk_hscale_new_with_range ((gdouble)8, (gdouble)72, (gdouble)1);//AP1
                        gtk_range_set_value(GTK_RANGE(cmdFontSz), self->priv->cmdFontSize);//AP1
                        gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontSz, TRUE, TRUE, 0);//AP1
                }

                gtk_container_add (GTK_CONTAINER (content_area), cmdFontBox);//AP1


As a second thought with respect to innovations in font and color settings for command and results labels I implemented the new extended font dialog as proposed by qwerty12.

I believe pros will be much more than cons and side effects will be bearable...:
  • Old font selection and button is deprecated
  • Backward compatibility for instances exported from previous releases is guaranteed and settings upgraded as necessary during import
  • Exported instances from release 0.1.9 onward will have their fonts reset to command="Nokia Sans bold italic 12" results="Nokia Sans bold 12" when/if imported in previous releases
Faheem, if you are planning to come up with some bugfixing for the color button issue I'll try to release, into PR1.2 extras-devel repository for preliminary testing, a 0.1.9 working release with enhanced font/color settings within 1 or 2 days.
Otherwise only the font enhancement will be published.

No!No!No!Yes! 2010-05-27 17:20

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
And a crazy idea ... on my mind
DBUS event driven Beecons

:D:cool::eek:

No!No!No!Yes! 2010-05-28 22:49

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
OK ... Queen BeeCon Widget release 0.1.9 is now in extras-devel
Partial Change Log since 0.1.4
Code:

queen-beecon (0.1.9)

    * New: New extended font dialog for command and results labels (Old font selection deprecated; backward compatibility for instances exported from previous releases is guaranteed and settings upgraded as necessary)
    * Changed: Due to new font settings implementation, exported instances from this release onward will have their fonts reset to command="Nokia Sans bold italic 12" results="Nokia Sans bold 12" when imported in previous releases
    * Bugfixing: Some fixing and cleanup in package install/uninstall

queen-beecon (0.1.8-testonly-PR1.2)

    * WARNING This release is for testing purposes only as PR1.2 upgrade brought some instabilities which need forensics!!!
    * New: Implementation of DBUS methods: reset_rearm_timer
    * New: QBW is now integrated into the N900 system backup/restore features according to standard specifications as better described in SDK "Using Backup Application" http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Generic_Platform_Components/Using_Backup_Application#Custom_back-up_locations
    * Changed: Completely revised Timer logic and reset/re-arming for widget periodic auto-update
    * Changed: Visual feedback when Beecons pressed; now rectangle gets drawn as well as cell (better chance of noticing feedback for canvas-less Beecons)
    * Bugfixing: Fixed segmentation fault if dbus get_position method called and dbus_method_monitor turned on

queen-beecon (0.1.7-PR1.1.1)

    * NOTE: Special Build for PR1.1.1
    * New: Implementation of Widget Instance visibility toggle and configuration parameter (for showing or hiding the widget also via DBUS)
    * New: Implementation of following DBUS methods: dbus_method_monitor, show, hide, wakeup, sleep, update_content, update_layout, exec, set_param_string, set_param_int32, set_param_uint32, set_param_double, set_param_boolean, get_param string, set_position, get_position, get_exit_status
    * New: Implementation of following DBUS signals: sig_content_updated
    * Changed: Enhanced DBUS implementation for Widget2Widget & System2Widget Inter Process Communication
    * Changed: Changed default values for some Update Policies in new QBW instances (updOnStartup now defaults to FALSE; updOnDesktop now defaults to FALSE) to prevent bugged Beecons from freezing hildon-home even after restart
    * Respect: To querty12@talk.maemo.org Many, many, many, many, many thanks for supporting QBW IPC implementation

queen-beecon (0.1.6)

    * New: Simple DBUS implementation for Widget2Widget & System2Widget Inter Process Communication
    * New: Added Widget Instance ID in Settings Dialog Title
    * Changed: Compiled Vs. PR1.2

queen-beecon (0.1.5)

    * Changed: Thanks "qwerty12" disabled automatic capitalization for all text entry fields

queen-beecon (0.1.4)

    * New: Implementation of Widget Instance disabling and minimizing on desktop (click on minimized icon on desktop will wakeup and maximize instance)
    * New: Implementation of image/icon scaling function for all images used (Zoom In/Out from 5% to 200% or Fit to Widget Width/Height)
    * Bugfixing: In Advanced Maintenance Dialog Box several bugfixes for Import/Export commands and instances.

See complete Change Log in the WIKI

Usual WARNINGS apply to extras-devel material


Feel free to experiment with all extended features implemented since 0.1.4 and please report bugs and experiences or feature requests here.

Have fun!

gabby131 2010-05-28 23:54

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
so do my saved instances (commands) will still work if i import it to the 1.9 QBW? right?

gkuenning 2010-05-29 00:32

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Does this mean that if I upgrade QBW, it's now safe to also upgrade to PR1.2?

No!No!No!Yes! 2010-05-29 06:21

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by gabby131 (Post 687059)
so do my saved instances (commands) will still work if i import it to the 1.9 QBW? right?

I dedicated a major effort in trying to guarantee backward compatibility and transparent upgrade of already created instances.
Only limitation, apart from possible lurking bugs, is the one reported in the change log and relevant to ability for older releases to deal with new font parameters for instances exported by >=0.1.9 QBW.

No!No!No!Yes! 2010-05-29 07:56

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by gkuenning (Post 687105)
Does this mean that if I upgrade QBW, it's now safe to also upgrade to PR1.2?

Hi, you won't be able to upgrade QBW PR1.1.1 with current extras-devel v0.1.9 which gets compiled in PR1.2 SDK framework with upgraded modules; you'll face this issue:
Code:

[sbox-FREMANTLE_X86: ~/workspace/queen-beecon] > dpkg -l queen-beecon

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                              Version                          Description
+++-=================================-=================================-==================================================================================
ii  queen-beecon                      0.1.5                            Customizable and flexible widget-based multi-instance monitoring and alerting tool

[sbox-FREMANTLE_X86: ~/workspace/queen-beecon] > dpkg -i queen-beecon_0.1.9.1_i386.deb
(Reading database ... 32547 files and directories currently installed.)
Preparing to replace queen-beecon 0.1.5 (using queen-beecon_0.1.9.1_i386.deb) ...
Unpacking replacement queen-beecon ...
dpkg: dependency problems prevent configuration of queen-beecon:
 queen-beecon depends on libhildon1 (>= 2.2.10); however:
  Version of libhildon1 on system is 2.2.3-1+0m5.

dpkg: error processing queen-beecon (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 queen-beecon

[sbox-FREMANTLE_X86: ~/workspace/queen-beecon] >

If you want to stick a bit more with PR1.1.1 you can try queen-beecon_0.1.9-PR1.1.1_armel.deb package but I will not be able to provide support and maintain this many versions of the package and I'd rather focus on maintenance on PR1.2

Ciao.

Sash 2010-05-29 10:47

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
I've updated to the 0.1.9 QBW and it looks good. The new font section bit works great with a preview included now.

I'll have to test out the DBUS commands.

gabby131 2010-05-29 23:40

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by No!No!No!Yes! (Post 687409)
I dedicated a major effort in trying to guarantee backward compatibility and transparent upgrade of already created instances.
Only limitation, apart from possible lurking bugs, is the one reported in the change log and relevant to ability for older releases to deal with new font parameters for instances exported by >=0.1.9 QBW.

i have upgraded to 1.9 and everything feels okay, the only change is all the fonts revert back to default (as stated on the description changes), the commands still work as usual havent try sudo commands but i will.

im using the same commands on my overclocking.

thanks for this one!

EDIT: the user interface is very friendly in this upgrade. and easy to customize


All times are GMT. The time now is 23:17.

vBulletin® Version 3.8.8