SparrowRenderer/mainwindow.ui
2015-07-08 20:36:02 +02:00

203 lines
4.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>854</width>
<height>510</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="MyGLWidget" name="openGLWidget"/>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>854</width>
<height>21</height>
</rect>
</property>
<widget class="QMenu" name="menuMenu">
<property name="title">
<string>menu</string>
</property>
<addaction name="actionShow_control_panel"/>
<addaction name="actionExit"/>
</widget>
<addaction name="menuMenu"/>
</widget>
<widget class="QDockWidget" name="dockWidget">
<attribute name="dockWidgetArea">
<number>1</number>
</attribute>
<widget class="QWidget" name="dockWidgetContents">
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QTreeWidget" name="treeWidget">
<column>
<property name="text">
<string notr="true">rendering pipeline</string>
</property>
</column>
</widget>
</item>
</layout>
</widget>
</widget>
<action name="actionExit">
<property name="text">
<string>exit</string>
</property>
</action>
<action name="actionShow_control_panel">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>show control panel</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>
<customwidget>
<class>MyGLWidget</class>
<extends>QOpenGLWidget</extends>
<header>myglwidget.h</header>
<slots>
<signal>modulesChanged()</signal>
</slots>
</customwidget>
</customwidgets>
<resources/>
<connections>
<connection>
<sender>actionExit</sender>
<signal>triggered()</signal>
<receiver>MainWindow</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>426</x>
<y>254</y>
</hint>
</hints>
</connection>
<connection>
<sender>dockWidget</sender>
<signal>visibilityChanged(bool)</signal>
<receiver>actionShow_control_panel</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>127</x>
<y>265</y>
</hint>
<hint type="destinationlabel">
<x>-1</x>
<y>-1</y>
</hint>
</hints>
</connection>
<connection>
<sender>actionShow_control_panel</sender>
<signal>triggered()</signal>
<receiver>MainWindow</receiver>
<slot>dockWidgetClosed()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>426</x>
<y>254</y>
</hint>
</hints>
</connection>
<connection>
<sender>openGLWidget</sender>
<signal>modulesChanged()</signal>
<receiver>MainWindow</receiver>
<slot>updateTree()</slot>
<hints>
<hint type="sourcelabel">
<x>555</x>
<y>265</y>
</hint>
<hint type="destinationlabel">
<x>426</x>
<y>254</y>
</hint>
</hints>
</connection>
<connection>
<sender>treeWidget</sender>
<signal>itemClicked(QTreeWidgetItem*,int)</signal>
<receiver>MainWindow</receiver>
<slot>moduleSetEnabled(QTreeWidgetItem*,int)</slot>
<hints>
<hint type="sourcelabel">
<x>127</x>
<y>276</y>
</hint>
<hint type="destinationlabel">
<x>426</x>
<y>254</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>dockWidgetClosed()</slot>
<slot>updateTree()</slot>
<slot>moduleSetEnabled(QTreeWidgetItem*,int)</slot>
</slots>
</ui>