Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
About Google gadgets on plasma
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dong Tiger  
View profile  
(3 users)  More options Jun 5 2008, 10:49 pm
From: "Dong Tiger" <idlecat...@gmail.com>
Date: Fri, 6 Jun 2008 10:49:37 +0800
Local: Thurs, Jun 5 2008 10:49 pm
Subject: About Google gadgets on plasma

Hi Aaron,

I am a developer of google gadgets for linux (GGL). I've read your blog post
about ggl. We are very interested in integrating GGL with plasma. Actually,
we have written some code which can let Google gadgets running as plasmoids.
These code implement a script engine and a package engine, almost as you
described in your blog.

After KDE's WoC integration, we decided to stop working on it till things
calm down. Now the first beta of KDE 4.1 was just out. I think it's the
right time to start it again. We'll make these code work again and then
release it to public.

We are looking forward to more cooperation with KDE's team.

BTW: I am a long time kde user. I have to say your guys are doing great.

Regards,

Tiger


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dong Tiger  
View profile  
 More options Jun 6 2008, 6:54 am
From: "Dong Tiger" <idlecat...@gmail.com>
Date: Fri, 6 Jun 2008 18:54:55 +0800
Local: Fri, Jun 6 2008 6:54 am
Subject: Re: About Google gadgets on plasma

Definitely make sense.

I just spent a few hours to make the old code work again and tried to adopt
WoC approach.

At first, I tried with following code in GglAppletScript :

    QGraphicsProxyWidget* proxy = new QGraphicsProxyWidget(applet_);
    proxy->setWidget(widget_);    // widget_ is QtViewWidget which shows a
google gadget view
    proxy->show();
    proxy->setParent(applet_);

And in GglAppletScript::paintInterface, I do nothing.

With this code, Google gadgets are shown outside plasmoid applets. So I
modified the above code as following:

    QGraphicsProxyWidget* proxy = new QGraphicsProxyWidget(applet_);
    proxy->setWidget(widget_);
    proxy->show();
    QGraphicsLinearLayout *layout = new QGraphicsLinearLayout(applet_);
    layout->setContentsMargins(0,0,0,0);
    layout->setSpacing(0);
    layout->addItem(proxy);
    applet_->setLayout(layout);

Then I got blank plasmoids. The QtViewWidget didn't show up at all. So can
you give me some hints about the right way to handle WoC within
AppletScript?

2008/6/6 Aaron J. Seigo <ase...@kde.org>:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google