Qt branch updates

Dirk Hohndel dirk at hohndel.org
Sun May 12 13:26:05 PDT 2013


I assumed that I was doing it wrong ;-)

But at least now you see the functionality that I want. I strangely love it 
when I write code and then someone replaces it with better code. Great way 
for me to learn.

I'll send a list when I'm home (I'll be on airplanes tomorrow... So mostly 
offline)

/D



On May 12, 2013 1:03:40 PM Tomaz Canabrava <tcanabrava at kde.org> wrote:
> Dirk,
>
> Too much code. The treeview ( that's our dive list) has a keyPressEvent,
> that will select the items ( if it is the current focus). Instead of going
> the way of creating actions to do that wizardry, I would only create the
> itemSelectionChanged method ( that you already created) and let the
> keyboard be managed by the treeview.
>
> If you wanna have the keys enabled for the whole application, an event
> filter will do.
>
> Anyhow, I'll probably have a good day of hacking tomorrow, so prepare a
> list of questions already because I'm gonna try to finish the basic
> interface this week ( editing included.)
>
> T
> Em 12/05/2013 16:45, "Dirk Hohndel" <dirk at hohndel.org> escreveu:
>
> > On May 12, 2013 12:43:42 PM Salvador Cuñat <salvador.cunat at gmail.com>
> > wrote:
> >
> >> El 12/05/2013 17:16, "Henrik Brautaset Aronsen" <
> >> subsurface at henrik.synth.no>
> >> escribió:
> >> >
> >> > Dirk Hohndel wrote:
> >> >> Can you describe a better design?
> >> >
> >> >
> >> > Scroll when you get to the top or bottom of the list.  Not whole-page
> >> scrolls like in the Gtk version, just one line at a time.
> >> >
> >> > Henrik
> >>
> >> I agree with Henrik. I like the list scrolling after reaching the
> >> top/bottom dive.
> >>
> >
> > I guess I need to look into how to implement that...
> >
> > /D
> >
> >
> > ______________________________**_________________
> > subsurface mailing list
> > subsurface at hohndel.org
> > 
> http://lists.hohndel.org/cgi-**bin/mailman/listinfo/**subsurface<http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface>
> >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130512/ebba021a/attachment.html>


More information about the subsurface mailing list