From 245e5cc44d46e94165814578a1c81ea69c9cef8c Mon Sep 17 00:00:00 2001 From: shibakaneki Date: Thu, 25 Aug 2011 17:00:25 +0200 Subject: [PATCH] Added new icons --- resources/images/libpalette/FlashCategory.svg | 106 ++++++++++++++++++ resources/images/libpalette/FlashIcon.svg | 89 +++++++++++++++ resources/images/library_close.png | Bin 0 -> 1667 bytes resources/images/library_open.png | Bin 0 -> 1673 bytes resources/images/pages_close.png | Bin 0 -> 1336 bytes resources/images/pages_open.png | Bin 0 -> 1325 bytes resources/images/toolbar/stylusTab.png | Bin 2133 -> 3202 bytes resources/sankore.qrc | 14 ++- src/board/UBLibraryController.cpp | 2 +- src/gui/UBDockPalette.cpp | 18 ++- src/gui/UBDockPalette.h | 1 + src/gui/UBLibPalette.cpp | 4 +- src/gui/UBNavigatorPalette.cpp | 4 +- 13 files changed, 227 insertions(+), 11 deletions(-) create mode 100644 resources/images/libpalette/FlashCategory.svg create mode 100644 resources/images/libpalette/FlashIcon.svg create mode 100644 resources/images/library_close.png create mode 100644 resources/images/library_open.png create mode 100644 resources/images/pages_close.png create mode 100644 resources/images/pages_open.png diff --git a/resources/images/libpalette/FlashCategory.svg b/resources/images/libpalette/FlashCategory.svg new file mode 100644 index 00000000..502fc7b2 --- /dev/null +++ b/resources/images/libpalette/FlashCategory.svg @@ -0,0 +1,106 @@ + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/images/libpalette/FlashIcon.svg b/resources/images/libpalette/FlashIcon.svg new file mode 100644 index 00000000..4a075206 --- /dev/null +++ b/resources/images/libpalette/FlashIcon.svg @@ -0,0 +1,89 @@ + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/images/library_close.png b/resources/images/library_close.png new file mode 100644 index 0000000000000000000000000000000000000000..0e744056d8cdf59749e542d40d24ce77c0234b6a GIT binary patch liter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 diff --git a/resources/images/library_open.png b/resources/images/library_open.png new file mode 100644 index 0000000000000000000000000000000000000000..7529ab02e8431c636e4b4fc0e7b610aa79a96d56 GIT binary patch literal 1673 zcmeAS@N?(olHy`uVBq!ia0vp^B0#Lc!3HG%8Q!`Lq$EpRBT9nv(@M${i&7aJQ}UBi z6+Ckj(^G>|6H_V+Po~;1Ffc1+hD4M^`1)8S=jZArg4F0$^BXQ!4Z zB&DWj=GiK}-@RW+Av48RDcsc8z_-9TH6zobswg$M$}c3jDm&RSMakYy!KT6rXh3di zNuokUZcbjYRfVk**jy_h8zii+qySb@l5ML5aa4qFfP!;=QL2Keo`G(%fti7VnW3Jc zv5C34xsHO7fuVuEfswwUk*=Y+m9dePfq?=PC;@FNN=dT{a&d#&1?1T(Wt5Z@Sn2DR zmzV368|&p4rRy77T3Uk4Ff!5ws?aU2%qvN((9J7WhMC}!TAW;zSx}OhpQivaF)=B> zw8T~k=u(Imatq+b<`qMO2^e7d6^RAATTy)$B>F! zYo^6}1P96--~T`et5l<^Ot01A8%6GVH(otGO+@X>rNsijLiBA}1s?`~5nvIV z(&)nPD6q)&*CZ1~A1)uA#XfT<{GECBb?&QwcixtrE4_Y4esB5i-@S(|3*Nmi-nakr z@4NS9n|peD_SiTqd!14;DX>-O?2JZP#mh6~CM4y!MMfqV83?CECU9-oEYTjJ)7HiH zdY;4CS56BBe*KnTrS96jDxpAT^5n@IqSpRu2)X*)doA5|_0p3UK@lFgN`lvy8-%Z2HsR#K)NH=gt&1AH3!MuO zoVp^knUU^SmitSRNjosxQDYb=sbD{-2 z-{02qY5TM2V(FV;Gf6h_JzHPol_*R0KmBR+#8^u-_(tG0rfRFODp{$U9%XID8@!6^ z+P<^Q@{y@)nfKuA>+H&Ezr`GY`Hr7@UL6ZHFN4z*6WIS?mIg7nV0KS%_nd}k08ySvt_XAl-Fp)18I)|6H_V+Po~;1Ffc1+hD4M^`1)8S=jZArg4F0$^BXQ!4Z zB&DWj=GiK}-@RW+Av48RDcsc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T&VDi?}Pt}VPqGn~k*v0p?O1A50_J>;e zMH)iv8+T=G<@){CJjYD>S$npp?G_#F&`=+P>8BkRU-XC-6+V-;dBg48;P9g?hYdvP z7N+X88#Au7Jrdb-{BguRle336>~K61wKh!W{@b#JG5h|qhaY>qYh6r%+3bTUMx9T? zSL>g6zW&F-iy16$%dDqu&$Sj@@@>M^iifotmyWw!_-r%7Z~2s`3lEpQ{@iRK5hY)} zS8j?I+x_nWmrZuQ-}EBkT*+-2|D{2eJPp(Ax0VVy)^wPiT_URX`&9PL2M%f-_7AMP rT+SS-XX;{k(R#%8pq;@-bP0l+XkK3s&CZ literal 0 HcmV?d00001 diff --git a/resources/images/toolbar/stylusTab.png b/resources/images/toolbar/stylusTab.png index a0a78e3898d507003f63a53c3f01cf649d6684c1..5e2764fe8c88d4b5c4cd98f833377f8b184278e7 100644 GIT binary patch delta 3171 zcmV-p44m`T5P}(yBNqS(a7bBm000XU000XU0RWnu7ytkQ;E^RCf6r?hM-<0DE01x& zrch9R=}?9qj48I+rloNxZDZMvaO@~zV<(m=1bH=*wjQsxvn#tcp%h_J##-pJD-Q4ZSD7U-XtkcL}TmkovQ%LKnLJ z2I|$h;yefqq*tOK0`U`&HZgw#NH4_rE|4}e&KQUXzz1$%A`m|VBW|r!hHe22RueS~ z3B05mZp+VyK%eqw&jJ0A`cZ`wEo`lqOXE|(Fj&8p)%XN3e+bsyig#)f7yw>W%&FNJ zTc3E*= zfWowOTiKSUSl^}2C>l)_#Zr5wFyS=euHs+Kbd=o9E3eh%{M*EoD$!|(1r#BR7(A9y zXhIaDiEjUOdJ6sc(t{(NUfbgSw_AOWFYP(2`oE@9f9L?bZ^%H2~5%FAFtY08f zKSTgyfAwJ1c-2}YkJ>Q8N%s1_Z>_c0-b+X+`6W&K(gaL5 zf5cLVAN*UgWXXIfWlmdL+uJ22C9O&09!pkKOQDoTUGuRurGWguMc`Tjixw?P95Q6c z*+GK_S*%v8f7ik0<7ZmK69E-KO8t|js&{@1=s)LM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(_Y*bYghQB?hGt+6OO02HIL^nO+ozvCP>%^fskZ zLNfSZSbtA@_MMcGgZ@1ec zXPR#abpT;uVH`Pf1b~u~lGTNUg_kNTD?c0m?)7@7%om{q&saBCbZmA@fLG@)e>3da z$nEiQ@kB&K(ACxTO>J%M2H;Nc8YLviyVI~PPJa;BKff#iqCa}_y}0LRZLNG}39)gp zx)4J6{r+5C*Khaq^qiWaSV#hh5d8Jp6$!xR%?lxPS4Y8J@w+;`Ew%q&sf^7T=}l6r|TDs z#eX7wK3|A7eWxR6oamw>UDkBEWW&Cr`pPfX=v0}dX`W3+tLh=32#B^?ts%<0!|6fb zNiI54Pt7R)>&qjEHFz`O!y_>9Uv}r>HdA{rKX@=u zylI)v%Mp^CaA}M+p9Ne9vK|fij${`t>3{Mi@7r?U;r)T!jb%E^6-jQm3{#DJfTcjX zB{uRA$i5@h#l_juBp1rk#x;7*SEV|ujFP+vsl=Q21B*f{dvL<-NO5s7Q(9%AH1=i( zs7um$-zE(Oky42@{Q#5#3Ffq@5P@$=os@8As*8)6GEx?dg70k(+wo2s*(|@ip z<_Vzz-s6Bn&U<8^0N1Hc)7fB`qBu$_F{W|Z?UscxA!2@Ec2KsbY#5b&jCp;U&Zh~% z;AKF9HQye(Z7-OcH`*;v+TNf!V-kFC>Ll|hV~Ax33JMCy&(AjiWRfyx{emw)2s;Xw2&E}7Zi9uCWG)=?lbTT+N`0w|JV5hXS zl!k_e3BRJEVqh$-thyspr)nxm5@xsrZPS5VU zBO@n(%fRr^(9m^NRU4(0QGY^+QdL!BR8{TLH0{o~?5e8XSN>@VT)TG70O&J&6}Q{{Yg1EGz2EOY19SpjK#s4`H0_4d={yZ&jn#e=uydUCOzfuxFg!dg0SpGi zmrYGgx7*v>>wG@n8AVZA6B83}SuB=#AVEqQDWx<3su02f%o)4jHgf|l4|C$Cb*ZYV zs_?5images/cursors/rotate.png images/cursors/resize.png images/cursors/drawCompass.png - images/cursors/drawRulerLine.png + images/cursors/drawRulerLine.png images/print/onepage.png images/print/thumbnails.png images/print/twopages.png @@ -203,7 +203,6 @@ images/toolbar/tutorial.png images/edit-mode.svg images/save.svg - images/toolbar/stylusTab.png images/libpalette/social.png images/navig_arrow.png images/flags/ar.png @@ -289,8 +288,6 @@ images/toolbar/hide.png images/toolbar/record.png images/libpalette/MoviesCategory.svg - - images/virtual.keyboard/41/centre-passive.png images/virtual.keyboard/41/left-passive.png images/virtual.keyboard/41/right-passive.png @@ -300,7 +297,6 @@ images/virtual.keyboard/41/backspace.png images/virtual.keyboard/41/capslock.png images/virtual.keyboard/41/tab.png - images/virtual.keyboard/29/centre-passive.png images/virtual.keyboard/29/left-passive.png images/virtual.keyboard/29/right-passive.png @@ -310,6 +306,12 @@ images/virtual.keyboard/29/backspace.png images/virtual.keyboard/29/capslock.png images/virtual.keyboard/29/tab.png - + images/libpalette/FlashCategory.svg + images/libpalette/FlashIcon.svg + images/toolbar/stylusTab.png + images/library_close.png + images/library_open.png + images/pages_close.png + images/pages_open.png diff --git a/src/board/UBLibraryController.cpp b/src/board/UBLibraryController.cpp index df0fba1e..4aed8c49 100644 --- a/src/board/UBLibraryController.cpp +++ b/src/board/UBLibraryController.cpp @@ -245,7 +245,7 @@ QList UBLibraryController::rootCategoriesList() element->setMoveable(false); categories << element; - categoryImage = new QImage(":images/libpalette/InteractivesCategory.svg"); + categoryImage = new QImage(":images/libpalette/FlashCategory.svg"); element = new UBLibElement(eUBLibElementType_Folder, mAnimationUserDirectoryPath, tr("Animations", "Animations category element")); element->setThumbnail(categoryImage); element->setMoveable(false); diff --git a/src/gui/UBDockPalette.cpp b/src/gui/UBDockPalette.cpp index 49fbddd6..1b37e1de 100644 --- a/src/gui/UBDockPalette.cpp +++ b/src/gui/UBDockPalette.cpp @@ -330,7 +330,14 @@ void UBDockPalette::paintEvent(QPaintEvent *event) path.addRect(0.0, 0.0, width()-2*border(), height()); path.addRoundedRect(width()-4*border(), mHTab, 4*border(), TABSIZE, radius(), radius()); painter.drawPath(path); - painter.drawPixmap(width() - border() + 1, mHTab + 1 , border() - 4, TABSIZE - 2, mIcon); + if(mCollapseWidth >= width()) + { + painter.drawPixmap(width() - 2*border() + 1, mHTab + 1 , 2*border() - 4, TABSIZE - 2, mCollapsedIcon); + } + else + { + painter.drawPixmap(width() - 2*border() + 1, mHTab + 1 , 2*border() - 4, TABSIZE - 2, mIcon); + } } else if(mOrientation == eUBDockOrientation_Right) { @@ -339,7 +346,14 @@ void UBDockPalette::paintEvent(QPaintEvent *event) path.addRect(2*border(), 0.0, width()-2*border(), height()); path.addRoundedRect(0.0, mHTab, 4*border(), TABSIZE, radius(), radius()); painter.drawPath(path); - painter.drawPixmap(2, mHTab + 1, border() - 3, TABSIZE - 2, mIcon); + if(width() <= mCollapseWidth) + { + painter.drawPixmap(2, mHTab + 1, 2*border() - 3, TABSIZE - 2, mCollapsedIcon); + } + else + { + painter.drawPixmap(2, mHTab + 1, 2*border() - 3, TABSIZE - 2, mIcon); + } } else { diff --git a/src/gui/UBDockPalette.h b/src/gui/UBDockPalette.h index 17440662..02fd32c2 100644 --- a/src/gui/UBDockPalette.h +++ b/src/gui/UBDockPalette.h @@ -95,6 +95,7 @@ protected: QPoint mMousePressPos; /** The palette icon */ QPixmap mIcon; + QPixmap mCollapsedIcon; /** The tab orientation */ eUBDockTabOrientation mTabsOrientation; /** The h position of the tab */ diff --git a/src/gui/UBLibPalette.cpp b/src/gui/UBLibPalette.cpp index fb5c9a1f..da9bb420 100644 --- a/src/gui/UBLibPalette.cpp +++ b/src/gui/UBLibPalette.cpp @@ -31,7 +31,9 @@ UBLibPalette::UBLibPalette(QWidget *parent, const char *name):UBDockPalette(pare , mDropWidget(NULL) { setOrientation(eUBDockOrientation_Right); - mIcon = QPixmap(":images/paletteLibrary.png"); + //mIcon = QPixmap(":images/paletteLibrary.png"); + mCollapsedIcon = QPixmap(":images/library_open.png"); + mIcon = QPixmap(":images/library_close.png"); setAcceptDrops(true); resize(UBSettings::settings()->libPaletteWidth->get().toInt(), parentWidget()->height()); diff --git a/src/gui/UBNavigatorPalette.cpp b/src/gui/UBNavigatorPalette.cpp index 8ac69e5e..3e035ae3 100644 --- a/src/gui/UBNavigatorPalette.cpp +++ b/src/gui/UBNavigatorPalette.cpp @@ -32,7 +32,9 @@ UBNavigatorPalette::UBNavigatorPalette(QWidget *parent, const char *name):UBDock { setOrientation(eUBDockOrientation_Left); setMaximumWidth(300); - mIcon = QPixmap(":images/paletteNavigator.png"); + //mIcon = QPixmap(":images/paletteNavigator.png"); + mCollapsedIcon = QPixmap(":images/pages_open.png"); + mIcon = QPixmap(":images/pages_close.png"); resize(UBSettings::settings()->navigPaletteWidth->get().toInt(), height()); mLastWidth = 300;