Hey,

We have many widgets that don't just take a parent. Thus, they can not be used 
in Qt Designer (AFAIK). I propose the following changes to remove additional 
parameters from constructors:

* The knob class has an int describing its style. Since there are only 4 types 
(and mostly only one type used), I suggest adding 5 specialisation classes to 
knob.h.
* The led_checkbox class takes a text argument before the parent. Would it not 
be possible to call setText in a retranslate function later? (Retranslations 
are better style anyway, imo)
* The lcd_spinbox is usually only used with 1,2 or 3 digits. Make 3 
specialisations.
* For more widgets, I'd suggest to try similar techniques.

Anyone against these changes in these core widget's headers?

Thanks for reply and a nice weekend,
Johannes

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
LMMS-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmms-devel

Reply via email to