Hi all
So i was wondering how one would go about setting the column fields of a table by selecting a radio button or checkbox.

something like:
selecting checkme
Qt Code:
  1. QCheckBox *checkmeCheckBox = new QCheckBox(this, tr("checkme"));
To copy to clipboard, switch view to plain text mode 
will create a column header with the same name checkme so that my table will have new columns with the same names as the radiobuttons and checkboxes i set checked

thanks in advance.