Make new sidebars tabs a little bigger, and a little more attractive

This commit is contained in:
Mark Watkins 2011-12-26 01:00:10 +10:00
parent 49ad41866a
commit b720e78199
3 changed files with 49 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -144,7 +144,19 @@ MainWindow::MainWindow(QWidget *parent) :
daily->graphView()->redraw();
ui->recordsBox->page()->setLinkDelegationPolicy(QWebPage::DelegateAllLinks);
//connect(ui->recordsBox,SIGNAL(linkClicked(QUrl)),this,SLOT(Link_clicked(QUrl)));
ui->toolBox->setStyleSheet(
"QToolBox::tab {"
"background: #6789ab;"
"color: lightGray;}"
"QToolBox { icon-size: 32px; }"
"QToolBox::tab:selected {"
"font: bold;"
"background: #9090ee;"
"color: white; }"
);
//"font-weight: bold; "
//"border-top-left-radius: 8px;"
//"border-top-right-radius: 8px;"
}
extern MainWindow *mainwin;

View File

@ -372,6 +372,11 @@
</disabled>
</palette>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="frameShape">
<enum>QFrame::Box</enum>
</property>
@ -385,7 +390,7 @@
<number>1</number>
</property>
<property name="currentIndex">
<number>2</number>
<number>0</number>
</property>
<property name="tabSpacing">
<number>0</number>
@ -396,7 +401,7 @@
<x>0</x>
<y>0</y>
<width>143</width>
<height>513</height>
<height>519</height>
</rect>
</property>
<property name="palette">
@ -509,6 +514,11 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="text">
<string>Summary</string>
</property>
@ -544,6 +554,11 @@
<height>0</height>
</size>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="text">
<string>Daily</string>
</property>
@ -678,7 +693,6 @@
</spacer>
</item>
</layout>
<zorder>splitter</zorder>
<zorder>dailyButton</zorder>
<zorder>overviewButton</zorder>
<zorder>verticalSpacer</zorder>
@ -692,7 +706,7 @@
<x>0</x>
<y>0</y>
<width>158</width>
<height>319</height>
<height>313</height>
</rect>
</property>
<property name="mouseTracking">
@ -751,11 +765,24 @@
</disabled>
</palette>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="page_3">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>158</width>
<height>313</height>
</rect>
</property>
<property name="mouseTracking">
<bool>true</bool>
</property>
@ -812,6 +839,11 @@
</disabled>
</palette>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="url">
<url>
<string>about:blank</string>