messageviewer
entrepriseheaderstyle.cpp
Go to the documentation of this file.
76 const QString borderSettings( QLatin1String(" padding-top: 0px; padding-bottom: 0px; border-width: 0px ") );
88 QLatin1String("<div style=\"margin-left: 10px; top: 0px;\"><span style=\"font-size: 0.8em; font-weight: bold;\">")
89 + MessageViewer::HeaderStyleUtil::dateString( message, isPrinting(), /* shortDate */ false ) + QLatin1String("</span></div>"
91 "<table style=\"background: ")+activeColorDark.name()+QLatin1String("; border-collapse:collapse; top: 14px; min-width: 200px; \" cellpadding=0> \n"
93 " <td style=\"min-width: 6px; background-image: url(")+imgpath+QLatin1String("top_left.png); \"></td> \n"
94 " <td style=\"height: 6px; width: 100%; background: url(")+imgpath+QLatin1String("top.png); \"></td> \n"
95 " <td style=\"min-width: 6px; background: url(")+imgpath+QLatin1String("top_right.png); \"></td> </tr> \n"
97 " <td style=\"min-width: 6px; max-width: 6px; background: url(")+imgpath+QLatin1String("left.png); \"></td> \n"
100 QLatin1String("<div class=\"noprint\" style=\"z-index: 1; float:right; position: relative; top: -35px; right: 20px ; max-height: 65px\">\n"
104 QLatin1String(" <table style=\"color: ")+fontColor.name()+QLatin1String(" ! important; margin: 1px; border-spacing: 0px;\" cellpadding=0> \n");
110 " <td style=\"font-size: 0.5em; text-align: right; padding-left: 5px; padding-right: 24px; ")+borderSettings+QLatin1String("\"></td> \n"
111 " <td style=\"font-weight: bolder; font-size: 120%; padding-right: 91px; ")+borderSettings+QLatin1String("\">");
122 fromPart += QLatin1String(" <a href=\"") + vCardName() + QLatin1String("\" ")+linkColor+ QLatin1Char('>') + i18n("[vCard]") + QLatin1String("</a>");
127 " <td style=\"font-size: 0.8em; padding-left: 5px; padding-right: 24px; text-align: right; vertical-align:top; ")+borderSettings+QLatin1String("\">")+i18n("From: ")+QLatin1String("</td> \n"
136 " <td style=\"font-size: 0.8em; text-align: right; vertical-align:top; padding-left: 5px; padding-right: 24px; ") + borderSettings + QLatin1String("\">") + i18n("To: ") + QLatin1String("</td> "
147 " <td style=\"font-size: 0.8em; text-align: right; vertical-align:top; padding-left: 5px; padding-right: 24px; ") + borderSettings + QLatin1String("\">") + i18n("CC: ") + QLatin1String("</td> "
158 " <td style=\"font-size: 0.8em; text-align: right; vertical-align:top; padding-left: 5px; padding-right: 24px; ") + borderSettings + QLatin1String("\">") + i18n("BCC: ") + QLatin1String("</td> "
170 "<td style='min-width: 6px; max-width: 6px; background: url(")+imgpath+QLatin1String("left.png);'</td>"
176 "<td style='min-width: 6px; max-width: 6px; background: url(")+imgpath+QLatin1String("right.png);'</td>"
184 " <td style=\"min-width: 6px; max-height: 15px; background: url(")+imgpath+QLatin1String("right.png); \"></td> \n"
187 " <td style=\"min-width: 6px; background: url(")+imgpath+QLatin1String("s_left.png); \"></td> \n"
188 " <td style=\"height: 35px; width: 80%; background: url(")+imgpath+QLatin1String("sbar.png);\"> \n"
189 " <img src=\"")+imgpath+QLatin1String("sw.png\" style=\"margin: 0px; height: 30px; overflow:hidden; \"> \n"
191 " <td style=\"min-width: 6px; background: url(")+imgpath+QLatin1String("s_right.png); \"></td> \n"
QString & append(QChar ch)
QString dateString(KMime::Message *message, bool printing, bool shortDate)
Definition: headerstyle_util.cpp:54
QString name() const
QString & prepend(QChar ch)
Definition: headerstrategy.h:42
QColor dark(int factor) const
QString subjectString(KMime::Message *message, int flags)
Definition: headerstyle_util.cpp:69
virtual bool showHeader(const QString &header) const
Definition: headerstrategy.cpp:62
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.