<div dir="ltr"><div><div><div><div><div><div><div>Hi,<br><br></div>So, I've pushed a large update to master that condenses down the default icon theme by overriding it with the gis theme (the theme voted to be the replacement). I apologize if the change is abrupt, but it needed done with enough time to edit/fix things before 2.0 release.<br>
<br>I did this in the following manner:<br><br></div>1) Copied the gis theme over the default theme. Any files of same name were replaced, missing files added. The was done for plugins that also managed icon sets per theme (grass, georeferencer and ftools).<br>
<br></div><div>The state of previous icon theme sets and directory structure are preserved as a download here [0] (saves switching local or browsing online git repo to find replaced/removed ones). These can be added back to source directory, for reference, or not.<br>
</div><div><br></div>2) Updated all appropriate .qrc and .ui files that referenced old theme paths.<br><br></div>3) Switched some icons to improve consistency (mostly to + and - icons for table widget row editing)<br><br>
</div>4) Proofed every dialog I could think of, though I'm sure I missed something. This was from both running from build directory and from installed app on Mac.<br><br></div>5) Added some code to ensure any old saved theme choice now goes to default. No theme support code was removed.<br>
<br></div>6) Updated CMakeList.txt files to ensure SVGs are also copied on install.<br clear="all"><div><div><div><div><div><div><div><div><div><div><br><br></div><div>Where to go from here:<br><br></div><div>* Please, let me know if I made a mistake somewhere.<br>
</div><div><br></div><div>* We now have a single set of icons on which to work and update. Icons should be updated, especially those that don't match current theme.<br></div><div><br></div><div>* Moving to SVG can be aided by leaving the getThemeIcon/Pixmap calls and referencing the file by base name, without extension, e.g. QgsApplication::getThemePixmap( "pie-chart" ). When using this technique, as soon as a .png is replaced with a .svg in a .qrc resource file, it is auto-found, without having to edit anymore code. Let me know if this approach should be used.<br>
</div><div><br>[0] <a href="http://drive.dakotacarto.com/qgis/QGIS-images_pre-gis-theme-switch.zip">http://drive.dakotacarto.com/qgis/QGIS-images_pre-gis-theme-switch.zip</a><br><br></div><div>Regards,<br></div><div><br>Larry<br>
<br></div>
</div></div></div></div></div></div></div></div></div></div>