InfoWindow

Window for modifying CD information. More...

Publicly inherits QWidget.

Public Methods

InfoWindow( QWidget* parent=???, const char* name=??? );

Public Slots

voidappend( );
voiddismiss( );
voidhighlighted( int index );
voidnewDisc( CompactDisc* cd );
voidnoDisc( );
voidprepend( );
voidprocDiscArtist( );
voidprocDiscTitle( );
voidprocDownPressed( );
voidprocTrackTitle( );
voidprocUpPressed( );
voidremove( );
voidsave( );

Protected Methods

voidresizeEvent( QResizeEvent* e );

Private Methods

InfoWindow( const InfoWindow& infoWindow );
intnameToTrack( const char* name );
InfoWindow&operator=( const InfoWindow& infoWindow );

Signals

voidsaveDiscInfo( );
voidupdateDiscArtist( const char* discArtist );
voidupdateDiscTitle( const char* discTitle );
voidupdateProgram( int length, int* tracks );
voidupdateTrackTitle( int track, const char* trackTitle );

Private Data Members

QPushButton*_append;
QLineEdit*_discArtist;
QLabel*_discArtistLabel;
QLineEdit*_discTitle;
QLabel*_discTitleLabel;
QPushButton*_dismiss;
QPushButton*_prepend;
QListBox*_progList;
QLabel*_progListLabel;
QPushButton*_remove;
QPushButton*_save;
QFrame*_separator;
MyListBox*_trackList;
QLabel*_trackListLabel;
MyLineEdit*_trackTitle;
QLabel*_trackTitleLabel;

Detailed Documentation

Window for modifying CD information.

Provide an interface for viewing, modifying, and saving the current CDs title, artist, and track information.

Public Methods Documentation

InfoWindow ( QWidget* parent=???, const char* name=??? );

Create an InfoWindow.

Public Slots Documentation

void dismiss ( );

Hide the info window.

void highlighted ( int index );

Process the highlighting of an item in the track list.

void newDisc ( CompactDisc* cd );

Configure the InfoWindow for the new disc.

void noDisc ( );

Configure the InfoWindow for no disc in the CDROM drive.

void procDiscArtist ( );

Process return key for disc artist.

void procDiscTitle ( );

Process return key for disc title.

void procDownPressed ( );

Process the pressing of the down arrow key.

void procTrackTitle ( );

Process return key for track title.

void procUpPressed ( );

Process the pressing of the up arrow key.

void save ( );

Save the disc info.

Signals Documentation

void saveDiscInfo ( );

Emitted when the user presses the save button.

void updateDiscArtist ( const char* discArtist );

Emitted when the disc artist has been changed.

void updateDiscTitle ( const char* discTitle );

Emitted when the disc title has been changed.

void updateTrackTitle ( int track, const char* trackTitle );

Emitted when a track title has been changed.


Return to Index.
Automatically generated on Dec 29 18:17