mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-17 16:11:12 +02:00
2021-06-22 Fred Gleason <fredg@paravelsystems.com>
* Broke out voicetracker functionality from rdlogedit(1) into 'RDTrackerEditDialog', 'RDTrackerModel', 'RDTrackerTableView' and 'RDTrackerWidget' classes. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -28,11 +28,12 @@
|
||||
#include <rdprofile.h>
|
||||
#include <rdreport.h>
|
||||
#include <rdtextfile.h>
|
||||
#include <rdtrackerwidget.h>
|
||||
|
||||
#include "edit_log.h"
|
||||
#include "globals.h"
|
||||
#include "rdlogedit.h"
|
||||
#include "voice_tracker.h"
|
||||
//#include "voice_tracker.h"
|
||||
|
||||
//
|
||||
// Global Resources
|
||||
@@ -109,6 +110,11 @@ MainWidget::MainWidget(RDConfig *c,QWidget *parent)
|
||||
connect(log_filter_widget,SIGNAL(filterChanged(const QString &)),
|
||||
this,SLOT(filterChangedData(const QString &)));
|
||||
|
||||
//
|
||||
// Dialogs
|
||||
//
|
||||
log_tracker_dialog=new VoiceTracker(&log_import_path,this);
|
||||
|
||||
//
|
||||
// Log List
|
||||
//
|
||||
@@ -412,6 +418,20 @@ void MainWidget::deleteData()
|
||||
}
|
||||
|
||||
|
||||
void MainWidget::trackData()
|
||||
{
|
||||
QModelIndex row=SingleSelectedRow();
|
||||
|
||||
if(!row.isValid()) {
|
||||
return;
|
||||
}
|
||||
LockList();
|
||||
log_tracker_dialog->exec(log_log_model->logName(row));
|
||||
log_log_model->refresh(row);
|
||||
UnlockList();
|
||||
}
|
||||
|
||||
/*
|
||||
void MainWidget::trackData()
|
||||
{
|
||||
QModelIndex row=SingleSelectedRow();
|
||||
@@ -427,7 +447,7 @@ void MainWidget::trackData()
|
||||
log_log_model->refresh(row);
|
||||
UnlockList();
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
void MainWidget::reportData()
|
||||
{
|
||||
|
Reference in New Issue
Block a user