mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-10 16:43:35 +02:00
2021-03-22 Fred Gleason <fredg@paravelsystems.com>
* Added 'L' and 'R' channel labels when viewing a stereo cut to the waveform display in 'RDMarkerDialog'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -21330,3 +21330,6 @@
|
||||
2021-03-22 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Implemented movable reference lines for 'Cut Gain' adjustments
|
||||
in 'RDMarkerDialog'.
|
||||
2021-03-22 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Added 'L' and 'R' channel labels when viewing a stereo cut to the
|
||||
waveform display in 'RDMarkerDialog'.
|
||||
|
@@ -350,7 +350,7 @@ RDMarkerHandle::PointerType RDMarkerHandle::pointerType(RDMarkerHandle::PointerR
|
||||
|
||||
|
||||
RDMarkerView::RDMarkerView(int width,int height,QWidget *parent)
|
||||
: QWidget(parent)
|
||||
: RDWidget(parent)
|
||||
{
|
||||
d_width=width;
|
||||
d_height=height;
|
||||
@@ -1115,6 +1115,23 @@ void RDMarkerView::WriteWave()
|
||||
}
|
||||
SetReferenceLines();
|
||||
|
||||
//
|
||||
// Channel Labels
|
||||
//
|
||||
if(d_channels==2) {
|
||||
QGraphicsTextItem *t_item=new QGraphicsTextItem("L");
|
||||
t_item->setFont(QFont(font().family(),24,QFont::Normal));
|
||||
t_item->setDefaultTextColor(Qt::red);
|
||||
d_scene->addItem(t_item);
|
||||
t_item->setPos(LEFT_MARGIN,-5);
|
||||
|
||||
t_item=new QGraphicsTextItem("R");
|
||||
t_item->setFont(QFont(font().family(),24,QFont::Normal));
|
||||
t_item->setDefaultTextColor(Qt::red);
|
||||
d_scene->addItem(t_item);
|
||||
t_item->setPos(LEFT_MARGIN,d_scene->height()/2-5);
|
||||
}
|
||||
|
||||
//
|
||||
// Markers
|
||||
//
|
||||
|
@@ -31,6 +31,7 @@
|
||||
|
||||
#include <rdcut.h>
|
||||
#include <rdwavefactory.h>
|
||||
#include <rdwidget.h>
|
||||
|
||||
class RDMarkerHandle : public QGraphicsPolygonItem
|
||||
{
|
||||
@@ -77,7 +78,7 @@ class RDMarkerHandle : public QGraphicsPolygonItem
|
||||
};
|
||||
|
||||
|
||||
class RDMarkerView : public QWidget
|
||||
class RDMarkerView : public RDWidget
|
||||
{
|
||||
Q_OBJECT;
|
||||
public:
|
||||
|
Reference in New Issue
Block a user