aboutsummaryrefslogtreecommitdiff
path: root/lumina-fm
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-fm')
-rw-r--r--lumina-fm/MainUI.ui68
-rw-r--r--lumina-fm/main.cpp3
2 files changed, 3 insertions, 68 deletions
diff --git a/lumina-fm/MainUI.ui b/lumina-fm/MainUI.ui
index 041a5ee5..160a271d 100644
--- a/lumina-fm/MainUI.ui
+++ b/lumina-fm/MainUI.ui
@@ -13,74 +13,6 @@
<property name="windowTitle">
<string>Insight</string>
</property>
- <property name="styleSheet">
- <string notr="true">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;
-}</string>
- </property>
<widget class="QWidget" name="centralwidget">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="margin">
diff --git a/lumina-fm/main.cpp b/lumina-fm/main.cpp
index bc48d0db..29e59460 100644
--- a/lumina-fm/main.cpp
+++ b/lumina-fm/main.cpp
@@ -9,6 +9,7 @@
#include "MainUI.h"
#include <LuminaOS.h>
+#include <LuminaThemes.h>
int main(int argc, char ** argv)
{
@@ -26,6 +27,8 @@ int main(int argc, char ** argv)
QApplication a(argc, argv);
#endif
a.setApplicationName("Insight File Manager");
+ LuminaThemeEngine themes(&a);
+ //qDebug() << "StyleSheet:\n" << a.styleSheet();
//Load current Locale
QTranslator translator;
QLocale mylocale;
bgstack15