The main interface to XCd. More...
Publicly inherits QWidget.
MainWindow | ( QWidget* parent=???, const char* name=??? ); |
void | changeDiscArtist | ( const char* artist ); |
void | changeDiscTitle | ( const char* title ); |
void | changeIconMode | ( ); |
void | changeProgram | ( int length, int* tracks ); |
void | changeRepeat | ( ); |
void | changeShuffle | ( ); |
void | changeStatus | ( CdromStatus status ); |
void | changeStep | ( int step ); |
void | changeTime | ( int minute, int second ); |
void | changeTimeMode | ( ); |
void | changeTrack | ( int track, const char* name ); |
void | changeTrackTitle | ( int track, const char* title ); |
void | changeVolume | ( int volume ); |
void | newDisc | ( CompactDisc* cd ); |
void | nextIconMode | ( ); |
void | nextTimeMode | ( ); |
void | noDisc | ( ); |
virtual void | mousePressEvent | ( QMouseEvent* e ); |
virtual void | timerEvent | ( QTimerEvent* e ); |
void | redrawIcon | ( ); |
void | procCommandsMenu | ( int id ); |
void | procIconMenu | ( int id ); |
void | procMainMenu | ( int id ); |
void | procRepeat | ( bool b ); |
void | procShuffle | ( bool b ); |
void | procTimeMenu | ( int id ); |
void | procTrackMenu | ( int id ); |
void | decrVolume | ( ); |
void | eject | ( ); |
void | incrVolume | ( ); |
void | nextTrack | ( ); |
void | pause | ( ); |
void | play | ( ); |
void | playTrack | ( int track ); |
void | previousTrack | ( ); |
void | stop | ( ); |
CompactDisc* | _cd; |
QString | _discArtist; |
QString | _discTitle; |
QBitmap | _icon; |
QPopupMenu* | _mainMenu; |
QPushButton* | _repeat; |
QPushButton* | _shuffle; |
CdromStatus | _status; |
QString | _step; |
MyLabel* | _stepLabel; |
MyLCDNumber* | _stepValue; |
QString | _time; |
MyLabel* | _timeLabel; |
MyLCDNumber* | _timeValue; |
QString | _track; |
MyLabel* | _trackLabel; |
QPopupMenu* | _trackMenu; |
MyLabel* | _trackName; |
int | _trackNumber; |
QString | _trackTitle; |
MyLCDNumber* | _trackValue; |
QString | _volume; |
MyLabel* | _volumeLabel; |
MyLCDNumber* | _volumeValue; |
The main interface to XCd.
This is the only window that is guaranteed to be onscreen at all times. It allows full manipulation of the CDDrive, and provides access to the other windows.Create a MainWindow just like any other QWidget.
Change the discs artist.
Change the discs title.
Change the icon mode pref.
Update the Step display.
Update the Time display.
Toggle the time display mode.
Update the Track display.
Change the tracks title.
Update the Volume display.
Configure the MainWindow for the new disc.
Configure the MainWindow for no disc in the CDROM drive.
Use the mouse to popup the main menu and the track list.
Emitted when the user presses decrVolume.
Emitted when the user presses eject.
Emitted when the user presses incrVolume.
Emitted when the user presses nextTrack.
Emitted when the user presses pause.
Emitted when the user presses play.
Emitted when the user selects a track.
Emitted when the user presses previousTrack.
Emitted when the user presses stop.