[Nepomuk] Re: Load/Save queries
Sebastian Trüg
trueg at kde.org
Mon Mar 21 17:21:14 CET 2011
well, there are at least 2 solutions to the issue:
1. only enable the actions in the query mode
2. Switch to the query mode once a query has been opened
As for the general question: IMHO the open/save actions are something
one does not use on each query. Thus, having additional buttons would
just further clutter the UI.
To be honest I would even prefer to have the query shorten action in the
menu (with a shortcut) rather than as an extra button in the query window.
Cheers,
Sebastian
On 03/21/2011 04:49 PM, Who Knows wrote:
> Hey sorry if i am making a new thread as i had digest mode on by mistake.
>
> 2. Instead of adding two new buttons to the window you should make use
>
> of KDE's XMLGui stuff. This means that you create two KActions in the
> main window. In this case, since both open and save are standard actions
> used throughout many many KDE applications all you need to do is call
>
> KStandardActions::open and ::save. Connect the actions to the slots
> instead of the buttons. KDE should take care of putting the actions into
> the menu automatically.
>
> but according to junior job "open/save actions which are only enabled in
> query mode." so wouldn't it be better if we had buttons then adding
> KActions in the main window other than that i have sort out the other
> issues.
>
>
>
>
> _______________________________________________
> Nepomuk mailing list
> Nepomuk at kde.org
> https://mail.kde.org/mailman/listinfo/nepomuk
More information about the Nepomuk
mailing list