KPropertyEditorCreatorInterface

Search for usage in LXR

KPropertyEditorCreatorInterface Class Reference

#include <KPropertyWidgetsFactory.h>

Inheritance diagram for KPropertyEditorCreatorInterface:

Public Member Functions

virtual QWidgetcreateEditor (int type, QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const
 
KPropertyEditorCreatorOptionsoptions ()
 
const KPropertyEditorCreatorOptionsoptions () const
 

Detailed Description

An interface for editor widget creators.

Options can be set in the options attribute in order to customize widget creation process. Do this in the EditorCreatorInterface constructor.

Definition at line 72 of file KPropertyWidgetsFactory.h.

Constructor & Destructor Documentation

◆ KPropertyEditorCreatorInterface()

KPropertyEditorCreatorInterface::KPropertyEditorCreatorInterface ( )

Definition at line 282 of file KPropertyWidgetsFactory.cpp.

◆ ~KPropertyEditorCreatorInterface()

KPropertyEditorCreatorInterface::~KPropertyEditorCreatorInterface ( )
virtual

Definition at line 287 of file KPropertyWidgetsFactory.cpp.

Member Function Documentation

◆ createEditor()

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

Definition at line 292 of file KPropertyWidgetsFactory.cpp.

◆ options() [1/2]

KPropertyEditorCreatorOptions * KPropertyEditorCreatorInterface::options ( )

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 307 of file KPropertyWidgetsFactory.cpp.

◆ options() [2/2]

const KPropertyEditorCreatorOptions * KPropertyEditorCreatorInterface::options ( ) const

Options for editor creating.

Since
3.1

Definition at line 302 of file KPropertyWidgetsFactory.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 Tue Mar 26 2024 11:15:40 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.