How to toggle a window from fullscreen to normal mode programmatically?
<p>I am using this code to toggle a window from normal mode to fullscreen:</p>

<pre><code>void MainWindow::on_action_Fullscreen_triggered()
{
    showFullScreen();
}
</code></pre>

<p>How to return back to normal mode when I trigger this action again?</p>