title: How to access widgets in different tabs of QTabWidget?
body: <p>I know how to create a new tab and add new widgets to a new tab of QTabWidget.</p>
  
  <p>My Code:</p>
  
  <pre><code>QPlainTextEdit *plainTextEdit = new QPlainTextEdit;
  ui-&gt;tabWidget-&gt;addTab(plainTextEdit , "New");
  </code></pre>
  
  <p>When I clicked the button, new tab and its own QPlainTextEdit widget will be created.</p>
  
  <p>But I don't know how to set property to different QPlainTextEdit or save their contents.</p>
  
  <p>For example, I want set font size of QPlainTextEdit in tab4 and save contents of QPlainTextEdit in tab5. </p>
  
  <p>How to achieve these functions?</p>