#include <enhancing.h>
Definition at line 16 of file enhancing.h.
§ filename()
QString Enhancing::filename |
( |
| ) |
|
|
static |
§ generateHTML()
void Enhancing::generateHTML |
( |
Q3TextStream::Encoding |
type, |
|
|
QString |
charSet |
|
) |
| |
|
static |
generates the html file
Definition at line 29 of file enhancing.cpp.
References filename(), and IMAGE_PATH.
Referenced by HelpWindow::HelpWindow().
33 if(file.open(QIODevice::WriteOnly))
37 stream.setEncoding( type );
38 stream.setDevice( &file );
40 stream <<
"<html><head>\n";
41 stream <<
"<meta http-equiv='Content-Type' content='text/html; charset=" << charSet <<
"'>\n";
42 stream <<
"</head><body>\n";
43 stream <<
"<table cellpadding='4'><tr>\n";
44 stream <<
"<td><img src='" <<
IMAGE_PATH <<
"helpImages/asHelpLogoSmall.png'></td>\n";
45 stream <<
"<td valign='middle'><font face='Arial, sans-serif' size='+3'>";
46 stream << HelpWindow::tr(
"Fix it Fast") <<
"</font></td>\n";
47 stream <<
"</tr></table>\n";
48 stream <<
"<font face='Arial, sans-serif'>\n";
50 stream <<
"<table cellspacing='10' cellpadding='0'><tr><td>\n";
52 stream <<
"<table width='100%' cellpadding='4' cellspacing='0'><tr><td bgcolor='lightgray'>\n";
53 stream <<
"<font size='+1'><b>" << HelpWindow::tr(
"Enhancing your Photos:") <<
"</b></font>\n";
54 stream <<
"</td></tr></table>\n";
56 stream <<
"<table cellpadding='4' cellspacing='0'><tr><td valign='middle'>\n";
57 stream <<
"<p align='justify'>\n";
58 stream << HelpWindow::tr(
"Album Shaper allows you to quickly enhance your photos. Enhancing controls are clustered at the bottom center of the editing interface.") <<
"\n";
59 stream <<
"</td><td valign='middle'>\n";
60 stream <<
"<img src='" << IMAGE_PATH <<
"helpImages/enhanceControls.png'>\n";
61 stream <<
"</td></tr></table>\n";
63 stream <<
"</td></tr><tr><td>\n";
65 stream <<
"<table width='100%' cellpadding='4' cellspacing='0'><tr><td bgcolor='lightgray'>\n";
66 stream <<
"<font size='+1'><b>" << HelpWindow::tr(
"Color Correction:") <<
"</b></font>\n";
67 stream <<
"</td></tr></table>\n";
69 stream <<
"<table cellpadding='4' cellspacing='0'><tr><td valign='middle'>\n";
70 stream <<
"<img src='" << IMAGE_PATH <<
"helpImages/colorCorrection.png'>\n";
71 stream <<
"</td><td valign='middle'>\n";
72 stream <<
"<p align='justify'>\n";
73 stream << HelpWindow::tr(
"When taking photos under poor light without a flash, or simply when odd lighting is present, your photos can take on strange tints that can be quite irritable. Clicking the <font color='red'>Color</font> button can often fix such problems.") <<
"\n";
74 stream <<
"</td></tr></table>\n";
76 stream <<
"</td></tr><tr><td>\n";
78 stream <<
"<table width='100%' cellpadding='4' cellspacing='0'><tr><td bgcolor='lightgray'>\n";
79 stream <<
"<font size='+1'><b>" << HelpWindow::tr(
"Contrast Correction:") <<
"</b></font>\n";
80 stream <<
"</td></tr></table>\n";
82 stream <<
"<table cellpadding='4' cellspacing='0'><tr><td valign='middle'>\n";
83 stream <<
"<p align='justify'>\n";
84 stream << HelpWindow::tr(
"Sometimes your photos appear muddy or have a haze over them, obscuring details. Whether the water was muddy, your lense was dirty, or mist was in the air, Album Shaper will try to fix these problems if you click the <font color='red'>Contrast</font> button.") <<
"\n";
85 stream <<
"</td><td valign='middle'>\n";
86 stream <<
"<img src='" << IMAGE_PATH <<
"helpImages/contrastCorrection.png'>\n";
87 stream <<
"</td></tr></table>\n";
89 stream <<
"</td></tr><tr><td>\n";
91 stream <<
"<table width='100%' cellpadding='4' cellspacing='0'><tr><td bgcolor='lightgray'>\n";
92 stream <<
"<font size='+1'><b>" << HelpWindow::tr(
"Red Eye Removal:") <<
"</b></font>\n";
93 stream <<
"</td></tr></table>\n";
95 stream <<
"<table cellpadding='4' cellspacing='0'><tr><td valign='middle'>\n";
96 stream <<
"<img src='" << IMAGE_PATH <<
"helpImages/redEyeRemoval.png'>\n";
97 stream <<
"</td><td valign='middle'>\n";
98 stream <<
"<p align='justify'>\n";
99 stream << HelpWindow::tr(
"Compact digital camera designs that use an integrated flash often capture red-eye artifacts in images. While the best way to handle this is to use an external flash, Album Shaper provides a clever eye detection and red eye removal tool to fix red-eye problems in photos. Simply select each face region and click the <font color='red'>Red Eye</font> button.") <<
"\n";
101 stream <<
"<p>" << HelpWindow::tr(
"Album Shaper can often find the red eyes when the entire image is selected, but to get the most accurate and fastest results, it is best to select the smallest area containing red eyes as possible.") <<
"\n";
102 stream <<
"</td></tr></table>\n";
104 stream <<
"</font>\n";
105 stream <<
"</body></html>\n";
static QString filename()
returns the html filename
The documentation for this class was generated from the following files: