KDevelop API Documentation

PropertyLib::PFontCombo Class Reference

Property editor with font combo box. More...

#include <pfontcombo.h>

Inheritance diagram for PropertyLib::PFontCombo:

Inheritance graph
[legend]
Collaboration diagram for PropertyLib::PFontCombo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PFontCombo (MultiProperty *property, QWidget *parent=0, const char *name=0)
virtual QVariant value () const
virtual void setValue (const QVariant &value, bool emitChange=true)
 Sets the value shown in the editor widget.

Private Slots

void updateProperty (const QString &val)

Private Attributes

KFontCombom_edit

Detailed Description

Property editor with font combo box.

Definition at line 36 of file pfontcombo.h.


Constructor & Destructor Documentation

PropertyLib::PFontCombo::PFontCombo MultiProperty property,
QWidget parent = 0,
const char *  name = 0
 

Definition at line 36 of file pfontcombo.cpp.

References m_edit, and updateProperty().


Member Function Documentation

void PropertyLib::PFontCombo::setValue const QVariant value,
bool  emitChange = true
[virtual]
 

Sets the value shown in the editor widget.

Set emitChange to false if you don't want to emit propertyChanged signal.

Implements PropertyLib::PropertyWidget.

Definition at line 62 of file pfontcombo.cpp.

References m_edit, PropertyLib::PropertyWidget::propertyChanged(), KFontCombo::setCurrentFont(), and updateProperty().

void PropertyLib::PFontCombo::updateProperty const QString val  )  [private, slot]
 

Definition at line 75 of file pfontcombo.cpp.

References PropertyLib::PropertyWidget::propertyChanged().

Referenced by PFontCombo(), and setValue().

QVariant PropertyLib::PFontCombo::value  )  const [virtual]
 

Returns:
the value currently entered in the editor widget.

Implements PropertyLib::PropertyWidget.

Definition at line 53 of file pfontcombo.cpp.

References KFontCombo::currentFont(), and m_edit.


Member Data Documentation

KFontCombo* PropertyLib::PFontCombo::m_edit [private]
 

Definition at line 51 of file pfontcombo.h.

Referenced by PFontCombo(), setValue(), and value().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:51:48 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003