Miam-Player  0.8.0
A nice music player
JumpToWidget Class Reference

The JumpToWidget class displays letters which can be clicked to jump to a particular position in your Library. More...

#include <jumptowidget.h>

Inheritance diagram for JumpToWidget:

Public Slots

void highlightLetters (const QSet< QChar > &letters)
 

Signals

void aboutToScrollTo (const QString &letter)
 

Public Member Functions

 JumpToWidget (QAbstractItemView *view)
 
virtual bool eventFilter (QObject *obj, QEvent *event) override
 
void setCurrentLetter (const QChar &currentLetter)
 
virtual QSize sizeHint () const override
 

Protected Member Functions

virtual void leaveEvent (QEvent *event) override
 
virtual void mouseMoveEvent (QMouseEvent *event) override
 
virtual void paintEvent (QPaintEvent *event) override
 
virtual void resizeEvent (QResizeEvent *event) override
 

Detailed Description

The JumpToWidget class displays letters which can be clicked to jump to a particular position in your Library.

Author
Matthieu Bachelier

Constructor & Destructor Documentation

JumpToWidget::JumpToWidget ( QAbstractItemView *  view)
explicit

Member Function Documentation

void JumpToWidget::aboutToScrollTo ( const QString &  letter)
signal
bool JumpToWidget::eventFilter ( QObject *  obj,
QEvent *  event 
)
overridevirtual
void JumpToWidget::highlightLetters ( const QSet< QChar > &  letters)
inlineslot
void JumpToWidget::leaveEvent ( QEvent *  event)
overrideprotectedvirtual
void JumpToWidget::mouseMoveEvent ( QMouseEvent *  event)
overrideprotectedvirtual
void JumpToWidget::paintEvent ( QPaintEvent *  event)
overrideprotectedvirtual
void JumpToWidget::resizeEvent ( QResizeEvent *  event)
overrideprotectedvirtual

Reduce the font if this widget is too small.

void JumpToWidget::setCurrentLetter ( const QChar &  currentLetter)
inline
QSize JumpToWidget::sizeHint ( ) const
overridevirtual

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