keystate:keystate.git
3 years agoStart porting the plasmoid to Plasma5. master
Martin Blumenstingl [Sat, 28 Feb 2015 16:44:15 +0000 (17:44 +0100)]
Start porting the plasmoid to Plasma5.

6 years agoDesigner for the SVG Layout needed: please help if you can! KDE4
Martin Blumenstingl [Sun, 22 Apr 2012 15:41:14 +0000 (17:41 +0200)]
Designer for the SVG Layout needed: please help if you can!

6 years agoFix text (in text/symbol layout) moving out of the visible area.
Martin Blumenstingl [Sun, 22 Apr 2012 15:37:15 +0000 (17:37 +0200)]
Fix text (in text/symbol layout) moving out of the visible area.

This was due to a too large spacing which was calculated for example
from the width - but it didn't work if the plasmoid had a higher
width than height.
We now use a lower one (1 character height) to make sure we don't
run out of the visible area.

6 years agoUnify the code between the Text and the Symbol Layout.
Martin Blumenstingl [Sun, 22 Apr 2012 15:16:04 +0000 (17:16 +0200)]
Unify the code between the Text and the Symbol Layout.

This makes both layouts behave exactly the same.
I also added a border spacing at the side where the walking size does
not apply (for example in the case where we're drawing text from the
top to the bottom there was no space on the left. Now there is).

6 years agoRemove all references to the image and border spacing settings.
Martin Blumenstingl [Sun, 22 Apr 2012 14:57:23 +0000 (16:57 +0200)]
Remove all references to the image and border spacing settings.

These were removed from the config UI some time ago, but it seems
they were still used in the code.
Instead we're guessing these settings now.

6 years agoUpdate URL for the plasma QColor API.
Martin Blumenstingl [Sun, 22 Apr 2012 14:16:05 +0000 (16:16 +0200)]
Update URL for the plasma QColor API.

6 years agoRemove some uneeded code.
Martin Blumenstingl [Sun, 22 Apr 2012 14:14:03 +0000 (16:14 +0200)]
Remove some uneeded code.

This was added a workaround for an initialization bug.
Seems like it works now (with KDE 4.8.2).

6 years agoDebug stuff--
Martin Blumenstingl [Sat, 3 Dec 2011 02:35:35 +0000 (03:35 +0100)]
Debug stuff--

6 years agoUnbreak parsing the config after startup.
Martin Blumenstingl [Sat, 3 Dec 2011 02:18:56 +0000 (03:18 +0100)]
Unbreak parsing the config after startup.

6 years agoDon't manually initialize the configuration. This isn't needed (as configChanged...
Martin Blumenstingl [Sat, 3 Dec 2011 01:42:53 +0000 (02:42 +0100)]
Don't manually initialize the configuration. This isn't needed (as configChanged is emitted correctly), but it additionally breaks parsing the orientation at startup.

6 years agoDo not use a method name as variable name.
Martin Blumenstingl [Sat, 3 Dec 2011 01:30:17 +0000 (02:30 +0100)]
Do not use a method name as variable name.

6 years agoRemove some unused code.
Martin Blumenstingl [Sat, 3 Dec 2011 01:28:10 +0000 (02:28 +0100)]
Remove some unused code.

6 years agoMake sure our "layout" variable doesn't conflict with plasma's.
Martin Blumenstingl [Fri, 2 Sep 2011 19:25:50 +0000 (21:25 +0200)]
Make sure our "layout" variable doesn't conflict with plasma's.

6 years agoToolTips++
Martin Blumenstingl [Sun, 21 Aug 2011 17:41:45 +0000 (19:41 +0200)]
ToolTips++

6 years agoAnd remove more unneeded code from the KConfigXT's main.xml.
Martin Blumenstingl [Sun, 21 Aug 2011 17:23:35 +0000 (19:23 +0200)]
And remove more unneeded code from the KConfigXT's main.xml.

6 years agoVersion++
Martin Blumenstingl [Sun, 21 Aug 2011 17:20:15 +0000 (19:20 +0200)]
Version++

6 years agoSVG Layout: TODO-- :)
Martin Blumenstingl [Sun, 21 Aug 2011 17:19:57 +0000 (19:19 +0200)]
SVG Layout: TODO-- :)

