SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
Public Member Functions | Protected Member Functions | List of all members
smtk::extension::qtNotEditableDelegate Class Reference

Simple delegate that prevents contents from being modified. More...

#include <qtNotEditableDelegate.h>

Inheritance diagram for smtk::extension::qtNotEditableDelegate:
[legend]
Collaboration diagram for smtk::extension::qtNotEditableDelegate:
[legend]

Public Member Functions

 qtNotEditableDelegate (QObject *parent=nullptr)
 

Protected Member Functions

bool editorEvent (QEvent *, QAbstractItemModel *, const QStyleOptionViewItem &, const QModelIndex &) override
 
QWidget * createEditor (QWidget *, const QStyleOptionViewItem &, const QModelIndex &) const override
 

Detailed Description

Simple delegate that prevents contents from being modified.


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