BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
ModelView::CellDecoratorInterface Class Referenceabstract

Interface class to generate cell decorations (i.e. text) in Qt trees and tables. More...

Inheritance diagram for ModelView::CellDecoratorInterface:
[legend]

Public Member Functions

virtual ~CellDecoratorInterface ()=default
 
virtual bool hasCustomDecoration (const QModelIndex &index) const =0
 
virtual void initStyleOption (QStyleOptionViewItem *option, const QModelIndex &index)=0
 

Detailed Description

Interface class to generate cell decorations (i.e. text) in Qt trees and tables.

Definition at line 28 of file celldecoratorinterface.h.

Constructor & Destructor Documentation

◆ ~CellDecoratorInterface()

virtual ModelView::CellDecoratorInterface::~CellDecoratorInterface ( )
virtualdefault

Member Function Documentation

◆ hasCustomDecoration()

virtual bool ModelView::CellDecoratorInterface::hasCustomDecoration ( const QModelIndex &  index) const
pure virtual

◆ initStyleOption()

virtual void ModelView::CellDecoratorInterface::initStyleOption ( QStyleOptionViewItem *  option,
const QModelIndex &  index 
)
pure virtual

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