Miam-Player  0.8.0
A nice music player
TagEditorTableWidget Class Reference

The TagEditorTableWidget class is a table where one can select lines in order to edit multiple tags. More...

#include <tageditortablewidget.h>

Inheritance diagram for TagEditorTableWidget:

Public Types

enum  DataUserRole { MODIFIED = Qt::UserRole + 1, KEY = Qt::UserRole + 2 }
 

Public Slots

bool addItemsToEditor (const QStringList &tracks, QMap< int, Cover * > &covers)
 
void clear ()
 

Public Member Functions

 TagEditorTableWidget (QWidget *parent=nullptr)
 
void init ()
 
void resetTable ()
 
void updateCellData (int row, int column, const QString &text)
 
void updateColumnData (int column, const QString &text)
 

Detailed Description

The TagEditorTableWidget class is a table where one can select lines in order to edit multiple tags.

Author
Matthieu Bachelier

Member Enumeration Documentation

Enumerator
MODIFIED 
KEY 

Constructor & Destructor Documentation

TagEditorTableWidget::TagEditorTableWidget ( QWidget *  parent = nullptr)

XXX delegate should be improved because this piece of code has to be duplicated

Member Function Documentation

bool TagEditorTableWidget::addItemsToEditor ( const QStringList &  tracks,
QMap< int, Cover * > &  covers 
)
slot

Add items to the table in order to edit them.

XXX: warning, this information is difficult to find even if public

void TagEditorTableWidget::clear ( )
slot

Redefined.

void TagEditorTableWidget::init ( )

It's not possible to initialize header in the constructor. The object has to be instantiated completely first.

void TagEditorTableWidget::resetTable ( )
void TagEditorTableWidget::updateCellData ( int  row,
int  column,
const QString &  text 
)
void TagEditorTableWidget::updateColumnData ( int  column,
const QString &  text 
)

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