mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-11-03 21:20:31 -05:00 
			
		
		
		
	UDP Source: new GUI items
This commit is contained in:
		
							parent
							
								
									f297298adb
								
							
						
					
					
						commit
						eeecaf5d3f
					
				@ -172,7 +172,6 @@ UDPSrcGUI::UDPSrcGUI(PluginAPI* pluginAPI, QWidget* parent) :
 | 
				
			|||||||
	m_doApplySettings(true)
 | 
						m_doApplySettings(true)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	ui->setupUi(this);
 | 
						ui->setupUi(this);
 | 
				
			||||||
	ui->connectedClientsBox->hide();
 | 
					 | 
				
			||||||
	connect(this, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
 | 
						connect(this, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
 | 
				
			||||||
	connect(this, SIGNAL(menuDoubleClickEvent()), this, SLOT(onMenuDoubleClicked()));
 | 
						connect(this, SIGNAL(menuDoubleClickEvent()), this, SLOT(onMenuDoubleClicked()));
 | 
				
			||||||
	setAttribute(Qt::WA_DeleteOnClose, true);
 | 
						setAttribute(Qt::WA_DeleteOnClose, true);
 | 
				
			||||||
 | 
				
			|||||||
@ -6,8 +6,8 @@
 | 
				
			|||||||
   <rect>
 | 
					   <rect>
 | 
				
			||||||
    <x>0</x>
 | 
					    <x>0</x>
 | 
				
			||||||
    <y>0</y>
 | 
					    <y>0</y>
 | 
				
			||||||
    <width>294</width>
 | 
					    <width>257</width>
 | 
				
			||||||
    <height>434</height>
 | 
					    <height>324</height>
 | 
				
			||||||
   </rect>
 | 
					   </rect>
 | 
				
			||||||
  </property>
 | 
					  </property>
 | 
				
			||||||
  <property name="windowTitle">
 | 
					  <property name="windowTitle">
 | 
				
			||||||
@ -92,7 +92,7 @@
 | 
				
			|||||||
      </property>
 | 
					      </property>
 | 
				
			||||||
     </widget>
 | 
					     </widget>
 | 
				
			||||||
    </item>
 | 
					    </item>
 | 
				
			||||||
    <item row="7" column="1">
 | 
					    <item row="6" column="1">
 | 
				
			||||||
     <layout class="QHBoxLayout" name="BoostLayout">
 | 
					     <layout class="QHBoxLayout" name="BoostLayout">
 | 
				
			||||||
      <item>
 | 
					      <item>
 | 
				
			||||||
       <widget class="QLabel" name="boostLabel">
 | 
					       <widget class="QLabel" name="boostLabel">
 | 
				
			||||||
@ -103,6 +103,9 @@
 | 
				
			|||||||
      </item>
 | 
					      </item>
 | 
				
			||||||
      <item>
 | 
					      <item>
 | 
				
			||||||
       <widget class="QSlider" name="boost">
 | 
					       <widget class="QSlider" name="boost">
 | 
				
			||||||
 | 
					        <property name="toolTip">
 | 
				
			||||||
 | 
					         <string>Signal boost factor</string>
 | 
				
			||||||
 | 
					        </property>
 | 
				
			||||||
        <property name="maximum">
 | 
					        <property name="maximum">
 | 
				
			||||||
         <number>3</number>
 | 
					         <number>3</number>
 | 
				
			||||||
        </property>
 | 
					        </property>
 | 
				
			||||||
@ -123,6 +126,43 @@
 | 
				
			|||||||
      </item>
 | 
					      </item>
 | 
				
			||||||
     </layout>
 | 
					     </layout>
 | 
				
			||||||
    </item>
 | 
					    </item>
 | 
				
			||||||
 | 
					    <item row="7" column="1">
 | 
				
			||||||
 | 
					     <layout class="QHBoxLayout" name="VolumeLayout">
 | 
				
			||||||
 | 
					      <item>
 | 
				
			||||||
 | 
					       <widget class="QLabel" name="volumeLabel">
 | 
				
			||||||
 | 
					        <property name="text">
 | 
				
			||||||
 | 
					         <string>Vol</string>
 | 
				
			||||||
 | 
					        </property>
 | 
				
			||||||
 | 
					       </widget>
 | 
				
			||||||
 | 
					      </item>
 | 
				
			||||||
 | 
					      <item>
 | 
				
			||||||
 | 
					       <widget class="QSlider" name="volume">
 | 
				
			||||||
 | 
					        <property name="toolTip">
 | 
				
			||||||
 | 
					         <string>Audio volume</string>
 | 
				
			||||||
 | 
					        </property>
 | 
				
			||||||
 | 
					        <property name="maximum">
 | 
				
			||||||
 | 
					         <number>100</number>
 | 
				
			||||||
 | 
					        </property>
 | 
				
			||||||
 | 
					        <property name="pageStep">
 | 
				
			||||||
 | 
					         <number>1</number>
 | 
				
			||||||
 | 
					        </property>
 | 
				
			||||||
 | 
					        <property name="value">
 | 
				
			||||||
 | 
					         <number>20</number>
 | 
				
			||||||
 | 
					        </property>
 | 
				
			||||||
 | 
					        <property name="orientation">
 | 
				
			||||||
 | 
					         <enum>Qt::Horizontal</enum>
 | 
				
			||||||
 | 
					        </property>
 | 
				
			||||||
 | 
					       </widget>
 | 
				
			||||||
 | 
					      </item>
 | 
				
			||||||
 | 
					      <item>
 | 
				
			||||||
 | 
					       <widget class="QLabel" name="volimeText">
 | 
				
			||||||
 | 
					        <property name="text">
 | 
				
			||||||
 | 
					         <string>20</string>
 | 
				
			||||||
 | 
					        </property>
 | 
				
			||||||
 | 
					       </widget>
 | 
				
			||||||
 | 
					      </item>
 | 
				
			||||||
 | 
					     </layout>
 | 
				
			||||||
 | 
					    </item>
 | 
				
			||||||
    <item row="0" column="0">
 | 
					    <item row="0" column="0">
 | 
				
			||||||
     <layout class="QHBoxLayout" name="DeltaFrequencyLayout">
 | 
					     <layout class="QHBoxLayout" name="DeltaFrequencyLayout">
 | 
				
			||||||
      <item>
 | 
					      <item>
 | 
				
			||||||
@ -264,6 +304,9 @@
 | 
				
			|||||||
      </item>
 | 
					      </item>
 | 
				
			||||||
      <item>
 | 
					      <item>
 | 
				
			||||||
       <widget class="QLineEdit" name="udpPort">
 | 
					       <widget class="QLineEdit" name="udpPort">
 | 
				
			||||||
 | 
					        <property name="toolTip">
 | 
				
			||||||
 | 
					         <string>Destination port</string>
 | 
				
			||||||
 | 
					        </property>
 | 
				
			||||||
        <property name="text">
 | 
					        <property name="text">
 | 
				
			||||||
         <string>9999</string>
 | 
					         <string>9999</string>
 | 
				
			||||||
        </property>
 | 
					        </property>
 | 
				
			||||||
@ -271,8 +314,42 @@
 | 
				
			|||||||
      </item>
 | 
					      </item>
 | 
				
			||||||
     </layout>
 | 
					     </layout>
 | 
				
			||||||
    </item>
 | 
					    </item>
 | 
				
			||||||
 | 
					    <item row="6" column="0">
 | 
				
			||||||
 | 
					     <layout class="QHBoxLayout" name="AudioPortLayout">
 | 
				
			||||||
 | 
					      <item>
 | 
				
			||||||
 | 
					       <widget class="QLabel" name="audioPortlabel">
 | 
				
			||||||
 | 
					        <property name="text">
 | 
				
			||||||
 | 
					         <string>Audio</string>
 | 
				
			||||||
 | 
					        </property>
 | 
				
			||||||
 | 
					       </widget>
 | 
				
			||||||
 | 
					      </item>
 | 
				
			||||||
 | 
					      <item>
 | 
				
			||||||
 | 
					       <widget class="QCheckBox" name="checkBox">
 | 
				
			||||||
 | 
					        <property name="toolTip">
 | 
				
			||||||
 | 
					         <string>Activate audio</string>
 | 
				
			||||||
 | 
					        </property>
 | 
				
			||||||
 | 
					        <property name="text">
 | 
				
			||||||
 | 
					         <string/>
 | 
				
			||||||
 | 
					        </property>
 | 
				
			||||||
 | 
					       </widget>
 | 
				
			||||||
 | 
					      </item>
 | 
				
			||||||
 | 
					      <item>
 | 
				
			||||||
 | 
					       <widget class="QLineEdit" name="audioPort">
 | 
				
			||||||
 | 
					        <property name="toolTip">
 | 
				
			||||||
 | 
					         <string>Audio input port</string>
 | 
				
			||||||
 | 
					        </property>
 | 
				
			||||||
 | 
					        <property name="text">
 | 
				
			||||||
 | 
					         <string>9998</string>
 | 
				
			||||||
 | 
					        </property>
 | 
				
			||||||
 | 
					       </widget>
 | 
				
			||||||
 | 
					      </item>
 | 
				
			||||||
 | 
					     </layout>
 | 
				
			||||||
 | 
					    </item>
 | 
				
			||||||
    <item row="5" column="1">
 | 
					    <item row="5" column="1">
 | 
				
			||||||
     <widget class="QLineEdit" name="rfBandwidth">
 | 
					     <widget class="QLineEdit" name="rfBandwidth">
 | 
				
			||||||
 | 
					      <property name="toolTip">
 | 
				
			||||||
 | 
					       <string>Signal bandwidth</string>
 | 
				
			||||||
 | 
					      </property>
 | 
				
			||||||
      <property name="text">
 | 
					      <property name="text">
 | 
				
			||||||
       <string>32000</string>
 | 
					       <string>32000</string>
 | 
				
			||||||
      </property>
 | 
					      </property>
 | 
				
			||||||
@ -297,6 +374,9 @@
 | 
				
			|||||||
    </item>
 | 
					    </item>
 | 
				
			||||||
    <item row="2" column="1">
 | 
					    <item row="2" column="1">
 | 
				
			||||||
     <widget class="QLineEdit" name="sampleRate">
 | 
					     <widget class="QLineEdit" name="sampleRate">
 | 
				
			||||||
 | 
					      <property name="toolTip">
 | 
				
			||||||
 | 
					       <string>Samples rate</string>
 | 
				
			||||||
 | 
					      </property>
 | 
				
			||||||
      <property name="text">
 | 
					      <property name="text">
 | 
				
			||||||
       <string>48000</string>
 | 
					       <string>48000</string>
 | 
				
			||||||
      </property>
 | 
					      </property>
 | 
				
			||||||
@ -304,6 +384,9 @@
 | 
				
			|||||||
    </item>
 | 
					    </item>
 | 
				
			||||||
    <item row="2" column="0">
 | 
					    <item row="2" column="0">
 | 
				
			||||||
     <widget class="QComboBox" name="sampleFormat">
 | 
					     <widget class="QComboBox" name="sampleFormat">
 | 
				
			||||||
 | 
					      <property name="toolTip">
 | 
				
			||||||
 | 
					       <string>Samples format</string>
 | 
				
			||||||
 | 
					      </property>
 | 
				
			||||||
      <property name="currentIndex">
 | 
					      <property name="currentIndex">
 | 
				
			||||||
       <number>2</number>
 | 
					       <number>2</number>
 | 
				
			||||||
      </property>
 | 
					      </property>
 | 
				
			||||||
@ -335,6 +418,9 @@
 | 
				
			|||||||
      </item>
 | 
					      </item>
 | 
				
			||||||
      <item>
 | 
					      <item>
 | 
				
			||||||
       <widget class="QLineEdit" name="udpAddress">
 | 
					       <widget class="QLineEdit" name="udpAddress">
 | 
				
			||||||
 | 
					        <property name="toolTip">
 | 
				
			||||||
 | 
					         <string>Destination address</string>
 | 
				
			||||||
 | 
					        </property>
 | 
				
			||||||
        <property name="text">
 | 
					        <property name="text">
 | 
				
			||||||
         <string>127.0.0.1</string>
 | 
					         <string>127.0.0.1</string>
 | 
				
			||||||
        </property>
 | 
					        </property>
 | 
				
			||||||
@ -380,60 +466,6 @@
 | 
				
			|||||||
    </item>
 | 
					    </item>
 | 
				
			||||||
   </layout>
 | 
					   </layout>
 | 
				
			||||||
  </widget>
 | 
					  </widget>
 | 
				
			||||||
  <widget class="QWidget" name="connectedClientsBox" native="true">
 | 
					 | 
				
			||||||
   <property name="geometry">
 | 
					 | 
				
			||||||
    <rect>
 | 
					 | 
				
			||||||
     <x>15</x>
 | 
					 | 
				
			||||||
     <y>330</y>
 | 
					 | 
				
			||||||
     <width>274</width>
 | 
					 | 
				
			||||||
     <height>101</height>
 | 
					 | 
				
			||||||
    </rect>
 | 
					 | 
				
			||||||
   </property>
 | 
					 | 
				
			||||||
   <property name="windowTitle">
 | 
					 | 
				
			||||||
    <string>Connected Clients (0)</string>
 | 
					 | 
				
			||||||
   </property>
 | 
					 | 
				
			||||||
   <layout class="QVBoxLayout" name="verticalLayout">
 | 
					 | 
				
			||||||
    <property name="spacing">
 | 
					 | 
				
			||||||
     <number>3</number>
 | 
					 | 
				
			||||||
    </property>
 | 
					 | 
				
			||||||
    <property name="leftMargin">
 | 
					 | 
				
			||||||
     <number>2</number>
 | 
					 | 
				
			||||||
    </property>
 | 
					 | 
				
			||||||
    <property name="topMargin">
 | 
					 | 
				
			||||||
     <number>2</number>
 | 
					 | 
				
			||||||
    </property>
 | 
					 | 
				
			||||||
    <property name="rightMargin">
 | 
					 | 
				
			||||||
     <number>2</number>
 | 
					 | 
				
			||||||
    </property>
 | 
					 | 
				
			||||||
    <property name="bottomMargin">
 | 
					 | 
				
			||||||
     <number>2</number>
 | 
					 | 
				
			||||||
    </property>
 | 
					 | 
				
			||||||
    <item>
 | 
					 | 
				
			||||||
     <widget class="QTreeWidget" name="connections">
 | 
					 | 
				
			||||||
      <property name="maximumSize">
 | 
					 | 
				
			||||||
       <size>
 | 
					 | 
				
			||||||
        <width>400</width>
 | 
					 | 
				
			||||||
        <height>100</height>
 | 
					 | 
				
			||||||
       </size>
 | 
					 | 
				
			||||||
      </property>
 | 
					 | 
				
			||||||
      <property name="rootIsDecorated">
 | 
					 | 
				
			||||||
       <bool>false</bool>
 | 
					 | 
				
			||||||
      </property>
 | 
					 | 
				
			||||||
      <property name="itemsExpandable">
 | 
					 | 
				
			||||||
       <bool>false</bool>
 | 
					 | 
				
			||||||
      </property>
 | 
					 | 
				
			||||||
      <attribute name="headerVisible">
 | 
					 | 
				
			||||||
       <bool>false</bool>
 | 
					 | 
				
			||||||
      </attribute>
 | 
					 | 
				
			||||||
      <column>
 | 
					 | 
				
			||||||
       <property name="text">
 | 
					 | 
				
			||||||
        <string>IP:Port</string>
 | 
					 | 
				
			||||||
       </property>
 | 
					 | 
				
			||||||
      </column>
 | 
					 | 
				
			||||||
     </widget>
 | 
					 | 
				
			||||||
    </item>
 | 
					 | 
				
			||||||
   </layout>
 | 
					 | 
				
			||||||
  </widget>
 | 
					 | 
				
			||||||
 </widget>
 | 
					 </widget>
 | 
				
			||||||
 <customwidgets>
 | 
					 <customwidgets>
 | 
				
			||||||
  <customwidget>
 | 
					  <customwidget>
 | 
				
			||||||
@ -467,7 +499,6 @@
 | 
				
			|||||||
  <tabstop>sampleRate</tabstop>
 | 
					  <tabstop>sampleRate</tabstop>
 | 
				
			||||||
  <tabstop>rfBandwidth</tabstop>
 | 
					  <tabstop>rfBandwidth</tabstop>
 | 
				
			||||||
  <tabstop>applyBtn</tabstop>
 | 
					  <tabstop>applyBtn</tabstop>
 | 
				
			||||||
  <tabstop>connections</tabstop>
 | 
					 | 
				
			||||||
 </tabstops>
 | 
					 </tabstops>
 | 
				
			||||||
 <resources>
 | 
					 <resources>
 | 
				
			||||||
  <include location="../../../sdrbase/resources/res.qrc"/>
 | 
					  <include location="../../../sdrbase/resources/res.qrc"/>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user