Hi,

I want to convert the oneitem struct into one of Qts container classes. Oneitem has three components, so cannot use QPair or QList. I need to have array of oneitems. any ideas?

Qt Code:
  1. struct itemdetail {
  2. double a;
  3. double b;
  4. } ;
  5.  
  6. struct oneitem
  7. {
  8. struct itemdetail originalitem;
  9. QString desc;
  10. QMap<int, QPair<struct itemdetail, int> > growth;
  11.  
  12. };
To copy to clipboard, switch view to plain text mode 

Cheers