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/audioplayer | |
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/audioplayer')
-rw-r--r-- | lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.cpp | 2 | ||||
-rw-r--r-- | lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.ui | 47 |
2 files changed, 42 insertions, 7 deletions
diff --git a/lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.cpp b/lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.cpp index 1d39441e..ffd5df93 100644 --- a/lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.cpp +++ b/lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.cpp @@ -213,7 +213,7 @@ AudioPlayerPlugin::AudioPlayerPlugin(QWidget *parent, QString ID) : LDPlugin(par this->layout()->setContentsMargins(0,0,0,0); this->layout()->addWidget(player); - this->setInitialSize(300,100); + this->setInitialSize(300,75); } AudioPlayerPlugin::~AudioPlayerPlugin(){ diff --git a/lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.ui b/lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.ui index aa8cbd8b..a27e0643 100644 --- a/lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.ui +++ b/lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.ui @@ -6,13 +6,16 @@ <rect> <x>0</x> <y>0</y> - <width>262</width> - <height>111</height> + <width>307</width> + <height>87</height> </rect> </property> <property name="windowTitle"> <string>Form</string> </property> + <property name="styleSheet"> + <string notr="true">QToolButton::menu-indicator{ image: none; }</string> + </property> <layout class="QVBoxLayout" name="verticalLayout"> <property name="spacing"> <number>0</number> @@ -31,10 +34,6 @@ </property> <item> <widget class="QFrame" name="frame"> - <property name="styleSheet"> - <string notr="true">QFrame{ background: rgba(255,255,255,200); border-radius: 3px; } -QToolButton::menu-indicator{ image: none; }</string> - </property> <property name="frameShape"> <enum>QFrame::StyledPanel</enum> </property> @@ -42,6 +41,21 @@ QToolButton::menu-indicator{ image: none; }</string> <enum>QFrame::Raised</enum> </property> <layout class="QVBoxLayout" name="verticalLayout_2"> + <property name="spacing"> + <number>3</number> + </property> + <property name="leftMargin"> + <number>4</number> + </property> + <property name="topMargin"> + <number>4</number> + </property> + <property name="rightMargin"> + <number>4</number> + </property> + <property name="bottomMargin"> + <number>4</number> + </property> <item> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> @@ -52,6 +66,9 @@ QToolButton::menu-indicator{ image: none; }</string> <property name="popupMode"> <enum>QToolButton::InstantPopup</enum> </property> + <property name="autoRaise"> + <bool>true</bool> + </property> </widget> </item> <item> @@ -62,6 +79,9 @@ QToolButton::menu-indicator{ image: none; }</string> <property name="popupMode"> <enum>QToolButton::InstantPopup</enum> </property> + <property name="autoRaise"> + <bool>true</bool> + </property> </widget> </item> <item> @@ -82,6 +102,9 @@ QToolButton::menu-indicator{ image: none; }</string> <property name="text"> <string notr="true">prev</string> </property> + <property name="autoRaise"> + <bool>true</bool> + </property> </widget> </item> <item> @@ -96,6 +119,9 @@ QToolButton::menu-indicator{ image: none; }</string> <property name="text"> <string notr="true">next</string> </property> + <property name="autoRaise"> + <bool>true</bool> + </property> </widget> </item> </layout> @@ -110,6 +136,9 @@ QToolButton::menu-indicator{ image: none; }</string> <property name="text"> <string notr="true">Play</string> </property> + <property name="autoRaise"> + <bool>true</bool> + </property> </widget> </item> <item> @@ -117,6 +146,9 @@ QToolButton::menu-indicator{ image: none; }</string> <property name="text"> <string notr="true">Pause</string> </property> + <property name="autoRaise"> + <bool>true</bool> + </property> </widget> </item> <item> @@ -124,6 +156,9 @@ QToolButton::menu-indicator{ image: none; }</string> <property name="text"> <string notr="true">Stop</string> </property> + <property name="autoRaise"> + <bool>true</bool> + </property> </widget> </item> <item> |