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

List:       kde-core-devel
Subject:    Re: Completion (Was: Key management)
From:       Stephan Kulow <coolo () kde ! org>
Date:       1999-11-25 11:54:37
[Download RAW message or body]

Waldo Bastian wrote:
> 
> On Thu, 25 Nov 1999, Stephan Kulow wrote:
> > Waldo Bastian wrote:
> > >
> > > On Thu, 25 Nov 1999, Stephan Kulow wrote:
> > >
> > > > > The style guide currently names two completion mechanisms:
> > > > > * auto-completion, as you described
> > > > > * manual completion, pressing <END> or <Right> at the end of a line
> > > > > triggers completion.
> > > > > (http://developer.kde.org/documentation/standards/kde/style/keys/completion.html)
> > > > >
> > > > > We couldn't agree on which one to make default. I very much favour the
> > > > > second one, since I think it is intrusive and confusing if your
> > > > > computer starts to put stuff in your input box which you didn't asked
> > > > > for.
> > > > The new file dialog uses auto-completion btw
> > >
> > > Could this be made configurable?
> > > We can fight about the default later :-)
> >
> > we hardcode things like that in the file dialog as we got critic for not
> > making decisions. Give us a way to obtain the option within KDE and I'm
> > sure it can be done.
> 
> Ok. I've added:
>         KApplication::completionMode()
> 
> which can return:
> CompletionNone: no completion at all
> CompletionAuto: auto completion
> CompletionEOL: completion at the end of line with Right/End key.
> 
> For the time being you can configure this manually in
> kde/share/config/kdeglobals according to:
> 
> Key: completionMode
> Value: 1, CompletionNone
>           2, CompletionAuto
>           3, CompletionEOL
> 
> It defaults to, *surprise*, 3 :-)
> 
> While I was at it I have also added:
>         KApplication::useDoubleClicks()
> 
> if it returns true, actions should be done on double clicks,
> if it returns false, actions should be done on single clicks.
> 
> For the time being you can configure this manually in
> kde/share/config/kdeglobals according to:
> 
> Key: doubleClicks
> Value: false, single clicks
>           true, double clicks.
> 
> It defaults to false.
> 
In KApplication? Bad idea I'd say. Or are these functions static?

Greetings, Stephan

-- 
When your memory goes, forget it!

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

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