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(); daily->graphView()->redraw();
ui->recordsBox->page()->setLinkDelegationPolicy(QWebPage::DelegateAllLinks); 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; extern MainWindow *mainwin;

View File

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