KPropertyIntSpinBoxDelegate

Search for usage in LXR

KPropertyIntSpinBoxDelegate Class Reference

#include <spinbox.h>

Inheritance diagram for KPropertyIntSpinBoxDelegate:

Public Member Functions

QWidgetcreateEditor (int type, QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
QString propertyValueToString (const KProperty *prop, const QLocale &locale) const override
 
QString valueToString (const QVariant &value, const QLocale &locale) const override
 
- Public Member Functions inherited from KPropertyEditorCreatorInterface
KPropertyEditorCreatorOptionsoptions ()
 
const KPropertyEditorCreatorOptionsoptions () const
 
- Public Member Functions inherited from KPropertyValueDisplayInterface

Additional Inherited Members

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

Detailed Description

A delegate supporting Int, UInt, LongLong and ULongLong types.

Definition at line 89 of file spinbox.h.

Constructor & Destructor Documentation

◆ KPropertyIntSpinBoxDelegate()

KPropertyIntSpinBoxDelegate::KPropertyIntSpinBoxDelegate ( )

Definition at line 331 of file spinbox.cpp.

Member Function Documentation

◆ createEditor()

QWidget * KPropertyIntSpinBoxDelegate::createEditor ( int type,
QWidget * parent,
const QStyleOptionViewItem & option,
const QModelIndex & index ) const
overridevirtual

Reimplemented from KPropertyEditorCreatorInterface.

Definition at line 356 of file spinbox.cpp.

◆ propertyValueToString()

QString KPropertyIntSpinBoxDelegate::propertyValueToString ( const KProperty * prop,
const QLocale & locale ) const
overridevirtual

Reimplemented from KPropertyValueDisplayInterface.

Definition at line 335 of file spinbox.cpp.

◆ valueToString()

QString KPropertyIntSpinBoxDelegate::valueToString ( const QVariant & value,
const QLocale & locale ) const
overridevirtual

Implements KPropertyValueDisplayInterface.

Definition at line 351 of file spinbox.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:11:19 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.