KPropertyEditorCreator

Search for usage in LXR

KPropertyEditorCreator< Widget > Class Template Reference

#include <KPropertyWidgetsFactory.h>

Inheritance diagram for KPropertyEditorCreator< Widget >:

Public Member Functions

QWidgetcreateEditor (int type, QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
void paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
- Public Member Functions inherited from KPropertyEditorCreatorInterface
KPropertyEditorCreatorOptionsoptions ()
 
const KPropertyEditorCreatorOptionsoptions () const
 
- Public Member Functions inherited from KPropertyValueDisplayInterface
virtual QString propertyValueToString (const KProperty *property, const QLocale &locale) const
 
virtual QString valueToString (const QVariant &value, const QLocale &locale) const =0
 

Additional Inherited Members

- Static Public Member Functions inherited from KPropertyValueDisplayInterface
static int maxStringValueLength ()
 
static QString valueToLocalizedString (const QVariant &value)
 

Detailed Description

template<class Widget>
class KPropertyEditorCreator< Widget >

Creator returning editor.

Definition at line 141 of file KPropertyWidgetsFactory.h.

Constructor & Destructor Documentation

◆ KPropertyEditorCreator()

template<class Widget >
KPropertyEditorCreator< Widget >::KPropertyEditorCreator ( )
inline

Definition at line 146 of file KPropertyWidgetsFactory.h.

◆ ~KPropertyEditorCreator()

template<class Widget >
KPropertyEditorCreator< Widget >::~KPropertyEditorCreator ( )
inlineoverride

Definition at line 148 of file KPropertyWidgetsFactory.h.

Member Function Documentation

◆ createEditor()

template<class Widget >
QWidget * KPropertyEditorCreator< Widget >::createEditor ( int type,
QWidget * parent,
const QStyleOptionViewItem & option,
const QModelIndex & index ) const
inlineoverridevirtual

Reimplemented from KPropertyEditorCreatorInterface.

Definition at line 150 of file KPropertyWidgetsFactory.h.

◆ paint()

template<class Widget >
void KPropertyEditorCreator< Widget >::paint ( QPainter * painter,
const QStyleOptionViewItem & option,
const QModelIndex & index ) const
inlineoverride

Definition at line 159 of file KPropertyWidgetsFactory.h.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 4 2024 12:06:17 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.