KProperty
20#ifndef KPROPERTYWIDGETSPLUGINMANAGER_H
21#define KPROPERTYWIDGETSPLUGINMANAGER_H
23#include "kpropertywidgets_export.h"
31class KPropertyWidgetsFactory;
34class KPROPERTYWIDGETS_EXPORT KPropertyWidgetsPluginManager :
public QObject
40 static KPropertyWidgetsPluginManager* self();
42 bool isEditorForTypeAvailable(
int type)
const;
44 QWidget* createEditor(
int type, QWidget *parent,
const QStyleOptionViewItem & option,
45 const QModelIndex &index)
const;
47 bool paint(
int type, QPainter *painter,
const QStyleOptionViewItem &option,
48 const QModelIndex &index)
const;
51 void registerFactory(KPropertyWidgetsFactory *factory);
55 friend class KPropertyWidgetsPluginManagerSingleton;
57 KPropertyWidgetsPluginManager();
59 ~KPropertyWidgetsPluginManager()
override;
61 Q_DISABLE_COPY(KPropertyWidgetsPluginManager)
The base class representing a single property.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:57:42 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.