Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

WhatsNew Class Reference

#include <whatsNew.h>

List of all members.

Static Public Member Functions

QString filename ()
 returns the html filename
void generateHTML (QTextStream::Encoding type, QString charSet)
 generates the html file

Static Private Member Functions

void item (QTextStream &, QString item)


Member Function Documentation

QString WhatsNew::filename  )  [static]
 

returns the html filename

Definition at line 24 of file whatsNew.cpp.

References TEMP_DIR.

Referenced by generateHTML().

00025 {
00026   return QString("%1/whatsNew.html").arg(TEMP_DIR);
00027 }

void WhatsNew::generateHTML QTextStream::Encoding  type,
QString  charSet
[static]
 

generates the html file

Definition at line 29 of file whatsNew.cpp.

References ALBUMSHAPER_VERSION, filename(), IMAGE_PATH, and item().

Referenced by HelpWindow::HelpWindow().

00030 {
00031 
00032   //create/open html file
00033   QFile file( filename() );
00034   if(file.open(IO_WriteOnly))
00035   {
00036     //-----
00037     QTextStream stream;
00038     stream.setEncoding( type );
00039     stream.setDevice( &file );
00040     //-----
00041     stream << "<html><head>\n";
00042     stream << "<meta http-equiv='Content-Type' content='text/html; charset=" << charSet << "'>\n";
00043     stream << "</head><body>\n";
00044     stream << "<table cellpadding='4'><tr>\n";
00045     stream << "  <td><img src='" << IMAGE_PATH << "helpImages/asHelpLogoSmall.png'></td>\n";
00046     stream << "  <td valign='middle'><font face='Arial, sans-serif' size='+3'>";
00047     stream << QString(HelpWindow::tr("What's New in Album Shaper %1")).arg(ALBUMSHAPER_VERSION);
00048     stream << "</font></td>\n";
00049     stream << "</tr></table>\n";
00050 
00051     stream << "<font face='Arial, sans-serif'>\n";
00052     stream << "<table cellspacing='10' cellpadding='0'><tr><td>\n";
00053 
00054     stream << "<table width='100%' cellpadding='4' cellspacing='0'><tr><td bgcolor='lightgray'>\n";
00055     stream << "<font size='+1'><b>" << HelpWindow::tr("Importing and Organizing:") << "</b></font>\n";
00056     stream << "</td></tr></table>\n";
00057     stream << "<ul>\n";
00058     item( stream, HelpWindow::tr("Much faster image resizing, enabling you to quickly add photos to your albums"));
00059     item( stream, HelpWindow::tr("During add photos/batch operations, the number of remaining items is included in a status message"));
00060     item( stream, HelpWindow::tr("Smaller album sizes and better EXIF support"));
00061     item( stream, HelpWindow::tr("Add photo preview and detail in add photos dialog"));
00062     stream << "</ul>\n";
00063 
00064     stream << "<table width='100%' cellpadding='4' cellspacing='0'><tr><td bgcolor='lightgray'>\n";
00065     stream << "<font size='+1'><b>" << HelpWindow::tr("Rewritten Editing Interface:") << "</b></font>\n";
00066     stream << "</td></tr></table>\n";
00067     stream << "<ul>\n";
00068     item( stream, HelpWindow::tr("Much faster lossless rotating and flipping transformations"));
00069     item( stream, HelpWindow::tr("Semi-automatic tilt correction tool"));
00070     item( stream, HelpWindow::tr("Automatic color enhancement tool"));
00071     item( stream, HelpWindow::tr("Automatic contrast enhancement tool"));
00072     item( stream, HelpWindow::tr("Sophisticated red-eye reduction tool"));
00073     item( stream, HelpWindow::tr("Histogram interface for changing brightness, contrast, and color and luminosity levels"));
00074     item( stream, HelpWindow::tr("Grain editor for blurring and sharpening images"));
00075     item( stream, HelpWindow::tr("Sepia, oil painting, and color embossing image manipulations"));
00076     item( stream, HelpWindow::tr("Crop, B+W, and invert manipulations rewritten and significantly faster"));
00077     item( stream, HelpWindow::tr("Real time previews of image manipulations"));
00078     item( stream, HelpWindow::tr("Crop to preset aspect ratios or current display resolution"));
00079     item( stream, HelpWindow::tr("DPI indicated with green/red coloring and text when cropping to preset image sizes"));
00080     item( stream, HelpWindow::tr("Selected regions can be adjusted by dragging any side, corner, or entire selection around"));
00081     item( stream, HelpWindow::tr("Selected regions can be rotated and scaled in place while maintaining their aspect ratio"));
00082     item( stream, HelpWindow::tr("Selected regions can be nudged left/right/up/down using arrow keys"));
00083     item( stream, HelpWindow::tr("New selection painting system enhances contrast to make selections stand out"));
00084     item( stream, HelpWindow::tr("Selection resolutions are displayed, letting you crop to exact sizes"));
00085     item( stream, HelpWindow::tr("Photos can be rotated and flipped within editing interface"));
00086     item( stream, HelpWindow::tr("Busy indicators and progress bar for all non-instantaneous operations within editing interface"));
00087     item( stream, HelpWindow::tr("Double click any photo to edit"));
00088     item( stream, HelpWindow::tr("Switch photos while in editing interface"));
00089     item( stream, HelpWindow::tr("Photo modifications always reversible"));
00090     stream << "</ul>\n";
00091 
00092     stream << "<table width='100%' cellpadding='4' cellspacing='0'><tr><td bgcolor='lightgray'>\n";
00093     stream << "<font size='+1'><b>" << HelpWindow::tr("Loading, Saving, and Exporting:") << "</b></font>\n";
00094     stream << "</td></tr></table>\n";
00095     stream << "<ul>\n";
00096     item( stream, HelpWindow::tr("Quickly load albums using the new <font color='red'>Open Recent</font> menu"));
00097     item( stream, HelpWindow::tr("Revert to last saved album"));
00098     item( stream, HelpWindow::tr("Set desktop wallpaper with the click of a button"));
00099     item( stream, HelpWindow::tr("Export small web galleries"));
00100     item( stream, HelpWindow::tr("Export images for printing"));
00101     stream << "</ul>\n";
00102 
00103     stream << "<table width='100%' cellpadding='4' cellspacing='0'><tr><td bgcolor='lightgray'>\n";
00104     stream << "<font size='+1'><b>" << HelpWindow::tr("Bug Fixes:") << "</b></font>\n";
00105     stream << "</td></tr></table>\n";
00106     stream << "<ul>\n";
00107     item( stream, HelpWindow::tr("Windows 95, 98 and ME now experimentally supported"));
00108     item( stream, HelpWindow::tr("Files ending with .HTM are now removed during save"));
00109     item( stream, HelpWindow::tr("qmake does not need to be run a second time before doing a make install on Linux/FreeBSD"));
00110     item( stream, HelpWindow::tr("Close button on the Album Statistics window now displayed properly"));
00111     item( stream, HelpWindow::tr("Support for Norwegian variant of Windows"));
00112     item( stream, HelpWindow::tr("Expanding and contracting a photo with an empty description no longer trips album modified bit"));
00113     item( stream, HelpWindow::tr("Fixed bug involving progress messages erratically disappearing next to progress bar"));
00114     item( stream, HelpWindow::tr("Flip vertical and flip horizontal button images swapped to properly reflect these actions"));
00115     item( stream, HelpWindow::tr("Selection bugs in editing interface fixed with complete rewrite of selection system"));
00116     item( stream, HelpWindow::tr("Albums can now be loaded/saved to paths that contain spaces"));
00117     item( stream, HelpWindow::tr("Command-M now minimizes application to the Dock on Mac OSX"));
00118     item( stream, HelpWindow::tr("Plugged various memory leaks"));
00119     item( stream, HelpWindow::tr("Fixed horizontal scrollbars showing when expanding photos"));
00120     item( stream, HelpWindow::tr("Fixed hang when user expands photo then switches to a different apps"));
00121     item( stream, HelpWindow::tr("Fixed minor painting mistakes when editing photo descriptions"));
00122     item( stream, HelpWindow::tr("Photos added to collections through drag and drop are now inserted in the correct order."));
00123     item( stream, HelpWindow::tr("Fixed many problems which resulted from photo and album paths including accented characters."));
00124     item( stream, HelpWindow::tr("Fixed various glitches that occured when rearranging photos within collections."));
00125     
00126     stream << "</ul>\n";
00127     
00128     stream << "</td></tr>\n";
00129     stream << "</table></font>\n";
00130     stream << "</body></html>\n";
00131     file.close();
00132   }
00133 }

void WhatsNew::item QTextStream &  ,
QString  item
[static, private]
 

Definition at line 135 of file whatsNew.cpp.

Referenced by generateHTML().

00136 {
00137   stream << "<li>" << item << "\n";
00138 }


The documentation for this class was generated from the following files:
Generated on Sat Apr 2 05:45:24 2005 for AlbumShaper by  doxygen 1.3.9.1