319 lines
8.8 KiB
XML
319 lines
8.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>ScreenStreamer</class>
|
|
<widget class="QMainWindow" name="ScreenStreamer">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>587</width>
|
|
<height>296</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>ScreenStreamer</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<widget class="QWidget" name="horizontalLayoutWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>571</width>
|
|
<height>293</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<property name="sizeConstraint">
|
|
<enum>QLayout::SetMaximumSize</enum>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>9</number>
|
|
</property>
|
|
<item row="0" column="1">
|
|
<widget class="QComboBox" name="protocolSelect">
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">TCP</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">UDP</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="protocolLabel">
|
|
<property name="text">
|
|
<string>Protocol</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" colspan="2">
|
|
<widget class="QGroupBox" name="streamBox">
|
|
<property name="title">
|
|
<string>Stream</string>
|
|
</property>
|
|
<layout class="QFormLayout" name="formLayout">
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="displayLabel">
|
|
<property name="text">
|
|
<string>Display</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QComboBox" name="displaySelect"/>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="RecieverLabel">
|
|
<property name="text">
|
|
<string>Reciever</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QLineEdit" name="sendto">
|
|
<property name="text">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string notr="true">127.0.0.1</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="0" colspan="2">
|
|
<widget class="QPushButton" name="streamBtn">
|
|
<property name="text">
|
|
<string>Stream</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="audioSourceLabel">
|
|
<property name="text">
|
|
<string>Audio Source</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QComboBox" name="audioSource"/>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<widget class="QLabel" name="streamPortLabel">
|
|
<property name="text">
|
|
<string>Port</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<widget class="QSpinBox" name="streamPort">
|
|
<property name="buttonSymbols">
|
|
<enum>QAbstractSpinBox::PlusMinus</enum>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>65535</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>1234</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Video Codec</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QComboBox" name="videoCodec">
|
|
<property name="currentText">
|
|
<string notr="true">h264_nvenc</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">h264_nvenc</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">libx264</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">h264_vaapi</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">hevc_nvenc</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">libx265</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">hevc_vaapi</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">vp8_vaapi</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">vp9_vaapi</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">libvpx-vp9</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="QGroupBox" name="recieveBox">
|
|
<property name="title">
|
|
<string>Recieve</string>
|
|
</property>
|
|
<layout class="QFormLayout" name="formLayout_2">
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="listenAddrLabel">
|
|
<property name="text">
|
|
<string>ListenAddress</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QLineEdit" name="listenAddr">
|
|
<property name="text">
|
|
<string notr="true">0.0.0.0</string>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string notr="true">0.0.0.0</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0" colspan="2">
|
|
<widget class="QPushButton" name="recieveBtn">
|
|
<property name="text">
|
|
<string>Recieve</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0" colspan="2">
|
|
<widget class="QCheckBox" name="disableAudio">
|
|
<property name="text">
|
|
<string>Disable Audio</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="listenPortLabel">
|
|
<property name="text">
|
|
<string>Port</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QSpinBox" name="listenPort">
|
|
<property name="buttonSymbols">
|
|
<enum>QAbstractSpinBox::PlusMinus</enum>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>65535</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>1234</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menubar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>587</width>
|
|
<height>24</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
</widget>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>streamBtn</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>ScreenStreamer</receiver>
|
|
<slot>stream_pressed()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>130</x>
|
|
<y>181</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>141</x>
|
|
<y>269</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>recieveBtn</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>ScreenStreamer</receiver>
|
|
<slot>recieve_pressed()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>392</x>
|
|
<y>152</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>441</x>
|
|
<y>270</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
<slots>
|
|
<slot>stream_pressed()</slot>
|
|
<slot>recieve_pressed()</slot>
|
|
</slots>
|
|
</ui>
|