MiniPlayer Class Reference

#include <miniplayer.h>

Inheritance diagram for MiniPlayer:

MythThemedDialog MythDialog

List of all members.


Detailed Description

Definition at line 12 of file miniplayer.h.


Public Slots

virtual void show ()
virtual void hide ()
void timerTimeout (void)
void showPlayer (int showTime)
void showInfoTimeout (void)

Public Member Functions

 MiniPlayer (MythMainWindow *parent, MusicPlayer *parentPlayer, const char *name=0, bool setsize=true)
 ~MiniPlayer ()

Protected Member Functions

virtual void keyPressEvent (QKeyEvent *e)
virtual void customEvent (QCustomEvent *event)

Private Member Functions

void wireupTheme (void)
QString getTimeString (int exTime, int maxTime)
void updateTrackInfo (Metadata *mdata)
void seekforward (void)
void seekback (void)
void seek (int pos)
void increaseRating (void)
void decreaseRating (void)
void showShuffleMode (void)
void showRepeatMode (void)
void showVolume (void)
void showSpeed (void)
void showAutoMode (void)

Private Attributes

int m_currTime
int m_maxTime
MusicPlayerm_parentPlayer
QTimer * m_displayTimer
QTimer * m_infoTimer
int m_showTime
bool m_showingInfo
UITextTypem_titleText
UITextTypem_artistText
UITextTypem_albumText
UITextTypem_timeText
UITextTypem_infoText
UITextTypem_volText
UIImageTypem_coverImage
UIStatusBarTypem_progressBar
UIRepeatedImageTypem_ratingsImage
QString m_volFormat

Constructor & Destructor Documentation

MiniPlayer::MiniPlayer ( MythMainWindow parent,
MusicPlayer parentPlayer,
const char *  name = 0,
bool  setsize = true 
)

Definition at line 20 of file miniplayer.cpp.

MiniPlayer::~MiniPlayer ( void   ) 

Definition at line 59 of file miniplayer.cpp.


Member Function Documentation

void MiniPlayer::show ( void   )  [virtual, slot]

Definition at line 144 of file miniplayer.cpp.

void MiniPlayer::hide ( void   )  [virtual, slot]

Reimplemented from MythDialog.

Definition at line 151 of file miniplayer.cpp.

void MiniPlayer::timerTimeout ( void   )  [slot]

Definition at line 80 of file miniplayer.cpp.

Referenced by MiniPlayer().

void MiniPlayer::showPlayer ( int  showTime  )  [slot]

Definition at line 73 of file miniplayer.cpp.

Referenced by MusicPlayer::nextAuto().

void MiniPlayer::showInfoTimeout ( void   )  [slot]

Definition at line 591 of file miniplayer.cpp.

Referenced by MiniPlayer().

void MiniPlayer::keyPressEvent ( QKeyEvent *  e  )  [protected, virtual]

Reimplemented from MythDialog.

Definition at line 158 of file miniplayer.cpp.

void MiniPlayer::customEvent ( QCustomEvent *  event  )  [protected, virtual]

Definition at line 305 of file miniplayer.cpp.

void MiniPlayer::wireupTheme ( void   )  [private]

Definition at line 85 of file miniplayer.cpp.

Referenced by MiniPlayer().

QString MiniPlayer::getTimeString ( int  exTime,
int  maxTime 
) [private]

Definition at line 410 of file miniplayer.cpp.

Referenced by customEvent(), keyPressEvent(), MiniPlayer(), and seek().

void MiniPlayer::updateTrackInfo ( Metadata mdata  )  [private]

Definition at line 442 of file miniplayer.cpp.

Referenced by customEvent(), and MiniPlayer().

void MiniPlayer::seekforward ( void   )  [private]

Definition at line 480 of file miniplayer.cpp.

Referenced by keyPressEvent().

void MiniPlayer::seekback ( void   )  [private]

Definition at line 488 of file miniplayer.cpp.

Referenced by keyPressEvent().

void MiniPlayer::seek ( int  pos  )  [private]

Definition at line 496 of file miniplayer.cpp.

Referenced by seekback(), and seekforward().

void MiniPlayer::increaseRating ( void   )  [private]

Definition at line 535 of file miniplayer.cpp.

Referenced by keyPressEvent().

void MiniPlayer::decreaseRating ( void   )  [private]

Definition at line 563 of file miniplayer.cpp.

Referenced by keyPressEvent().

void MiniPlayer::showShuffleMode ( void   )  [private]

Definition at line 606 of file miniplayer.cpp.

Referenced by keyPressEvent().

void MiniPlayer::showRepeatMode ( void   )  [private]

Definition at line 647 of file miniplayer.cpp.

Referenced by keyPressEvent().

void MiniPlayer::showVolume ( void   )  [private]

Definition at line 695 of file miniplayer.cpp.

Referenced by keyPressEvent().

void MiniPlayer::showSpeed ( void   )  [private]

Definition at line 738 of file miniplayer.cpp.

Referenced by keyPressEvent().

void MiniPlayer::showAutoMode ( void   )  [private]

Definition at line 678 of file miniplayer.cpp.

Referenced by keyPressEvent().


Member Data Documentation

int MiniPlayer::m_currTime [private]

Definition at line 49 of file miniplayer.h.

Referenced by customEvent(), seek(), seekback(), and seekforward().

int MiniPlayer::m_maxTime [private]

Definition at line 49 of file miniplayer.h.

Referenced by customEvent(), keyPressEvent(), MiniPlayer(), seek(), and seekforward().

Definition at line 51 of file miniplayer.h.

Referenced by MiniPlayer().

QTimer* MiniPlayer::m_displayTimer [private]

Definition at line 53 of file miniplayer.h.

Referenced by keyPressEvent(), MiniPlayer(), showPlayer(), and ~MiniPlayer().

QTimer* MiniPlayer::m_infoTimer [private]

int MiniPlayer::m_showTime [private]

Definition at line 55 of file miniplayer.h.

Referenced by keyPressEvent(), and showPlayer().

Definition at line 59 of file miniplayer.h.

Referenced by updateTrackInfo(), and wireupTheme().

Definition at line 60 of file miniplayer.h.

Referenced by updateTrackInfo(), and wireupTheme().

Definition at line 61 of file miniplayer.h.

Referenced by updateTrackInfo(), and wireupTheme().

Definition at line 62 of file miniplayer.h.

Referenced by customEvent(), keyPressEvent(), MiniPlayer(), seek(), and wireupTheme().

Definition at line 64 of file miniplayer.h.

Referenced by keyPressEvent(), showVolume(), and wireupTheme().

Definition at line 65 of file miniplayer.h.

Referenced by updateTrackInfo(), and wireupTheme().

Definition at line 67 of file miniplayer.h.

Referenced by customEvent(), and wireupTheme().

Definition at line 68 of file miniplayer.h.

Referenced by decreaseRating(), increaseRating(), updateTrackInfo(), and wireupTheme().

QString MiniPlayer::m_volFormat [private]

Definition at line 70 of file miniplayer.h.

Referenced by keyPressEvent(), showVolume(), and wireupTheme().


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

Generated on Sat Dec 18 05:16:06 2010 for MythTV by  doxygen 1.5.5