Description: This plasmoid shows time in a wordsearch puzzle.
It's based on previous work of Ken Lin (see http://kenlim.github.com/pyWordyClock/). I've adapted his code to be multilingual (English, Catalan and Spanish).
the line self.resize(440, 440) makes it too big when KDE starts. I don't know if that was the expected behaviour. I commented, so it remembers the size when kde restarts.
Nice and geeky ;). Maybe you should mention in your description that it requires plasma-scriptengine-python to be installed...
BTW: I have to set the font to 29 (DajaVu Sans Mono) so that the letters exactely fit into the plasmoid (no matter which size it has). 30 leads to cut letters and below 29 leads to some blank space inside the plasmoid. In the latter case alas the text is not centered (which would give a nice blank frame around it), instead the text sits fixed in the left upper corner.
It worked for me after I commented two lines that say: font.setStyleHint(QFont.Monospace).
I am in Debian squeezy (KDE 4.4.5, a little old), so I don't know if there is a package needed, though it works very well now (There is only 4 fonts in the options, however).
Great plasmoid, by the way. Added to my already full desktop.
Thank you for your comment.
I use KDE 4.8.4. I've found QFont::Monospace in Qt 4.7 class reference. By the way, I think this lines are useless, because monospacing is garanteed by the font (DejaVu Sans Mono by default).
In settings, you can only choose monospaced fonts installed in your system (due to this line: self.fonTextFont.setOnlyFixed(True) in wordyclock_config.py). Other fonts don't work, because lines would be irregular.
Ratings & Comments
6 Comments
9 9 excellent - well, if you're using Plasma 4.
the line self.resize(440, 440) makes it too big when KDE starts. I don't know if that was the expected behaviour. I commented, so it remembers the size when kde restarts.
Nice and geeky ;). Maybe you should mention in your description that it requires plasma-scriptengine-python to be installed... BTW: I have to set the font to 29 (DajaVu Sans Mono) so that the letters exactely fit into the plasmoid (no matter which size it has). 30 leads to cut letters and below 29 leads to some blank space inside the plasmoid. In the latter case alas the text is not centered (which would give a nice blank frame around it), instead the text sits fixed in the left upper corner.
It worked for me after I commented two lines that say: font.setStyleHint(QFont.Monospace). I am in Debian squeezy (KDE 4.4.5, a little old), so I don't know if there is a package needed, though it works very well now (There is only 4 fonts in the options, however). Great plasmoid, by the way. Added to my already full desktop.
Thank you for your comment. I use KDE 4.8.4. I've found QFont::Monospace in Qt 4.7 class reference. By the way, I think this lines are useless, because monospacing is garanteed by the font (DejaVu Sans Mono by default). In settings, you can only choose monospaced fonts installed in your system (due to this line: self.fonTextFont.setOnlyFixed(True) in wordyclock_config.py). Other fonts don't work, because lines would be irregular.
I've uploaded a new version with these two lines commented.