Hello Qt devs!
I'm working on a GUI to a DB. I want to create a form that enables the user to enter data in the DB. The data that has to be entered are results from multiple tests. In my DB, I have a table that details what tests pertain to what group. In fact, it kinda looks like that:
PK FK to Group FK to Test
1 1 1
2 1 2
3 1 3
You get the idea. Now, suppose I want to enter data for group 1. I want my interface to generate, on-the-fly, a GUI that allows user to easily enter data.
Would it be possible to do that by subclassing QWidget for each test and add that widget to a QstackedWidget?
It seems to me that this is the most elegant solution, as it is very flexible.
[EDIT: table formatting, Volker]
[EDIT 2: table formatting is currently broken, wrapping in @-tags meanwhile, Volker]