[bt-devel] Icons and buttons

Jonathan Marsden jmarsden at fastmail.fm
Tue Apr 7 11:28:52 MST 2009


Eeli Kaikkonen wrote:

> The question is, what users expect to see. A missing icon which is named 
> in the source code is not important if users don't notice it (we don't 
> have to care about command line warnings).

We don't *have* to, but if we reduce them to (almost) none in normal 
use, that makes troubleshooting a lot easier, when you ask a user to run 
the application from a shell and then send you the warning output... :) 
  Removing the "just ignore it" warnings makes the "real" warnings stand 
out, and so helps figure out what is really happening.

> For example there are several OK or Close or Cancel buttons which
> don't have icons even though several others do have them. We should
> be consistent and add missing icons.

OK... so my original question remains in a modified form: is there a 
bugtracker entry listing the set of such buttons?  If you (or any 
developer) know of an issue like this, but lack time to fix it "right 
now", then I think it would be good to capture the issue as a bug.

> This leads to another issue with buttons. We now use the default Qt 
> buttons (OK, Cancel etc.) which have default text given by Qt. Everyone 
> knows that interface with mixed languages looks very bad. We should 
> translate every button ourselves. This would be easier if we added some 
> util functions which take Qt buttons (or QDialogButtonBox) and turn them 
> to BT standard buttons with proper text and icon.

I haven't played with this myself, but isn't Qt itself already 
localized?  Surely you should not be required to use "your own" buttons 
just to get text on them in the appropriate interface language?!

Jonathan



More information about the bt-devel mailing list