window.ui 4.02 KB
Newer Older
Pierre Kraemer's avatar
Pierre Kraemer committed
1 2 3 4 5 6 7 8
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>Window</class>
 <widget class="QMainWindow" name="Window">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9 10
    <width>1000</width>
    <height>800</height>
Pierre Kraemer's avatar
Pierre Kraemer committed
11 12 13
   </rect>
  </property>
  <property name="windowTitle">
14
   <string>SCHNApps</string>
Pierre Kraemer's avatar
Pierre Kraemer committed
15 16 17 18 19 20 21 22 23 24 25
  </property>
  <property name="windowIcon">
   <iconset resource="../resources/resources.qrc">
    <normaloff>:/icons/cgogn/cgogn2.png</normaloff>:/icons/cgogn/cgogn2.png</iconset>
  </property>
  <widget class="QWidget" name="centralwidget"/>
  <widget class="QMenuBar" name="menubar">
   <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
26
     <width>1000</width>
Pierre Kraemer's avatar
Pierre Kraemer committed
27
     <height>23</height>
Pierre Kraemer's avatar
Pierre Kraemer committed
28 29
    </rect>
   </property>
30
   <widget class="QMenu" name="menuFile">
Pierre Kraemer's avatar
Pierre Kraemer committed
31
    <property name="title">
32
     <string>File</string>
Pierre Kraemer's avatar
Pierre Kraemer committed
33
    </property>
34
    <addaction name="actionShowHideDock"/>
35
    <addaction name="actionShowHidePythonDock"/>
36
    <addaction name="actionLoadPythonScript"/>
37
    <addaction name="separator"/>
38
    <addaction name="actionQuit"/>
Pierre Kraemer's avatar
Pierre Kraemer committed
39 40 41 42 43
   </widget>
   <widget class="QMenu" name="menuHelp">
    <property name="title">
     <string>Help</string>
    </property>
44 45
    <addaction name="actionAboutSCHNApps"/>
    <addaction name="actionAboutCGoGN"/>
Pierre Kraemer's avatar
Pierre Kraemer committed
46
   </widget>
47
   <addaction name="menuFile"/>
Pierre Kraemer's avatar
Pierre Kraemer committed
48 49 50 51 52 53 54 55
   <addaction name="menuHelp"/>
  </widget>
  <widget class="QStatusBar" name="statusbar"/>
  <widget class="QToolBar" name="toolBar">
   <property name="windowTitle">
    <string>toolBar</string>
   </property>
   <attribute name="toolBarArea">
56
    <enum>TopToolBarArea</enum>
Pierre Kraemer's avatar
Pierre Kraemer committed
57 58 59 60
   </attribute>
   <attribute name="toolBarBreak">
    <bool>false</bool>
   </attribute>
61
   <addaction name="actionManageCameras"/>
Pierre Kraemer's avatar
Pierre Kraemer committed
62
   <addaction name="actionManagePlugins"/>
63
   <addaction name="actionManageMaps"/>
Pierre Kraemer's avatar
Pierre Kraemer committed
64
  </widget>
65
  <action name="actionAboutCGoGN">
Pierre Kraemer's avatar
Pierre Kraemer committed
66
   <property name="text">
67
    <string>About CGoGN</string>
Pierre Kraemer's avatar
Pierre Kraemer committed
68 69
   </property>
  </action>
70
  <action name="actionAboutSCHNApps">
Pierre Kraemer's avatar
Pierre Kraemer committed
71
   <property name="text">
72
    <string>About SCHNApps</string>
Pierre Kraemer's avatar
Pierre Kraemer committed
73 74
   </property>
  </action>
75
  <action name="actionQuit">
Pierre Kraemer's avatar
Pierre Kraemer committed
76
   <property name="text">
77
    <string>Quit</string>
Pierre Kraemer's avatar
Pierre Kraemer committed
78 79
   </property>
  </action>
80
  <action name="actionManagePlugins">
Pierre Kraemer's avatar
Pierre Kraemer committed
81 82
   <property name="icon">
    <iconset resource="../resources/resources.qrc">
Pierre Kraemer's avatar
Pierre Kraemer committed
83
     <normaloff>:/icons/icons/plugins.png</normaloff>:/icons/icons/plugins.png</iconset>
Pierre Kraemer's avatar
Pierre Kraemer committed
84 85
   </property>
   <property name="text">
86
    <string>Manage plugins</string>
Pierre Kraemer's avatar
Pierre Kraemer committed
87 88
   </property>
  </action>
89
  <action name="actionManageCameras">
Pierre Kraemer's avatar
Pierre Kraemer committed
90 91
   <property name="icon">
    <iconset resource="../resources/resources.qrc">
Pierre Kraemer's avatar
Pierre Kraemer committed
92
     <normaloff>:/icons/icons/cameras.png</normaloff>:/icons/icons/cameras.png</iconset>
Pierre Kraemer's avatar
Pierre Kraemer committed
93 94
   </property>
   <property name="text">
95
    <string>Manage cameras</string>
Pierre Kraemer's avatar
Pierre Kraemer committed
96 97
   </property>
  </action>
98
  <action name="actionShowHideDock">
99
   <property name="text">
100
    <string>Show/Hide Plugins Dock</string>
101 102
   </property>
  </action>
103 104 105
  <action name="actionManageMaps">
   <property name="icon">
    <iconset resource="../resources/resources.qrc">
Pierre Kraemer's avatar
Pierre Kraemer committed
106
     <normaloff>:/icons/icons/maps.png</normaloff>:/icons/icons/maps.png</iconset>
107 108 109 110 111 112 113 114
   </property>
   <property name="text">
    <string>ManageMaps</string>
   </property>
   <property name="toolTip">
    <string>Manage maps</string>
   </property>
  </action>
115 116 117 118 119
  <action name="actionShowHidePythonDock">
   <property name="text">
    <string>Show/Hide Python Dock</string>
   </property>
  </action>
120 121 122 123 124 125 126 127
  <action name="actionLoadPythonScript">
   <property name="text">
    <string>Load Python Script</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+P</string>
   </property>
  </action>
Pierre Kraemer's avatar
Pierre Kraemer committed
128 129 130 131 132 133
 </widget>
 <resources>
  <include location="../resources/resources.qrc"/>
 </resources>
 <connections>
  <connection>
134
   <sender>actionQuit</sender>
Pierre Kraemer's avatar
Pierre Kraemer committed
135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150
   <signal>triggered()</signal>
   <receiver>Window</receiver>
   <slot>close()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
    <hint type="destinationlabel">
     <x>399</x>
     <y>299</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>