digiKam
itemdelegateoverlay.h File Reference

Go to the source code of this file.

Classes

class  Digikam::AbstractWidgetDelegateOverlay
 
class  Digikam::HoverButtonDelegateOverlay
 
class  Digikam::ItemDelegateOverlay
 
class  Digikam::ItemDelegateOverlayContainer
 
class  Digikam::PersistentWidgetDelegateOverlay
 

Namespaces

 Digikam
 

Macros

#define REQUIRE_DELEGATE(Delegate)
 

Macro Definition Documentation

◆ 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: