2021-03-22 Fred Gleason <fredg@paravelsystems.com>

* Implemented movable reference lines for 'Cut Gain' adjustments
	in 'RDMarkerDialog'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-03-22 11:05:19 -04:00
parent 757b97ff99
commit e1d3a756cc
4 changed files with 40 additions and 4 deletions

View File

@@ -145,6 +145,7 @@ class RDMarkerView : public QWidget
void DrawMarker(RDMarkerHandle::PointerType type,
RDMarkerHandle::PointerRole role,int handle_pos);
void RemoveMarker(RDMarkerHandle::PointerRole role);
void SetReferenceLines();
QGraphicsView *d_view;
QGraphicsScene *d_scene;
unsigned d_cart_number;
@@ -180,6 +181,7 @@ class RDMarkerView : public QWidget
bool d_marker_menu_used;
RDMarkerHandle::PointerRole d_selected_markers[2];
int d_wheel_angle;
QGraphicsLineItem *d_reference_line_items[2][2];
};