Re: Python Plasmoids - 2 Questions

2011-06-24 Thread Thomas Olsen
On Wednesday 22 June 2011 23:19:03 Thomas Olsen wrote: > On Thursday 19 May 2011 14:06:53 Luca Beltrame wrote: > > > QMetaObject::invokeMethod: No such method > > > Plasma::Applet::toolTipAboutToShow() > > > > I think someone else raised this issue, but I'm

Re: Python Plasmoids - 2 Questions

2011-06-22 Thread Thomas Olsen
n't been solved. I haven't figured out how to override it so I update the tooltip whenever the data changes. -- Best regards / med venlig hilsen Thomas Olsen ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel

Re: No icon displayed on plasmoid once installed

2011-06-20 Thread Thomas Olsen
/cache-$HOSTNAME/kpc/* /tmp/kde-$USER/*cache* -- Best regards / med venlig hilsen Thomas Olsen ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel

Re: Self-introduction: GSoC student (Fedora Project) working on Plasma PackageKit integration

2011-06-19 Thread Thomas Olsen
On Sunday 19 June 2011 14:57:38 Kevin Kofler wrote: > Thomas Olsen wrote: > > This sounds great. Last year I wanted to make something like this myself > > [1] only just for scripted DataEngines via OCS, but due to personal > > circumstancies I was unable to procede with

Re: Self-introduction: GSoC student (Fedora Project) working on Plasma PackageKit integration

2011-06-18 Thread Thomas Olsen
t. [1] http://mail.kde.org/pipermail/plasma-devel/2010-December/thread.html#14411 -- Best regards / med venlig hilsen Thomas Olsen ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel

Re: [PATCH] Suppress errors in Python AppletScripts

2010-07-29 Thread Thomas Olsen
) On a completely different and OT track: is the __dtor__() method a construction added by sip? AFAIRC it's not from standard Python where one would use __del__() instead. -- Best Regards / Med venlig hilsen Thomas Olsen signature.asc Description: This is a digitally signed message part.

Re: Displaying icon on panel in Python

2010-07-20 Thread Thomas Olsen
t; also promise to write a document that expresses building a plasmoid and > making it an icon on panel, after i understand the concept. > > Thanks, in advance. I filed a bug about it https://bugs.kde.org/show_bug.cgi?id=244667 There's also a minimal test case attached. Feel free to

Re: Python Plasma.PopupApplet revisited

2010-07-14 Thread Thomas Olsen
secret ;-) [*] https://bugs.kde.org/show_bug.cgi?id=244667 Please vote -- Best Regards / Med venlig hilsen Thomas Olsen signature.asc Description: This is a digitally signed message part. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel

Re: Displaying icon on panel in Python

2010-07-13 Thread Thomas Olsen
On Tuesday 13 July 2010 22:25:34 Aaron J. Seigo wrote: > On July 13, 2010, Thomas Olsen wrote: > > On Tuesday 13 July 2010 21:53:53 Aaron J. Seigo wrote: > > > On July 13, 2010, Barış Akkurt wrote: > > > > C++. I must inherit from Plasma::PopupApplet instead of > &

Re: Displaying icon on panel in Python

2010-07-13 Thread Thomas Olsen
#x27;ll try the double definition you mention but it I can't see it making any difference as PopupApplet inherits Applet? -- Best Regards / Med venlig hilsen Thomas Olsen signature.asc Description: This is a digitally signed message part. ___ Plasma-

Re: Displaying icon on panel in Python

2010-07-13 Thread Thomas Olsen
> http://websvn.kde.org/trunk/KDE/kdeexamples/plasma/python/ has a few > examples, including a PopupApplet. Yes but it has to instantiate an ExtenderItem which is not desirable. -- Best Regards / Med venlig hilsen Thomas Olsen signature.asc Description: This is a

Re: Displaying icon on panel in Python

2010-07-13 Thread Thomas Olsen
de.org/pipermail/plasma-devel/2010-July/012288.html -- Best Regards / Med venlig hilsen Thomas Olsen signature.asc Description: This is a digitally signed message part. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel

Re: Python Plasma.PopupApplet revisited

2010-07-05 Thread Thomas Olsen
On Monday 05 July 2010 23:38:57 Arno Rehn wrote: > On Monday 05 July 2010 23:05:27 Thomas Olsen wrote: > > Hi > > > > Inspired by Petri's example [1] I almost succeeded in creating a Python > > based PopupApplet without instantiating ExtenderItems. The only prob

Python Plasma.PopupApplet revisited

2010-07-05 Thread Thomas Olsen
vn.kde.org/trunk/KDE/kdelibs/plasma/popupapplet.cpp?view=markup PS: Sorry for the X-post but it kinda overlaps both lists. PSS: Do say if you need actual code then I'll make a simplified example. -- Best Regards / Med venlig hilsen Thomas Olsen signature.asc Description: This is a digi

Re: Applet resizing (Python)

2010-06-28 Thread Thomas Olsen
Regards / Med venlig hilsen Thomas Olsen signature.asc Description: This is a digitally signed message part. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel

Applet resizing (Python)

2010-06-28 Thread Thomas Olsen
is in: http://code.google.com/p/currency-converter-plasmoid/source/browse/trunk/currency-converter/contents/code/main.py -- Best Regards / Med venlig hilsen Thomas Olsen signature.asc Description: This is a digitally signed message part. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel

Re: configChanged()

2010-01-19 Thread Thomas Olsen
hem in terms of > setting the configuration for them (without a plasma restart, of course). > What exactly are the Plasmoids supposed to do in configChanged()? -- Best Regards / Med venlig hilsen Thomas Olsen ___ Plasma-devel mailing list Plasm

Re: Review Request: Additional style options for TaskManager e.g. "Icon only"

2009-11-07 Thread Thomas Olsen
On 7/11-2009 12:10 Marco Martin wrote: > On Saturday 07 November 2009, Thomas Olsen wrote: > > Talking about the task manager. One single thing that's really missing is > > the presence of "Task Manager Settings" in the context menu of entries > > in the t

Re: Review Request: Additional style options for TaskManager e.g. "Icon only"

2009-11-07 Thread Thomas Olsen
-and-text. > > Heyho... > Don't anyone want to review this? > Talking about the task manager. One single thing that's really missing is the presence of "Task Manager Settings" in the context menu of entries in the task manager. It's a bother having to sh

Re: How to get Akonadi notes onto Plasma?

2009-10-30 Thread Thomas Olsen
owing it's title. You can drag a note out of the stack (deck) and put it elsewhere on the desktop and you can put a disconnected note back in the deck. You should also be able to somehow flip through all the notes. I think what I'm saying is basically what Stephen wrote. -- Best Re

Re: Review Request: plasmapkg & wallpaper

2009-10-29 Thread Thomas Olsen
On 29/10-2009 19:56 "Aaron J. Seigo" wrote: > On October 29, 2009, Thomas Olsen wrote: > > On 29/10-2009 18:49 "Aaron J. Seigo" wrote: > > > On October 29, 2009, Thomas Olsen wrote: > > > > maybe add a "--force-overwrite" option or som

Re: Review Request: plasmapkg & wallpaper

2009-10-29 Thread Thomas Olsen
On 29/10-2009 18:49 "Aaron J. Seigo" wrote: > On October 29, 2009, Thomas Olsen wrote: > > maybe add a "--force-overwrite" option or something like that. > > it already has one: "--upgrade". Which isn't enough at it's current state. S

Re: Review Request: plasmapkg & wallpaper

2009-10-29 Thread Thomas Olsen
e it removed the content and not the directory therefore letting plasmapkg fail on both -i and -r. -- Best Regards / Med venlig hilsen Thomas Olsen ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel

Re: Currencies and Countries. Was: Re: OT: Thanks!

2009-10-24 Thread Thomas Olsen
On 24/10-2009 16:13 John Layt wrote: > On Monday 19 October 2009 02:23:18 Thomas Olsen wrote: > > On 19/10-2009 02:02 John Layt wrote: > > > On Sunday 18 October 2009 23:16:29 Thomas Olsen wrote: > > > > Guess I'll better drop they eye-candy. Just

Re: plasmapkg -r failed

2009-10-23 Thread Thomas Olsen
On 23/10-2009 21:57 Chani wrote: > On October 23, 2009 04:07:19 Thomas Olsen wrote: > > I was fiddling with my Currency Converter Plasmoid and suddenly I > > couldn't install it with "plasmapkg -i currency-converter-0.3.plasmoid". > > I already had run "p

plasmapkg -r failed

2009-10-23 Thread Thomas Olsen
x27;t installed. It turned out that the removal had failed to remove the directory ~/.kde/share/apps/plasma/plasmoids/currency-converter. When I manually removed it the installation succeeded. Maybe plasmapkg should be a bit more verbose in the error messages? -- Best Regards / Med

Re: Button->setIcon

2009-10-23 Thread Thomas Olsen
On 23/10-2009 12:16 Marco Martin wrote: > On Friday 23 October 2009, Thomas Olsen wrote: > > Just noticed that in PyKDE4 this [1] doesn't work: > > > > self.collapse_button = Plasma.PushButton() > > self.collapse_button.setIcon(KIcon(&quo

Button->setIcon

2009-10-23 Thread Thomas Olsen
w-down")) [1] http://api.kde.org/4.x-api/kdelibs- apidocs/plasma/html/classPlasma_1_1PushButton.html#ab3e1854e4aba600f1c2baa7d077ea055 http://api.kde.org/pykde-4.3-api/plasma/Plasma.PushButton.html#obj189706444 Is this an error in the Plasma lib or in PyKDE4? -- Best Regards / Med venl

Re: OT: Thanks!

2009-10-20 Thread Thomas Olsen
he techbase wiki, right? you could fix them :) > You're right. I just struck my self out :-) I'll try to be better at contributing to techbase. My only excuse is that I'm still in an early learning phase and a bit careful about not writing anything faulty. And my English is bad

Re: OT: Thanks!

2009-10-20 Thread Thomas Olsen
libplasma that all plasmoids inherit. Thanks Chani. I think I wasn't being clear in what I wrote. What I meant was that reading through documentation, tutorials etc. about creating *Plasmoids* the terms seems to be used rather randomly. -- Best Regards / Med venlig hilsen Thomas Olse

Re: OT: Thanks!

2009-10-19 Thread Thomas Olsen
On 20/10-2009 03:23 "Aaron J. Seigo" wrote: > On October 19, 2009, Thomas Olsen wrote: > > On 20/10-2009 01:37 "Aaron J. Seigo" wrote: > > > On October 19, 2009, Thomas Olsen wrote: > > > > "You also understand and agree that the Yahoo! Serv

Re: OT: Thanks!

2009-10-19 Thread Thomas Olsen
On 20/10-2009 01:37 "Aaron J. Seigo" wrote: > On October 19, 2009, Thomas Olsen wrote: > > "You also understand and agree that the Yahoo! Services *may* (my > > emphasis) include advertisements and that these advertisements are > > necessary for Yahoo! to pro

Re: Fwd: New Comment for "Currency Converter"

2009-10-19 Thread Thomas Olsen
On 20/10-2009 00:40 Chani wrote: > On October 19, 2009 15:32:52 Thomas Olsen wrote: > > On 19/10-2009 21:00 "Aaron J. Seigo" wrote: > > > On October 18, 2009, Chani wrote: > > > > > > The containment knows that it was "locked", not sur

Re: Fwd: New Comment for "Currency Converter"

2009-10-19 Thread Thomas Olsen
On 20/10-2009 00:46 "Aaron J. Seigo" wrote: > On October 19, 2009, Thomas Olsen wrote: > > Thanks anyways. I think maybe I've misunderstood what the user meant and > > thinking about it it doesn't feel like a good solution. > > yes, it's not what l

Re: OT: Thanks!

2009-10-19 Thread Thomas Olsen
On 19/10-2009 21:06 "Aaron J. Seigo" wrote: > On October 17, 2009, Thomas Olsen wrote: > > On 17/10-2009 12:07 Thomas Olsen wrote: > > > On 17/10-2009 06:18 "Aaron J. Seigo" wrote: > > > > (do you know if the the Yahoo! legal terms for the ser

Re: Fwd: New Comment for "Currency Converter"

2009-10-19 Thread Thomas Olsen
ink maybe I've misunderstood what the user meant and thinking about it it doesn't feel like a good solution. I'm now looking for a way to let the Plasmoid collapse/expand the controls with an up/down button. I just might drop by here with a question or two about that one of these days

Re: Currencies and Countries. Was: Re: OT: Thanks!

2009-10-18 Thread Thomas Olsen
On 19/10-2009 02:02 John Layt wrote: > On Sunday 18 October 2009 23:16:29 Thomas Olsen wrote: > > Hmm. I get your point. didn't think of that. And unfortunately the > > problem will also be in Currency Converter because a currency can be used > > in several countries:

Re: Currencies and Countries. Was: Re: OT: Thanks!

2009-10-18 Thread Thomas Olsen
y can be used in several countries: http://www.iso.org/iso/support/faqs/faqs_widely_used_standards/widely_used_standards_other/currency_codes/currency_codes_list-1.htm And then there are both alpha-2 and alpha-3 codes :-/ http://www.loc.gov/standards/iso639-2/ascii_8bits.html Guess I'll better drop

Currencies and Countries. Was: Re: OT: Thanks!

2009-10-18 Thread Thomas Olsen
On 17/10-2009 18:42 John Layt wrote: > On Saturday 17 October 2009 11:00:16 Thomas Olsen wrote: > > From the top of my head it would be nice to have a national flag as well. > > Is that in KLocale already? > > That's another issue we've been kicking around for a w

Re: Fwd: New Comment for "Currency Converter"

2009-10-18 Thread Thomas Olsen
On Sunday 18 October 2009 15:58:09 Artur Souza (MoRpHeUz) wrote: > On Saturday 17 October 2009, 21:09 Thomas Olsen wrote: > > Is this possible? Is there a signal emitted when widgets are > > locked/unlocked? And BTW I haven't been able to find out which signal is > >

Fwd: New Comment for "Currency Converter"

2009-10-17 Thread Thomas Olsen
icked. -- Forwarded Message -- Subject: New Comment for "Currency Converter" Date: Sunday 18 October 2009 From: "KDE-Look.org" To: Thomas Olsen Hello Thomas Olsen, Anywhere has posted a new comment for the content 'Currency Converter' on KDE-Look.org -- Feature Sug

Re: OT: Thanks!

2009-10-17 Thread Thomas Olsen
On 17/10-2009 12:07 Thomas Olsen wrote: > On 17/10-2009 06:18 "Aaron J. Seigo" wrote: > > (do you know if the the Yahoo! legal terms for the service allow > > redistribution of software that uses it? always on the look out for more > > services we can use and wi

Re: OT: Thanks!

2009-10-17 Thread Thomas Olsen
On 17/10-2009 12:00 Thomas Olsen wrote: > On 17/10-2009 11:18 John Layt wrote: > > On Saturday 17 October 2009 01:42:33 Thomas Olsen wrote: > > > And BTW: > > > http://www.kde-look.org/content/show.php/Currency+Converter?content=113 > > >86 6 > > >

Re: OT: Thanks!

2009-10-17 Thread Thomas Olsen
"," with "." # there ought to bet a prettier way to do this if amount.contains(","): amount = amount.replace(".", "").replace(",", ".") I'm not very proud of this code... --

Re: OT: Thanks!

2009-10-17 Thread Thomas Olsen
On 17/10-2009 06:18 "Aaron J. Seigo" wrote: > On October 16, 2009, Thomas Olsen wrote: > > Today I finally took the time to tweak my xorg.conf and the Desktop > > effects in System Settings. I thought that my 5 yrs old lunch-box Dell PC > > with an on- board graphi

Re: OT: Thanks!

2009-10-17 Thread Thomas Olsen
On 17/10-2009 11:18 John Layt wrote: > On Saturday 17 October 2009 01:42:33 Thomas Olsen wrote: > > And BTW: > > http://www.kde-look.org/content/show.php/Currency+Converter?content=11386 > >6 > > > > Next one tomorrow :-) The weekend (red wine) hit me so I mi

OT: Thanks!

2009-10-16 Thread Thomas Olsen
. No Wobbly Windows and no DRI etc. but shadows, translucency and all the goodies. And Present Windows! - and snappy. Thanks guys 'n gals! Luvin' it! And BTW: http://www.kde-look.org/content/show.php/Currency+Converter?content=113866 Next one tomorrow :-) -- Best Regards / Med venlig h

Re: Scripted Plasmoid icon

2009-10-14 Thread Thomas Olsen
On 14/10-2009 18:00 "Aaron J. Seigo" wrote: > On October 14, 2009, Thomas Olsen wrote: > > Is this really the best way to do it? > > no. :) No I didn't really think so... > > > I think that ideally you should just place your icon somewhere

Re: Scripted Plasmoid icon

2009-10-14 Thread Thomas Olsen
On 14/10-2009 18:01 "Aaron J. Seigo" wrote: > On October 14, 2009, Thomas Olsen wrote: > > BTW: The file hierarchy of a Plasmoid isn't really well documented > > anywhere that I can find. If anyone can explain it to me I will be happy > > to doc

Re: Scripted Plasmoid icon

2009-10-14 Thread Thomas Olsen
On 14/10-2009 15:50 Marco Martin wrote: > On Wednesday 14 October 2009, Thomas Olsen wrote: > > Hi > > > > I've been googling all day to find a way to use a custom icon for your > > Plasmoid. > > > > I found the following snippet in http://code.googl

Scripted Plasmoid icon

2009-10-14 Thread Thomas Olsen
ile hierarchy of a Plasmoid isn't really well documented anywhere that I can find. If anyone can explain it to me I will be happy to document it on TechBase. -- Best Regards / Med venlig hilsen Thomas Olsen ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel

Re: Panel autohide

2009-10-07 Thread Thomas Olsen
On 7/10-2009 10:06 Marco Martin wrote: > On Tuesday 06 October 2009, Thomas Olsen wrote: > > Hi > > > > We just had a talk on kde-linux[*] about auto hiding panels and I asked > > if anyone knew if it was possible to have a delay on showing panels? Is > >

Panel autohide

2009-10-06 Thread Thomas Olsen
Hi We just had a talk on kde-linux[*] about auto hiding panels and I asked if anyone knew if it was possible to have a delay on showing panels? Is this implemented or planned to be? [*] http://lists.kde.org/?l=kde-linux&m=125486478602064&w=2 -- Best Regards / Med venlig hilsen Thom

Re: X-KDE-PluginInfo-Depends

2009-10-03 Thread Thomas Olsen
On 3/10-2009 20:58 "Aaron J. Seigo" wrote: > On October 3, 2009, Thomas Olsen wrote: > > Is X-KDE-PluginInfo-Depends used in .metadata file > > not really; it's part of the feature set KPluginInfo can offer but we don't > use it. > OK - thanks. I'

X-KDE-PluginInfo-Depends

2009-10-03 Thread Thomas Olsen
Hi Is X-KDE-PluginInfo-Depends used in .metadata file and if so how and what format? -- Best Regards / Med venlig hilsen Thomas Olsen ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel

Re: Initial size and aspect ratio

2009-10-02 Thread Thomas Olsen
On 3/10-2009 00:34 "Aaron J. Seigo" wrote: > On October 2, 2009, Thomas Olsen wrote: > > On 2/10-2009 20:13 "Aaron J. Seigo" wrote: > > > On October 2, 2009, Thomas Olsen wrote: > > > > - After having created the UI and layout in init() I ne

Re: Initial size and aspect ratio

2009-10-02 Thread Thomas Olsen
On 2/10-2009 20:13 "Aaron J. Seigo" wrote: > On October 2, 2009, Thomas Olsen wrote: > > - After having created the UI and layout in init() I need to resize the > > Plasmoid the a reasonable size as it is too small without specifying it > > [1]. I don't wa

Initial size and aspect ratio

2009-10-02 Thread Thomas Olsen
- Best Regards / Med venlig hilsen Thomas Olsen ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel

SOLVED: No signals from Plasma.ComboBox?

2009-10-01 Thread Thomas Olsen
On 30/9-2009 14:09 Thomas Olsen wrote: > Hi > > Firstly, it has been *AGES* since I've coded Qt/KDE and this is my first > endeavor into Plasma so I'll probably be sending a lot of newbie questions, > but I'll promise that I'll do my best to google for th

Re: Extenders

2009-09-30 Thread Thomas Olsen
n example I hope my response > > would be > > "Ahhh - now I understand" :-D > > Aha - now I understand :-) Thanks -- Best Regards / Med venlig hilsen Thomas Olsen ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel

Re: No signals from Plasma.ComboBox?

2009-09-30 Thread Thomas Olsen
On 30/9-2009 19:42 "Aaron J. Seigo" wrote: > On September 30, 2009, Thomas Olsen wrote: > > > > QObject.connect(self.currency_from,SIGNAL("activated(PyQt_PyObject)"),sel > >f > > have you tried SIGNAL("activated(QString)")? (says the g

Re: Extenders

2009-09-30 Thread Thomas Olsen
On 30/9-2009 19:20 Marco Martin wrote: > On Wednesday 30 September 2009, Thomas Olsen wrote: > > Having read > > http://techbase.kde.org/Development/Tutorials/Plasma/UsingExtenders I'm > > still a bit baffled as to what Extenders are. > > Am I right to believe tha

Extenders

2009-09-30 Thread Thomas Olsen
/ Med venlig hilsen Thomas Olsen ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel

Re: No signals from Plasma.ComboBox?

2009-09-30 Thread Thomas Olsen
On 30/9-2009 14:43 Marco Martin wrote: > On Wednesday 30 September 2009, Thomas Olsen wrote: > > def do_convert_from(currency_from): > > print "Convert from:" + currency_from > > BTW: I forgot a basic Python rule and add "self" as an argument

Re: No signals from Plasma.ComboBox?

2009-09-30 Thread Thomas Olsen
On 30/9-2009 14:43 Marco Martin wrote: > On Wednesday 30 September 2009, Thomas Olsen wrote: > > I'm trying to connect the activated or textChanged from a Plasma.ComboBox > > signal to a Python function but nothing seems to happen. This is what > > I've tried ins

No signals from Plasma.ComboBox?

2009-09-30 Thread Thomas Olsen
ivated(string)"),self.do_convert_from) but to no avail. If anyone can point me to a Python Plasmoid I can study I would appreciate it. -- Best Regards / Med venlig hilsen Thomas Olsen ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel