|
From: | Daniel J Sebald |
Subject: | Re: Icons for the GUI |
Date: | Wed, 25 Feb 2015 00:35:50 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16 |
On 02/25/2015 12:01 AM, Torsten wrote:
On 24.02.2015 22:42, Daniel J Sebald wrote:On 02/24/2015 02:12 PM, Torsten wrote:On 16.02.2015 18:54, John W. Eaton wrote:On 02/14/2015 06:09 AM, Torsten wrote:What about the window-icons of the gui's dock-widgets? Currently, these are 32x32 png files in libgui/src/icons. I guess they should also be available as svg only in the repository.I think it would be preferable if they can also be generated in various sizes as required from some resolution independent format. Overall, I think we need to take a look at the icons we are using and try to come up with a consistent set. It currently seems as though we have a random collection of various icons. Some are color, others are not and they don't appear to me as if they have any kind of consistent styling.What do you think of the tango icon set (http://tango.freedesktop.org/)? Since qt has an svg icon engine (I have not yet tested it) we could directly use the svg-icons included in the tango set.What icons are people referring to? It seemed to me that at first the Octave GUI was supplying it's own icons, but Qt has many definitions for standard operations like "open", "clipboard", "alert", etc. When these are used, the icons match the look and feel of the user's desktop.Are you refering to QIcon::fromTheme ()? This does not work on Mac and Windows (http://doc.qt.io/qt-5/qicon.html#fromTheme). However, we can use theme icons and provide fallback icons. This is already done for the icons of the file->close... menu entries in the editor.
No, I'm referring to what is called the standard pixmap: http://doc.qt.io/qt-5/qstyle.html#StandardPixmap-enumThe definitions work with the standardIcon member function. There is enough variety there (about 70) to cover a lot of functions. Perhaps they aren't scalable vector graphics though. Maybe they match the desktop theme, maybe not. I've not explored all the various possibilities of definitions and icon sizes--only a few uses in other applications for information and help icons (which comes out like a round, red-white life preserver).
The icons needed to supplement common file routines (e.g., debugger-related functions, and whatever else comes up) don't appear in the icon set at the link you provided. At least, not what I saw.
Dan
[Prev in Thread] | Current Thread | [Next in Thread] |