[Paraview-developers] "Create Lookmark" button in toolbar?
Sebastien BARRE
sebastien.barre at kitware.com
Wed Jun 15 15:25:57 EDT 2005
At 6/15/2005 12:07 PM, David C. Thompson wrote:
> > My suggestion would be to create a new toolbar (not use the filter
> > toolbar) and make it invisible by default. You can then add an option
> > to Window -> Toolbars to enable/disable it. If this option is saved to
> > the registry, users who use lookmarks can enable it once and have it
> > there every time they restart. I do not believe that lookmarks are
> > used enough to warrant putting them there by default. Specially
> > considering that even the animation toolbar (which does not take space
> > on the main toolbar) is not shown by default.
>What about a button in the title of the 3D view window (next to the one
>that will change to the 3-D view settings when pressed)? It seems like a
>better fit than a whole new toolbar and would not take up real estate
>that is otherwise in use.
I have to say, I added that button in the 3D view, and that's not the best
idea I ever had :)
I think there were no toolbars back in the days. Now I would definitely
move that button to a toolbar.
That being said, the toolbars on top are a little crowded now. Little known
fact, there is now a secondary toolbar-set (GetSecondaryToolbarSet()), at
the botton of the window, when the animation toolbar is. You can add a
toolbar that way too, and the policy seems like the icons over there are
smaller I think.
I'll think about it, but I can't launch PV right now.
What I wanted to add is :
- you don't need to touch the "Window -> Toolbars" menu anymore, I
changed that, it's all done automatically. If you create a toolbar, don't
forget to give it a name with SetName(), then add it to the main toolbart
set with a default visibility of 0. As long as it has a name, it will
appear in "Window -> Toolbars" automagically, and its visibility status
will be serialized to the registry settings for you. That's neat.
- please refrain from toolbaring/buttoning for a day or two, that
would be great :) I have some "interesting" changes coming up :)
--
Sebastien Barre
More information about the Paraview-developers
mailing list