aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/desktop-plugins/LDPlugin.h
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-05-01 19:30:36 -0400
committerKen Moore <ken@pcbsd.org>2015-05-01 19:30:36 -0400
commit7b0d3a3305a6a6771cc00066a26553adfb4294fd (patch)
treecfbd4a31ea7b19ff5357ba3710ad556d649c72fe /lumina-desktop/desktop-plugins/LDPlugin.h
parentAdd some additional error checking to the new "Open Terminal Here" functional... (diff)
downloadlumina-7b0d3a3305a6a6771cc00066a26553adfb4294fd.tar.gz
lumina-7b0d3a3305a6a6771cc00066a26553adfb4294fd.tar.bz2
lumina-7b0d3a3305a6a6771cc00066a26553adfb4294fd.zip
Add a (commented out) experimental feature for tagging all the various desktop plugin widgets by the name of the plugin. Leaving this disabled by default until some more testing is performed to see how well it works.
Diffstat (limited to 'lumina-desktop/desktop-plugins/LDPlugin.h')
-rw-r--r--lumina-desktop/desktop-plugins/LDPlugin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lumina-desktop/desktop-plugins/LDPlugin.h b/lumina-desktop/desktop-plugins/LDPlugin.h
index 10c0d2ea..b6d786cc 100644
--- a/lumina-desktop/desktop-plugins/LDPlugin.h
+++ b/lumina-desktop/desktop-plugins/LDPlugin.h
@@ -36,8 +36,11 @@ public:
LDPlugin(QWidget *parent = 0, QString id="unknown", bool opaque = false) : QFrame(parent){
PLUGID=id;
settings = new QSettings("desktop-plugins",PLUGID);
+ //Use two values for stylesheet access, Visible or normal plugin base
if(opaque){ this->setObjectName("LuminaDesktopPluginVisible"); }
else{ this->setObjectName("LuminaDesktopPlugin"); }
+ //Use plugin-specific values for stylesheet control (applauncher, desktopview, etc...)
+ //this->setObjectName(id.section("---",0,0).section("::",0,0));
}
~LDPlugin(){
bgstack15