From d53336d4c7ab48aa384c281ca82284ff8f9761cf Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Fri, 3 Oct 2014 14:16:30 -0400 Subject: Large update for the lumina-fm: 1) Completely update the theming for the application (now it has one) 2) Add a column of "action" buttons that enable/disable depending on what is selected. 3) Add the ability to mark files/dirs as user favorites (for quick access in the user button). --- lumina-fm/MainUI.ui | 586 +++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 462 insertions(+), 124 deletions(-) (limited to 'lumina-fm/MainUI.ui') diff --git a/lumina-fm/MainUI.ui b/lumina-fm/MainUI.ui index d26e20b1..041a5ee5 100644 --- a/lumina-fm/MainUI.ui +++ b/lumina-fm/MainUI.ui @@ -6,13 +6,81 @@ 0 0 - 543 - 395 + 567 + 415 Insight + + QWidget{ color: black; } +QWidget#page_browser,#page_audioPlayer,#page_zfs,#page_image_view{background: +qradialgradient(cx: 0.5, cy: -1.8, fx: 0.5, fy: 0, radius: 2, +stop: 0 #9abbbe, +stop: 1 #7292bf); +} +QMainWindow, QMenu{ background: #f4f0e8; } +QMenuBar, QMenuBar::item, QToolBar{ background: transparent; } +QMenuBar::item:selected, QMenuBar::item:pressed, QMenu::item:selected{ background: qradialgradient(cx: 0.5, cy: -1.8, fx: 0.5, fy: 0, radius: 2, +stop: 0 #f9fafc, +stop: 1 #7292bf); +color: black; +} +QMenu::item{ background: transparent; border: none; color: black; padding: 2px 25px 2px 20px;} +QMenu::indicator{ width: 14px; height: 14px; } + + QMenu::indicator:non-exclusive:unchecked { + image: url(:/trolltech/styles/commonstyle/images/standardbutton-no-16.png); + } + + QMenu::indicator:non-exclusive:unchecked:selected { + image: url(:/trolltech/styles/commonstyle/images/standardbutton-no-16.png); + } + + QMenu::indicator:non-exclusive:checked { + image: url(:/trolltech/styles/commonstyle/images/standardbutton-yes-16.png); + } + + QMenu::indicator:non-exclusive:checked:selected { + image: url(:/trolltech/styles/commonstyle/images/standardbutton-yes-16.png); + } + + QTabBar::tab { + background: qradialgradient(cx: 0.5, cy: -1.8, fx: 0.5, fy: 0, radius: 2, +stop: 0 #f5f0e7, +stop: 1 #efeeed); + border-bottom: 2px solid white; + border-bottom-color: white; /* same as the pane color */ + border-top-left-radius: 4px; + border-top-right-radius: 4px; + min-width: 8ex; + padding: 2px; + } + + QTabBar::tab:selected{ + background: qradialgradient(cx: 0.5, cy: -1.8, fx: 0.5, fy: 0, radius: 2, +stop: 0 #f5f0e7, +stop: 1 #fbf2e1); + } +QTabBar::tab:hover { + background: qradialgradient(cx: 0.5, cy: -1.8, fx: 0.5, fy: 0, radius: 2, +stop: 0 #f5f0e7, +stop: 1 #d0dbea); + } + + QTabBar::tab:!selected { + margin-top: 2px; /* make non-selected tabs look smaller */ + } + +QToolTip{ + background: #f4f0e8; + border: 1px solid #d0dbea; + border-radius: 2px; + padding: 1px; + color: black; +} + @@ -25,13 +93,34 @@ - + + 1 + + + 2 + + + 2 + + + 0 + + + 1 + + + + 0 + Qt::CustomContextMenu + + QFrame::NoFrame + QAbstractItemView::ExtendedSelection @@ -69,6 +158,12 @@ Qt::CustomContextMenu + + QFrame::NoFrame + + + QFrame::Sunken + QAbstractItemView::ExtendedSelection @@ -101,128 +196,356 @@ + + + + + + + + + + 0 + + + + + Open item + + + Open item + + + + + + + 20 + 20 + + + + Qt::ToolButtonIconOnly + + + true + + + + + + + Open item (select application) + + + Open item (select application) + + + + + + + 20 + 20 + + + + true + + + + + + + Qt::Horizontal + + + + + + + Add item to personal favorites + + + Add item to personal favorites + + + + + + + 20 + 20 + + + + true + + + + + + + Rename item + + + Rename item + + + + + + + 20 + 20 + + + + true + + + + + + + Qt::Horizontal + + + + + + + Cut items + + + Cut items (add to the clipboard) + + + + + + + 20 + 20 + + + + true + + + + + + + Copy items + + + Copy items to the clipboard + + + + + + + 20 + 20 + + + + true + + + + + + + Paste items from clipboard + + + Paste items from clipboard + + + + + + + 20 + 20 + + + + true + + + + + + + Qt::Horizontal + + + + + + + Delete Items + + + Delete Items + + + + + + + 20 + 20 + + + + true + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + + 0 + - - - 0 + + + + 0 + 0 + - - - - - 0 - 0 - - - - - 75 - true - - - - - - - - - - - Qt::NoFocus - - - Create a new subdirectory - - - &New Dir - - - Ctrl+N - - - QToolButton::InstantPopup - - - Qt::ToolButtonTextBesideIcon - - - true - - - - - - - Qt::NoFocus - - - Open Multimedia Player - - - Play any multimedia files in this directory - - - Play - - - Qt::ToolButtonTextBesideIcon - - - true - - - - - - - Qt::NoFocus - - - View Slideshow - - - View all the images in this directory as a slideshow - - - &Slideshow - - - Ctrl+S - - - Qt::ToolButtonTextBesideIcon - - - true - - - - - - - Qt::NoFocus - - - Restore File(s) - - - Restore old versions of files or directories - - - &Backups - - - Ctrl+B - - - Qt::ToolButtonTextBesideIcon - - - true - - - - + + + 75 + true + + + + + + + + + + + Qt::NoFocus + + + Create a new subdirectory + + + &New Dir + + + Ctrl+N + + + QToolButton::InstantPopup + + + Qt::ToolButtonTextBesideIcon + + + true + + + + + + + Qt::NoFocus + + + Open Multimedia Player + + + Play any multimedia files in this directory + + + &Play + + + Ctrl+P, Ctrl+S + + + Qt::ToolButtonTextBesideIcon + + + true + + + + + + + Qt::NoFocus + + + View Slideshow + + + View all the images in this directory as a slideshow + + + &Slideshow + + + Ctrl+S + + + Qt::ToolButtonTextBesideIcon + + + true + + + + + + + Qt::NoFocus + + + Restore File(s) + + + Restore old versions of files or directories + + + &Backups + + + Ctrl+B + + + Qt::ToolButtonTextBesideIcon + + + true + + @@ -644,6 +967,9 @@ Qt::StrongFocus + + QFrame::NoFrame + QAbstractItemView::ExtendedSelection @@ -718,7 +1044,7 @@ 0 0 - 543 + 567 20 @@ -735,6 +1061,7 @@ View + @@ -887,6 +1214,17 @@ + + + true + + + true + + + Show Action Buttons + + -- cgit