<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Theming</title><link>https://sourceforge.net/p/be-shell/wiki/Theming/</link><description>Recent changes to Theming</description><atom:link href="https://sourceforge.net/p/be-shell/wiki/Theming/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 02 Jun 2013 21:54:17 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/be-shell/wiki/Theming/feed" rel="self" type="application/rss+xml"/><item><title>Theming modified by Thomas Luebking</title><link>https://sourceforge.net/p/be-shell/wiki/Theming/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v21
+++ v22
@@ -152,6 +152,11 @@

     .BE--GMenu QMenuBar

+**NOTICE** If the menu vanishes for tight panels, try minimizing its margins and paddings
+
+    .BE--Panel QMenuBar { padding:0px; margin:0px; }
+    .BE--Panel QMenuBar::item { padding: 0px; margin: 0px; padding-left: 4px; padding-right: 4px; margin-right: 4px; }
+

 ### The Taskbar ###
 * BE--Tasks (QFrame)
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Luebking</dc:creator><pubDate>Sun, 02 Jun 2013 21:54:17 -0000</pubDate><guid>https://sourceforge.net38b9d11975a9da61561a801a3ddd58dff9692988</guid></item><item><title>WikiPage Theming modified by Thomas Luebking</title><link>https://sourceforge.net/p/be-shell/wiki/Theming/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v20
+++ v21
@@ -89,12 +89,15 @@
 **Notice**: Toplevel panels also support two non standard css properties

 * shadow-radius
-* shadow-padding
+* shadow-padding ([-128,127])
+* shadow-border

 Which allow to control (and align) the roundness of the panel and its distance from the contents rect

     shadow-radius:12; /*aligns to 12px border radius*/
     shadow-padding:4; /*aligns to margin:4px - eg. to create a transparent glass border effect*/
+    shadow-padding:8 4 20 4; /*top right bottom left*/
+    shadow-border:rgba(255,255,255,128) 4; /*translucent white 4 border attached to shadow, not panelpx*/

 **Notice**: Those properties are not accurately parsed, ie.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Luebking</dc:creator><pubDate>Mon, 17 Dec 2012 20:50:24 -0000</pubDate><guid>https://sourceforge.net93101b4059e28eac9f312966b04f25da14dbacef</guid></item><item><title>WikiPage Theming modified by Thomas Luebking</title><link>https://sourceforge.net/p/be-shell/wiki/Theming/</link><description>&lt;pre&gt;--- v19
+++ v20
@@ -60,6 +60,7 @@
 Only a trashcan and the desktop icons are directly on the desktop.
 
 ### Generic items ###
+
 * BE--Panel (QFrame)
 &lt;br/&gt;Well, a panel - panels have automatic names:
     * TopPanel
@@ -79,13 +80,26 @@
     * RightPanel
     * TopRightPanel
     * CentralRightPanel
-    * BottomRightPanel
-
+    * BottomRightPanel    
 * BE--Button (QToolButton)
 &lt;br/&gt;A generic button that can be used as random trigger applet. It's also a base for other plugs
 * BE--Label (QLabel)
 &lt;br/&gt;A generic label plug printing random text from random input
 
+**Notice**: Toplevel panels also support two non standard css properties
+
+* shadow-radius
+* shadow-padding
+
+Which allow to control (and align) the roundness of the panel and its distance from the contents rect
+        
+    shadow-radius:12; /*aligns to 12px border radius*/
+    shadow-padding:4; /*aligns to margin:4px - eg. to create a transparent glass border effect*/
+
+**Notice**: Those properties are not accurately parsed, ie.
+
+* they can *not* be commented
+* the value metrics is px - no matter what you write behind
 
 ### The Desktop ###
 * BE--Desk (QWidget)
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Luebking</dc:creator><pubDate>Tue, 31 Jul 2012 19:58:14 -0000</pubDate><guid>https://sourceforge.netcc9eb08dd07bec586f6c0d00e33ba6cd1bfb2e0f</guid></item><item><title>WikiPage Theming modified by Thomas Luebking</title><link>https://sourceforge.net/p/be-shell/wiki/Theming/</link><description>&lt;pre&gt;--- v18
+++ v19
@@ -172,6 +172,19 @@
 * BE--HddMeter (BE::Meter)
 &lt;br/&gt;... specialised for I/O load
 
