title: How can I initialize a default value of QComboBox without to click it?
body: <p>How can I initialize a default value of QComboBox without to click it?  I tried with</p>
  
  <pre><code>ui-&gt;combBox-&gt;setCurrentIndex(1);
  </code></pre>
  
  <p>but when I read the value at first I get unfortunately a <strong>-1</strong> and only after the QComboBox was clicked its value become <strong>1</strong>.</p>