There is a counting program that uses several methods, the method selection is implemented using the comboBox : Selecting an account method

All parameters are divided into basic (common for each method) and specific (for each method its own parameters): Parameters window (main)

And since counting methods is becoming more and more, then the parameters window turns into a long canvas that needs to be scrolled.

What I want: implement the redrawing of the input fields, depending on the selected method of counting; those. the input fields of the main parameters are always drawn, and below are only the parameters of the selected algorithm, the remaining fields are not displayed.

Input fields for specific parameters

I do not know how to implement this. Does this need some sort of input field grouping?

  • If I understand the question correctly, look towards QStackedWidget - Bearded Beaver

0