[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-usability
Subject:    Re: [KDE Usability] Misuse of toggle buttons, continued
From:       Matt Rogers <mattr () kde ! org>
Date:       2010-08-19 1:40:22
Message-ID: AANLkTikMc8EeHh-OY3JpQafLekti9pMTXW2wTZGihXW4 () mail ! gmail ! com
[Download RAW message or body]

2010/8/18 Aurélien Gâteau <agateau@kde.org>:
> On 19/08/2010 00:05, Matt Rogers wrote:
>
>> I see that you want to write a new class with toggle button
>> functionality. Could you explain more why you think we need that new
>> class?
>
> Right now developers misuse KToggleAction to create actions which change
> labels and icons on click. I think there is a need for an action class
> which can switch between two sets of labels and icons without being
> checkable.
>
> Example of uses are combined Play/Pause action in media players,
> Reload/Stop in web browsers or the Split/Close button in Dolphin (which
> does not abuse KToggleAction but probably implements something very
> similar to what my class does).
>
> Aurélien
>

Why can't we educate developers on how to properly use KToggleAction
and/or fix KToggleAction to implement the proper behavior?
--
Matt
_______________________________________________
kde-usability mailing list
kde-usability@kde.org
https://mail.kde.org/mailman/listinfo/kde-usability

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic