Qt-interest Archive, February 2007
Good way to 'uncheck' all buttons in an exclusive QButtonGroup?
Pages: Prev | 1 | 2 | Next
Message 16 in thread
On 2/2/07, Guido Seifert <wargand@xxxxxx> wrote:
> Now I don't want to draw anymore, but work in some menus, save the image, whatever.
> To do this I press the 'clear' button and all colour buttons are unchecked.
> I did not select 'now draw invisible', or 'activate not drawing'. I did not
> 'activate' something, I switched something off. This is the reason why I don't
> want the 'clear|default|whatever' button being checkable.
Perhaps a more suitable approach would be to disable the radio button
widgets when they are "switched off". That would indicate that they
currently do not apply, but the previous state would not be forgotten
when the corresponding mode is reactivated.
--
[ signature omitted ]
Message 17 in thread
Guido Seifert wrote:
>> Providing a 'None' button is actually correct UI design. If there are a
>> list of states and generally one is required let say A,B,or C. The user
>> is used to all these states. Suddenly, the app decides to add a new
>> hidden state lets call this "None".
>>
>
> It is A, B, C or none. But none is no real 'state'. It is the absence of
> a deliberate selection between A, B, or C.
>
>
>> Now the user doesn't really know what state the app is in from looking
>> at the UI.
>>
>
> Sure he does: None of the selection buttons is pressed, therefore the mouse
> has no special functionality.
>
>
These two statements are contradictory. None is a perfectly valid
state in which the mouse does nothing special. So, if the user
temporarily does not want the effect for some reason, something the user
might reasonably do, the user has to hit a "special button". To me
really this doesn't make any sense. You have spread parts of the state
selection over two places in your UI. By definition this is an
"inconsistent UI".
--Justin
begin:vcard
begin:vcard
fn:Justin Noel
n:Noel;Justin
org:ICS;Engineering
adr:;;54B Middlesex Trpk;Bedford;MA;01730;USA
email;internet:justin@xxxxxxx
title:Sr. Consulting Engineer / Certified Qt Instructor
tel;work:(617) 621-0060
url:http://www.ics.com
version:2.1
end:vcard