From: Joe E. <jo...@em...> - 2005-02-28 22:19:42
|
Hiroo Hayashi wrote: >le...@ti...> Should it be possible to have a KnobWidget constructor >witch >le...@ti...> accept size in its parameters (width and heigth) ? By >le...@ti...> default, size of KnobWidget is too big and it have created >le...@ti...> a class named LittleKnobWidget to workaround this. > >It it superset of the current KnobWidget? We can merge your widget into >core if it has new constructor with size parameter. > > Well, if it accepts general size parameters, then it's not neccesarily "little". It could be "big" just as easily. Shouldn't it be called something like "SizeableKnobWidget" before it's added to core? Even better, would be to just add the new constructor (and other needed code) to KnobWidget and then have the default KnobWidget constructor call the parameterized one with the default sizes. - Joe |