6 years agoRemove two more unneeded constants.
Martin Blumenstingl [Sun, 21 Aug 2011 17:19:12 +0000 (19:19 +0200)]
Remove two more unneeded constants.

6 years agoRemoved the advanced layout settings as the default (auto-calculated) ones are quite...
Martin Blumenstingl [Sun, 21 Aug 2011 17:18:42 +0000 (19:18 +0200)]
Removed the advanced layout settings as the default (auto-calculated) ones are quite pretty now.

6 years agoRemove the default size.
Martin Blumenstingl [Sun, 21 Aug 2011 17:14:22 +0000 (19:14 +0200)]
Remove the default size.

6 years agoRemove support for manually specifying (preferring) a size in the plasmoid's config...
Martin Blumenstingl [Sun, 21 Aug 2011 17:12:41 +0000 (19:12 +0200)]
Remove support for manually specifying (preferring) a size in the plasmoid's config. Setting the size is now completely up to Plasma.

6 years agoFix horizontal/vertical switching and automatic sizing (when preferring a size is...
Martin Blumenstingl [Sun, 21 Aug 2011 17:07:57 +0000 (19:07 +0200)]
Fix horizontal/vertical switching and automatic sizing (when preferring a size is disabled).
Damn Boolean bugs :(.

6 years agoRemove dead code.
Martin Blumenstingl [Sun, 21 Aug 2011 16:58:23 +0000 (18:58 +0200)]
Remove dead code.

6 years agoSVG Layout: Only draw an item if the key is pressed.
Martin Blumenstingl [Sun, 21 Aug 2011 16:53:15 +0000 (18:53 +0200)]
SVG Layout: Only draw an item if the key is pressed.

6 years agoName boolean methods properly ("is...").
Martin Blumenstingl [Sun, 21 Aug 2011 16:52:47 +0000 (18:52 +0200)]
Name boolean methods properly ("is...").

6 years agoIf 'Boolean' is misbehaving we'll simply use our own way of converting.
Martin Blumenstingl [Sun, 21 Aug 2011 16:45:13 +0000 (18:45 +0200)]
If 'Boolean' is misbehaving we'll simply use our own way of converting.
Does anybody know why this happens?

6 years agoFix some potential problems when tryint to loop over arrays where our prototype metho...
Martin Blumenstingl [Sun, 21 Aug 2011 16:35:53 +0000 (18:35 +0200)]
Fix some potential problems when tryint to loop over arrays where our prototype methods are getting in the way.

6 years agoAdd a broken SVG Layout.
Martin Blumenstingl [Sun, 21 Aug 2011 16:05:59 +0000 (18:05 +0200)]
Add a broken SVG Layout.

7 years agoThis is an 'Accessibility' plasmoid, not a 'System Information' one.
Martin Blumenstingl [Fri, 3 Sep 2010 19:01:01 +0000 (21:01 +0200)]
This is an 'Accessibility' plasmoid, not a 'System Information' one.

7 years agoDon't use plasmoid.busy - it might have side-effects in our code.
Martin Blumenstingl [Fri, 3 Sep 2010 18:58:53 +0000 (20:58 +0200)]
Don't use plasmoid.busy - it might have side-effects in our code.

7 years agoupdate the TODO-list
Martin Blumenstingl [Fri, 3 Sep 2010 18:57:41 +0000 (20:57 +0200)]
update the TODO-list

7 years agoUpdated the TODO-list.
Martin Blumenstingl [Tue, 31 Aug 2010 18:55:34 +0000 (20:55 +0200)]
Updated the TODO-list.

7 years agoimprove guessing of the image spacing for the symbol and the text layout
Martin Blumenstingl [Wed, 28 Jul 2010 18:43:11 +0000 (20:43 +0200)]
improve guessing of the image spacing for the symbol and the text layout

7 years agofix walking in the symbol and text layout - this was really broken
Martin Blumenstingl [Wed, 28 Jul 2010 18:29:34 +0000 (20:29 +0200)]
fix walking in the symbol and text layout - this was really broken

7 years agomake sure we're not telling lies in the comments ;)
Martin Blumenstingl [Wed, 28 Jul 2010 17:35:16 +0000 (19:35 +0200)]
make sure we're not telling lies in the comments ;)

7 years agoinitialize the borders slightly different
Martin Blumenstingl [Wed, 28 Jul 2010 17:34:35 +0000 (19:34 +0200)]
initialize the borders slightly different

7 years agoremove duplicate code for adjusting the painter's position when moving to the inner...
Martin Blumenstingl [Wed, 28 Jul 2010 17:22:34 +0000 (19:22 +0200)]
remove duplicate code for adjusting the painter's position when moving to the inner end of the border

7 years agodocumentation++
Martin Blumenstingl [Wed, 28 Jul 2010 17:19:37 +0000 (19:19 +0200)]
documentation++

7 years agofix the calculation of the walking sizes in the symbol and the text layout. the user...
Martin Blumenstingl [Wed, 28 Jul 2010 17:03:04 +0000 (19:03 +0200)]
fix the calculation of the walking sizes in the symbol and the text layout. the user configured image spacing was ignored previously

7 years agoimprove the guessing of the image spacing in TextBaseLayouts (which affects the symbo...
Martin Blumenstingl [Wed, 28 Jul 2010 16:51:39 +0000 (18:51 +0200)]
improve the guessing of the image spacing in TextBaseLayouts (which affects the symbol and the text layout)

7 years agofix the walking size in the TextBaseLayout - the old one generated some spacing which...
Martin Blumenstingl [Wed, 28 Jul 2010 16:32:13 +0000 (18:32 +0200)]
fix the walking size in the TextBaseLayout - the old one generated some spacing which could not be overridden

7 years agomake the 'Ctrl' key work again. this fixes a regression from 5f8c7692ddedde2b5f945519...
Martin Blumenstingl [Mon, 26 Jul 2010 19:10:55 +0000 (21:10 +0200)]
make the 'Ctrl' key work again. this fixes a regression from 5f8c7692ddedde2b5f945519bb6a656e7628ba69

7 years agoadd a task to the TODO-list
Martin Blumenstingl [Sun, 25 Jul 2010 21:24:31 +0000 (23:24 +0200)]
add a task to the TODO-list

7 years agoupdate version number to 0.2
Martin Blumenstingl [Fri, 23 Jul 2010 20:27:18 +0000 (22:27 +0200)]
update version number to 0.2

7 years agoupdate the HACKING file
Martin Blumenstingl [Fri, 23 Jul 2010 20:06:29 +0000 (22:06 +0200)]
update the HACKING file

7 years agoremove more hardcoded stuff
Martin Blumenstingl [Fri, 23 Jul 2010 20:04:52 +0000 (22:04 +0200)]
remove more hardcoded stuff

7 years agoremove unused code
Martin Blumenstingl [Fri, 23 Jul 2010 19:54:33 +0000 (21:54 +0200)]
remove unused code

7 years agouse a real getter for the layout instead of making a variable publically available
Martin Blumenstingl [Fri, 23 Jul 2010 19:05:25 +0000 (21:05 +0200)]
use a real getter for the layout instead of making a variable publically available

7 years agowe don't need toInt() here as we already know we have a numeric value
Martin Blumenstingl [Fri, 23 Jul 2010 19:01:39 +0000 (21:01 +0200)]
we don't need toInt() here as we already know we have a numeric value

7 years agoremove the KeyInformationContainer as it's not needed anymore (since the architecture...
Martin Blumenstingl [Fri, 23 Jul 2010 18:48:37 +0000 (20:48 +0200)]
remove the KeyInformationContainer as it's not needed anymore (since the architecture of the plasmoid changed)

7 years agoremove the color from the key information container
Martin Blumenstingl [Fri, 23 Jul 2010 18:40:41 +0000 (20:40 +0200)]
remove the color from the key information container

7 years agoremove duplicate variables from BaseLayout
Martin Blumenstingl [Fri, 23 Jul 2010 18:36:59 +0000 (20:36 +0200)]
remove duplicate variables from BaseLayout

7 years agomake the coding style in LayoutConfiguration consistent with the rest of the code
Martin Blumenstingl [Fri, 23 Jul 2010 18:15:04 +0000 (20:15 +0200)]
make the coding style in LayoutConfiguration consistent with the rest of the code

7 years agocleanup some of the code
Martin Blumenstingl [Fri, 23 Jul 2010 18:09:42 +0000 (20:09 +0200)]
cleanup some of the code

7 years agoremove an unused variable
Martin Blumenstingl [Fri, 23 Jul 2010 18:03:21 +0000 (20:03 +0200)]
remove an unused variable

7 years agoupdate the default size in the desktop file to 32x32px
Martin Blumenstingl [Fri, 23 Jul 2010 17:25:01 +0000 (19:25 +0200)]
update the default size in the desktop file to 32x32px

7 years agocleanup some comments
Martin Blumenstingl [Fri, 23 Jul 2010 16:35:40 +0000 (18:35 +0200)]
cleanup some comments

7 years agoset the background hints upon initialization
Martin Blumenstingl [Fri, 23 Jul 2010 16:31:03 +0000 (18:31 +0200)]
set the background hints upon initialization

7 years agochange the default values for the preferred width/height to 32px
Martin Blumenstingl [Fri, 23 Jul 2010 16:27:57 +0000 (18:27 +0200)]
change the default values for the preferred width/height to 32px

7 years agolet the TextBaseLayout guess better border spacing settings for the symbol/text-layout
Martin Blumenstingl [Fri, 23 Jul 2010 16:26:19 +0000 (18:26 +0200)]
let the TextBaseLayout guess better border spacing settings for the symbol/text-layout

7 years agofix the item spacing settings for the symbol/text-layout
Martin Blumenstingl [Fri, 23 Jul 2010 16:08:34 +0000 (18:08 +0200)]
fix the item spacing settings for the symbol/text-layout

7 years agomove the guessing of the optimal sizes (image spacing and border spacing) to the...
Martin Blumenstingl [Fri, 23 Jul 2010 16:04:45 +0000 (18:04 +0200)]
move the guessing of the optimal sizes (image spacing and border spacing) to the layout code as those sizes are layout specific

7 years agoset the lower limit for the border spacing to 12px
Martin Blumenstingl [Fri, 23 Jul 2010 15:29:49 +0000 (17:29 +0200)]
set the lower limit for the border spacing to 12px

7 years agodon't forget to read the preferred sizes even if we're in "simple" mode
Martin Blumenstingl [Fri, 23 Jul 2010 15:26:52 +0000 (17:26 +0200)]
don't forget to read the preferred sizes even if we're in "simple" mode

7 years agoadd the category to the .desktop file
Martin Blumenstingl [Sun, 18 Jul 2010 16:27:29 +0000 (18:27 +0200)]
add the category to the .desktop file

7 years agouse a better symbol for the meta/super/hyper key in the symbol layout
Martin Blumenstingl [Sun, 18 Jul 2010 15:19:36 +0000 (17:19 +0200)]
use a better symbol for the meta/super/hyper key in the symbol layout

7 years agoadd a user request to the TODO-list
Martin Blumenstingl [Sun, 18 Jul 2010 14:21:08 +0000 (16:21 +0200)]
add a user request to the TODO-list

7 years agoadd missing semicolon
Martin Blumenstingl [Sun, 18 Jul 2010 14:02:58 +0000 (16:02 +0200)]
add missing semicolon

7 years agothe localization class is not needed - we should do this in the TextLayout
Martin Blumenstingl [Sun, 18 Jul 2010 13:57:52 +0000 (15:57 +0200)]
the localization class is not needed - we should do this in the TextLayout

7 years agosmall code cleanup
Martin Blumenstingl [Sun, 18 Jul 2010 13:49:30 +0000 (15:49 +0200)]
small code cleanup

7 years agosimplifyf the code in KeyInformation (we don't have to remove items from the array...
Martin Blumenstingl [Sun, 18 Jul 2010 13:45:47 +0000 (15:45 +0200)]
simplifyf the code in KeyInformation (we don't have to remove items from the array as it's cleared before doing anything)

7 years agoremove another task from the TODO-list (please tell me if there are issues with the...
Martin Blumenstingl [Sun, 18 Jul 2010 12:21:31 +0000 (14:21 +0200)]
remove another task from the TODO-list (please tell me if there are issues with the automagic size guessing)

7 years agoimprove the automatic layout calculation (looks good now)
Martin Blumenstingl [Sun, 18 Jul 2010 12:17:57 +0000 (14:17 +0200)]
improve the automatic layout calculation (looks good now)

7 years agomake the "prefer size" option independent of the "advanced settings" checkbox
Martin Blumenstingl [Sun, 18 Jul 2010 12:16:41 +0000 (14:16 +0200)]
make the "prefer size" option independent of the "advanced settings" checkbox

7 years agoslightly improve the calculation of the image/border spacing settings for the "simple...
Martin Blumenstingl [Sun, 18 Jul 2010 11:45:47 +0000 (13:45 +0200)]
slightly improve the calculation of the image/border spacing settings for the "simple" layout settings

7 years agorename some variables
Martin Blumenstingl [Sun, 18 Jul 2010 11:39:23 +0000 (13:39 +0200)]
rename some variables

7 years agoadd more methods to the number class
Martin Blumenstingl [Sun, 18 Jul 2010 11:23:20 +0000 (13:23 +0200)]
add more methods to the number class

7 years agoupdate the orientation before applying the layout settings
Martin Blumenstingl [Sun, 18 Jul 2010 11:14:48 +0000 (13:14 +0200)]
update the orientation before applying the layout settings

7 years agofix the text layout drawing in non-visible area (in very small plasmoids)
Martin Blumenstingl [Sun, 18 Jul 2010 11:10:12 +0000 (13:10 +0200)]
fix the text layout drawing in non-visible area (in very small plasmoids)

7 years agorename 'padding' to 'border spacing' (since that's what it really is)
Martin Blumenstingl [Sun, 18 Jul 2010 11:04:27 +0000 (13:04 +0200)]
rename 'padding' to 'border spacing' (since that's what it really is)

8 years agoremove another finished task from the TODO-list
Martin Blumenstingl [Sat, 17 Jul 2010 21:15:08 +0000 (23:15 +0200)]
remove another finished task from the TODO-list

8 years agofix the horizontal/vertical layouts of the symbol and the text layout (they're workin...
Martin Blumenstingl [Sat, 17 Jul 2010 21:14:31 +0000 (23:14 +0200)]
fix the horizontal/vertical layouts of the symbol and the text layout (they're working now :))

8 years agofix drawing the symbol/text layout in horizontal orientation (it's not perfect yet...
Martin Blumenstingl [Sat, 17 Jul 2010 20:32:48 +0000 (22:32 +0200)]
fix drawing the symbol/text layout in horizontal orientation (it's not perfect yet but it works)

8 years agoadd two missing files
Martin Blumenstingl [Sat, 17 Jul 2010 20:15:58 +0000 (22:15 +0200)]
add two missing files

8 years agormeove the 'single' layout
Martin Blumenstingl [Sat, 17 Jul 2010 20:05:26 +0000 (22:05 +0200)]
rmeove the 'single' layout

8 years agonew internal layout API: move most of the code into a 'BaseLayout'
Martin Blumenstingl [Sat, 17 Jul 2010 20:00:42 +0000 (22:00 +0200)]
new internal layout API: move most of the code into a 'BaseLayout'
also make the orientation configurable for all layouts (does not work for all layouts yet)

8 years agomove all 'advanced' settings into an 'Advanced' tab
Martin Blumenstingl [Sat, 17 Jul 2010 18:27:50 +0000 (20:27 +0200)]
move all 'advanced' settings into an 'Advanced' tab

8 years agoadd a symbol layout
Martin Blumenstingl [Sat, 17 Jul 2010 18:10:01 +0000 (20:10 +0200)]
add a symbol layout

8 years agoremove a fixed task from the TODO-list
Martin Blumenstingl [Sat, 17 Jul 2010 17:35:12 +0000 (19:35 +0200)]
remove a fixed task from the TODO-list

8 years agomake sure the order of the keys is always the same (even after a key has been added...
Martin Blumenstingl [Sat, 17 Jul 2010 17:34:30 +0000 (19:34 +0200)]
make sure the order of the keys is always the same (even after a key has been added and the plasmoid has not been restarted yet)

8 years agorenamed 'readParseConfiguration' to 'parseConfiguration'
Martin Blumenstingl [Sat, 17 Jul 2010 17:31:36 +0000 (19:31 +0200)]
renamed 'readParseConfiguration' to 'parseConfiguration'

8 years agofix the order of the keys (the order of the keys should be the same as the order...
Martin Blumenstingl [Sat, 17 Jul 2010 17:03:47 +0000 (19:03 +0200)]
fix the order of the keys (the order of the keys should be the same as the order on the keyboard itself)

8 years agoupdated TODO list
Martin Blumenstingl [Mon, 12 Jul 2010 20:24:17 +0000 (22:24 +0200)]
updated TODO list

8 years agoadd a 'TODO' file
Martin Blumenstingl [Mon, 12 Jul 2010 19:21:41 +0000 (21:21 +0200)]
add a 'TODO' file

8 years agoadd an icon, add a better comment, rename the plasmoid, fix the author's name and... v0.1
xdarklight [Fri, 26 Mar 2010 18:53:31 +0000 (19:53 +0100)]
add an icon, add a better comment, rename the plasmoid, fix the author's name and fix the license

8 years agosimplify layout painting by introducing a 'RectangleLayout' class which provides...
xdarklight [Thu, 25 Mar 2010 22:36:19 +0000 (23:36 +0100)]
simplify layout painting by introducing a 'RectangleLayout' class which provides generic calculations for rectangle layouts

8 years agofixed a few bugs in the vertical layout which resulted in some unnecessary gaps
xdarklight [Thu, 25 Mar 2010 21:59:08 +0000 (22:59 +0100)]
fixed a few bugs in the vertical layout which resulted in some unnecessary gaps

8 years agofixed a bug in the horizontal layout where the spacing was added too often (which...
xdarklight [Thu, 25 Mar 2010 21:56:09 +0000 (22:56 +0100)]
fixed a bug in the horizontal layout where the spacing was added too often (which resulted in a gap)

8 years agofixed a bug where the guessed layout settings in simple configuration mode were not...
xdarklight [Thu, 25 Mar 2010 21:42:54 +0000 (22:42 +0100)]
fixed a bug where the guessed layout settings in simple configuration mode were not re-calculated

8 years agobetter cast when parsing the config file instead
xdarklight [Wed, 24 Mar 2010 20:41:39 +0000 (21:41 +0100)]
better cast when parsing the config file instead