Animus Wisdom

Tag: qt

Push LibStickyNotes (merged)

by gamaral on Sep.05, 2009, under wisdom

As some of you may know, I not only have a great personality, a sexy accent and look like and rock star (the list could go on), I also have a background in electronics! My one true love is Software Engineering but I have to admit, I have been known to flirt with the occasional transistor.

After having some tiny amount of time on my hands I took to redesigning LibStickyNotes, I had noticed some flaws in the original concept. Well after my laptop failed on account of the heat with my face still stinging thanks to the burning plastic and hot battery acid, I took to my notepad; A whiskey, two cigs and a tree or two later, I came up with this:

BaseNoteItem

Now both data and UI note items descend from BaseNoteItem, its main job is to get data from its parent when it or one of its children is in need of data. When a modification is applied, that modification is pushed up to its parent and then (if accepted) to its children, kinda like an electric current (if it were smarter).

base

This is where my fascination with electronics and electricity in general came in. If you look closely it now resembles a power strip daisy-chain (not good to do in real life!), Any one BaseNoteItem can have a single parent and multiple children and so on.

example

This example shows how Application 1 gets its data from a data source (let’s say a DB for now), cache that data in memory, pass that content to a remote application and display the note content on a KNotes like sticky widget.

RemoteNoteItem

The way the RemoteNoteItem works is now much more simpler, they (source and destination) interchange note content only once and update each other on any change that occurs on either side as if they where connected locally (in the same application). Think of it as another UI, if data changes on side A it also applies to side B and vice versa. So when Application 1 sends its content and attributes, the RemoteNoteItem in Application 2 pushes that change to its parent MemoryNoteItem and then to its children (in this case child) PlasmaNoteWidget, any change on either application are then shared.

If you are interested in checking it out, Click Here!

4 Comments :, , more...

Return of the Sticky Notes

by gamaral on Aug.29, 2009, under wisdom

For those interested in my previous post about the post before that I mentioned I was working on a Plasma front-end for LibStickyNotes. Well I got it to a stable state \(T_T)/ yeey; I added an editor and made the thing scale like no bodies business (thanks #plasma peeps!). I’ll keep working on it and improve it as I learn more about the magic that is Plasma. Here’s a preview.

screenshot-2009.08.29

screenshot-2009.08.29-16.55.48

Now to take over the world! (after tea)

2 Comments :, , more...

Sticky Notes Part Deux

by gamaral on Aug.26, 2009, under wisdom

For those interested in my previous post about LibStickyNotes, I made a plasmoid frontend that uses magic to communicate back and forth with a “source” application. The applet needs a bit more UI work but here is small preview.

screenshot-2009.08.25

What are you looking at you ask? the three notes on the desktop get created when the service you see on the virtual terminal in run. If the service goes away, they too go away. Isn’t magic great!

After I clean this off and fix the theme I’ll merge this baby in!

6 Comments :, , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!