all repos — mgba @ e2d6bc38ffa991717dfffbce115ab6f60b4546b2

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>119</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="0" colspan="2">
 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  </layout>
 88 </widget>
 89 <resources/>
 90 <connections>
 91  <connection>
 92   <sender>close</sender>
 93   <signal>clicked()</signal>
 94   <receiver>DolphinConnector</receiver>
 95   <slot>close()</slot>
 96   <hints>
 97    <hint type="sourcelabel">
 98     <x>256</x>
 99     <y>119</y>
100    </hint>
101    <hint type="destinationlabel">
102     <x>152</x>
103     <y>72</y>
104    </hint>
105   </hints>
106  </connection>
107  <connection>
108   <sender>specIPAddr</sender>
109   <signal>toggled(bool)</signal>
110   <receiver>ipAddr</receiver>
111   <slot>setEnabled(bool)</slot>
112   <hints>
113    <hint type="sourcelabel">
114     <x>152</x>
115     <y>43</y>
116    </hint>
117    <hint type="destinationlabel">
118     <x>152</x>
119     <y>49</y>
120    </hint>
121   </hints>
122  </connection>
123 </connections>
124 <buttongroups>
125  <buttongroup name="buttonGroup"/>
126 </buttongroups>
127</ui>