2021-02-15 Fred Gleason <fredg@paravelsystems.com>

* Removed the 'Q3RangeControl' dependency from 'RDEditAudio'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-02-15 15:55:47 -05:00
parent 12c322aad3
commit 1ae7c84224
3 changed files with 5 additions and 3 deletions

View File

@ -21145,3 +21145,5 @@
* Reverted the removal of 'Q3SocketDevice' from 'RDCae'.
2021-02-15 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'Q3PopupMenu' dependency from 'RDEditAudio'.
2021-02-15 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'Q3RangeControl' dependency from 'RDEditAudio'.

View File

@ -586,7 +586,7 @@ RDEditAudio::RDEditAudio(RDCart *cart,QString cut_name,int card,
//
// Cut Gain Control
//
edit_gain_control=new Q3RangeControl();
edit_gain_control=new QAbstractSlider(this);
edit_gain_control->setRange(-1000,1000);
edit_gain_control->setSteps(10,10);
edit_gain_edit=new RDMarkerEdit(this);

View File

@ -22,8 +22,8 @@
#define RDEDIT_AUDIO_H
#include <q3pointarray.h>
#include <q3rangecontrol.h>
#include <QAbstractSlider>
#include <QAction>
#include <QCheckBox>
#include <QMenu>
@ -184,7 +184,7 @@ class RDEditAudio : public RDDialog
RDTransportButton *edit_pause_button;
RDTransportButton *edit_stop_button;
RDStereoMeter *edit_meter;
Q3RangeControl *edit_gain_control;
QAbstractSlider *edit_gain_control;
RDMarkerEdit *edit_gain_edit;
QTimer *edit_gain_timer;
QTimer *edit_meter_timer;