Special QFrame for displaying player info.
The pDisplay object is a colection of Qt-widgets for displaying all sorts of information. The widgets themselves are all private members of the class, but we'll describe them here.There are two QeLCDNumbers, one for the track number and another for the time display. Associated with these are a number of QeLabels for displaying the play state, the play mode, and the time display mode. There are also two QeLabels for the program title and the track label. Lastly, a QMeter displays the volume level.
Both the time and track QeLCDNumbers have their own press- and release-signals in this class. The QeLabels all emit generic press- and release-signals for the time being.
---------------------------------------------------------- ----------------------------------------------------------
Displays the new time specified in the argument. The time
should be in seconds.
Displays the new track number specified in the argument.
Displays the new track label specified as an argument.
Displays the new title label specified as an argument.
Changes the play mode and play state icons, depending on the
value of the argument. The argument should be a
PlayMode enum OR-ed with a PlayState
enum.
Changes the time mode label, depending on the value of the
argument. The argument should be a TimeMode
enum.
Changes the volume meter to display the new volume specified
as an argument to this slot.
Emitted when a mouse press-event occurs on the time LCD.
Contains the current mouse position, in global screen
coordinates.
Emitted when a mouse release-event occurs on the time LCD.
Emitted when a mouse press-event occurs on the track LCD.
Contains the current mouse position, in global screen
coordinates.
Emitted when a mouse release-event occurs on the track LCD.
Emitted when a mouse press-event occurs on the box displaying
the track name. Contains the current mouse position, in
global screen coordinates.
Emitted when a mouse release-event occurs on the box displaying
the track name.
Emitted when a mouse press-event occurs on the box displaying
the title. Contains the current mouse position, in global
screen coordinates.
Emitted when a mouse release-event occurs on the box displaying
the title.
Emitted when a mouse press-event occurs on the mode light.
Contains the current mouse position, in global screen
coordinates.
Emitted when a mouse release-event occurs on the mode light.
Emitted when a mouse press-event occurs anywhere else on the
panel outside of one of the widgets with their own
press-signal. Contains the current mouse position, in global
screen coordinates.
Emitted when a mouse release-event occurs anywhere else on the
panel outside of one of the widgets with their own
release-signal.
Emitted when a mouse move-event occurs anywhere else on the
panel outside of one of the widgets. Contains the current
mouse position, in global screen coordinates.
~pDisplay( void )
inline void moveAll( int x, int y )
inline void moveAll( QPoint pos )
inline QPoint xEndPt()
inline QPoint yEndPt()
void changePalette( QPalette& p )
void changeDTextFont( QFont& f )
void changeTDMFont( QFont& f )
void newTime(int)
void newTrack(int)
void newTrackName(char *)
void newTitleName(char *)
void newPlayMode(int)
void newTimeMode(int)
void newVolume(float)
void timePressed(QPoint)
void timeReleased()
void trackPressed(QPoint)
void trackReleased()
void tracknamePressed(QPoint)
void tracknameReleased()
void titlePressed(QPoint)
void titleReleased()
void modePressed(QPoint)
void modeReleased()
void pressed(QPoint)
void released()
void moving(QPoint)
Copyright 1997 by John Weiss [John.Weiss@colorado.edu]
"generated by doc++"?! More like mangled generated by doc++