Added new icons

preferencesAboutTextFull
shibakaneki 13 years ago
parent 1c859ee5da
commit 245e5cc44d
  1. 106
      resources/images/libpalette/FlashCategory.svg
  2. 89
      resources/images/libpalette/FlashIcon.svg
  3. BIN
      resources/images/library_close.png
  4. BIN
      resources/images/library_open.png
  5. BIN
      resources/images/pages_close.png
  6. BIN
      resources/images/pages_open.png
  7. BIN
      resources/images/toolbar/stylusTab.png
  8. 12
      resources/sankore.qrc
  9. 2
      src/board/UBLibraryController.cpp
  10. 18
      src/gui/UBDockPalette.cpp
  11. 1
      src/gui/UBDockPalette.h
  12. 4
      src/gui/UBLibPalette.cpp
  13. 4
      src/gui/UBNavigatorPalette.cpp

@ -0,0 +1,106 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In -->
<!DOCTYPE svg [
<!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
]>
<svg version="1.2" baseProfile="tiny"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"
x="0px" y="0px" width="96px" height="96px" viewBox="0 0 96 96" overflow="visible" xml:space="preserve">
<defs>
</defs>
<g id="XMLID_1_">
<path fill="none" stroke="#000000" stroke-miterlimit="10" d="M0.8,63.9"/>
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="38.2183" y1="69.75" x2="38.2183" y2="0.75">
<stop offset="0" style="stop-color:#B7B6B7"/>
<stop offset="1" style="stop-color:#D9D9DE"/>
<a:midPointStop offset="0" style="stop-color:#B7B6B7"/>
<a:midPointStop offset="0.4847" style="stop-color:#B7B6B7"/>
<a:midPointStop offset="1" style="stop-color:#D9D9DE"/>
</linearGradient>
<path fill="url(#SVGID_1_)" d="M75.7,17.1V12c0-1.2-1-2.3-2.3-2.3H30.7V3.8c0-1.7-1.3-3-3-3h-24c-1.7,0-3,1.3-3,3v60
c0,3.3,1.1,6,2.8,6c1.7,0,2.7-2.7,3.2-6l5.7-44.4c0.2-1.2,1.3-2.2,2.6-2.2H75.7"/>
<path fill="none" stroke="#000000" stroke-miterlimit="10" d="M0.8,63.9"/>
<linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="45.7817" y1="69.7832" x2="45.7817" y2="17.0337">
<stop offset="0" style="stop-color:#ECECED"/>
<stop offset="1" style="stop-color:#FFFFFF"/>
<a:midPointStop offset="0" style="stop-color:#ECECED"/>
<a:midPointStop offset="0.4847" style="stop-color:#ECECED"/>
<a:midPointStop offset="1" style="stop-color:#FFFFFF"/>
</linearGradient>
<path fill="url(#SVGID_2_)" d="M3.5,69.7c1.7,0,2.7-2.7,3.2-6l5.8-44.4C12.6,18,13.8,17,15,17l71.1,0.1c1.2,0,2.1,1,1.9,2.2
l-7.9,42.2c-0.2,1.2-0.8,3.2-1.2,4.3c0,0-1.5,3.9-3.2,3.9L4.3,69.7L3.5,69.7z"/>
<linearGradient id="SVGID_3_" gradientUnits="userSpaceOnUse" x1="47.1133" y1="69.75" x2="47.1133" y2="19.7076">
<stop offset="0" style="stop-color:#C7C8CC"/>
<stop offset="4.531335e-03" style="stop-color:#C8C9CD"/>
<stop offset="0.1361" style="stop-color:#D5D5DA"/>
<stop offset="0.2577" style="stop-color:#D9D9DE"/>
<stop offset="1" style="stop-color:#E5E5E9"/>
<a:midPointStop offset="0" style="stop-color:#C7C8CC"/>
<a:midPointStop offset="0.3095" style="stop-color:#C7C8CC"/>
<a:midPointStop offset="0.2577" style="stop-color:#D9D9DE"/>
<a:midPointStop offset="0.4847" style="stop-color:#D9D9DE"/>
<a:midPointStop offset="1" style="stop-color:#E5E5E9"/>
</linearGradient>
<path fill="url(#SVGID_3_)" d="M6.2,69.8c1.6,0,2.6-2.5,3.1-5.7l5.5-42.2c0.2-1.2,1.3-2.1,2.5-2.1h68.9c1.2,0,2,1,1.8,2.1
l-7.6,40.1c-0.2,1.2-0.8,3-1.2,4.1c0,0-1.5,3.7-3.1,3.7H6.9H6.2z"/>
<g>
<linearGradient id="SVGID_4_" gradientUnits="userSpaceOnUse" x1="3.6626" y1="43.4033" x2="75.8658" y2="43.4033">
<stop offset="0" style="stop-color:#828584"/>
<stop offset="6.628114e-03" style="stop-color:#878A89"/>
<stop offset="3.552453e-02" style="stop-color:#999C9C"/>
<stop offset="6.966200e-02" style="stop-color:#A6A9A9"/>
<stop offset="0.1136" style="stop-color:#AEB0B1"/>
<stop offset="0.2025" style="stop-color:#B0B2B3"/>
<stop offset="0.4962" style="stop-color:#ADAFB0"/>
<stop offset="0.6903" style="stop-color:#A5A7A7"/>
<stop offset="0.8549" style="stop-color:#969999"/>
<stop offset="1" style="stop-color:#828584"/>
<a:midPointStop offset="0" style="stop-color:#828584"/>
<a:midPointStop offset="0.1707" style="stop-color:#828584"/>
<a:midPointStop offset="0.2025" style="stop-color:#B0B2B3"/>
<a:midPointStop offset="0.7846" style="stop-color:#B0B2B3"/>
<a:midPointStop offset="1" style="stop-color:#828584"/>
</linearGradient>
<path fill="url(#SVGID_4_)" d="M3.7,69c0.7-0.3,1.7-1.9,2.3-5.4l5.7-44.4c0.2-1.6,1.7-2.9,3.3-2.9h60.8v1.5H15
c-0.9,0-1.7,0.7-1.8,1.6L7.5,63.8c-0.7,4.3-2,6.5-3.7,6.6L3.7,69z"/>
</g>
<path fill="none" stroke="#828584" stroke-width="1.5" stroke-miterlimit="10" d="M75.7,17.1V12c0-1.2-1-2.3-2.3-2.3H30.7V3.8
c0-1.7-1.3-3-3-3h-24c-1.7,0-3,1.3-3,3v60c0,3.3,1.1,6,2.8,6"/>
<path fill="none" stroke="#828584" stroke-width="1.5" stroke-miterlimit="10" d="M75.8,17.1h10.3c1.2,0,2.1,1,1.9,2.2l-7.8,42.2
c-0.2,1.2-0.8,3.2-1.2,4.3c0,0-1.5,3.9-3.2,3.9H3.5"/>
</g>
<linearGradient id="SVGID_5_" gradientUnits="userSpaceOnUse" x1="53.6504" y1="83.4883" x2="53.6504" y2="37.084">
<stop offset="0" style="stop-color:#D35F5F"/>
<stop offset="1" style="stop-color:#F66C6C"/>
<a:midPointStop offset="0" style="stop-color:#D35F5F"/>
<a:midPointStop offset="0.5" style="stop-color:#D35F5F"/>
<a:midPointStop offset="1" style="stop-color:#F66C6C"/>
</linearGradient>
<path fill="url(#SVGID_5_)" d="M59.2,41.6c-5.9,5-8.4,13.2-10.1,17.4c-2.3,5.7-3.7,8.7-6.5,12.2c-2.8,3.3-8.3,3.1-8.3,3.1v9.2
c0,0,7.9,0.5,13.8-4.5c4.6-3.9,7.2-9.8,8.9-14.2h11.1v-9.2h-7.3c1.1-2.3,2.3-4.2,3.9-6.2c2.8-3.3,8.3-3.1,8.3-3.1v-9.2
C73,37.1,65.1,36.6,59.2,41.6z"/>
<path fill="#C30101" d="M59.2,44.6c-4.4,5-7.4,13.2-9.1,17.4c-2.3,5.7-4,9.4-7.5,12.2c-2.9,2.3-8.3,2.1-8.3,2.1v7.2
c0,0,7.9,0.5,13.8-4.5c4.6-3.9,7.2-9.8,8.9-14.2h11.1v-9.2h-7.3c1.1-2.3,2.3-4.2,3.9-6.2c2.8-3.3,8.3-3.1,8.3-3.1v-7.2
C73,39.1,64.4,38.6,59.2,44.6z"/>
<linearGradient id="SVGID_6_" gradientUnits="userSpaceOnUse" x1="33.8525" y1="60.3037" x2="72.5508" y2="60.3037">
<stop offset="0" style="stop-color:#D80101"/>
<stop offset="1" style="stop-color:#F72121"/>
<a:midPointStop offset="0" style="stop-color:#D80101"/>
<a:midPointStop offset="0.5" style="stop-color:#D80101"/>
<a:midPointStop offset="1" style="stop-color:#F72121"/>
</linearGradient>
<path fill="url(#SVGID_6_)" d="M58.7,44.6c-4.4,5-7.4,13.2-9.1,17.4c-2.3,5.7-4,9.4-7.5,12.2c-2.9,2.3-8.3,2.1-8.3,2.1v5.2
c0,0,8.2,0.8,13.8-4.5c4.2-4,6.2-9.8,7.9-14.2h12.1v-7.2l-9.3,1.6c0.7-2.6,2.6-6.7,4.4-8.7c4.1-4.5,9.8-4.2,9.8-4.2v-5.2
C72.6,39.1,64,38.6,58.7,44.6z"/>
<linearGradient id="SVGID_7_" gradientUnits="userSpaceOnUse" x1="58.3408" y1="56.4512" x2="68.0664" y2="56.4512">
<stop offset="0" style="stop-color:#D35F5F"/>
<stop offset="1" style="stop-color:#F66C6C"/>
<a:midPointStop offset="0" style="stop-color:#D35F5F"/>
<a:midPointStop offset="0.5" style="stop-color:#D35F5F"/>
<a:midPointStop offset="1" style="stop-color:#F66C6C"/>
</linearGradient>
<polygon fill="url(#SVGID_7_)" points="68.1,57.2 58.3,57.2 60.8,55.7 68.1,55.7 "/>
<path fill="none" stroke="#7E0606" stroke-linejoin="round" stroke-miterlimit="10" d="M59.2,41.6c-5.9,5-8.4,13.2-10.1,17.4
c-2.3,5.7-3.7,8.7-6.5,12.2c-2.8,3.3-8.3,3.1-8.3,3.1v9.2c0,0,7.9,0.5,13.8-4.5c4.6-3.9,7.2-9.8,8.9-14.2h11.1v-9.2h-7.3
c1.1-2.3,2.3-4.2,3.9-6.2c2.8-3.3,8.3-3.1,8.3-3.1v-9.2C73,37.1,65.1,36.6,59.2,41.6z"/>
</svg>

