diff options
author | Ken Moore <ken@pcbsd.org> | 2015-02-05 07:49:20 -0500 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-02-05 07:49:20 -0500 |
commit | 74aae81aa755246d5de1a83e9d7b46fdd59934b1 (patch) | |
tree | 1dcff81c83f5533afcef81a76262adb55d9db2ce /lumina-desktop/panel-plugins/userbutton/UserItemWidget.cpp | |
parent | Clean up the default theme template a bit more, and remove some leftover styl... (diff) | |
download | lumina-74aae81aa755246d5de1a83e9d7b46fdd59934b1.tar.gz lumina-74aae81aa755246d5de1a83e9d7b46fdd59934b1.tar.bz2 lumina-74aae81aa755246d5de1a83e9d7b46fdd59934b1.zip |
Finish cleaning up that last bits of hard-coded stylesheets, and tie them in to the lumina theme system.
Diffstat (limited to 'lumina-desktop/panel-plugins/userbutton/UserItemWidget.cpp')
-rw-r--r-- | lumina-desktop/panel-plugins/userbutton/UserItemWidget.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lumina-desktop/panel-plugins/userbutton/UserItemWidget.cpp b/lumina-desktop/panel-plugins/userbutton/UserItemWidget.cpp index 9bfbbb8d..3b8be74f 100644 --- a/lumina-desktop/panel-plugins/userbutton/UserItemWidget.cpp +++ b/lumina-desktop/panel-plugins/userbutton/UserItemWidget.cpp @@ -78,8 +78,10 @@ void UserItemWidget::createWidget(){ this->layout()->addWidget(icon); this->layout()->addWidget(name); this->layout()->addWidget(button); + //Set a custom object name so this can be tied into the Lumina Theme stylesheets + this->setObjectName("LuminaUserItemWidget"); //Install the stylesheet - this->setStyleSheet("UserItemWidget{ background: transparent; border-radius: 5px;} UserItemWidget::hover{ background: rgba(255,255,255,200); border-radius: 5px; }"); + //this->setStyleSheet("UserItemWidget{ background: transparent; border-radius: 5px;} UserItemWidget::hover{ background: rgba(255,255,255,200); border-radius: 5px; }"); } void UserItemWidget::setupButton(bool disable){ |