mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-01 23:35:55 +00:00
532 lines
15 KiB
XML
532 lines
15 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>400</width>
|
|
<height>483</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>MainWindow</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralWidget">
|
|
<widget class="QWidget" name="gridLayoutWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>50</x>
|
|
<y>30</y>
|
|
<width>306</width>
|
|
<height>191</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout" columnminimumwidth="0,0">
|
|
<property name="sizeConstraint">
|
|
<enum>QLayout::SetDefaultConstraint</enum>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>10</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>10</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>10</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>10</number>
|
|
</property>
|
|
<item row="0" column="0">
|
|
<widget class="QPushButton" name="newHostBtn">
|
|
<property name="cursor">
|
|
<cursorShape>PointingHandCursor</cursorShape>
|
|
</property>
|
|
<property name="text">
|
|
<string>Add New Host</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="resources.qrc">
|
|
<normaloff>:/res/icon128.png</normaloff>:/res/icon128.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QPushButton" name="dummyHost">
|
|
<property name="palette">
|
|
<palette>
|
|
<active>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Button">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>50</red>
|
|
<green>166</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Light">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>178</red>
|
|
<green>222</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Midlight">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>114</red>
|
|
<green>194</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Dark">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>25</red>
|
|
<green>83</green>
|
|
<blue>127</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Mid">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>33</red>
|
|
<green>110</green>
|
|
<blue>170</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Text">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="BrightText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="ButtonText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>50</red>
|
|
<green>166</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Shadow">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="AlternateBase">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>152</red>
|
|
<green>210</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="ToolTipBase">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>220</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="ToolTipText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</active>
|
|
<inactive>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Button">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>50</red>
|
|
<green>166</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Light">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>178</red>
|
|
<green>222</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Midlight">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>114</red>
|
|
<green>194</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Dark">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>25</red>
|
|
<green>83</green>
|
|
<blue>127</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Mid">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>33</red>
|
|
<green>110</green>
|
|
<blue>170</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Text">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="BrightText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="ButtonText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>50</red>
|
|
<green>166</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Shadow">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="AlternateBase">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>152</red>
|
|
<green>210</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="ToolTipBase">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>220</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="ToolTipText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</inactive>
|
|
<disabled>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>25</red>
|
|
<green>83</green>
|
|
<blue>127</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Button">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>50</red>
|
|
<green>166</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Light">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>178</red>
|
|
<green>222</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Midlight">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>114</red>
|
|
<green>194</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Dark">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>25</red>
|
|
<green>83</green>
|
|
<blue>127</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Mid">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>33</red>
|
|
<green>110</green>
|
|
<blue>170</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Text">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>25</red>
|
|
<green>83</green>
|
|
<blue>127</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="BrightText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="ButtonText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>25</red>
|
|
<green>83</green>
|
|
<blue>127</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>50</red>
|
|
<green>166</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>50</red>
|
|
<green>166</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Shadow">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="AlternateBase">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>50</red>
|
|
<green>166</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="ToolTipBase">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>220</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="ToolTipText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</disabled>
|
|
</palette>
|
|
</property>
|
|
<property name="cursor">
|
|
<cursorShape>PointingHandCursor</cursorShape>
|
|
</property>
|
|
<property name="autoFillBackground">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>dummy host 1</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="resources.qrc">
|
|
<normaloff>:/res/ic_tv_white_48px.svg</normaloff>:/res/ic_tv_white_48px.svg</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menuBar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>400</width>
|
|
<height>22</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QMenu" name="menuFile">
|
|
<property name="title">
|
|
<string>File</string>
|
|
</property>
|
|
<addaction name="actionSettings"/>
|
|
<addaction name="actionGamepad_Mapping"/>
|
|
<addaction name="actionExit"/>
|
|
</widget>
|
|
<addaction name="menuFile"/>
|
|
</widget>
|
|
<action name="actionSettings">
|
|
<property name="text">
|
|
<string>Settings</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionGamepad_Mapping">
|
|
<property name="text">
|
|
<string>Gamepad Mapping</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionExit">
|
|
<property name="text">
|
|
<string>Exit</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<layoutdefault spacing="6" margin="11"/>
|
|
<resources>
|
|
<include location="resources.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|