all repos — mgba @ 885ef286d2d9c4de4743244bb6d9f36ee0b26e11

mGBA Game Boy Advance Emulator

src/platform/qt/DolphinConnector.ui (view raw)

  1<?xml version="1.0" encoding="UTF-8"?>
  2<ui version="4.0">
  3 <class>DolphinConnector</class>
  4 <widget class="QDialog" name="DolphinConnector">
  5  <property name="geometry">
  6   <rect>
  7    <x>0</x>
  8    <y>0</y>
  9    <width>306</width>
 10    <height>123</height>
 11   </rect>
 12  </property>
 13  <property name="windowTitle">
 14   <string>Connect to Dolphin</string>
 15  </property>
 16  <layout class="QGridLayout" name="gridLayout">
 17   <property name="sizeConstraint">
 18    <enum>QLayout::SetFixedSize</enum>
 19   </property>
 20   <item row="0" column="0">
 21    <widget class="QRadioButton" name="specLocal">
 22     <property name="text">
 23      <string>Local computer</string>
 24     </property>
 25     <property name="checked">
 26      <bool>true</bool>
 27     </property>
 28     <attribute name="buttonGroup">
 29      <string notr="true">buttonGroup</string>
 30     </attribute>
 31    </widget>
 32   </item>
 33   <item row="0" column="1">
 34    <widget class="QRadioButton" name="specIPAddr">
 35     <property name="text">
 36      <string>IP address</string>
 37     </property>
 38     <attribute name="buttonGroup">
 39      <string notr="true">buttonGroup</string>
 40     </attribute>
 41    </widget>
 42   </item>
 43   <item row="2" column="1">
 44    <widget class="QLineEdit" name="ipAddr">
 45     <property name="enabled">
 46      <bool>false</bool>
 47     </property>
 48    </widget>
 49   </item>
 50   <item row="3" column="0" colspan="2">
 51    <layout class="QHBoxLayout" name="horizontalLayout">
 52     <item>
 53      <widget class="QPushButton" name="connect">
 54       <property name="text">
 55        <string>Connect</string>
 56       </property>
 57       <property name="icon">
 58        <iconset theme="network-connect"/>
 59       </property>
 60      </widget>
 61     </item>
 62     <item>
 63      <widget class="QPushButton" name="disconnect">
 64       <property name="enabled">
 65        <bool>false</bool>
 66       </property>
 67       <property name="text">
 68        <string>Disconnect</string>
 69       </property>
 70       <property name="icon">
 71        <iconset theme="network-disconnect"/>
 72       </property>
 73      </widget>
 74     </item>
 75     <item>
 76      <widget class="QPushButton" name="close">
 77       <property name="text">
 78        <string>Close</string>
 79       </property>
 80       <property name="icon">
 81        <iconset theme="window-close"/>
 82       </property>
 83      </widget>
 84     </item>
 85    </layout>
 86   </item>
 87   <item row="2" column="0">
 88    <widget class="QCheckBox" name="doReset">
 89     <property name="text">
 90      <string>Reset on connect</string>
 91     </property>
 92    </widget>
 93   </item>
 94  </layout>
 95 </widget>
 96 <resources/>
 97 <connections>
 98  <connection>
 99   <sender>close</sender>
100   <signal>clicked()</signal>
101   <receiver>DolphinConnector</receiver>
102   <slot>close()</slot>
103   <hints>
104    <hint type="sourcelabel">
105     <x>256</x>
106     <y>119</y>
107    </hint>
108    <hint type="destinationlabel">
109     <x>152</x>
110     <y>72</y>
111    </hint>
112   </hints>
113  </connection>
114  <connection>
115   <sender>specIPAddr</sender>
116   <signal>toggled(bool)</signal>
117   <receiver>ipAddr</receiver>
118   <slot>setEnabled(bool)</slot>
119   <hints>
120    <hint type="sourcelabel">
121     <x>152</x>
122     <y>43</y>
123    </hint>
124    <hint type="destinationlabel">
125     <x>152</x>
126     <y>49</y>
127    </hint>
128   </hints>
129  </connection>
130 </connections>
131 <buttongroups>
132  <buttongroup name="buttonGroup"/>
133 </buttongroups>
134</ui>