mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 17:13:47 +02:00
2021-03-25 Fred Gleason <fredg@paravelsystems.com>
* Modified rdcatch(1) to use 'RDMarkerDialog' instead of 'RDEditAudio'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -21349,3 +21349,6 @@
|
|||||||
available 'In' and 'Out' possibilities.
|
available 'In' and 'Out' possibilities.
|
||||||
2021-03-25 Fred Gleason <fredg@paravelsystems.com>
|
2021-03-25 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Cleaned up 'RDMarkerDialog', 'RDMarkerPlayer' and 'RDMarkerView'.
|
* Cleaned up 'RDMarkerDialog', 'RDMarkerPlayer' and 'RDMarkerView'.
|
||||||
|
2021-03-25 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Modified rdcatch(1) to use 'RDMarkerDialog' instead of
|
||||||
|
'RDEditAudio'.
|
||||||
|
@@ -35,6 +35,11 @@ CatchTableView::CatchTableView(QWidget *parent)
|
|||||||
d_cue_card=rda->station()->cueCard();
|
d_cue_card=rda->station()->cueCard();
|
||||||
d_cue_port=rda->station()->cuePort();
|
d_cue_port=rda->station()->cuePort();
|
||||||
|
|
||||||
|
//
|
||||||
|
// Dialogs
|
||||||
|
//
|
||||||
|
d_marker_dialog=new RDMarkerDialog("RDCatch",d_cue_card,d_cue_port,this);
|
||||||
|
|
||||||
//
|
//
|
||||||
// Mouse menu
|
// Mouse menu
|
||||||
//
|
//
|
||||||
@@ -68,12 +73,12 @@ void CatchTableView::editAudioMenuData()
|
|||||||
RecordListModel *mod=(RecordListModel *)model();
|
RecordListModel *mod=(RecordListModel *)model();
|
||||||
QString cutname=mod->cutName(mod->index(d_mouse_row,0));
|
QString cutname=mod->cutName(mod->index(d_mouse_row,0));
|
||||||
RDCart *rdcart=new RDCart(RDCut::cartNumber(cutname));
|
RDCart *rdcart=new RDCart(RDCut::cartNumber(cutname));
|
||||||
RDEditAudio *edit=
|
|
||||||
new RDEditAudio(rdcart,cutname,d_cue_card,d_cue_port,1500,-400,this);
|
if(d_marker_dialog->
|
||||||
if(edit->exec()!=-1) {
|
exec(RDCut::cartNumber(cutname),RDCut::cutNumber(cutname))) {
|
||||||
rdcart->updateLength();
|
rdcart->updateLength();
|
||||||
}
|
}
|
||||||
delete edit;
|
|
||||||
delete rdcart;
|
delete rdcart;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -24,6 +24,7 @@
|
|||||||
#include <QAction>
|
#include <QAction>
|
||||||
#include <QMenu>
|
#include <QMenu>
|
||||||
|
|
||||||
|
#include <rdmarkerdialog.h>
|
||||||
#include <rdtableview.h>
|
#include <rdtableview.h>
|
||||||
|
|
||||||
class CatchTableView : public RDTableView
|
class CatchTableView : public RDTableView
|
||||||
@@ -48,6 +49,7 @@ class CatchTableView : public RDTableView
|
|||||||
int d_mouse_row;
|
int d_mouse_row;
|
||||||
int d_cue_card;
|
int d_cue_card;
|
||||||
int d_cue_port;
|
int d_cue_port;
|
||||||
|
RDMarkerDialog *d_marker_dialog;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user