After

Width:  |  Height:  |  Size: 6.7 KiB

@ -0,0 +1,89 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In -->
<!DOCTYPE svg [
<!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
]>
<svg version="1.2" baseProfile="tiny"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"
x="0px" y="0px" width="96px" height="96px" viewBox="0 0 96 96" overflow="visible" xml:space="preserve">
<defs>
</defs>
<path fill="#FFFFFF" d="M40.2,0.8c-3.3,0-39.5,0-39.5,0v79h60c0,0,0-57.8,0-60.7c0-1.7-0.8-3.9-1.8-5.1c-1.6-1.9-10.3-9.1-12.1-10.8
C45.7,2.1,41.2,0.8,40.2,0.8z"/>
<image width="55" height="72" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADcAAABICAYAAABSr21SAAAACXBIWXMAAAsSAAALEgHS3X78AAAA
GXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAOFJREFUeNrsmbEOgkAUBG+JnQL+
/1d6IDVqDImYSC7Q3Ftne4vJPHZRdcvjnCrNtW915POqGe4oaJOCZI+EMHB7AJWH+5yCpe8usjO3
pFRISHOlFpsUPFtywsNtASqPsc9ydaLt+kQ1GMG90n0APuEmK7g34Fk2z9x3FmGWcFZt+cuetblT
kjGcrM0Zq6MtKRTM0ZaY4yydd462BI4pwBxwhW3JVx7gaEvMAfff75b8+gUcU4A52hJzTAFtiTna
EnOcJVPAFNCWnCVwTIHx38a0Jc8ccMABxxTQlsBVl4cAAwAfQzexj9E6ZQAAAABJRU5ErkJggg==" transform="matrix(1 0 0 1 3.5 4.5)">
</image>
<image width="29" height="24" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB0AAAAYCAYAAAAGXva8AAAACXBIWXMAAAsSAAALEgHS3X78AAAA
GXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAjJJREFUeNqclm1S4zAMhiWlMHsD
9v6HAkqZblk+Bn7ABZhY2JZky447CQ1orKSNH7+SLHcH3fU9z5zGMM8whwAh2xzvza/29+YG4YKL
RkBmdhaAg/iBW+jr2ys/vzzzxVADFqg46b9bRF2MwU+nEx//Hfkipf4SMAsYBARefRqDmMEPhwNv
hnqVBhQHFAwKlodefQ4519zf7+/5YqWKa8DgwPW5qrdcxwK8u7vl/cOefw9dWa8uqfmaqdcbODyO
w019aMuFdUR/UzwsY/IQEYgoW/Kzxb9RgdF5Xp0WdFIZ9ROEOjlGkAJpmgScTT5/+v/UgOlqmpYb
HBWIVUULUVAaKSmMhgKcHDg/U0t7ej2neWIHBAfMEBfODKpKJ1NtalXx+8d7Bu/GPByoYufH78Tl
YoirJllQ2jalsvwiNQqodj6nrhC8Om85pCWPBJOFdKrPzEen/PPri7PSlNe+igUUX4hLJzZpUIxp
2ShsO2OTHiqVbWEu4e3BbWVWnoUmdr/oJxi6ltnEdxBigTc5PQcmWXKkxNxFFFlTQu5UcpdTU6xQ
hS8KyYNtZcFUcu1FyFI8Bci82OxNTTjFw+odgTMuCDmlOJ0uaKFlrq3RKV1uNWpzugVcz9gIQz3c
u0OgbWsGrAWFiLD6c6Ov6nSS9Ac62KHvN6q2TOhC/Of6Gndr0L64suIRsAH7bYONf7YjrYHRTdAc
Z4Mm40fr87utv2vshWETQdz8/q+ga/AtMLt+BBgAihO9fP/BydQAAAAASUVORK5CYII=" transform="matrix(1 0 0 1 29.5 4.5)">
</image>
<path fill="#FFFFFF" d="M43.7,16.4c1.8,0,10.5-0.2,12.1,0.4c1.6,0.7,4,4.5,4,6.5v-8.5L39.9,1.3c0,0,2.4,2.2,3.1,4.8
C43.7,8.7,43.7,16.4,43.7,16.4z"/>
<path fill="none" stroke="#A1A9AD" stroke-width="1.5" stroke-linejoin="round" stroke-miterlimit="10" d="M41.5,0.8
c-3.3,0-40.8,0-40.8,0v79h60c0,0,0-57.4,0-60.2c0-0.8-0.1-3.5-1-4.7C58.2,12.9,48,4.1,46.1,2.4C45,1.3,42.4,0.8,41.5,0.8z"/>
<path fill="#FFFFFF" d="M40.2,0.8c-3.3,0-39.5,0-39.5,0v79h60c0,0,0-57.8,0-60.7c0-1.7-0.8-3.9-1.8-5.1c-1.6-1.9-10.3-9.1-12.1-10.8
C45.7,2.1,41.2,0.8,40.2,0.8z"/>
<image width="55" height="72" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADcAAABICAYAAABSr21SAAAACXBIWXMAAAsSAAALEgHS3X78AAAA
GXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAOFJREFUeNrsmbEOgkAUBG+JnQL+
/1d6IDVqDImYSC7Q3Ftne4vJPHZRdcvjnCrNtW915POqGe4oaJOCZI+EMHB7AJWH+5yCpe8usjO3
pFRISHOlFpsUPFtywsNtASqPsc9ydaLt+kQ1GMG90n0APuEmK7g34Fk2z9x3FmGWcFZt+cuetblT
kjGcrM0Zq6MtKRTM0ZaY4yydd462BI4pwBxwhW3JVx7gaEvMAfff75b8+gUcU4A52hJzTAFtiTna
EnOcJVPAFNCWnCVwTIHx38a0Jc8ccMABxxTQlsBVl4cAAwAfQzexj9E6ZQAAAABJRU5ErkJggg==" transform="matrix(1 0 0 1 3.5 4.5)">
</image>
<image width="29" height="24" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB0AAAAYCAYAAAAGXva8AAAACXBIWXMAAAsSAAALEgHS3X78AAAA
GXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAiJJREFUeNqclktLxDAQx/Nob8qu
+iFEL4IeRG+in1oRX6CIIoooeFDwGyh4a9rYyew0j0623c3ukD7S/Gamk38qRdJ+fv8s9HVdO2ua
pjtGM93x9tamFEs0yQGttT2oMSbqPbwRe7s7cikoAaERiAeato8jprGHB/uj4Iq7CJFS761x1jTW
AdAhn3pw6OLq2o6GhlGGYLL2LHHAOjg64bNhKiNOz87tqPSGUJwwLh43YWCYYm9VVYnKVO4YntVK
i6IoxMnxkRyd3qFmbZKR9uf+swJs4FW0v8urGzZqlaZWyvm1ALfDITBeSSWkki7CsiyF1hqvtfdu
7+7tQpHCQ6nBG/HnSiiFVujCpbQsStcDGAzGPTw+RWA1nazIHIyDKxXDwGByB2yjdJaAYczzy6sd
jJSLEh5GoJzBVDexpkhLBBLUO6fF2/uHAxc5YAimB2GJYK9dMVFBwRioWmtV/K6DTKCDeD8Lxclt
BAaY1rhu0aiw/Pg4U6rLCEQK9vn1bVkZDPU3lUQve6i7GCEqFTnCZQmAFDEr+JwGe+mrg2t1J4te
uWhJ9YuOIpa5rS1Up9RSR2LJ9NC02qmwWCUYAw7TmkL7y8xH667llsw8MJ3HO5DIQlP4XM3jwH1g
P8rBtT4k7lxxpeBwD84pG6V2Y30iR+303HIaipITGbC16aoc/W3DbfShA+E5p9vQSOcX/prLwYda
uLEs9Qm5CJzbxf4FGADWJXT0zm6P3AAAAABJRU5ErkJggg==" transform="matrix(1 0 0 1 29.5 4.5)">
</image>
<path fill="#FFFFFF" d="M43.7,16.4c1.8,0,10.5-0.2,12.1,0.4c1.6,0.7,4,4.5,4,6.5v-8.5L39.9,1.3c0,0,2.4,2.2,3.1,4.8
C43.7,8.7,43.7,16.4,43.7,16.4z"/>
<path fill="none" stroke="#A1A9AD" stroke-width="1.5" stroke-linejoin="round" stroke-miterlimit="10" d="M41.5,0.8
c-3.3,0-40.8,0-40.8,0v79h60c0,0,0-57.4,0-60.2c0-0.8-0.1-3.5-1-4.7C58.2,12.9,48,4.1,46.1,2.4C45,1.3,42.4,0.8,41.5,0.8z"/>
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="31.4927" y1="93.2764" x2="31.4927" y2="46.8726">
<stop offset="0" style="stop-color:#D25F5F"/>
<stop offset="1" style="stop-color:#EA6C6C"/>
<a:midPointStop offset="0" style="stop-color:#D25F5F"/>
<a:midPointStop offset="0.5" style="stop-color:#D25F5F"/>
<a:midPointStop offset="1" style="stop-color:#EA6C6C"/>
</linearGradient>
<path fill="url(#SVGID_1_)" d="M37,51.4c-5.9,5-8.4,13.2-10.1,17.4c-2.3,5.7-3.7,8.7-6.5,12.2c-2.8,3.3-8.3,3.1-8.3,3.1v9.2
c0,0,7.9,0.5,13.8-4.5c4.6-3.9,7.2-9.8,8.9-14.2h11.1v-9.2h-7.3c1.1-2.3,2.3-4.2,3.9-6.2c2.8-3.3,8.3-3.1,8.3-3.1v-9.2
C50.8,46.9,42.9,46.4,37,51.4z"/>
<path fill="#C10B1D" d="M37,54.4c-4.4,5-7.4,13.2-9.1,17.4c-2.3,5.7-4,9.4-7.5,12.2c-2.9,2.3-8.3,2.1-8.3,2.1v7.2
c0,0,7.9,0.5,13.8-4.5c4.6-3.9,7.2-9.8,8.9-14.2h11.1v-9.2h-7.3c1.1-2.3,2.3-4.2,3.9-6.2c2.8-3.3,8.3-3.1,8.3-3.1v-7.2
C50.8,48.9,42.3,48.4,37,54.4z"/>
<linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="11.6943" y1="70.0918" x2="50.3926" y2="70.0918">
<stop offset="0" style="stop-color:#D50B1B"/>
<stop offset="1" style="stop-color:#E32E2D"/>
<a:midPointStop offset="0" style="stop-color:#D50B1B"/>
<a:midPointStop offset="0.5" style="stop-color:#D50B1B"/>
<a:midPointStop offset="1" style="stop-color:#E32E2D"/>
</linearGradient>
<path fill="url(#SVGID_2_)" d="M36.6,54.4c-4.4,5-7.4,13.2-9.1,17.4c-2.3,5.7-4,9.4-7.5,12.2C17,86.1,11.7,86,11.7,86v5.2
c0,0,8.2,0.8,13.8-4.5c4.2-4,6.2-9.8,7.9-14.2h12.1v-7.2L36.2,67c0.7-2.6,2.6-6.7,4.4-8.7c4.1-4.5,9.8-4.2,9.8-4.2v-5.2
C50.4,48.9,41.8,48.4,36.6,54.4z"/>
<path fill="none" stroke="#7E1518" stroke-linejoin="round" stroke-miterlimit="10" d="M37,51.4c-5.9,5-8.4,13.2-10.1,17.4
c-2.3,5.7-3.7,8.7-6.5,12.2c-2.8,3.3-8.3,3.1-8.3,3.1v9.2c0,0,7.9,0.5,13.8-4.5c4.6-3.9,7.2-9.8,8.9-14.2h11.1v-9.2h-7.3
c1.1-2.3,2.3-4.2,3.9-6.2c2.8-3.3,8.3-3.1,8.3-3.1v-9.2C50.8,46.9,42.9,46.4,37,51.4z"/>
</svg>

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

