Add logic to switch views

Rename the 3 main widgets in the Qt mainwindow.

Wire view menu options to the setVisible methods of same.

Signed-off-by: Amit Chaudhuri <amit.k.chaudhuri@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Amit Chaudhuri 2013-04-10 08:07:02 +01:00 committed by Dirk Hohndel
parent 55106a7583
commit 6e02e9d5b7
2 changed files with 19 additions and 3 deletions

View file

@ -24,10 +24,10 @@
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<widget class="MainTab" name="widget" native="true"/>
<widget class="QGraphicsView" name="graphicsView"/>
<widget class="MainTab" name="InfoWidget" native="true"/>
<widget class="QGraphicsView" name="ProfileWidget"/>
</widget>
<widget class="QTableView" name="tableView"/>
<widget class="QTableView" name="ListWidget"/>
</widget>
</item>
<item>