+** NOTICE **
+For some reason I unfortunately don't know atm, Meters CAN NOT BE SELECTED BY CLASS - seelct them by #id instead:
+
+    [RAM]
+    Mode=NonInactive
+    PollInterval=5000
+    Type=RamMeter
+
+and in the theme
+    
+    #RAM { color: white; }
+
+
 ### The rest ###
 * BE--SysTray (QFrame)
 &lt;br/&gt;A place where applications dump little outposts - most of them rather pointless and nasty
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Luebking</dc:creator><pubDate>Sat, 14 Jul 2012 23:31:51 -0000</pubDate><guid>https://sourceforge.net2ff7c9f948b8ef777835e7771101288960692745</guid></item><item><title>WikiPage Theming modified by Thomas Luebking</title><link>https://sourceforge.net/p/be-shell/wiki/Theming/</link><description>&lt;pre&gt;--- v17
+++ v18
@@ -1,7 +1,13 @@
 # Theming #
 ## General ##
-Theming is done via QSS, a Qt css "derivate" (basically it is css with some extensions)
+Theming is done via QSS, a Qt CSS "derivate" (basically it is css with some extensions)
 Stylesheets are explained in detail in the [Qt documentation](http://qt-project.org/doc/qt-4.8/stylesheet.html) so we'll just cover the BE:Shell specifics here (mainly the used classes)
+
+### Important ###
+You can use images but you must either supply full paths ("/home/joe/images/image.png") or place them in the theme directory ("~/.kde/share/apps/be.shell/Themes/myFancyTheme/image.png") and reference them as "${base}/image.png" in the QSS theme.
+**Notice** that this is *not* a Qt QSS feature, so if you try that with a theme on "dolphin --stylesheel myFancyTheme.css" that will fail!
+
+## Basics ##
 
 Elements can be addressed by class, exact class (not through inheritance) or the id.
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Luebking</dc:creator><pubDate>Mon, 09 Jul 2012 22:29:22 -0000</pubDate><guid>https://sourceforge.neta4a6c6bf8cf82a13fc9af4d44a2ad24a02f91ac0</guid></item><item><title>WikiPage Theming modified by Thomas Luebking</title><link>https://sourceforge.net/p/be-shell/wiki/Theming/</link><description>&lt;pre&gt;--- v16
+++ v17
@@ -124,6 +124,11 @@
 * BE--VMenuBar (QMenu)
 &lt;br/&gt;A vertical menubar
 
+**NOTICE** That the Main menu is just a plain QMenuBar resp. QMenu
+To hit all menus, you may want to select as
+
+    .BE--GMenu QMenuBar
+
 
 ### The Taskbar ###
 * BE--Tasks (QFrame)
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Luebking</dc:creator><pubDate>Mon, 09 Jul 2012 21:16:42 -0000</pubDate><guid>https://sourceforge.net72b9a8fecc7f2817ab7219a4e9616fbd6cf2a746</guid></item><item><title>WikiPage Theming modified by Thomas Luebking</title><link>https://sourceforge.net/p/be-shell/wiki/Theming/</link><description>&lt;pre&gt;--- v15
+++ v16
@@ -102,7 +102,7 @@
 * BE--Clock (QLabel)
 &lt;br/&gt;A digital clock (random html marked up strings)
 &lt;br/&gt;The provides access to a calender which can be accessed as
-    * #Calendar
+    * \#Calendar
     &lt;br/&gt;and that contains a
         * .KDatePicker
 * BE--Volume (QLabel)
@@ -146,7 +146,6 @@
 * Properties are:
     * windowMinimized
     * needsAttention
-
 * \#TaskTip
 &lt;br/&gt;The idea refers to the taskbar tooltip
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Luebking</dc:creator><pubDate>Sun, 08 Jul 2012 14:59:19 -0000</pubDate><guid>https://sourceforge.net9dea034787cb35d37a7386add4a02ab93a13fa46</guid></item><item><title>WikiPage Theming modified by Thomas Luebking</title><link>https://sourceforge.net/p/be-shell/wiki/Theming/</link><description>&lt;pre&gt;--- v14
+++ v15
@@ -101,6 +101,10 @@
 &lt;br/&gt;A charge indicating icon
 * BE--Clock (QLabel)
 &lt;br/&gt;A digital clock (random html marked up strings)
+&lt;br/&gt;The provides access to a calender which can be accessed as
+    * #Calendar
+    &lt;br/&gt;and that contains a
+        * .KDatePicker
 * BE--Volume (QLabel)
 &lt;br/&gt;
 * BE--InfoCenter (QLabel)
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Luebking</dc:creator><pubDate>Sun, 08 Jul 2012 14:56:56 -0000</pubDate><guid>https://sourceforge.net57966a753c63264dbf402b94110ce11d5b9525c4</guid></item><item><title>WikiPage Theming modified by Thomas Luebking</title><link>https://sourceforge.net/p/be-shell/wiki/Theming/</link><description>&lt;pre&gt;--- v13
+++ v14
@@ -49,68 +49,102 @@
 That's why you've to write "BE--Run" while you actually mean "BE::Run" (in case you ever look up the code ;-)
 
 ## Classes ##
+
+Notice that virtually each and every applet will reside in a panel - the panel can be transparent and strutless but it will parent.
+Only a trashcan and the desktop icons are directly on the desktop.
+
+### Generic items ###
+* BE--Panel (QFrame)
+&lt;br/&gt;Well, a panel - panels have automatic names:
+    * TopPanel
+    * LeftTopPanel
+    &lt;br/&gt;(a panel on the top, touching the left but not the right border)
+    * CentralTopPanel
+    * RightTopPanel
+    * BottomPanel
+    * LeftBottomPanel
+    * CentralBottomPanel
+    * RightBottomPanel
+    * LeftPanel
+    * TopLeftPanel
+    &lt;br/&gt;(a panel on the left, touching the top but not the bottom border)
+    * CentralLeftPanel
+    * BottomLeftPanel
+    * RightPanel
+    * TopRightPanel
+    * CentralRightPanel
+    * BottomRightPanel
+
+* BE--Button (QToolButton)
+&lt;br/&gt;A generic button that can be used as random trigger applet. It's also a base for other plugs
+* BE--Label (QLabel)
+&lt;br/&gt;A generic label plug printing random text from random input
+
+
+### The Desktop ###
+* BE--Desk (QWidget)
+&lt;br/&gt;The Desktop (the huge thing below the wallpaper ;-)
+* BE--DeskIcon (QToolButton)
+&lt;br/&gt;An icon on the desktop (in case you show them)
+* BE--Pager (QFrame)
+&lt;br/&gt;A container for several QToolButtons each representing a virtual Desktop
+* BE--Trash (QLabel)
+&lt;br/&gt;A trashcan icon (can also reside on BE--Desk)
+
+
+### The runner ###
+* BE--Run (QDialog)
+&lt;br/&gt;The runner
+
+### Status ###
 * BE--Battery (QFrame)
 &lt;br/&gt;A charge indicating icon
-* BE--Button (QToolButton)
-&lt;br/&gt;A generic button that can be used as random trigger applet. It's also a base for other plugs
-&lt;!---
-* BE--Claws (QToolButton)
-&lt;br/&gt;
---&gt;
 * BE--Clock (QLabel)
 &lt;br/&gt;A digital clock (random html marked up strings)
-* BE--DeskIcon (QToolButton)
-&lt;br/&gt;An icon on the desktop (in case you show them)
-* BE--Desk (QWidget)
-&lt;br/&gt;The Desktop (the huge thing below the wallpaper ;-)
-* BE--GMenu (QFrame)
-&lt;br/&gt;A global menu (XBar server)
-* BE--HMenuBar (QMenuBar)
-&lt;br/&gt;A menu in the global menu (yes, there's also VMenuBar)
+* BE--Volume (QLabel)
+&lt;br/&gt;
 * BE--InfoCenter (QLabel)
 &lt;br/&gt;An icon showing "(i)" and pulsating when there's a new message from the system
 * BE--InfoDialog (QDialog)
 &lt;br/&gt;The dialog with the system messages you get when clicking the InfoCenter
-&lt;!---
+&lt;!--
 * BE--Job (QWidget)
-&lt;br/&gt;
---&gt;
-* BE--Label (QLabel)
-&lt;br/&gt;A generic label plug printing random text from random input
-* BE--MediaTray (QFrame)
-&lt;br/&gt;A container for attached devices (DvD, USB stick, Camera, ...)
-* BE--Device (QToolButton)
-&lt;br/&gt;Icon representation of such attached Hardware
+&lt;br/&gt; --&gt;
 
-* BE--Pager (QFrame)
-&lt;br/&gt;A container for several QToolButtons each representing a virtual Desktop
-* BE--Panel (QFrame)
-&lt;br/&gt;Well, a panel - see "on panel names"
-* BE--Run (QDialog)
-&lt;br/&gt;The runner
-* BE--Session (QToolButton)
-&lt;br/&gt;A button with your login (or name) and a menu to control the session (lock, logout, shutdown, stuff like that)
-* BE--SysTray (QFrame)
-&lt;br/&gt;A place where applications dump little outposts - most of them rather pointless and nasty
+### The global menu ###
+
+* BE--GMenu (QFrame)
+&lt;br/&gt;A global menu (XBar server)
+* BE--HMenuBar (QMenuBar)
+&lt;br/&gt;A menu in the global menu
+* BE--VMenuBar (QMenu)
+&lt;br/&gt;A vertical menubar
+
 
 ### The Taskbar ###
 * BE--Tasks (QFrame)
 &lt;br/&gt;A taskbar (nearly as useless as the systray, but both were introduced win Win95 and are prominent Desktop stuff)
----
 * BE--Task (BE::Button)
 &lt;br/&gt;A button representing a task in the taskbar
-* \#NoTask
-&lt;br/&gt;There's currently no running task for this item (effectively it's a runner that can turn an ordinary task button)
-* \#OneTask
-&lt;br/&gt;This item represents only one task (like in a flat taskbar)
-* \#ManyTasks
-&lt;br/&gt;This item represents several tasks (stacked taskbar)
+    * \#NoTask
+    &lt;br/&gt;There's currently no running task for this item (effectively it's a runner that can turn an ordinary task button)
+    * \#OneTask
+    &lt;br/&gt;This item represents only one task (like in a flat taskbar)
+    * \#ManyTasks
+    &lt;br/&gt;This item represents several tasks (stacked taskbar)
+
 BE--Task's also can have properties, these could be addressed like
