<div class="gmail_quote">2010/12/13 Benjamin Poulain <span dir="ltr">&lt;<a href="mailto:benjamin.poulain@nokia.com">benjamin.poulain@nokia.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
&gt;&gt; -refactor the MainView to completely decouple the tab bar. Ideally, I<br><div class="im">
&gt;&gt; would like an independant TabBar and MainView. The main problem being<br>
&gt;&gt; implementing the corner widget (more advanced, ask for more info if you<br>
&gt;&gt; want to do that).<br>
&gt; Now I&#39;d like to have the &quot;more info&quot; :-)<br>
<br>
</div>In the future, I want to get rid of the tab widget. Instead, it would be<br>
nice to have a single QGraphicsView containing all the pages.<br>
<br>
One of the things in the way of using graphics view is the TabWidget.<br>
Ideally, MainView would be composed of a independant tab bar, and a<br>
widget with the webviews.<br>
<br>
One of the pesky details of that decoupling is the corner widget. The<br>
widget is unfortunately a concept of QTabWidget, not QTabBar. A new tab<br>
bar widget could handle the tab bar and the corner widget.</blockquote></div><br>Hi Benjamin,<br><br>I&#39;ve recently had to look at that code and I also think that it should be improved not only because it would be easier to maintain, but because it would make a few features I want to implement (and probably lots more that will be implemented in the future) easier and less hackish.<br>
I was thinking in ways to improve it and I had the intention to do it myself soon, but I never thought of removing the tab widget. Why would we want to do that? AFAIK the tab widget is perfect to handle the tabs. We currently have some limitations but I think it&#39;s our implementation&#39;s fault rather than the tab widget&#39;s.<br>