again problem with treewidget. last time I wanted to add value form combo box. Now I need to add spinbox value. this is best what i came up with
Qt Code:
  1. QTreeWidgetItem *item = new QTreeWidgetItem(satelliteSizeSpinbox->value());
  2. treeW2->insertTopLevelItem(starSatelliteNumberSpinbox->value(),item);
To copy to clipboard, switch view to plain text mode 
and again I want to put it on second column