diff options
author | Ken Moore <ken@pcbsd.org> | 2015-01-19 11:17:41 -0500 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-01-19 11:17:41 -0500 |
commit | 86eb160983ce6d3bdcf8730cea03c21237202f02 (patch) | |
tree | a659c9a8477c07d4ec63e16e0e29cded5a871b2c /lumina-desktop/desktop-plugins/LDPluginContainer.h | |
parent | Update the themes that are included within Lumina. (diff) | |
download | lumina-86eb160983ce6d3bdcf8730cea03c21237202f02.tar.gz lumina-86eb160983ce6d3bdcf8730cea03c21237202f02.tar.bz2 lumina-86eb160983ce6d3bdcf8730cea03c21237202f02.zip |
Update the theming of the Lumina desktop:
1) Now the panel appearance will be set by the theme as well (unless custom appearance set)
2) Now the desktop plugins are themed appropriately as well (background canvas can be set to something, non-transparent plugins can be changed)
Diffstat (limited to 'lumina-desktop/desktop-plugins/LDPluginContainer.h')
-rw-r--r-- | lumina-desktop/desktop-plugins/LDPluginContainer.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lumina-desktop/desktop-plugins/LDPluginContainer.h b/lumina-desktop/desktop-plugins/LDPluginContainer.h index 109083da..2145f49b 100644 --- a/lumina-desktop/desktop-plugins/LDPluginContainer.h +++ b/lumina-desktop/desktop-plugins/LDPluginContainer.h @@ -18,6 +18,7 @@ #include <QCloseEvent> #include <QString> #include <QFile> +#include <QIcon> #include "LDPlugin.h" @@ -47,9 +48,10 @@ public: } this->setContentsMargins(0,0,0,0); if(!locked){ - //this->setWindowTitle( plugin->ID().replace("---"," - ") ); - //this->setWidget( new QWidget() ); + this->setWindowTitle( plugin->ID().replace("---"," - ") ); + this->setWidget( new QWidget() ); this->setWidget( plugin ); + this->setWindowIcon(QIcon()); //remove the Qt icon }else{ this->setStyleSheet("LDPluginContainer{ background: transparent; border: none;}"); this->setWidget(plugin); |