staikos at kde.org
Mon Nov 28 20:18:32 CET 2005
On Monday 28 November 2005 11:07, George Staikos wrote:
> On Monday 28 November 2005 03:51, Brisset, Nicolas wrote:
> > > embed the custom widget if there is one. The label dialog
> > > now uses the embedded dialog, but it doesn't work. It needs
> > > a .ui.h with all the logic.
> > > We need to define a way to pass the viewobject pointer into
> > > the dialog, or have a function in the viewobject that takes a
> > > pointer to the custom widget and populates it or reads from
> > > it as needed.
> > [Comment for post-1.2] Wouldn't this mechanism be usable for custom
> > widgets in plugins as well ? (See bug #109459:
> > http://bugs.kde.org/show_bug.cgi?id=109459)
> I really don't want to extend the C plugin system. It's so hacky and if
> plugin developers want to use C++, well, we should give a good C++ plugin
> system instead.
I should have mentioned also that you can create entirely new Kst data
objects with the KstExtension mechanism. I did that with the pulse generator
extension. It doesn't get a special button in the data manager, but
everything else should work perfectly.
KDE Developer http://www.kde.org/
Staikos Computing Services Inc. http://www.staikos.net/
More information about the Kst