[PATCH 1/4] Profile2: provide means to disable the tool buttons

Tomaz Canabrava tcanabrava at kde.org
Tue Mar 11 11:26:26 PDT 2014


On Tue, Mar 11, 2014 at 3:21 PM, Dirk Hohndel <dirk at hohndel.org> wrote:

> On Tue, 2014-03-11 at 18:30 +0200, Lubomir I. Ivanov wrote:
> > From: "Lubomir I. Ivanov" <neolit123 at gmail.com>
> >
> > Once the poster is displayed when there are no dives in the list,
> > we may also want to disable the QToolButtons (PO2, SAC, etc..),
> > until a new dive is loaded and the profile is redrawn.
>
> Wouldn't it be easier to simply hide / show the vertical layout the
> buttons are in?
>
> This seems really a bit awkward...
>

Not as much - if you hide there's a form-factor change of the profile,
things can 'jump' a bit, this way the unused / not enabled buttons will be
gray untill they are set enabled.


>
> /D
>
>
> _______________________________________________
> subsurface mailing list
> subsurface at hohndel.org
> http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140311/cc087c4f/attachment.html>


More information about the subsurface mailing list