//============================================== // 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 "manipulating.h" #include "helpWindow.h" #include "../../config.h" //============================================== QString Manipulating::filename() { return QString("%1/manipulating.html").arg(TEMP_DIR); } //============================================== void Manipulating::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("Manipulations") << "
\n"; stream << "\n"; stream << "
\n"; stream << "
\n"; stream << "" << HelpWindow::tr("Stylize your Photos:") << "\n"; stream << "
\n"; stream << "
\n"; stream << "

\n"; stream << HelpWindow::tr("If you want to stylize your photo, try applying one of the many manipulations. Manipulation controls are located at the lower right of the photo editor. A preview of the selected manipulation is shown to the right of the manipulation controls. Create your own effects by applying several manipulations.") << "\n"; stream << "

\n"; stream << "\n"; stream << "
\n"; stream << "
\n"; stream << "
\n"; stream << "\n"; stream << "\n"; stream << "

\n"; stream << HelpWindow::tr("Album Shaper currently supports the following manipulations pictured from left to right: black and white, sepia coloring, invert colors, color preserving emboss, and an oil painting effect.") << "\n"; stream << "

\n"; stream << "\n"; stream << "\n"; file.close(); } } //==============================================