#include <csshelperbase.h>
|
enum | InlineMessageType {
Positive
, Information
, Warning
, Error
,
MESSAGE_TYPE_COUNT
} |
|
The CSSHelperBase class.
Definition at line 26 of file csshelperbase.h.
◆ InlineMessageType
enum MessageViewer::CSSHelperBase::InlineMessageType |
◆ CSSHelperBase()
MessageViewer::CSSHelperBase::CSSHelperBase |
( |
const QPaintDevice * | pd | ) |
|
|
explicit |
Construct a CSSHelper object and set its font and color settings to default values.
Sub-Classes should put their config loading here.
Definition at line 69 of file csshelperbase.cpp.
◆ addEndBlockQuote()
QString MessageViewer::CSSHelperBase::addEndBlockQuote |
( |
int | numberBlock | ) |
const |
|
nodiscard |
◆ addStartBlockQuote()
QString MessageViewer::CSSHelperBase::addStartBlockQuote |
( |
int | numberBlock | ) |
const |
|
nodiscard |
◆ bodyFont()
QFont MessageViewer::CSSHelperBase::bodyFont |
( |
bool | fixedFont = false, |
|
|
bool | printing = false ) const |
|
nodiscard |
◆ cssDefinitions()
QString MessageViewer::CSSHelperBase::cssDefinitions |
( |
const HtmlHeadSettings & | htmlHeadSetting | ) |
const |
|
nodiscard |
◆ extraCommonCss()
QString MessageViewer::CSSHelperBase::extraCommonCss |
( |
const QString & | headerFont | ) |
const |
|
nodiscard |
◆ extraPrintCss()
QString MessageViewer::CSSHelperBase::extraPrintCss |
( |
const QString & | headerFont | ) |
const |
|
nodiscard |
◆ extraScreenCss()
QString MessageViewer::CSSHelperBase::extraScreenCss |
( |
const QString & | headerFont | ) |
const |
|
nodiscard |
◆ headerPlugin()
◆ htmlHead()
QString MessageViewer::CSSHelperBase::htmlHead |
( |
const HtmlHeadSettings & | htmlHeadSettings | ) |
const |
|
virtual |
◆ nonQuotedFontTag()
QString MessageViewer::CSSHelperBase::nonQuotedFontTag |
( |
| ) |
const |
|
nodiscard |
- Returns
- a <div> start tag with embedded style information suitable for non-quoted text
Definition at line 235 of file csshelperbase.cpp.
◆ pgpWarnColor()
QColor MessageViewer::CSSHelperBase::pgpWarnColor |
( |
| ) |
const |
|
nodiscard |
◆ quoteColor()
QColor MessageViewer::CSSHelperBase::quoteColor |
( |
int | level | ) |
const |
|
nodiscard |
- Returns
- the quote color for the given level, where level ranges from 0 to 2
Definition at line 774 of file csshelperbase.cpp.
◆ quoteColorName()
QString MessageViewer::CSSHelperBase::quoteColorName |
( |
int | level | ) |
const |
|
nodiscard |
◆ quoteFontTag()
QString MessageViewer::CSSHelperBase::quoteFontTag |
( |
int | level | ) |
const |
|
nodiscard |
- Returns
- a <div> start tag with embedded style information suitable for quoted text with quote level
level
Definition at line 202 of file csshelperbase.cpp.
◆ recalculatePGPColors()
void MessageViewer::CSSHelperBase::recalculatePGPColors |
( |
| ) |
|
|
protected |
Recalculate PGP frame and body colors (should be called after changing color settings)
Definition at line 80 of file csshelperbase.cpp.
◆ setBodyFont()
void MessageViewer::CSSHelperBase::setBodyFont |
( |
const QFont & | font | ) |
|
◆ setHeaderPlugin()
void MessageViewer::CSSHelperBase::setHeaderPlugin |
( |
const HeaderStylePlugin * | headerPlugin | ) |
|
◆ setPrintFont()
void MessageViewer::CSSHelperBase::setPrintFont |
( |
const QFont & | font | ) |
|
◆ cInlineMessage
QColor MessageViewer::CSSHelperBase::cInlineMessage[MESSAGE_TYPE_COUNT] |
|
protected |
◆ cPgpEncrB
QColor MessageViewer::CSSHelperBase::cPgpEncrB |
|
protected |
◆ cPgpEncrF
QColor MessageViewer::CSSHelperBase::cPgpEncrF |
|
protected |
◆ cPgpEncrH
QColor MessageViewer::CSSHelperBase::cPgpEncrH |
|
protected |
◆ cPgpEncrHT
QColor MessageViewer::CSSHelperBase::cPgpEncrHT |
|
protected |
◆ cPgpErrB
QColor MessageViewer::CSSHelperBase::cPgpErrB |
|
protected |
◆ cPgpErrF
QColor MessageViewer::CSSHelperBase::cPgpErrF |
|
protected |
◆ cPgpErrH
QColor MessageViewer::CSSHelperBase::cPgpErrH |
|
protected |
◆ cPgpErrHT
QColor MessageViewer::CSSHelperBase::cPgpErrHT |
|
protected |
◆ cPgpOk0B
QColor MessageViewer::CSSHelperBase::cPgpOk0B |
|
protected |
◆ cPgpOk0F
QColor MessageViewer::CSSHelperBase::cPgpOk0F |
|
protected |
◆ cPgpOk0H
QColor MessageViewer::CSSHelperBase::cPgpOk0H |
|
protected |
◆ cPgpOk0HT
QColor MessageViewer::CSSHelperBase::cPgpOk0HT |
|
protected |
◆ cPgpOk1B
QColor MessageViewer::CSSHelperBase::cPgpOk1B |
|
protected |
◆ cPgpOk1F
QColor MessageViewer::CSSHelperBase::cPgpOk1F |
|
protected |
◆ cPgpOk1H
QColor MessageViewer::CSSHelperBase::cPgpOk1H |
|
protected |
◆ cPgpOk1HT
QColor MessageViewer::CSSHelperBase::cPgpOk1HT |
|
protected |
◆ cPgpWarnB
QColor MessageViewer::CSSHelperBase::cPgpWarnB |
|
protected |
◆ cPgpWarnF
QColor MessageViewer::CSSHelperBase::cPgpWarnF |
|
protected |
◆ cPgpWarnH
QColor MessageViewer::CSSHelperBase::cPgpWarnH |
|
protected |
◆ cPgpWarnHT
QColor MessageViewer::CSSHelperBase::cPgpWarnHT |
|
protected |
◆ imgHideUrl
QString MessageViewer::CSSHelperBase::imgHideUrl |
|
protected |
◆ imgShowUrl
QString MessageViewer::CSSHelperBase::imgShowUrl |
|
protected |
◆ mBackgroundColor
QColor MessageViewer::CSSHelperBase::mBackgroundColor |
|
protected |
◆ mBodyFont
QFont MessageViewer::CSSHelperBase::mBodyFont |
|
protected |
◆ mFixedFont
QFont MessageViewer::CSSHelperBase::mFixedFont |
|
protected |
◆ mFixedPrintFont
QFont MessageViewer::CSSHelperBase::mFixedPrintFont |
|
protected |
◆ mForegroundColor
QColor MessageViewer::CSSHelperBase::mForegroundColor |
|
protected |
◆ mLinkColor
QColor MessageViewer::CSSHelperBase::mLinkColor |
|
protected |
◆ mPrintFont
QFont MessageViewer::CSSHelperBase::mPrintFont |
|
protected |
◆ mQuoteColor
QColor MessageViewer::CSSHelperBase::mQuoteColor[3] |
|
protected |
◆ mQuoteFont
QFont MessageViewer::CSSHelperBase::mQuoteFont |
|
protected |
◆ mRecycleQuoteColors
bool MessageViewer::CSSHelperBase::mRecycleQuoteColors = false |
|
protected |
◆ mShrinkQuotes
bool MessageViewer::CSSHelperBase::mShrinkQuotes = false |
|
protected |
◆ mUseBrowserColor
bool MessageViewer::CSSHelperBase::mUseBrowserColor = false |
|
protected |
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 Dec 20 2024 11:48:02 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.