• 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
 

Static Public Member Functions

static FontProxy * defaultFont ()
 
static FontProxy * desktopFont ()
 
static FontProxy * smallestFont ()
 

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
 

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-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:02:42 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