Messagelib
12 #include "messageviewer_export.h"
20 namespace MessageViewer
22 class HeaderStylePlugin;
38 virtual QString htmlHead(
bool fixedFont =
false)
const;
41 Q_REQUIRED_RESULT
QString cssDefinitions(
bool fixedFont =
false)
const;
45 Q_REQUIRED_RESULT
QString quoteFontTag(
int level)
const;
48 Q_REQUIRED_RESULT
QString nonQuotedFontTag()
const;
50 Q_REQUIRED_RESULT
QFont bodyFont(
bool fixedFont =
false,
bool printing =
false)
const;
52 void setBodyFont(
const QFont &font);
53 void setPrintFont(
const QFont &font);
56 Q_REQUIRED_RESULT
QColor quoteColor(
int level)
const;
57 Q_REQUIRED_RESULT
QString quoteColorName(
int level)
const;
59 Q_REQUIRED_RESULT
QColor pgpWarnColor()
const;
61 Q_REQUIRED_RESULT
QString addEndBlockQuote(
int numberBlock)
const;
62 Q_REQUIRED_RESULT
QString addStartBlockQuote(
int numberBlock)
const;
64 Q_REQUIRED_RESULT
QString extraScreenCss(
const QString &headerFont)
const;
65 Q_REQUIRED_RESULT
QString extraPrintCss(
const QString &headerFont)
const;
66 Q_REQUIRED_RESULT
QString extraCommonCss(
const QString &headerFont)
const;
70 enum InlineMessageType { Positive, Information, Warning, Error, MESSAGE_TYPE_COUNT };
75 void recalculatePGPColors();
81 QFont mFixedPrintFont;
84 bool mRecycleQuoteColors =
false;
85 bool mShrinkQuotes =
false;
86 bool mUseBrowserColor =
false;
113 QColor cInlineMessage[MESSAGE_TYPE_COUNT];
119 Q_REQUIRED_RESULT
QString quoteCssDefinition()
const;
120 int fontSize(
bool fixed,
bool print =
false)
const;
122 Q_REQUIRED_RESULT
QString printCssDefinitions(
bool fixed)
const;
126 Q_REQUIRED_RESULT
QString commonCssDefinitions()
const;
127 Q_REQUIRED_RESULT
QString fullAddressList()
const;
128 Q_REQUIRED_RESULT
QString linkColorDefinition()
const;
129 Q_REQUIRED_RESULT
QString defaultScreenHeaderFont()
const;
130 Q_REQUIRED_RESULT
QString defaultPrintHeaderFont()
const;
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Apr 1 2023 04:01:56 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.