MessageViewer::CSSHelper

Search for usage in LXR

MessageViewer::CSSHelper Class Reference

#include <csshelper.h>

Inheritance diagram for MessageViewer::CSSHelper:

Public Member Functions

 CSSHelper (const QPaintDevice *pd)
 
QString endBodyHtml () const
 
QString htmlHead (const HtmlHeadSettings &htmlHeadSettings) const override
 
void updateColor ()
 
- 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 (const HtmlHeadSettings &) const
 
QString extraCommonCss (const QString &headerFont) const
 
QString extraPrintCss (const QString &headerFont) const
 
QString extraScreenCss (const QString &headerFont) const
 
const HeaderStylePluginheaderPlugin () 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.

Constructor & Destructor Documentation

◆ CSSHelper()

CSSHelper::CSSHelper ( const QPaintDevice * pd)
explicit

Definition at line 34 of file csshelper.cpp.

Member Function Documentation

◆ endBodyHtml()

QString CSSHelper::endBodyHtml ( ) const
nodiscard

Definition at line 123 of file csshelper.cpp.

◆ htmlHead()

QString CSSHelper::htmlHead ( const HtmlHeadSettings & htmlHeadSettings) const
nodiscardoverridevirtual
Returns
HTML head including style sheet definitions and the >body< tag

Reimplemented from MessageViewer::CSSHelperBase.

Definition at line 112 of file csshelper.cpp.

◆ updateColor()

void CSSHelper::updateColor ( )

Definition at line 104 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-2024 The KDE developers.
Generated on Fri Jul 26 2024 11:54:20 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.