Main Page   Compound List   File List   Compound Members   File Members  

TitleWidget Class Reference

#include <titleWidget.h>

List of all members.


Detailed Description

Widget which displays album name, description, representative image, and album shaper logo.

Definition at line 41 of file titleWidget.h.

Public Slots

void aboutClosed ()
 Frees about box once closed.


Public Member Functions

 TitleWidget (QWidget *parent=0, const char *name=0)
 Creates layout.

 ~TitleWidget ()
 Deletes all objects.

void setAlbum (Album *val)
 Sets new pointer to the album object.

Album * getAlbum ()
 Returns a pointer to the album object.

void refresh ()
 Refreshs data from backend objects.

void setSetButtonState (bool state)
 Set active state of set button.

bool getBusy ()
 is program busy?

void setBusy (bool val)
 set program busy state


Private Slots

void updateName (const QString &val)
 Updates album name.

void updateDescription (const QString &val)
 Updates album description.

void updateAuthor (const QString &val)
 Updates album author.

void setImageAction ()
 Sets currently selected photo as the representative image for the subalbum.

void newAlbum ()
 Resets to empty album.

void loadAlbum ()
 Loads a new album.

void saveAlbum ()
 Saves album.

void saveAsAlbum ()
 Saves album as.

void aboutProgram ()
 Pops up about window.


Private Attributes

QMenuBar * menu
 Menubar file menu and help menu inserted in.

QPopupMenu * file
 File menu.

QPopupMenu * help
 Help menu.

QGridLayout * grid
 Layout widgets placed in.

QLabel * albumName
 "Album Name:" label

QLineEdit * albumNameVal
 Actual album name.

QLabel * albumDescription
 "Description:" label

QLineEdit * albumDescriptionVal
 Actual album description.

QLabel * albumAuthor
 "Author:" label

QLineEdit * albumAuthorVal
 Actual album author.

QLabel * representativeImageText
 Label which shows "set" image.

QPixmap * setImageImage
 "Set" image

QPushButton * setImage
 Button allowing user to set the representative image for the subalbum.

QLabel * representativeLogo
 Label which shows the representative image.

QPixmap * representativeImage
 Representative image.

QPixmap * albumShaperImage
 Album Shaper Logo.

QLabel * albumShaperLogo
 Label which shows Album Shaper logo.

QFrame * line
 Horizontal line.

Album * albm
 Backend album object.

Window * window
 Window pointer.

About * about
 About box pointer.

bool busy
 Is the program currently busy? helps block other operations.

int NEW_ALBUM
int OPEN_ALBUM
int SAVE_ALBUM
int SAVEAS_ALBUM
bool cacheSetButtonState


Constructor & Destructor Documentation

TitleWidget::TitleWidget QWidget *  parent = 0,
const char *  name = 0
 

Creates layout.

Store parent pointer

Set about pointer to null

program not busy at first

Definition at line 50 of file titleWidget.cpp.

References about, aboutProgram(), albm, albumAuthor, albumAuthorVal, albumDescription, albumDescriptionVal, albumName, albumNameVal, albumShaperImage, albumShaperLogo, busy, file, Album::getRepresentativeImage(), grid, help, IMAGE_PATH, line, loadAlbum(), menu, NEW_ALBUM, newAlbum(), OPEN_ALBUM, representativeImage, representativeImageText, representativeLogo, SAVE_ALBUM, saveAlbum(), SAVEAS_ALBUM, saveAsAlbum(), setImage, setImageAction(), setImageImage, SMALL, updateAuthor(), updateDescription(), updateName(), and window.

00051                                             : QFrame(parent,name)
00052 {
00054   window = (Window*)parent;
00055 
00057   about = NULL;
00058   
00059   //create file and help menus
00060   menu = new QMenuBar( this, "menuBar" );
00061   file = new QPopupMenu( this, "fileMenu" );
00062   NEW_ALBUM = file->insertItem( "&New", this, SLOT(newAlbum()), CTRL+Key_N );
00063   OPEN_ALBUM = file->insertItem( "&Open", this, SLOT(loadAlbum()), CTRL+Key_O );
00064   SAVE_ALBUM = file->insertItem( "&Save", this, SLOT(saveAlbum()), CTRL+Key_S );
00065   SAVEAS_ALBUM = file->insertItem( "&Save As", this, SLOT(saveAsAlbum()), CTRL+SHIFT+Key_S );
00066   file->insertItem( "&Quit", qApp, SLOT(quit()), CTRL+Key_Q);
00067   help = new QPopupMenu( this, "helpMenu" );
00068   help->insertItem( "&About", this, SLOT(aboutProgram()) );
00069   menu->insertItem( "&File", file );
00070   menu->insertSeparator();
00071   menu->insertItem( "&Help", help );
00072   
00073   //create backend album object
00074   albm = new Album();
00075 
00076   //create labels and text entries
00077   albumName = new QLabel( this );
00078   albumName->setText( "Album Name:" );
00079   albumName->setFont( QFont( "Times", 12, QFont::Bold ) );
00080   albumNameVal = new QLineEdit( this );
00081   albumNameVal->setFont( QFont( "Times", 12, QFont::Bold ) );
00082   connect( albumNameVal, SIGNAL(textChanged( const QString&)),
00083            SLOT( updateName(const QString&)) );
00084   
00085   albumDescription = new QLabel( this );
00086   albumDescription->setText( "Description:" );
00087   albumDescription->setFont( QFont( "Times", 12, QFont::Bold ) );
00088   albumDescriptionVal = new QLineEdit( this );
00089   albumDescriptionVal->setFont( QFont( "Times", 12, QFont::Bold ) );
00090   connect( albumDescriptionVal, SIGNAL(textChanged( const QString&)),
00091            SLOT( updateDescription(const QString&)) );
00092 
00093   albumAuthor = new QLabel( this );
00094   albumAuthor->setText( "Author:" );
00095   albumAuthor->setFont( QFont( "Times", 12, QFont::Bold ) );
00096   albumAuthorVal = new QLineEdit( this );
00097   albumAuthorVal->setFont( QFont( "Times", 12, QFont::Bold ) );
00098   connect( albumAuthorVal, SIGNAL(textChanged( const QString&)),
00099            SLOT( updateAuthor(const QString&)) );
00100   
00101   //create set image button
00102   representativeImageText = new QLabel( this );
00103   representativeImageText->setText( "Thumbnail:" );
00104   representativeImageText->setFont( QFont( "Times", 12, QFont::Bold ) );
00105   setImageImage = new QPixmap( QString(IMAGE_PATH)+"set.png" );
00106   setImage = new QPushButton( this );
00107   setImage->setPixmap( *setImageImage );
00108   setImage->setSizePolicy( QSizePolicy::Maximum, QSizePolicy::Maximum );      
00109   setImage->setEnabled(false);
00110   connect( setImage, SIGNAL(clicked()), SLOT(setImageAction()) );
00111   
00112   //create representative image
00113   representativeImage = albm->getRepresentativeImage(SMALL);
00114   representativeLogo = new QLabel( this );
00115   representativeLogo->setPixmap( *representativeImage );
00116            
00117   //create album Shaper image
00118   albumShaperImage = new QPixmap( QString(IMAGE_PATH)+"albumShaper.png" );
00119   albumShaperLogo = new QLabel( this );
00120   albumShaperLogo->setPixmap( *albumShaperImage );
00121 
00122   //Create horizontal line
00123   line = new QFrame(this);
00124   line->setFrameShadow( QFrame::Plain );
00125   line->setLineWidth( 2 );
00126   line->setFrameShape( QFrame::HLine );
00127 
00128   //place all labels in grid layout
00129   grid = new QGridLayout( this, 5, 6, 0 );
00130   grid->addMultiCellWidget( menu, 0, 0, 0, 5 );
00131   grid->addWidget( albumName,                   1, 0, Qt::AlignLeft);
00132   grid->addWidget( albumNameVal,                1, 1);
00133   grid->addWidget( albumDescription,            2, 0, Qt::AlignLeft);
00134   grid->addWidget( albumDescriptionVal,         2, 1);
00135   grid->addWidget( albumAuthor,                 3, 0, Qt::AlignLeft);
00136   grid->addWidget( albumAuthorVal,              3, 1);
00137   grid->addWidget( representativeImageText,     1, 2, Qt::AlignLeft );
00138   grid->addWidget( setImage,                    2, 2, Qt::AlignLeft );
00139   grid->addMultiCellWidget( representativeLogo, 1, 3, 3, 3 );
00140   grid->addMultiCellWidget( line,               4, 4, 0, 5);
00141   grid->addMultiCellWidget( albumShaperLogo,     1, 3, 5, 5 );
00142 
00143   //Set the second column, the actual album name and description and author
00144   //to have a minimum width
00145   grid->addColSpacing(1, 300 );
00146 
00147   //set the blank colum to stretch more than others to take
00148   //up leftover room
00149   grid->setColStretch( 4, 1 );
00150 
00151   //set the background of the widget to be white
00152   setPaletteBackgroundColor( QColor(255, 255, 255) );
00153   
00155   busy = false;
00156 }

