X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fstyle%2FstyleTabletSuite.py;fp=src%2Fstyle%2FstyleTabletSuite.py;h=80d2e22875df66ca531da9dff6b3e6a2f4e366cc;hb=6b6a992023c4381c010940e4aeb13a0b2089b705;hp=493cdd574102fb6d51987c0588fe85d957a8c150;hpb=63a6ebea88a1b27077b43782799337b3e35ec89f;p=tablet-suite diff --git a/src/style/styleTabletSuite.py b/src/style/styleTabletSuite.py index 493cdd5..80d2e22 100644 --- a/src/style/styleTabletSuite.py +++ b/src/style/styleTabletSuite.py @@ -259,12 +259,6 @@ STYLESHEET = ''' max-width: 370px; } - QTabWidget#tabBar::pane { - border-top: 10px solid transparent; - border-left: 40px solid transparent; - background-color: transparent; - } - QTableView#ListView { border-image: url(''' + TABLE_BORDER + '''); background-color: transparent; @@ -318,6 +312,34 @@ STYLESHEET = ''' font: 10px; } + QTabWidget#tabBar::pane { + border-top: 10px solid transparent; + border-left: 40px solid transparent; + background-color: transparent; + } + + QTabBar{ + background:transparent; + margin: 0px; + border: none; + } + + QTabBar::tab { + background: red; + border: 2px solid red; + border-bottom-color: red; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + min-width: 8ex; + padding: 2px; + } + + QTabBar::tab:selected { + border-color: red; + border-bottom-color: red; + } + + QTabBar#restoreTabs { qproperty-focusPolicy: NoFocus; } @@ -334,6 +356,10 @@ STYLESHEET = ''' QTabBar#restoreTabs::tab:selected { color: white; } + + QTabBar#restoreTabs::tab:!selected { + color: black; + } QTabBar#managerTabs { qproperty-focusPolicy: NoFocus;