Miam-Player  0.8.0
A nice music player
StarEditor Class Reference

The StarEditor class is reusing the example provided with Qt Framework. More...

#include <stareditor.h>

Inheritance diagram for StarEditor:

Signals

void editFinished ()
 

Public Member Functions

 StarEditor (const QModelIndex &index, QWidget *parent=nullptr)
 
QModelIndex index () const
 

Public Attributes

QModelIndex _index
 
StarRating starRating
 

Protected Member Functions

virtual void mouseMoveEvent (QMouseEvent *event) override
 
virtual void mousePressEvent (QMouseEvent *) override
 
virtual void paintEvent (QPaintEvent *) override
 

Detailed Description

The StarEditor class is reusing the example provided with Qt Framework.

Author
Digia Plc

Constructor & Destructor Documentation

StarEditor::StarEditor ( const QModelIndex &  index,
QWidget *  parent = nullptr 
)

Member Function Documentation

void StarEditor::editFinished ( )
signal
QModelIndex StarEditor::index ( ) const
inline
void StarEditor::mouseMoveEvent ( QMouseEvent *  event)
overrideprotectedvirtual
void StarEditor::mousePressEvent ( QMouseEvent *  event)
overrideprotectedvirtual
void StarEditor::paintEvent ( QPaintEvent *  )
overrideprotectedvirtual

Member Data Documentation

QModelIndex StarEditor::_index
StarRating StarEditor::starRating

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