TitleWidget::~TitleWidget  ) 
 

Deletes all objects.

Definition at line 158 of file titleWidget.cpp.

References albumShaperImage, representativeImage, and setImageImage.

00159 {
00160   delete setImageImage;
00161   delete representativeImage;
00162   delete albumShaperImage;
00163 }


Member Function Documentation

void TitleWidget::aboutClosed  )  [slot]
 

Frees about box once closed.

Definition at line 472 of file titleWidget.cpp.

References about.

Referenced by aboutProgram().

00473 {
00474   delete about;
00475   about = NULL;
00476 }

void TitleWidget::aboutProgram  )  [private, slot]
 

Pops up about window.

Definition at line 438 of file titleWidget.cpp.

References about, and aboutClosed().

Referenced by TitleWidget().

00439 {
00440   if(about == NULL)
00441   {
00442     about = new About();
00443     connect( about, SIGNAL(aboutClosed()),
00444              this, SLOT(aboutClosed()));
00445     about->show();
00446   
00447     //get size and location of application window
00448     QRect appRec = qApp->mainWidget()->geometry();
00449     QRect aboutRec = about->geometry();
00450     
00451     //center this dialoag within application window
00452     int x, y;
00453     if(aboutRec.width() < appRec.width())
00454     { x = appRec.x() + ((appRec.width() - aboutRec.width())/2); }
00455     else
00456     { x = appRec.x(); }
00457     if(aboutRec.height() < appRec.height())
00458     { y = appRec.y() + ((appRec.height() - aboutRec.height())/2); }
00459     else
00460     { y = appRec.y(); }
00461     
00462     about->move( QPoint( x, y) );
00463     
00464     
00465   }
00466   else
00467   {
00468     about->raise();   
00469   }
00470 }

Album * TitleWidget::getAlbum  ) 
 

Returns a pointer to the album object.

Definition at line 187 of file titleWidget.cpp.

References albm.

Referenced by SubalbumsWidget::createAction(), SubalbumsWidget::deleteAction(), SubalbumsWidget::refresh(), SubalbumsWidget::reorder(), saveAlbum(), and saveAsAlbum().

00188 {
00189   return albm;
00190 }

bool TitleWidget::getBusy  ) 
 

is program busy?

Definition at line 483 of file titleWidget.cpp.

References busy.

Referenced by SubalbumsWidget::updateSubalbumLayout().

00484 {
00485   return busy;
00486 }

void TitleWidget::loadAlbum  )  [private, slot]
 

Loads a new album.

Definition at line 247 of file titleWidget.cpp.

References albm, Window::getLayout(), LayoutWidget::getSubalbum(), LayoutWidget::getSubalbums(), Album::importFromDisk(), LoadDialog::printMessage(), Window::refresh(), refresh(), setBusy(), SubalbumWidget::updateButtons(), SubalbumsWidget::updateButtons(), and window.

Referenced by TitleWidget().

00248 {
00249   //set busy flag and deactivate buttons
00250   setBusy(true);
00251   window->getLayout()->getSubalbums()->updateButtons(false);
00252   if(window->getLayout()->getSubalbum() != NULL)
00253     window->getLayout()->getSubalbum()->updateButtons(false);
00254   
00255   QString albumXML = QFileDialog::getOpenFileName(NULL,
00256                                                   "XML Files (*.xml)",
00257                                                   this,
00258                                                   "open file dialog",
00259                                                   "Choose an album to load" );
00260 
00261   //if null return
00262   if(albumXML.isNull())
00263   {
00264     //nolonger busy
00265     setBusy(false);
00266     window->getLayout()->getSubalbums()->updateButtons(true);
00267     if(window->getLayout()->getSubalbum() != NULL)
00268       window->getLayout()->getSubalbum()->updateButtons(true);
00269     return;
00270   }
00271     
00272   qApp->setOverrideCursor( QCursor(Qt::WaitCursor));
00273   
00274   //pop up load dialog
00275   LoadDialog* dialog = new LoadDialog();
00276   
00277   //get size and location of application window
00278   QRect appRec = qApp->mainWidget()->geometry();
00279 
00280   //center this dialoag within application window
00281   int x, y;
00282   if(400 < appRec.width())
00283   { x = appRec.x() + ((appRec.width() - 400)/2); }
00284   else
00285   { x = appRec.x(); }
00286   if(300 < appRec.height())
00287   { y = appRec.y() + ((appRec.height() - 300)/2); }
00288   else
00289   { y = appRec.y(); }
00290     
00291   dialog->setGeometry(x, y, 400, 300);
00292   dialog->show();
00293   dialog->repaint();
00294   
00295   //create a new album
00296   dialog->printMessage("Freeing old album");
00297   delete albm;
00298   albm = new Album();
00299   
00300   //attempt to load xml file
00301   albm->importFromDisk(dialog, albumXML);
00302 
00303   //refresh screen
00304   refresh();
00305   
00306   window->refresh();
00307   //close dialog
00308   delete dialog;
00309   
00310   //nolonger busy
00311   setBusy(false);
00312   window->getLayout()->getSubalbums()->updateButtons(true);
00313   if(window->getLayout()->getSubalbum() != NULL)
00314     window->getLayout()->getSubalbum()->updateButtons(true);
00315   qApp->restoreOverrideCursor();
00316 }

void TitleWidget::newAlbum  )  [private, slot]
 

Resets to empty album.

Definition at line 225 of file titleWidget.cpp.

References albm, Window::refresh(), refresh(), and window.

Referenced by TitleWidget().

00226 {
00227   //ask if the user is sure, then proceed
00228   QuestionDialog sure( "New album?",
00229                        "Warning, this operation cannot be undone and all current work will be lost.",
00230                        "warning.png",
00231                        this );
00232   //if user say yes then delete subalbum and refresh
00233   if(sure.exec())  
00234   {
00235     //delete old album
00236     delete albm;
00237     
00238     //create new one
00239     albm = new Album();
00240   
00241     //refresh screen
00242     refresh();
00243     window->refresh();
00244   }
00245 }

void TitleWidget::refresh  ) 
 

Refreshs data from backend objects.

Definition at line 217 of file titleWidget.cpp.

References albm, albumAuthorVal, albumDescriptionVal, albumNameVal, Album::getAuthor(), Album::getDescription(), Album::getName(), Album::getRepresentativeImage(), representativeLogo, and SMALL.

Referenced by loadAlbum(), and newAlbum().

00218 {
00219   albumNameVal->setText( albm->getName() );
00220   albumDescriptionVal->setText( albm->getDescription() );
00221   albumAuthorVal->setText( albm->getAuthor() );
00222   representativeLogo->setPixmap( *(albm->getRepresentativeImage(SMALL)) );
00223 }                 

void TitleWidget::saveAlbum  )  [private, slot]
 

Saves album.

Definition at line 318 of file titleWidget.cpp.

References Album::exportToDisk(), getAlbum(), Window::getLayout(), LayoutWidget::getSubalbum(), LayoutWidget::getSubalbums(), Album::prevSave(), saveAsAlbum(), setBusy(), SubalbumWidget::syncPhotos(), SubalbumWidget::updateButtons(), SubalbumsWidget::updateButtons(), and window.

Referenced by TitleWidget().

00319 {
00320   //set busy flag and disable buttons
00321   setBusy(true);
00322   window->getLayout()->getSubalbums()->updateButtons(false);
00323   if(window->getLayout()->getSubalbum() != NULL)
00324     window->getLayout()->getSubalbum()->updateButtons(false);
00325 
00326   //if album not previously saved then
00327   //run saveas dialog
00328   if(!getAlbum()->prevSave())
00329   {
00330     saveAsAlbum();
00331   }
00332   //else bring up save dialog and save
00333   else
00334   {
00335     qApp->setOverrideCursor( QCursor(Qt::WaitCursor));
00336     
00337     //pop up save dialog
00338     SaveDialog* dialog = new SaveDialog();
00339     
00340     //get size and location of application window
00341     QRect appRec = qApp->mainWidget()->geometry();
00342 
00343     //center this dialoag within application window
00344     int x, y;
00345     if(400 < appRec.width())
00346     { x = appRec.x() + ((appRec.width() - 400)/2); }
00347     else
00348     { x = appRec.x(); }
00349     if(300 < appRec.height())
00350     { y = appRec.y() + ((appRec.height() - 300)/2); }
00351     else
00352     { y = appRec.y(); }
00353     
00354     dialog->setGeometry(x, y, 400, 300);
00355     dialog->show();
00356     dialog->repaint();
00357   
00358     //sync current subalbum to ensure all photo descriptions saved
00359     if(  window->getLayout()->getSubalbum() != NULL )
00360       window->getLayout()->getSubalbum()->syncPhotos();
00361     
00362     getAlbum()->exportToDisk(dialog);
00363   
00364     //close dialog
00365     delete dialog;
00366     
00367     qApp->restoreOverrideCursor();
00368   }
00369   
00370   //nolonger busy
00371   setBusy(false);
00372   window->getLayout()->getSubalbums()->updateButtons(true);
00373   if(window->getLayout()->getSubalbum() != NULL)
00374     window->getLayout()->getSubalbum()->updateButtons(true);
00375 }

void TitleWidget::saveAsAlbum  )  [private, slot]
 

Saves album as.

Definition at line 377 of file titleWidget.cpp.

References albumName, Album::exportToDisk(), getAlbum(), and Album::getName().

Referenced by saveAlbum(), and TitleWidget().

00378 {
00379   //get directory name in which album directory will be placed in
00380   QString dirName = QFileDialog::getExistingDirectory(NULL,
00381                                                       this,
00382                                                       "get existing directory",
00383                                                       "Choose Directory for Album Folder",
00384                                                       TRUE);
00385   //if null return
00386   if(dirName.isNull())
00387     return;
00388     
00389   //create qdir object for specified directory  
00390   QDir d(dirName);
00391   //check if readable
00392   if(!d.isReadable())
00393     return;
00394     
00395   //create directory for album in this one
00396   //used album name changing spaces to _'s
00397   QString albumName = getAlbum()->getName();
00398   
00399   //if album name is an invalid (blank or just spaces) return
00400   if(albumName.stripWhiteSpace() == "")
00401     return;
00402   
00403   albumName.replace( QChar(' '), "_" );
00404   albumName.replace( "<", "" );
00405   albumName.replace( ">", "" );
00406   albumName.replace( "&", "and" );
00407   albumName.replace( "\"", "" );
00408   albumName.replace( "\'", "" );
00409   albumName.replace( "?", "" );
00410   
00411   //if unable to create directory return
00412   if(!d.mkdir(albumName))
00413   {
00414     cout << "Error! Unable to create save folder\n";
00415     return;
00416   }
00417 
00418   qApp->setOverrideCursor( QCursor(Qt::WaitCursor));
00419   
00420   //get path of full directory now
00421   QString fullPath = d.absPath() + "/" + albumName;
00422   
00423   //pop up save dialog
00424   SaveDialog* dialog = new SaveDialog();
00425   dialog->setGeometry(200, 200, 400, 300);
00426   dialog->show();
00427   dialog->repaint();
00428   
00429   //save
00430   getAlbum()->exportToDisk(dialog, fullPath);
00431   
00432   //close dialog
00433   delete dialog;
00434   
00435   qApp->restoreOverrideCursor();
00436 }

void TitleWidget::setAlbum Album *  val  ) 
 

Sets new pointer to the album object.

Definition at line 180 of file titleWidget.cpp.

References albm.

00181 {
00182   //delete old album
00183   delete albm;
00184   albm = val;
00185 }

void TitleWidget::setBusy bool  val  ) 
 

set program busy state

Definition at line 488 of file titleWidget.cpp.

References busy, cacheSetButtonState, file, NEW_ALBUM, OPEN_ALBUM, SAVE_ALBUM, SAVEAS_ALBUM, setImage, and setSetButtonState().

Referenced by SubalbumWidget::addImageAction(), SubalbumWidget::flipHorizontallyImageAction(), SubalbumWidget::flipVerticallyImageAction(), loadAlbum(), SubalbumWidget::removeImageAction(), SubalbumWidget::rotate270ImageAction(), SubalbumWidget::rotate90ImageAction(), and saveAlbum().

00489 {
00490   busy = val;
00491   
00492   //disable/enable file operations
00493   if(busy)
00494   {
00495     file->setItemEnabled(NEW_ALBUM, false);
00496     file->setItemEnabled(OPEN_ALBUM, false);
00497     file->setItemEnabled(SAVE_ALBUM, false);
00498     file->setItemEnabled(SAVEAS_ALBUM, false);
00499     cacheSetButtonState = setImage->isEnabled();
00500     setSetButtonState(false);
00501   }
00502   else
00503   {
00504     file->setItemEnabled(NEW_ALBUM, true);
00505     file->setItemEnabled(OPEN_ALBUM, true);
00506     file->setItemEnabled(SAVE_ALBUM, true);
00507     file->setItemEnabled(SAVEAS_ALBUM, true);
00508     setSetButtonState(cacheSetButtonState);
00509   }
00510 }

void TitleWidget::setImageAction  )  [private, slot]
 

Sets currently selected photo as the representative image for the subalbum.

Definition at line 193 of file titleWidget.cpp.

References albm, Photo::getImage(), Window::getLayout(), Album::getRepresentativeImage(), SubalbumWidget::getSelectedPhoto(), LayoutWidget::getSubalbum(), IMAGE, representativeLogo, Album::setRepresentativeImages(), SMALL, and window.

Referenced by TitleWidget().

00194 {
00195   //---------------------------------------------------------    
00196   //determine if a subalbum is even selected
00197   SubalbumWidget* sw = window->getLayout()->getSubalbum();
00198   if(sw == NULL)
00199     return;
00200   //---------------------------------------------------------        
00201   //determine if a photo is selected
00202   Photo* selectedPhoto = sw->getSelectedPhoto();
00203   if(selectedPhoto == NULL)
00204     return;
00205   //---------------------------------------------------------     
00206   //set representative iamges
00207   QImage* img = selectedPhoto->getImage(IMAGE);
00208   albm->setRepresentativeImages( img );
00209   delete img;
00210   img = NULL;
00211   //---------------------------------------------------------    
00212   //update onscreen images
00213   representativeLogo->setPixmap( *(albm->getRepresentativeImage(SMALL)) );
00214   //---------------------------------------------------------    
00215 }

void TitleWidget::setSetButtonState bool  state  ) 
 

Set active state of set button.

Definition at line 478 of file titleWidget.cpp.

References setImage.

Referenced by SubalbumsWidget::deleteAction(), setBusy(), and SubalbumWidget::updateButtons().

00479 {
00480   setImage->setEnabled(state);
00481 }

void TitleWidget::updateAuthor const QString &  val  )  [private, slot]
 

Updates album author.

Definition at line 175 of file titleWidget.cpp.

References albm, and Album::setAuthor().

Referenced by TitleWidget().

00176 {
00177   albm->setAuthor(val);
00178 }

void TitleWidget::updateDescription const QString &  val  )  [private, slot]
 

Updates album description.

Definition at line 170 of file titleWidget.cpp.

References albm, and Album::setDescription().

Referenced by TitleWidget().

00171 {
00172   albm->setDescription(val);
00173 }

void TitleWidget::updateName const QString &  val  )  [private, slot]
 

Updates album name.

Definition at line 165 of file titleWidget.cpp.

References albm, and Album::setName().

Referenced by TitleWidget().

00166 {
00167   albm->setName(val);
00168 }


Member Data Documentation

About* TitleWidget::about [private]
 

About box pointer.

Definition at line 164 of file titleWidget.h.

Referenced by aboutClosed(), aboutProgram(), and TitleWidget().

Album* TitleWidget::albm [private]
 

Backend album object.

Definition at line 158 of file titleWidget.h.

Referenced by getAlbum(), loadAlbum(), newAlbum(), refresh(), setAlbum(), setImageAction(), TitleWidget(), updateAuthor(), updateDescription(), and updateName().

QLabel* TitleWidget::albumAuthor [private]
 

"Author:" label

Definition at line 128 of file titleWidget.h.

Referenced by TitleWidget().

QLineEdit* TitleWidget::albumAuthorVal [private]
 

Actual album author.

Definition at line 131 of file titleWidget.h.

Referenced by refresh(), and TitleWidget().

QLabel* TitleWidget::albumDescription [private]
 

"Description:" label

Definition at line 122 of file titleWidget.h.

Referenced by TitleWidget().

QLineEdit* TitleWidget::albumDescriptionVal [private]
 

Actual album description.

Definition at line 125 of file titleWidget.h.

Referenced by refresh(), and TitleWidget().

QLabel* TitleWidget::albumName [private]
 

"Album Name:" label

Definition at line 116 of file titleWidget.h.

Referenced by saveAsAlbum(), and TitleWidget().

QLineEdit* TitleWidget::albumNameVal [private]
 

Actual album name.

Definition at line 119 of file titleWidget.h.

Referenced by refresh(), and TitleWidget().

QPixmap* TitleWidget::albumShaperImage [private]
 

Album Shaper Logo.

Definition at line 149 of file titleWidget.h.

Referenced by TitleWidget(), and ~TitleWidget().

QLabel* TitleWidget::albumShaperLogo [private]
 

Label which shows Album Shaper logo.

Definition at line 152 of file titleWidget.h.

Referenced by TitleWidget().

bool TitleWidget::busy [private]
 

Is the program currently busy? helps block other operations.

Definition at line 167 of file titleWidget.h.

Referenced by getBusy(), setBusy(), and TitleWidget().

bool TitleWidget::cacheSetButtonState [private]
 

Definition at line 176 of file titleWidget.h.

Referenced by setBusy().

QPopupMenu* TitleWidget::file [private]
 

File menu.

Definition at line 107 of file titleWidget.h.

Referenced by setBusy(), and TitleWidget().

QGridLayout* TitleWidget::grid [private]
 

Layout widgets placed in.

Definition at line 113 of file titleWidget.h.

Referenced by TitleWidget().

QPopupMenu* TitleWidget::help [private]
 

Help menu.

Definition at line 110 of file titleWidget.h.

Referenced by TitleWidget().

QFrame* TitleWidget::line [private]
 

Horizontal line.

Definition at line 155 of file titleWidget.h.

Referenced by TitleWidget().

QMenuBar* TitleWidget::menu [private]
 

Menubar file menu and help menu inserted in.

Definition at line 104 of file titleWidget.h.

Referenced by TitleWidget().

int TitleWidget::NEW_ALBUM [private]
 

Definition at line 170 of file titleWidget.h.

Referenced by setBusy(), and TitleWidget().

int TitleWidget::OPEN_ALBUM [private]
 

Definition at line 171 of file titleWidget.h.

Referenced by setBusy(), and TitleWidget().

QPixmap* TitleWidget::representativeImage [private]
 

Representative image.

Definition at line 146 of file titleWidget.h.

Referenced by TitleWidget(), and ~TitleWidget().

QLabel* TitleWidget::representativeImageText [private]
 

Label which shows "set" image.

Definition at line 134 of file titleWidget.h.

Referenced by TitleWidget().

QLabel* TitleWidget::representativeLogo [private]
 

Label which shows the representative image.

Definition at line 143 of file titleWidget.h.

Referenced by refresh(), setImageAction(), and TitleWidget().

int TitleWidget::SAVE_ALBUM [private]
 

Definition at line 172 of file titleWidget.h.

Referenced by setBusy(), and TitleWidget().

int TitleWidget::SAVEAS_ALBUM [private]
 

Definition at line 173 of file titleWidget.h.

Referenced by setBusy(), and TitleWidget().

QPushButton* TitleWidget::setImage [private]
 

Button allowing user to set the representative image for the subalbum.

Definition at line 140 of file titleWidget.h.

Referenced by setBusy(), setSetButtonState(), and TitleWidget().

QPixmap* TitleWidget::setImageImage [private]
 

"Set" image

Definition at line 137 of file titleWidget.h.

Referenced by TitleWidget(), and ~TitleWidget().

Window* TitleWidget::window [private]
 

Window pointer.

Definition at line 161 of file titleWidget.h.

Referenced by loadAlbum(), newAlbum(), saveAlbum(), setImageAction(), and TitleWidget().


The documentation for this class was generated from the following files:
Generated on Tue Jun 10 23:41:24 2003 for AlbumShaper by doxygen 1.3.1