If you have a struct say ..
Qt Code:
  1. struct s_A
  2. {
  3. int A
  4. int B
  5. int C
  6. int D
  7. int E
  8. int F
  9. }
To copy to clipboard, switch view to plain text mode 

if you want to have a gui to edit some or all struct member using a QSpinBox, what is the essiest impementation (less code)?

I Ended up with giving my widget some Id then , use QSignalMapper to put all editingFinished signal of QSpinbox and then figure out whose the sender everytime QSignalMapper emits SIGNAL mapped(), from the Id ill figure out which member of the struct to be updated.

But still this gets vey boring if you have like 50 struct each has like 20 members, If anybody can suggest on some technique inhandling this stuff efficiently will be appereciated

baray98