mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 17:58:43 -05:00
LibbladeRF2: migrate UI from bladerf to bladerf1
This commit is contained in:
parent
94837dbd51
commit
e130c2213f
@ -19,7 +19,7 @@ set(bladerfoutput_HEADERS
|
|||||||
)
|
)
|
||||||
|
|
||||||
set(bladerfoutput_FORMS
|
set(bladerfoutput_FORMS
|
||||||
bladerfoutputgui.ui
|
bladerf1outputgui.ui
|
||||||
)
|
)
|
||||||
|
|
||||||
if (BUILD_DEBIAN)
|
if (BUILD_DEBIAN)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<ui version="4.0">
|
<ui version="4.0">
|
||||||
<class>BladerfOutputGui</class>
|
<class>Bladerf1OutputGui</class>
|
||||||
<widget class="QWidget" name="BladerfOutputGui">
|
<widget class="QWidget" name="Bladerf1OutputGui">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
@ -29,7 +29,7 @@
|
|||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>BladeRF</string>
|
<string>BladeRF1</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
<property name="spacing">
|
<property name="spacing">
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#include <libbladeRF.h>
|
#include <libbladeRF.h>
|
||||||
|
|
||||||
#include "ui_bladerfoutputgui.h"
|
#include "ui_bladerf1outputgui.h"
|
||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
@ -28,11 +28,9 @@
|
|||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
#include "bladerfoutputgui.h"
|
#include "bladerfoutputgui.h"
|
||||||
|
|
||||||
#include "../../../devices/bladerf1/devicebladerf1values.h"
|
|
||||||
|
|
||||||
BladerfOutputGui::BladerfOutputGui(DeviceUISet *deviceUISet, QWidget* parent) :
|
BladerfOutputGui::BladerfOutputGui(DeviceUISet *deviceUISet, QWidget* parent) :
|
||||||
QWidget(parent),
|
QWidget(parent),
|
||||||
ui(new Ui::BladerfOutputGui),
|
ui(new Ui::Bladerf1OutputGui),
|
||||||
m_deviceUISet(deviceUISet),
|
m_deviceUISet(deviceUISet),
|
||||||
m_doApplySettings(true),
|
m_doApplySettings(true),
|
||||||
m_forceSettings(true),
|
m_forceSettings(true),
|
||||||
|
@ -29,7 +29,7 @@ class DeviceSampleSink;
|
|||||||
class DeviceUISet;
|
class DeviceUISet;
|
||||||
|
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class BladerfOutputGui;
|
class Bladerf1OutputGui;
|
||||||
}
|
}
|
||||||
|
|
||||||
class BladerfOutputGui : public QWidget, public PluginInstanceGUI {
|
class BladerfOutputGui : public QWidget, public PluginInstanceGUI {
|
||||||
@ -52,7 +52,7 @@ public:
|
|||||||
virtual bool handleMessage(const Message& message);
|
virtual bool handleMessage(const Message& message);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::BladerfOutputGui* ui;
|
Ui::Bladerf1OutputGui* ui;
|
||||||
|
|
||||||
DeviceUISet* m_deviceUISet;
|
DeviceUISet* m_deviceUISet;
|
||||||
bool m_doApplySettings;
|
bool m_doApplySettings;
|
||||||
|
@ -19,7 +19,7 @@ set(bladerfinput_HEADERS
|
|||||||
)
|
)
|
||||||
|
|
||||||
set(bladerfinput_FORMS
|
set(bladerfinput_FORMS
|
||||||
bladerfinputgui.ui
|
bladerf1inputgui.ui
|
||||||
)
|
)
|
||||||
|
|
||||||
if (BUILD_DEBIAN)
|
if (BUILD_DEBIAN)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<ui version="4.0">
|
<ui version="4.0">
|
||||||
<class>BladerfInputGui</class>
|
<class>Bladerf1InputGui</class>
|
||||||
<widget class="QWidget" name="BladerfInputGui">
|
<widget class="QWidget" name="Bladerf1InputGui">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
@ -29,7 +29,7 @@
|
|||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>BladeRF</string>
|
<string>BladeRF1</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
<property name="spacing">
|
<property name="spacing">
|
@ -14,14 +14,14 @@
|
|||||||
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
|
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
|
||||||
///////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "../bladerfinput/bladerfinputgui.h"
|
#include "bladerfinputgui.h"
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
|
|
||||||
#include <libbladeRF.h>
|
#include <libbladeRF.h>
|
||||||
|
|
||||||
#include "ui_bladerfinputgui.h"
|
#include "ui_bladerf1inputgui.h"
|
||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
BladerfInputGui::BladerfInputGui(DeviceUISet *deviceUISet, QWidget* parent) :
|
BladerfInputGui::BladerfInputGui(DeviceUISet *deviceUISet, QWidget* parent) :
|
||||||
QWidget(parent),
|
QWidget(parent),
|
||||||
ui(new Ui::BladerfInputGui),
|
ui(new Ui::Bladerf1InputGui),
|
||||||
m_deviceUISet(deviceUISet),
|
m_deviceUISet(deviceUISet),
|
||||||
m_forceSettings(true),
|
m_forceSettings(true),
|
||||||
m_doApplySettings(true),
|
m_doApplySettings(true),
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
class DeviceUISet;
|
class DeviceUISet;
|
||||||
|
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class BladerfInputGui;
|
class Bladerf1InputGui;
|
||||||
}
|
}
|
||||||
|
|
||||||
class BladerfInputGui : public QWidget, public PluginInstanceGUI {
|
class BladerfInputGui : public QWidget, public PluginInstanceGUI {
|
||||||
@ -51,7 +51,7 @@ public:
|
|||||||
virtual bool handleMessage(const Message& message);
|
virtual bool handleMessage(const Message& message);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::BladerfInputGui* ui;
|
Ui::Bladerf1InputGui* ui;
|
||||||
|
|
||||||
DeviceUISet* m_deviceUISet;
|
DeviceUISet* m_deviceUISet;
|
||||||
bool m_forceSettings;
|
bool m_forceSettings;
|
||||||
|
Loading…
Reference in New Issue
Block a user