[Konsole-devel] Bug#37987: "Close session" entry in context menu of a session button

Waldo Bastian bastian at kde.org
Tue Mar 12 20:16:06 UTC 2002


On Tuesday 12 March 2002 12:00 pm, Stephan Binner wrote:
> On Tuesday 12 March 2002 20:15, Waldo Bastian wrote:
> > > What context menu? Afaik KRadioActions cannot have context menus.
> >
> > Well, that may be true, but that isn't a reason why it wouldn't be a
> > good idea. It may just mean that we shouldn't use KRadioActions :-]
>
> So how does one implement a context menu for a KToolBarButton without
> inheriting KToolBarButton to implement contextMenuEvent (and inheriting
> KRadioActions to use the new toolbar button to keep current code :-)?

I have no idea :-) I just want to stress that we first should look at how we 
would like konsole to behave, and once we have established that we can hurt 
our heads on trying to implement it. 

> Delayed PopupMenu looks silly and seems to interfere with KRadioAction.

Maybe we shouldn't use KRadioButton then. But for now let's postpone this till 
after 3.0.

Cheers,
Waldo
-- 
bastian at kde.org  |   SuSE Labs KDE Developer  |  bastian at suse.com




More information about the konsole-devel mailing list