{"id":572,"date":"2008-07-20T14:43:04","date_gmt":"2008-07-20T14:43:04","guid":{"rendered":"http:\/\/www.notmart.org\/index.php\/Software\/Widgets_party"},"modified":"2008-07-20T14:43:04","modified_gmt":"2008-07-20T14:43:04","slug":"widgets_party","status":"publish","type":"post","link":"https:\/\/notmart.org\/blog\/2008\/07\/widgets_party\/","title":{"rendered":"Widgets party"},"content":{"rendered":"<p>A target i have for Plasma in KDE 4.2 is to have a set of widgets that<br \/>\nintegrates nicely with the Plasma theme to be reused across multiple plasma<br \/>\napplets.<\/p>\n<p>We need this to minimize the amount of code required to write a fully<br \/>\nfunctional applet, and also we need them to be well integrated with the<br \/>\nPlasma theme, they must be as fast as possible and look as good as possible.<br \/>\nSo (at least for the most common widgets like the buttons) we need to<br \/>\nreimplement them as pure QGraphicsWidgets that will be SVG themed as the<br \/>\nother Plasma elements.<\/p>\n<p>Now i have mostly finished two widgets the first is a generic button with a<br \/>\nnice halo around it that appears with a fade in effect when the mouse pases<br \/>\nover it.<\/p>\n<p>The other widget i&#8217;m writing is a tabbar also SVG-themed. The first place where it will be used will be the weather applet as you can see in <a href=\"http:\/\/pinheiro-kde.blogspot.com\/2008\/07\/weather-is-hot.html\">this beautiful<\/a> sneak peek by Nuno.<\/p>\n<p>When the active tab<br \/>\nchanges it slides to the new one and also the page displayed changes with a<br \/>\nnice sliding animation. These two widgets for now lives in playground but i<br \/>\nhope to move them into the main trunk for general usage as soon as possible.<br \/>\nhere is a video that shows the animations of both the button and the tabbar,<br \/>\nthe last part of the video shows quick switching of tabs with the mouse wheel.<\/p>\n<p><object width=\"425\" height=\"344\"><param name=\"movie\" value=\"http:\/\/www.youtube.com\/v\/v9PBU9lPjWk&#038;hl=en&#038;fs=1\"><\/param><param name=\"allowFullScreen\" value=\"true\"><\/param><embed src=\"http:\/\/www.youtube.com\/v\/v9PBU9lPjWk&#038;hl=en&#038;fs=1\" type=\"application\/x-shockwave-flash\" allowfullscreen=\"true\" width=\"425\" height=\"344\"><\/embed><\/object><br \/>\n<a href=\"http:\/\/www.notmart.org\/files\/plasma-tabbar.ogv\">More decent Ogg<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A target i have for Plasma in KDE 4.2 is to have a set of widgets that integrates nicely with the Plasma theme to be reused across multiple plasma applets. We need this to minimize the amount of code required to write a fully functional applet, and also we need them to be well integrated [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[2,10,21,7],"class_list":["post-572","post","type-post","status-publish","format-standard","hentry","category-software","tag-kde","tag-kde4","tag-linux","tag-plasma"],"_links":{"self":[{"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/posts\/572","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/comments?post=572"}],"version-history":[{"count":0,"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/posts\/572\/revisions"}],"wp:attachment":[{"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/media?parent=572"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/categories?post=572"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/tags?post=572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}