title: Qt Multi-map with different types linked to one key
body: <p>I am currently in concept phase for setting up the model of a MVC in Qt5.</p>
  
  <p>I would like to provide a method to adjust the header of <code>QAbstractTableModel</code>. This method should accept a single variable to define label of the header plus the related role, which consists of the following map structure:</p>
  
  <ul>
  <li><strong>[Key of type <code>int</code>]</strong></li>
  <li>Containing data:
  
  <ul>
  <li><strong>[Data of type <code>int</code>]</strong></li>
  <li><strong>[Data of type <code>QString</code>]</strong></li>
  </ul></li>
  </ul>
  
  <p>So something like this: <code>QMultiTypeMap( const QMap&lt;Key, T1, T2&gt; &amp; other )</code>.<br>
  This is quite similar to <code>QMultiMap( const QMap&lt;Key, T1&gt; &amp; other )</code>, except of the fact that I would need different types as values (T1 and T2).</p>
  
  <p>Is there any possibility to realize this in elegant-coded way using Qt framework? I thought about using QHash nested inside a QMap but found that not so elegant (as I do not want to have a key-lookup behaviour nested in a key-pair structure).</p>
  
  <p>Thank you for your ideas/knowledge.</p>