[Kstars-devel] RFC: new popup "menu"?

Jason Harris kstars at 30doradus.org
Sun Mar 12 16:19:08 CET 2006


Hello,

On Saturday 11 March 2006 22:24, Jasem Mutlaq wrote:
> While these ideas are new and interesting, I'd rather
> we end up with a popup menu resembling what we have
> already. One problem that I see is that INDI
> dynamically adds and removes sub-menus for devices.
> This doesn't appear possible with #1 or #2. if can
> replicate the appearance (grayed and centered text for
> info) in the popup menu, then that would be great.
>
Okay.  For now it looks like it isn't possible to have title items in menus in 
Qt 4.x (see my thread "KMenu question" on kde-devel); the QStyle system 
simply doesn't support it.  I'm going to check Trolltech's bug tracker and 
submit a request if it isn't there already.

Anyway, KDE-4.0 is a long way off, so I will leave the menu in its present 
state for now.  If TT can't or won't offer this feature in Qt, then I guess 
we'll have to implement our own popup menu. :/

Let's consider my earlier concepts as ideas for a new Details dialog; if we 
can make it smaller than the current one, then users can keep windows open 
for several different objects at once, if they want.

Of course, it isn't yet time to work on new features, but I just wanted to 
circulate the ideas while I had them in my head :)

Jason
-- 
KStars: KDE Desktop Planetarium
http://edu.kde.org/kstars


More information about the Kstars-devel mailing list