+
     BE--Task[windowMinimized="true"]
+
 which matches minimized tasks
-Properties are:
+
+* Properties are:
     * windowMinimized
     * needsAttention
+
+* \#TaskTip
+&lt;br/&gt;The idea refers to the taskbar tooltip
 
 ### Meters ###
 * BE--Meter (QFrame)
@@ -124,9 +158,12 @@
 * BE--HddMeter (BE::Meter)
 &lt;br/&gt;... specialised for I/O load
 
-* BE--Trash (QLabel)
-&lt;br/&gt;A trashcan icon (can reside on BE--Desk)
-* BE--VMenuBar (QMenu)
-&lt;br/&gt;
-* BE--Volume (QLabel)
-&lt;br/&gt;
+### The rest ###
+* BE--SysTray (QFrame)
+&lt;br/&gt;A place where applications dump little outposts - most of them rather pointless and nasty
+* BE--MediaTray (QFrame)
+&lt;br/&gt;A container for attached devices (DvD, USB stick, Camera, ...)
+* BE--Device (QToolButton)
+&lt;br/&gt;Icon representation of such attached Hardware
+* BE--Session (QToolButton)
+&lt;br/&gt;A button with your login (or name) and a menu to control the session (lock, logout, shutdown, stuff like that)
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Luebking</dc:creator><pubDate>Sun, 08 Jul 2012 14:53:52 -0000</pubDate><guid>https://sourceforge.net536ef21e38942170b1161f6873d2a9f2c965184d</guid></item><item><title>WikiPage Theming modified by Thomas Luebking</title><link>https://sourceforge.net/p/be-shell/wiki/Theming/</link><description>&lt;pre&gt;--- v12
+++ v13
@@ -33,7 +33,7 @@
 
 You can also select elements that must be inside other elements:
 
-    .BE--Run QTreeWidget QScrollBar\::handle
+    .BE--Run QTreeWidget QScrollBar :: handle
     {
         background-color: #aaaaaa;
         border: none;
@@ -50,57 +50,80 @@
 
 ## Classes ##
 * BE--Battery (QFrame)
-&lt;br/&gt;
+&lt;br/&gt;A charge indicating icon
 * BE--Button (QToolButton)
-&lt;br/&gt;
+&lt;br/&gt;A generic button that can be used as random trigger applet. It's also a base for other plugs
+&lt;!---
 * BE--Claws (QToolButton)
 &lt;br/&gt;
+--&gt;
 * BE--Clock (QLabel)
-&lt;br/&gt;
+&lt;br/&gt;A digital clock (random html marked up strings)
 * BE--DeskIcon (QToolButton)
 &lt;br/&gt;An icon on the desktop (in case you show them)
 * BE--Desk (QWidget)
 &lt;br/&gt;The Desktop (the huge thing below the wallpaper ;-)
-* BE--GMenu (QWidget)
-&lt;br/&gt;
+* BE--GMenu (QFrame)
+&lt;br/&gt;A global menu (XBar server)
 * BE--HMenuBar (QMenuBar)
-&lt;br/&gt;
+&lt;br/&gt;A menu in the global menu (yes, there's also VMenuBar)
+* BE--InfoCenter (QLabel)
+&lt;br/&gt;An icon showing "(i)" and pulsating when there's a new message from the system
 * BE--InfoDialog (QDialog)
-&lt;br/&gt;
+&lt;br/&gt;The dialog with the system messages you get when clicking the InfoCenter
+&lt;!---
 * BE--Job (QWidget)
 &lt;br/&gt;
-* BE--InfoCenter (QLabel)
-&lt;br/&gt;
+--&gt;
 * BE--Label (QLabel)
-&lt;br/&gt;
+&lt;br/&gt;A generic label plug printing random text from random input
+* BE--MediaTray (QFrame)
+&lt;br/&gt;A container for attached devices (DvD, USB stick, Camera, ...)
 * BE--Device (QToolButton)
-&lt;br/&gt;
-* BE--MediaTray (QFrame)
-&lt;br/&gt;
+&lt;br/&gt;Icon representation of such attached Hardware
+
+* BE--Pager (QFrame)
+&lt;br/&gt;A container for several QToolButtons each representing a virtual Desktop
+* BE--Panel (QFrame)
+&lt;br/&gt;Well, a panel - see "on panel names"
+* BE--Run (QDialog)
+&lt;br/&gt;The runner
+* BE--Session (QToolButton)
+&lt;br/&gt;A button with your login (or name) and a menu to control the session (lock, logout, shutdown, stuff like that)
+* BE--SysTray (QFrame)
+&lt;br/&gt;A place where applications dump little outposts - most of them rather pointless and nasty
+
+### The Taskbar ###
+* BE--Tasks (QFrame)
+&lt;br/&gt;A taskbar (nearly as useless as the systray, but both were introduced win Win95 and are prominent Desktop stuff)
+---
+* BE--Task (BE::Button)
+&lt;br/&gt;A button representing a task in the taskbar
+* \#NoTask
+&lt;br/&gt;There's currently no running task for this item (effectively it's a runner that can turn an ordinary task button)
+* \#OneTask
+&lt;br/&gt;This item represents only one task (like in a flat taskbar)
+* \#ManyTasks
+&lt;br/&gt;This item represents several tasks (stacked taskbar)
+BE--Task's also can have properties, these could be addressed like
+    BE--Task[windowMinimized="true"]
+which matches minimized tasks
+Properties are:
+    * windowMinimized
+    * needsAttention
+
+### Meters ###
 * BE--Meter (QFrame)
-&lt;br/&gt;
+&lt;br/&gt;A generic meter with two indicators
 * BE--CpuMeter (BE::Meter)
-&lt;br/&gt;
+&lt;br/&gt;... specialised for CPU load
 * BE--RamMeter (BE::Meter)
-&lt;br/&gt;
+&lt;br/&gt;... specialised for memory usage
 * BE--NetMeter (BE::Meter)
-&lt;br/&gt;
+&lt;br/&gt;... specialised for network traffic
 * BE--HddMeter (BE::Meter)
-&lt;br/&gt;
-* BE--Pager (QFrame)
-&lt;br/&gt;
-* BE--Panel (QFrame)
-&lt;br/&gt;
-* BE--Run (QDialog)
-&lt;br/&gt;
-* BE--Session (QToolButton)
-&lt;br/&gt;
-* BE--SysTray (QFrame)
-&lt;br/&gt;
-* BE--Task (BE::Button)
-&lt;br/&gt;
-* BE--Tasks (QFrame)
-&lt;br/&gt;
+&lt;br/&gt;... specialised for I/O load
+
 * BE--Trash (QLabel)
 &lt;br/&gt;A trashcan icon (can reside on BE--Desk)
 * BE--VMenuBar (QMenu)
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Luebking</dc:creator><pubDate>Sun, 08 Jul 2012 13:43:23 -0000</pubDate><guid>https://sourceforge.net000579d45d8f86432739bf3e89e590b452518910</guid></item></channel></rss>