<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; ">Hey,</div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; ">Please have a look at mainwindow.cpp</div><div>
<pre style="font-family: arial, helvetica, sans-serif; font-size: 12pt; margin-top: 0px; margin-bottom: 0px; "><!--StartFragment--><span style=" color:#000080;">#include</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">"mainwindow.h"</span></pre>
<pre style="font-family: arial, helvetica, sans-serif; font-size: 12pt; margin-top: 0px; margin-bottom: 0px; "><span style=" color:#000080;">#include</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">"ui_mainwindow.h"</span></pre>
<pre style="font-family: arial, helvetica, sans-serif; font-size: 12pt; margin-top: 0px; margin-bottom: 0px; "><span style=" color:#000080;">#include</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;"><QSplitter></span></pre>
<pre style="font-family: arial, helvetica, sans-serif; font-size: 12pt; margin-top: 0px; margin-bottom: 0px; "><br></pre>
<pre style="font-family: arial, helvetica, sans-serif; font-size: 12pt; margin-top: 0px; margin-bottom: 0px; "><br></pre>
<pre style="font-family: arial, helvetica, sans-serif; font-size: 12pt; margin-top: 0px; margin-bottom: 0px; "><span style=" color:#800080;">MainWindow</span>::<span style=" color:#800080;">MainWindow</span>(<span style=" color:#800080;">QWidget</span><span style=" color:#c0c0c0;"> </span>*parent)<span style=" color:#c0c0c0;"> </span>:</pre>
<pre style="font-family: arial, helvetica, sans-serif; font-size: 12pt; margin-top: 0px; margin-bottom: 0px; "><br></pre>
<pre style="font-family: arial, helvetica, sans-serif; font-size: 12pt; margin-top: 0px; margin-bottom: 0px; "><span style=" color:#c0c0c0;">    </span><span style=" color:#800080;">QMainWindow</span>(parent),</pre>
<pre style="font-family: arial, helvetica, sans-serif; font-size: 12pt; margin-top: 0px; margin-bottom: 0px; "><br></pre>
<pre style="font-family: arial, helvetica, sans-serif; font-size: 12pt; margin-top: 0px; margin-bottom: 0px; "><span style=" color:#c0c0c0;">    </span><span style=" color:#800000;">ui</span>(<span style=" color:#808000;">new</span><span style=" color:#c0c0c0;"> </span><span style=" color:#800080;">Ui</span>::<span style=" color:#800080;">MainWindow</span>)</pre>
<pre style="font-family: arial, helvetica, sans-serif; font-size: 12pt; margin-top: 0px; margin-bottom: 0px; ">{<span style=" color:#c0c0c0;">    </span><span style=" color:#800080;">QSplitter</span><span style=" color:#c0c0c0;"> </span>*splitter1<span style=" color:#c0c0c0;"> </span>=<span style=" color:#c0c0c0;"> </span><span style=" color:#808000;">new</span><span style=" color:#c0c0c0;"> </span><span style=" color:#800080;">QSplitter</span>(parent);</pre>
<pre style="font-family: arial, helvetica, sans-serif; font-size: 12pt; margin-top: 0px; margin-bottom: 0px; "><span style=" color:#c0c0c0;">     </span><span style=" color:#800080;">QSplitter</span><span style=" color:#c0c0c0;"> </span>*splitter2<span style=" color:#c0c0c0;"> </span>=<span style=" color:#c0c0c0;"> </span><span style=" color:#808000;">new</span><span style=" color:#c0c0c0;"> </span><span style=" color:#800080;">QSplitter</span>(parent);</pre>
<pre style="font-family: arial, helvetica, sans-serif; font-size: 12pt; margin-top: 0px; margin-bottom: 0px; "><span style=" color:#c0c0c0;">    </span>splitter1->addWidget(<span style=" color:#c0c0c0;"> </span><span style=" color:#800000;">ui</span>-><span style=" color:#800000;">treeWidget</span>);</pre>
<pre style="font-family: arial, helvetica, sans-serif; font-size: 12pt; margin-top: 0px; margin-bottom: 0px; "><span style=" color:#c0c0c0;">      </span>splitter1->addWidget(<span style=" color:#800000;">ui</span>-><span style=" color:#800000;">groupBox</span>);</pre>
<pre style="font-family: arial, helvetica, sans-serif; font-size: 12pt; margin-top: 0px; margin-bottom: 0px; "><br></pre>
<pre style="font-family: arial, helvetica, sans-serif; font-size: 12pt; margin-top: 0px; margin-bottom: 0px; "><span style=" color:#c0c0c0;">      </span>splitter2->addWidget(<span style=" color:#800000;">ui</span>-><span style=" color:#800000;">groupBox</span>);<span style=" color:#c0c0c0;"> </span>splitter2->addWidget(<span style=" color:#800000;">ui</span>-><span style=" color:#800000;">scrollArea</span>);</pre>
<pre style="font-family: arial, helvetica, sans-serif; font-size: 12pt; margin-top: 0px; margin-bottom: 0px; "><br></pre>
<pre style="font-family: arial, helvetica, sans-serif; font-size: 12pt; margin-top: 0px; margin-bottom: 0px; "><br></pre>
<pre style="font-family: arial, helvetica, sans-serif; font-size: 12pt; margin-top: 0px; margin-bottom: 0px; "><br></pre>
<pre style="font-family: arial, helvetica, sans-serif; font-size: 12pt; margin-top: 0px; margin-bottom: 0px; "><br></pre>
<pre style="font-family: arial, helvetica, sans-serif; font-size: 12pt; margin-top: 0px; margin-bottom: 0px; "><span style=" color:#c0c0c0;">    </span><span style=" color:#800000;">ui</span>->setupUi(<span style=" color:#808000;">this</span>);</pre>
<pre style="font-family: arial, helvetica, sans-serif; font-size: 12pt; margin-top: 0px; margin-bottom: 0px; ">}</pre>
<pre style="font-family: arial, helvetica, sans-serif; font-size: 12pt; margin-top: 0px; margin-bottom: 0px; "><br></pre>
<pre style="font-family: arial, helvetica, sans-serif; font-size: 12pt; margin-top: 0px; margin-bottom: 0px; "><span style=" color:#800080;">MainWindow</span>::~<span style="font-style: italic; ">MainWindow</span>()</pre>
<pre style="font-family: arial, helvetica, sans-serif; font-size: 12pt; margin-top: 0px; margin-bottom: 0px; ">{</pre>
<pre style="font-family: arial, helvetica, sans-serif; font-size: 12pt; margin-top: 0px; margin-bottom: 0px; "><span style=" color:#c0c0c0;">    </span><span style=" color:#808000;">delete</span><span style=" color:#c0c0c0;"> </span><span style=" color:#800000;">ui</span>;</pre>
<pre style="font-family: arial, helvetica, sans-serif; font-size: 12pt; margin-top: 0px; margin-bottom: 0px; ">}</pre>
<pre style="font-family: arial, helvetica, sans-serif; font-size: 12pt; margin-top: 0px; margin-bottom: 0px; ">Using qt creator I am getting this error -<span style="color: rgb(10, 9, 179); font-family: monospace; font-size: 9pt; font-weight: 600; ">Starting /home/heena/Documents/untitled3/untitled3...</span><!--EndFragment--></pre>

<div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; "><span style=" font-family:'Monospace'; font-size:9pt; font-weight:600; color:#b40909;">The program has unexpectedly finished.</span></div>
<div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; "><span style=" font-family:'Monospace'; font-size:9pt; font-weight:600; color:#0a09b3;">/home/heena/Documents/untitled3/untitled3 exited with code 0</span><!--EndFragment--></div><div><font color="#0a09b3" face="Monospace"><span style="font-size: 12px; font-weight: 600;">Regards </span></font></div><div><font color="#0a09b3" face="Monospace"><span style="font-size: 12px; font-weight: 600;">bye</span></font></div></div></div></body></html>