@ -203,7 +203,6 @@
<file>images/toolbar/tutorial.png</file> <file>images/toolbar/tutorial.png</file>
<file>images/edit-mode.svg</file> <file>images/edit-mode.svg</file>
<file>images/save.svg</file> <file>images/save.svg</file>
<file>images/toolbar/stylusTab.png</file>
<file>images/libpalette/social.png</file> <file>images/libpalette/social.png</file>
<file>images/navig_arrow.png</file> <file>images/navig_arrow.png</file>
<file>images/flags/ar.png</file> <file>images/flags/ar.png</file>
@ -289,8 +288,6 @@
<file>images/toolbar/hide.png</file> <file>images/toolbar/hide.png</file>
<file>images/toolbar/record.png</file> <file>images/toolbar/record.png</file>
<file>images/libpalette/MoviesCategory.svg</file> <file>images/libpalette/MoviesCategory.svg</file>
<file>images/virtual.keyboard/41/centre-passive.png</file> <file>images/virtual.keyboard/41/centre-passive.png</file>
<file>images/virtual.keyboard/41/left-passive.png</file> <file>images/virtual.keyboard/41/left-passive.png</file>
<file>images/virtual.keyboard/41/right-passive.png</file> <file>images/virtual.keyboard/41/right-passive.png</file>
@ -300,7 +297,6 @@
<file>images/virtual.keyboard/41/backspace.png</file> <file>images/virtual.keyboard/41/backspace.png</file>
<file>images/virtual.keyboard/41/capslock.png</file> <file>images/virtual.keyboard/41/capslock.png</file>
<file>images/virtual.keyboard/41/tab.png</file> <file>images/virtual.keyboard/41/tab.png</file>
<file>images/virtual.keyboard/29/centre-passive.png</file> <file>images/virtual.keyboard/29/centre-passive.png</file>
<file>images/virtual.keyboard/29/left-passive.png</file> <file>images/virtual.keyboard/29/left-passive.png</file>
<file>images/virtual.keyboard/29/right-passive.png</file> <file>images/virtual.keyboard/29/right-passive.png</file>
@ -310,6 +306,12 @@
<file>images/virtual.keyboard/29/backspace.png</file> <file>images/virtual.keyboard/29/backspace.png</file>
<file>images/virtual.keyboard/29/capslock.png</file> <file>images/virtual.keyboard/29/capslock.png</file>
<file>images/virtual.keyboard/29/tab.png</file> <file>images/virtual.keyboard/29/tab.png</file>
<file>images/libpalette/FlashCategory.svg</file>
<file>images/libpalette/FlashIcon.svg</file>
<file>images/toolbar/stylusTab.png</file>
<file>images/library_close.png</file>
<file>images/library_open.png</file>
<file>images/pages_close.png</file>
<file>images/pages_open.png</file>
</qresource> </qresource>
</RCC> </RCC>

