From b720e78199145e022e3c951d418c70ac65abdf8d Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Mon, 26 Dec 2011 01:00:10 +1000 Subject: [PATCH] Make new sidebars tabs a little bigger, and a little more attractive --- icons/bookmark.png | Bin 1145 -> 1226 bytes mainwindow.cpp | 14 +++++++++++++- mainwindow.ui | 40 ++++++++++++++++++++++++++++++++++++---- 3 files changed, 49 insertions(+), 5 deletions(-) diff --git a/icons/bookmark.png b/icons/bookmark.png index 7e9d2da348791631a7af1698acc296622cd4fca3..8233f827534f82f3ace8c9b60d6c1854b4760f2e 100644 GIT binary patch delta 1179 zcmV;M1Z4a92+9c|iBL{Q4GJ0x0000DNk~Le0000$0001B2nGNE0IkJz=#e2ne-0`( z_Jhac000C^Nkl-5mVYkb6+ueB{ z8k>dm->$Q>otgJb_Av9_`^~)He|*2c-}k+pU63Zt)uxofX%uQTIIO_)0yZu-c)f}i z2rOPx@p$m)x|%;$)%C0~J$)m6^=khP7`9yiEKdu3slRIeA}uZfffO z<3s{-xy556lcA!%o~m8D_@}>rpeYu6%T@vSb<38og2#`)G=A_PVs5Tze?K0-pI{`y z&7((Ko`MUd3V_Efw63}-DKFL4-2J~d$GsEct&_JZ%)1}%1@cD9iKsW{gKA*7_?k?5lhiP@g z2Fv+xX#l*nwW7wBu?}NCcQ`G6zT{=wKZn*8)-smmf{01|U^}GN{Pa zpe%!~m%{EXgH|L#DTUW_4v<2~?NZnZ9Z)t3C{9IynL!dxr9dH1UvVM=gvtFJT?VBP za(fw+iy^1#fC7Y&l)^FxNCemf0rxO}6GMJA=4J{wb}=NSf3OrnYxiTg9RaS-0a6G_ z9pEquC%~J}0x#jH=#Vt*df{+dI(R3BLzIp$<*g(<}9NS`z%l3mu1G9^i#5 zSH7=qZa!R5e^X<)fdYRS(7q3n`TcjFKYwcTo;@FXYii0u1FH})b zpNK@}?3@Fl3cUJ$k!5`Akt2it#>NkW?d_sm|1wvU4ME*$xHSZu&G7ff(9qdfZ|?=$ t1mHC2U%)ogkR*gMJ~-HmG-)NXe*rH+l_V`|=Fy`a z&%lM${AH+lw5zM@-xDXw0szo84LuqK@MnNWL3Mh)^5V5?mIQfjd>p`=LDxlSQfh0% zdMsuMh`thouXjLi$`b(1A^?CzU;)(hIR!uiY7I7OY586cIEw&Qj0_^cGU&J9k0ji2 zLNoA$3ve41Upig+Mtp_if4eu}-8aG42hY6$t$)KuaY!c2rnb>y1cna5XX*2A!9X0o z(5(PbKxpuJt~C#QnJ+G)C{J82eJk9}wdRI-dBX<7co>2>8yjT_cIR1sS!rr2pDx+s z!R7Ov`~_Om=P$vtb)B675s&A~E@3)_W1$eL-~X7arRDNZ=gy4+f71fmHv0WN%QG|b zayV=lkCd#;LU>aFFn31>k8IzL&~+q-gXqKri&IlMZSSq5{SVK>Uem=0pap|y!C>hv zz>fC2K0!pa(Iss6L@C6jr68gR5UCtb%E_MWb-mJb*_OgNRamS?PpT&-W!K3AEA?eTvkL?$O=^>E27Y;UX+kE73uM!L>tp|N#)jwRbCYI#Of4Y zyJB3Iru|Y#Nc-_0qw~0Z6n*f zQg5*F`#aFz3x9fiz8*zYV}d%z6A680W^dcTKvQ}JMATkveLYf{O9i%G9|CzIuDC3XU QSpWb407*qoM6N<$g16TNjQ{`u diff --git a/mainwindow.cpp b/mainwindow.cpp index bf5388ad..9a4af5bc 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -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; diff --git a/mainwindow.ui b/mainwindow.ui index 1706fdbe..8d418cd0 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -372,6 +372,11 @@ + + + 12 + + QFrame::Box @@ -385,7 +390,7 @@ 1 - 2 + 0 0 @@ -396,7 +401,7 @@ 0 0 143 - 513 + 519 @@ -509,6 +514,11 @@ 0 + + + 10 + + Summary @@ -544,6 +554,11 @@ 0 + + + 10 + + Daily @@ -678,7 +693,6 @@ - splitter dailyButton overviewButton verticalSpacer @@ -692,7 +706,7 @@ 0 0 158 - 319 + 313 @@ -751,11 +765,24 @@ + + + 10 + + + + + 0 + 0 + 158 + 313 + + true @@ -812,6 +839,11 @@ + + + 10 + + about:blank