Go to the source code of this file.
◆ REQUIRE_DELEGATE
#define REQUIRE_DELEGATE |
( |
|
Delegate | ) |
|
Value: \
public: \
\
void setDelegate(Delegate* delegate) { ItemDelegateOverlay::setDelegate(delegate); } \
Delegate* delegate() const { return static_cast<Delegate*>(ItemDelegateOverlay::delegate()); } \
virtual bool acceptsDelegate(QAbstractItemDelegate*d) const override { return dynamic_cast<Delegate*>(d); } \
\
private: