//============================================== // copyright : (C) 2003-2005 by Will Stokes //============================================== // This program is free software; you can redistribute it // and/or modify it under the terms of the GNU General // Public License as published by the Free Software // Foundation; either version 2 of the License, or // (at your option) any later version. //============================================== //Systemwide includes #include #include #include #include #include //Projectwide includes #include "loadSave.h" #include "helpWindow.h" #include "../../config.h" //============================================== QString LoadSave::filename() { return QString("%1/saveLoad.html").arg(TEMP_DIR); } //============================================== void LoadSave::generateHTML(QTextStream::Encoding type, QString charSet) { //create/open html file QFile file( filename() ); if(file.open(IO_WriteOnly)) { //----- QTextStream stream; stream.setEncoding( type ); stream.setDevice( &file ); //----- stream << "\n"; stream << "\n"; stream << "\n"; stream << "\n"; stream << "\n"; stream << "\n"; stream << "
"; stream << HelpWindow::tr("Saving & Loading") << "
\n"; stream << "\n"; stream << "\n"; stream << "\n"; stream << "\n"; file.close(); } } //==============================================
\n"; stream << "
\n"; stream << "" << HelpWindow::tr("Saving Albums:") << "\n"; stream << "
\n"; stream << "
\n"; stream << "

\n"; stream << HelpWindow::tr("To save an album, choose File → Save. The first time an album is saved, or whenever using the Save As command, you will be presented with the dialog pictured at the right. First, choose a theme to use when saving your album on the left. Preview images and additional details of the selected theme are shown to the right. Themes determine the look and feel of the generated web album. At the bottom you can choose the location you wish to save to.") << "\n"; stream << "

\n"; stream << HelpWindow::tr("If you wish to switch themes in the future, use the Save As command, pick the new theme, and save over the top of the old album.") << "\n"; stream << "

\n"; stream << "\n"; stream << "
\n"; stream << "
\n"; stream << "
\n"; stream << "" << HelpWindow::tr("Loading Albums:") << "\n"; stream << "
\n"; stream << "
\n"; stream << "\n"; stream << "\n"; stream << "

\n"; stream << HelpWindow::tr("Album Shaper makes loading albums easy. Use the File → Open Recent menu. If you have a lot of albums, or if you are opening an album created on a different machine, select File → Open, browse to the album's location, and open the Album.xml file within this directory.") << "\n"; stream << "

\n"; stream << HelpWindow::tr("If you want to restore an album to its last saved state, you can either load it again, or use File → Revert to Saved.") << "\n"; stream << "

\n"; stream << "
\n"; stream << "
\n"; stream << "" << HelpWindow::tr("Exporting:") << "\n"; stream << "
\n"; stream << "
\n"; stream << "

\n"; stream << HelpWindow::tr("In addition to producing web galleries, Album Shaper can export your photos in a number of other formats.") << "\n"; stream << "

    \n"; stream << "
  • " << HelpWindow::tr("To use a photo as your desktop wallpaper, select the photo and click the Desktop button at the bottom of the organize view.") << "\n"; stream << "

    \n"; stream << "

  • " << HelpWindow::tr("To export a small web gallery that does not include full-size images, select File → Export → Small Web Gallery.") << "\n"; stream << "

    \n"; stream << "

  • " << HelpWindow::tr("To export an entire album's contents for printing, select File → Export → Images for Printing. Only the full-size images will be exported to a directory along side your album on disk.") << "\n"; stream << "
\n"; stream << "
\n"; stream << "