• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

knode

  • KNode
  • AppearanceWidget
  • FontListItem
Public Member Functions | List of all members
KNode::AppearanceWidget::FontListItem Class Reference

#include <knconfigwidgets.h>

Inheritance diagram for KNode::AppearanceWidget::FontListItem:
Inheritance graph
[legend]

Public Member Functions

 FontListItem (const QString &text, const QFont &font, QListWidget *parent=0)
 
const QFont & font ()
 
void setFont (const QFont &font)
 
- Public Member Functions inherited from QListWidgetItem
 QListWidgetItem (QListWidget *parent, int type)
 
 QListWidgetItem (const QString &text, QListWidget *parent, int type)
 
 QListWidgetItem (const QListWidgetItem &other)
 
 QListWidgetItem (const QIcon &icon, const QString &text, QListWidget *parent, int type)
 
virtual  ~QListWidgetItem ()
 
QBrush background () const
 
QColor backgroundColor () const
 
Qt::CheckState checkState () const
 
virtual QListWidgetItem * clone () const
 
virtual QVariant data (int role) const
 
Qt::ItemFlags flags () const
 
QFont font () const
 
QBrush foreground () const
 
QIcon icon () const
 
bool isHidden () const
 
bool isSelected () const
 
QListWidget * listWidget () const
 
virtual bool operator< (const QListWidgetItem &other) const
 
QListWidgetItem & operator= (const QListWidgetItem &other)
 
virtual void read (QDataStream &in)
 
void setBackground (const QBrush &brush)
 
virtual void setBackgroundColor (const QColor &color)
 
void setCheckState (Qt::CheckState state)
 
virtual void setData (int role, const QVariant &value)
 
void setFlags (QFlags< Qt::ItemFlag > flags)
 
void setFont (const QFont &font)
 
void setForeground (const QBrush &brush)
 
void setHidden (bool hide)
 
void setIcon (const QIcon &icon)
 
void setSelected (bool select)
 
void setSizeHint (const QSize &size)
 
void setStatusTip (const QString &statusTip)
 
void setText (const QString &text)
 
void setTextAlignment (int alignment)
 
void setTextColor (const QColor &color)
 
void setToolTip (const QString &toolTip)
 
void setWhatsThis (const QString &whatsThis)
 
QSize sizeHint () const
 
QString statusTip () const
 
QString text () const
 
int textAlignment () const
 
QColor textColor () const
 
QString toolTip () const
 
int type () const
 
QString whatsThis () const
 
virtual void write (QDataStream &out) const
 

Detailed Description

Font list view item.

Definition at line 188 of file knconfigwidgets.h.

Constructor & Destructor Documentation

KNode::AppearanceWidget::FontListItem::FontListItem ( const QString &  text,
const QFont &  font,
QListWidget *  parent = 0 
)

Create a new font list view item.

Parameters
textThe item text.
fontThe selected font for this item.
parentThe list widget this item is shown in.

Definition at line 374 of file knconfigwidgets.cpp.

Member Function Documentation

const QFont& KNode::AppearanceWidget::FontListItem::font ( )
inline

Returns the current font.

Definition at line 198 of file knconfigwidgets.h.

void KNode::AppearanceWidget::FontListItem::setFont ( const QFont &  font)

Sets the current font.

Parameters
fontThe new font.

Definition at line 382 of file knconfigwidgets.cpp.


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

KDE's Doxygen guidelines are available online.

knode

Skip menu "knode"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer
  • pimprint

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