@ -245,7 +245,7 @@ QList<UBLibElement*> UBLibraryController::rootCategoriesList()
element->setMoveable(false); element->setMoveable(false);
categories << element; 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 = new UBLibElement(eUBLibElementType_Folder, mAnimationUserDirectoryPath, tr("Animations", "Animations category element"));
element->setThumbnail(categoryImage); element->setThumbnail(categoryImage);
element->setMoveable(false); element->setMoveable(false);

@ -330,7 +330,14 @@ void UBDockPalette::paintEvent(QPaintEvent *event)
path.addRect(0.0, 0.0, width()-2*border(), height()); path.addRect(0.0, 0.0, width()-2*border(), height());
path.addRoundedRect(width()-4*border(), mHTab, 4*border(), TABSIZE, radius(), radius()); path.addRoundedRect(width()-4*border(), mHTab, 4*border(), TABSIZE, radius(), radius());
painter.drawPath(path); 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) 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.addRect(2*border(), 0.0, width()-2*border(), height());
path.addRoundedRect(0.0, mHTab, 4*border(), TABSIZE, radius(), radius()); path.addRoundedRect(0.0, mHTab, 4*border(), TABSIZE, radius(), radius());
painter.drawPath(path); 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 else
{ {

@ -95,6 +95,7 @@ protected:
QPoint mMousePressPos; QPoint mMousePressPos;
/** The palette icon */ /** The palette icon */
QPixmap mIcon; QPixmap mIcon;
QPixmap mCollapsedIcon;
/** The tab orientation */ /** The tab orientation */
eUBDockTabOrientation mTabsOrientation; eUBDockTabOrientation mTabsOrientation;
/** The h position of the tab */ /** The h position of the tab */

@ -31,7 +31,9 @@ UBLibPalette::UBLibPalette(QWidget *parent, const char *name):UBDockPalette(pare
, mDropWidget(NULL) , mDropWidget(NULL)
{ {
setOrientation(eUBDockOrientation_Right); 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); setAcceptDrops(true);
resize(UBSettings::settings()->libPaletteWidth->get().toInt(), parentWidget()->height()); resize(UBSettings::settings()->libPaletteWidth->get().toInt(), parentWidget()->height());

@ -32,7 +32,9 @@ UBNavigatorPalette::UBNavigatorPalette(QWidget *parent, const char *name):UBDock
{ {
setOrientation(eUBDockOrientation_Left); setOrientation(eUBDockOrientation_Left);
setMaximumWidth(300); 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()); resize(UBSettings::settings()->navigPaletteWidth->get().toInt(), height());
mLastWidth = 300; mLastWidth = 300;

Loading…
Cancel
Save