MessageViewer::CSSHelper

MessageViewer::CSSHelper Class Reference

#include <csshelper.h>

Inheritance diagram for MessageViewer::CSSHelper:

Public Member Functions

 CSSHelper (const QPaintDevice *pd)
 
QString endBodyHtml () const
 
QString htmlHead (bool fixedFont=false) const override
 
- Public Member Functions inherited from MessageViewer::CSSHelperBase
 CSSHelperBase (const QPaintDevice *pd)
 
QString addEndBlockQuote (int numberBlock) const
 
QString addStartBlockQuote (int numberBlock) const
 
QFont bodyFont (bool fixedFont=false, bool printing=false) const
 
QString cssDefinitions (bool fixedFont=false) const
 
QString extraCommonCss (const QString &headerFont) const
 
QString extraPrintCss (const QString &headerFont) const
 
QString extraScreenCss (const QString &headerFont) const
 
QString nonQuotedFontTag () const
 
QColor pgpWarnColor () const
 
QColor quoteColor (int level) const
 
QString quoteColorName (int level) const
 
QString quoteFontTag (int level) const
 
void setBodyFont (const QFont &font)
 
void setHeaderPlugin (const HeaderStylePlugin *headerPlugin)
 
void setPrintFont (const QFont &font)
 

Additional Inherited Members

- Public Types inherited from MessageViewer::CSSHelperBase
enum  InlineMessageType {
  Positive, Information, Warning, Error,
  MESSAGE_TYPE_COUNT
}
 
- Protected Member Functions inherited from MessageViewer::CSSHelperBase
void recalculatePGPColors ()
 
- Protected Attributes inherited from MessageViewer::CSSHelperBase
QColor cInlineMessage [MESSAGE_TYPE_COUNT]
 
QColor cPgpEncrB
 
QColor cPgpEncrF
 
QColor cPgpEncrH
 
QColor cPgpEncrHT
 
QColor cPgpErrB
 
QColor cPgpErrF
 
QColor cPgpErrH
 
QColor cPgpErrHT
 
QColor cPgpOk0B
 
QColor cPgpOk0F
 
QColor cPgpOk0H
 
QColor cPgpOk0HT
 
QColor cPgpOk1B
 
QColor cPgpOk1F
 
QColor cPgpOk1H
 
QColor cPgpOk1HT
 
QColor cPgpWarnB
 
QColor cPgpWarnF
 
QColor cPgpWarnH
 
QColor cPgpWarnHT
 
QString imgHideUrl
 
QString imgShowUrl
 
QColor mBackgroundColor
 
QFont mBodyFont
 
QFont mFixedFont
 
QFont mFixedPrintFont
 
QColor mForegroundColor
 
QColor mLinkColor
 
QFont mPrintFont
 
QColor mQuoteColor [3]
 
QFont mQuoteFont
 
bool mRecycleQuoteColors = false
 
bool mShrinkQuotes = false
 
bool mUseBrowserColor = false
 

Detailed Description

The CSSHelper class.

Definition at line 21 of file csshelper.h.

Member Function Documentation

QString CSSHelper::htmlHead ( bool  fixedFont = false) const
overridevirtual
Returns
HTML head including style sheet definitions and the >body< tag

Reimplemented from MessageViewer::CSSHelperBase.

Definition at line 121 of file csshelper.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Aug 12 2020 23:12:59 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.