#include <manipulating.h>
Definition at line 16 of file manipulating.h.
§ filename()
QString Manipulating::filename |
( |
| ) |
|
|
static |
§ generateHTML()
void Manipulating::generateHTML |
( |
Q3TextStream::Encoding |
type, |
|
|
QString |
charSet |
|
) |
| |
|
static |
generates the html file
Definition at line 29 of file manipulating.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(
"Manipulations") <<
"</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(
"Stylize 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(
"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";
59 stream <<
"</td><td valign='middle'>\n";
60 stream <<
"<img src='" << IMAGE_PATH <<
"helpImages/manipulateControls.png'>\n";
61 stream <<
"</td></tr></table>\n";
63 stream <<
"</td></tr><tr><td>\n";
65 stream <<
"<table cellpadding='4' cellspacing='0'><tr><td valign='middle'>\n";
66 stream <<
"<img src='" << IMAGE_PATH <<
"helpImages/manipulations.png'>\n";
67 stream <<
"</td><td valign='middle'>\n";
68 stream <<
"<p align='justify'>\n";
69 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";
70 stream <<
"</td></tr></table>\n";
71 stream <<
"</font>\n";
72 stream <<
"</body></html>\n";
static QString filename()
returns the html filename
The documentation for this class was generated from the following files: