KHTML
Go to the documentation of this file.
24 #include <QtGui/QCheckBox>
25 #include <QtGui/QLayout>
32 "<p><strong>'Print images'</strong></p>"
34 "If this checkbox is enabled, images contained in the HTML page will "
35 "be printed. Printing may take longer and use more ink or toner."
38 "If this checkbox is disabled, only the text of the HTML page will be "
39 "printed, without the included images. Printing will be faster and use "
44 "<p><strong>'Print header'</strong></p>"
46 "If this checkbox is enabled, the printout of the HTML document will "
47 "contain a header line at the top of each page. This header contains "
48 "the current date, the location URL of the printed page and the page "
52 "If this checkbox is disabled, the printout of the HTML document will "
53 "not contain such a header line."
57 "<p><strong>'Printerfriendly mode'</strong></p>"
59 "If this checkbox is enabled, the printout of the HTML document will "
60 "be black and white only, and all colored background will be converted "
61 "into white. Printout will be faster and use less ink or toner."
64 "If this checkbox is disabled, the printout of the HTML document will "
65 "happen in the original color settings as you see in your application. "
66 "This may result in areas of full-page color (or grayscale, if you use "
67 "a black+white printer). Printout will possibly happen more slowly and "
68 "will probably use more toner or ink."
71 setWindowTitle(
i18n(
"HTML Settings"));
73 m_printfriendly =
new QCheckBox(
i18n(
"Printer friendly mode (black text, no background)"),
this);
74 m_printfriendly->setWhatsThis(whatsThisPrinterFriendlyMode);
75 m_printfriendly->setChecked(
true);
76 m_printimages =
new QCheckBox(
i18n(
"Print images"),
this);
77 m_printimages->setWhatsThis(whatsThisPrintImages);
78 m_printimages->setChecked(
true);
79 m_printheader =
new QCheckBox(
i18n(
"Print header"),
this);
80 m_printheader->setWhatsThis(whatsThisPrintHeader);
81 m_printheader->setChecked(
true);
83 QVBoxLayout *l0 =
new QVBoxLayout(
this);
84 l0->addWidget(m_printfriendly);
85 l0->addWidget(m_printimages);
86 l0->addWidget(m_printheader);
96 return m_printfriendly->isChecked();
101 return m_printimages->isChecked();
106 return m_printheader->isChecked();
110 #include "khtml_printsettings.moc"
QString i18n(const char *text)
KHTMLPrintSettings(QWidget *parent=0)
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:21 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.