QStandardItemEditorCreator< T > Class Template Reference

QStandardItemEditorCreator< T > Class Template Reference

#include <qitemeditorfactory.h>

Class Description

template<class T>
class QStandardItemEditorCreator< T >

Definition at line 82 of file qitemeditorfactory.h.

+ Inheritance diagram for QStandardItemEditorCreator< T >:

Public Member Functions

 QStandardItemEditorCreator ()
 
QWidgetcreateWidget (QWidget *parent) const
 
QByteArray valuePropertyName () const
 
- Public Member Functions inherited from QItemEditorCreatorBase
virtual ~QItemEditorCreatorBase ()
 

Constructor & Destructor Documentation

Definition at line 85 of file qitemeditorfactory.h.

86  : propertyName(T::staticMetaObject.userProperty().name())
87  {}
GLuint const GLchar * name
Definition: GLee.h:1704

Member Function Documentation

QWidget* createWidget ( QWidget parent) const
inlinevirtual

Implements QItemEditorCreatorBase.

Definition at line 88 of file qitemeditorfactory.h.

88 { return new T(parent); }
QByteArray valuePropertyName ( ) const
inlinevirtual

Implements QItemEditorCreatorBase.

Definition at line 89 of file qitemeditorfactory.h.

89 { return propertyName; }

The documentation for this class was generated from the following file: