1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 09:42:10 +02:00

[Windows] Small theme improvements of tab style.

Using transparent background for tabbar also with tabs on top.
This commit is contained in:
nowrep 2013-03-07 17:26:21 +01:00
parent d72dddf2f1
commit 8820703a2e
8 changed files with 16 additions and 13 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 159 B

After

Width:  |  Height:  |  Size: 112 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 704 B

After

Width:  |  Height:  |  Size: 151 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 704 B

View File

@ -110,7 +110,13 @@
#tabwidget-button-opentabs
{
qproperty-multiIcon: url(images/tabs-list-button.png);
qproperty-icon: url(images/tabs-list-button.png);
qproperty-fixedsize: 18px 28px;
}
#tabwidget-button-opentabs::menu-indicator
{
background: url(images/transp.png);
}
#tabwidget-button-addtab

View File

@ -8,11 +8,6 @@
qproperty-multiIcon: url(images/navigation-forward.png);
}
#tabwidget-button-opentabs
{
qproperty-multiIcon: url(images/tabs-list-button_rtl.png);
}
#tabwidget-button-addtab
{
qproperty-multiIcon: url(images/tabbar-addtab_rtl.png);

View File

@ -37,6 +37,14 @@
border: 1px solid #a6a6a6;
}
#tabbar::tab:!selected:hover
{
background: url(images/tab-deactive-hover-bg.png) repeat-x;
margin-top: 2px;
margin-bottom: -3px;
border: 1px solid #3c7fb1;
}
#tabbar::tab:last
{
margin-right: -1px;

View File

@ -771,9 +771,7 @@ void QupZilla::loadSettings()
m_usingTransparentBackground = true;
if (!qzSettings->tabsOnTop) {
QtWin::enableBlurBehindWindow(m_tabWidget->getTabBar(), true);
}
QtWin::enableBlurBehindWindow(m_tabWidget->getTabBar(), true);
applyBlurToMainWindow();
update();
@ -1594,10 +1592,6 @@ void QupZilla::triggerTabsOnTop(bool enable)
Settings settings;
settings.setValue("Browser-Tabs-Settings/TabsOnTop", enable);
if (m_usingTransparentBackground) {
QtWin::enableBlurBehindWindow(m_tabWidget->getTabBar(), !enable);
}
qzSettings->tabsOnTop = enable;
}