Vagyojaka 5.5.7
Loading...
Searching...
No Matches
TTSAnnotator Class Reference

#include <ttsannotator.h>

Inheritance diagram for TTSAnnotator:

Public Member Functions

 TTSAnnotator (QWidget *parent=nullptr)
 
 ~TTSAnnotator ()
 
void openTTSTranscript ()
 

Static Public Attributes

static const QColor SoundQualityColor = QColor(230, 255, 230)
 
static const QColor TTSQualityColor = QColor(255, 230, 230)
 

Private Slots

void on_saveAsTableButton_clicked ()
 
void on_InsertRowButton_clicked ()
 
void on_deleteRowButton_clicked ()
 
void on_saveTableButton_clicked ()
 
void on_actionOpen_triggered ()
 
void onSelectionChanged (const QItemSelection &selected, const QItemSelection &deselected)
 
void onCellClicked (const QModelIndex &index)
 
void onItemSelectionChanged ()
 

Private Member Functions

void parseXML ()
 
void setupUI ()
 
void save ()
 
void saveAs ()
 
void saveToFile (const QString &fileName)
 
void insertRow ()
 
void deleteRow ()
 
void setDefaultFontOnTableView ()
 

Private Attributes

Ui::TTSAnnotator * ui
 
QTableView * tableView
 
std::unique_ptr< LazyLoadingModelm_model
 
QUrl fileUrl
 
QString xmlDirectory
 
QSettings * settings
 
QStringList supportedFormats
 
AudioPlayerDelegatem_audioPlayerDelegate
 

Constructor & Destructor Documentation

◆ TTSAnnotator()

TTSAnnotator::TTSAnnotator ( QWidget * parent = nullptr)
explicit

◆ ~TTSAnnotator()

TTSAnnotator::~TTSAnnotator ( )
default

Member Function Documentation

◆ deleteRow()

void TTSAnnotator::deleteRow ( )
private

◆ insertRow()

void TTSAnnotator::insertRow ( )
private

◆ on_actionOpen_triggered

void TTSAnnotator::on_actionOpen_triggered ( )
privateslot

◆ on_deleteRowButton_clicked

void TTSAnnotator::on_deleteRowButton_clicked ( )
privateslot

◆ on_InsertRowButton_clicked

void TTSAnnotator::on_InsertRowButton_clicked ( )
privateslot

◆ on_saveAsTableButton_clicked

void TTSAnnotator::on_saveAsTableButton_clicked ( )
privateslot

◆ on_saveTableButton_clicked

void TTSAnnotator::on_saveTableButton_clicked ( )
privateslot

◆ onCellClicked

void TTSAnnotator::onCellClicked ( const QModelIndex & index)
privateslot

◆ onItemSelectionChanged

void TTSAnnotator::onItemSelectionChanged ( )
privateslot

◆ onSelectionChanged

void TTSAnnotator::onSelectionChanged ( const QItemSelection & selected,
const QItemSelection & deselected )
privateslot

◆ openTTSTranscript()

void TTSAnnotator::openTTSTranscript ( )

◆ parseXML()

void TTSAnnotator::parseXML ( )
private

◆ save()

void TTSAnnotator::save ( )
private

◆ saveAs()

void TTSAnnotator::saveAs ( )
private

◆ saveToFile()

void TTSAnnotator::saveToFile ( const QString & fileName)
private

◆ setDefaultFontOnTableView()

void TTSAnnotator::setDefaultFontOnTableView ( )
private

◆ setupUI()

void TTSAnnotator::setupUI ( )
private

Member Data Documentation

◆ fileUrl

QUrl TTSAnnotator::fileUrl
private

◆ m_audioPlayerDelegate

AudioPlayerDelegate* TTSAnnotator::m_audioPlayerDelegate
private

◆ m_model

std::unique_ptr<LazyLoadingModel> TTSAnnotator::m_model
private

◆ settings

QSettings* TTSAnnotator::settings
private

◆ SoundQualityColor

const QColor TTSAnnotator::SoundQualityColor = QColor(230, 255, 230)
static

◆ supportedFormats

QStringList TTSAnnotator::supportedFormats
private

◆ tableView

QTableView* TTSAnnotator::tableView
private

◆ TTSQualityColor

const QColor TTSAnnotator::TTSQualityColor = QColor(255, 230, 230)
static

◆ ui

Ui::TTSAnnotator* TTSAnnotator::ui
private

◆ xmlDirectory

QString TTSAnnotator::xmlDirectory
private

The documentation for this class was generated from the following files: