• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kde-runtime API Reference
  • KDE Home
  • Contact Us
 

PlasmaCore

Public Types | Signals | Public Member Functions | Static Public Member Functions | Properties | List of all members
FontProxy Class Reference

#include <theme.h>

Inheritance diagram for FontProxy:
Inheritance graph
[legend]

Public Types

enum  Capitalization {
  MixedCase = 0, AllUppercase = 1, AllLowercase = 2, SmallCaps = 3,
  Capitalize = 4
}
 
enum  Weight {
  Light = 25, Normal = 50, DemiBold = 63, Bold = 75,
  Black = 87
}
 

Signals

void boldChanged ()
 
void capitalizationChanged ()
 
void familyChanged ()
 
void italicChanged ()
 
void letterSpacingChanged ()
 
void mSizeChanged ()
 
void pixelSizeChanged ()
 
void pointSizeChanged ()
 
void strikeoutChanged ()
 
void underlineChanged ()
 
void weightChanged ()
 
void wordSpacingChanged ()
 

Public Member Functions

 FontProxy (Plasma::Theme::FontRole role, QObject *parent=0)
 
 ~FontProxy ()
 
bool bold () const
 
Capitalization capitalization () const
 
QString family () const
 
bool italic () const
 
qreal letterSpacing () const
 
QSize mSize () const
 
int pixelSize () const
 
qreal pointSize () const
 
bool strikeout () const
 
bool underline () const
 
Weight weight () const
 
qreal wordSpacing () const
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
 QObject (QObject *parent, const char *name)
 
virtual  ~QObject ()
 
bool blockSignals (bool block)
 
QObject * child (const char *objName, const char *inheritsClass, bool recursiveSearch) const
 
const QObjectList & children () const
 
const char * className () const
 
bool connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const QObject *receiver, const char *method)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method)
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArray > dynamicPropertyNames () const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
T findChild (const QString &name) const
 
QList< T > findChildren (const QRegExp &regExp) const
 
QList< T > findChildren (const QString &name) const
 
bool inherits (const char *className) const
 
void insertChild (QObject *object)
 
void installEventFilter (QObject *filterObj)
 
bool isA (const char *className) const
 
bool isWidgetType () const
 
void killTimer (int id)
 
virtual const QMetaObject * metaObject () const
 
void moveToThread (QThread *targetThread)
 
const char * name () const
 
const char * name (const char *defaultName) const
 
QString objectName () const
 
QObject * parent () const
 
QVariant property (const char *name) const
 
void removeChild (QObject *object)
 
void removeEventFilter (QObject *obj)
 
void setName (const char *name)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const
 
int startTimer (int interval)
 
QThread * thread () const
 

Static Public Member Functions

static FontProxy * defaultFont ()
 
static FontProxy * desktopFont ()
 
static FontProxy * smallestFont ()
 
- Static Public Member Functions inherited from QObject
bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 

Properties

bool bold
 
Capitalization capitalization
 
QString family
 
bool italic
 
qreal letterSpacing
 
QSize mSize
 
int pixelSize
 
qreal pointSize
 
bool strikeout
 
bool underline
 
Weight weight
 
qreal wordSpacing
 
- Properties inherited from QObject
 objectName
 

Additional Inherited Members

- Protected Member Functions inherited from QObject
bool checkConnectArgs (const char *signal, const QObject *object, const char *method)
 
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const char *signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const char *signal)
 
int receivers (const char *signal) const
 
QObject * sender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 
- Static Protected Member Functions inherited from QObject
QByteArray normalizeSignalSlot (const char *signalSlot)
 

Detailed Description

Definition at line 33 of file theme.h.

Member Enumeration Documentation

enum FontProxy::Capitalization
Enumerator
MixedCase 
AllUppercase 
AllLowercase 
SmallCaps 
Capitalize 

Definition at line 112 of file theme.h.

enum FontProxy::Weight
Enumerator
Light 
Normal 
DemiBold 
Bold 
Black 

