From: Tim E. R. <ter...@ro...> - 2011-10-10 19:02:56
|
> Hi > > what is muse2/muse/widgets/musewidgetsplug.cpp for? > > it duplicates the gconfig.cpp default configuration values, but why? > it's quite annoying to always have to update both files. > > can we remove it? > > greetings > flo > > It was (is) part of a system for using MusE widgets in other apps, intended mainly for creating your own custom MusE LADSPA plugin guis. When built, it places a musewidgetsplug.so into the QtDesigner custom widgets folder. Then the MusE widgets are available for use anywhere. It was disabled during the move to Qt4 while we got our widgets act together, the system for building the library changes in Qt4. I intend to reactivate it soon, now that namespaces and our various widgets are finally coming together. Curve-ball to muddy the water: IIRC The library needs the config initialization values stored there! Haven't looked lately, but I think that's how it works. FYI There are already two built-in custom LADSPA guis in MusE: If you add a TAP Reverb in MusE and open the gui, you are seeing a custom gui, not the generic gui you see on all other plugins. And one other one, I think Freeverb or something. Tim. |