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/LDPlugin.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/LDPlugin.h')
-rw-r--r-- | lumina-desktop/desktop-plugins/LDPlugin.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lumina-desktop/desktop-plugins/LDPlugin.h b/lumina-desktop/desktop-plugins/LDPlugin.h index d71bde0a..96a5042f 100644 --- a/lumina-desktop/desktop-plugins/LDPlugin.h +++ b/lumina-desktop/desktop-plugins/LDPlugin.h @@ -16,6 +16,7 @@ #define _LUMINA_DESKTOP_DESKTOP_PLUGIN_H #include <QObject> +#include <QFrame> #include <QWidget> #include <QString> #include <QDebug> @@ -23,7 +24,7 @@ #include <QMoveEvent> #include <QResizeEvent> -class LDPlugin : public QWidget{ +class LDPlugin : public QFrame{ Q_OBJECT private: @@ -32,9 +33,10 @@ private: public: QSettings *settings; - LDPlugin(QWidget *parent = 0, QString id="unknown") : QWidget(parent){ + LDPlugin(QWidget *parent = 0, QString id="unknown") : QFrame(parent){ PLUGID=id; settings = new QSettings("desktop-plugins",PLUGID); + this->setObjectName("LuminaDesktopPlugin"); } ~LDPlugin(){ |