Definition at line 120 of file theme.h.

Constructor & Destructor Documentation

FontProxy::FontProxy ( Plasma::Theme::FontRole  role,
QObject *  parent = 0 
)

Definition at line 43 of file theme.cpp.

FontProxy::~FontProxy ( )

Definition at line 73 of file theme.cpp.

Member Function Documentation

bool FontProxy::bold ( ) const
void FontProxy::boldChanged ( )
signal
Capitalization FontProxy::capitalization ( ) const
void FontProxy::capitalizationChanged ( )
signal
FontProxy * FontProxy::defaultFont ( )
static

Definition at line 77 of file theme.cpp.

FontProxy * FontProxy::desktopFont ( )
static

Definition at line 82 of file theme.cpp.

QString FontProxy::family ( ) const
void FontProxy::familyChanged ( )
signal
bool FontProxy::italic ( ) const
void FontProxy::italicChanged ( )
signal
qreal FontProxy::letterSpacing ( ) const
void FontProxy::letterSpacingChanged ( )
signal
QSize FontProxy::mSize ( ) const
Returns
The size of an uppercase M in this font
void FontProxy::mSizeChanged ( )
signal
int FontProxy::pixelSize ( ) const
void FontProxy::pixelSizeChanged ( )
signal
qreal FontProxy::pointSize ( ) const
void FontProxy::pointSizeChanged ( )
signal
FontProxy * FontProxy::smallestFont ( )
static

Definition at line 87 of file theme.cpp.

bool FontProxy::strikeout ( ) const
void FontProxy::strikeoutChanged ( )
signal
bool FontProxy::underline ( ) const
void FontProxy::underlineChanged ( )
signal
Weight FontProxy::weight ( ) const
void FontProxy::weightChanged ( )
signal
qreal FontProxy::wordSpacing ( ) const
void FontProxy::wordSpacingChanged ( )
signal

Property Documentation

bool FontProxy::bold
read

true if the font is bold

Definition at line 40 of file theme.h.

FontProxy::Capitalization FontProxy::capitalization
read

One of MixedCase: The text is not changed AllUppercase: the text becomes UPPERCASE AllLowercase: the text becomes all lowercase SmallCaps: the lowercase characters becomes smaller uppercase ones Capitalize: the first letter of all words are uppercase.

Definition at line 50 of file theme.h.

QString FontProxy::family
read

name of the font family

Definition at line 55 of file theme.h.

bool FontProxy::italic
read

true if the font is italic

Definition at line 60 of file theme.h.

qreal FontProxy::letterSpacing
read

horizontal space between letters

Definition at line 65 of file theme.h.

QSize FontProxy::mSize
read

Size in pixels of an uppercase "M" letter.

Definition at line 106 of file theme.h.

int FontProxy::pixelSize
read

Size of the font in pixels: settings this is strongly discouraged.

See also
pointSize

Definition at line 71 of file theme.h.

qreal FontProxy::pointSize
read

Size of the font in points.

Definition at line 76 of file theme.h.

bool FontProxy::strikeout
read

True if the text is striked out with an horizontal line.

Definition at line 81 of file theme.h.

bool FontProxy::underline
read

True if all the text will be underlined.

Definition at line 86 of file theme.h.

FontProxy::Weight FontProxy::weight
read

One of: Light Normal DemiBold Bold Black.

Definition at line 96 of file theme.h.

qreal FontProxy::wordSpacing
read

Horizontal space between words.

Definition at line 101 of file theme.h.


The documentation for this class was generated from the following files:
  • theme.h
  • theme.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:08:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

PlasmaCore

Skip menu "PlasmaCore"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kde-runtime API Reference

Skip menu "kde-runtime API Reference"
  • KCMShell
  • KNotify
  • Plasma Runtime
  •     PlasmaCore
  •     DragAndDrop
  •     PlasmaComponents
  •     PlasmaExtraComponents
  •     QtExtraComponents

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal