Mantid
|
HintingLineEditFactory : A QStyledItemDelegate that produces HintingLineEdits using the given hint strategy. More...
#include <HintingLineEditFactory.h>
Public Member Functions | |
QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
HintingLineEditFactory (QAbstractItemDelegate *cellPainterDelegate, std::unique_ptr< HintStrategy > hintStrategy, QObject *parent=nullptr) | |
void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
Protected Attributes | |
QAbstractItemDelegate * | m_cellPainterDelegate |
std::unique_ptr< HintStrategy > | m_strategy |
HintingLineEditFactory : A QStyledItemDelegate that produces HintingLineEdits using the given hint strategy.
Definition at line 22 of file HintingLineEditFactory.h.
|
inline |
Definition at line 24 of file HintingLineEditFactory.h.
|
inlineoverride |
Definition at line 28 of file HintingLineEditFactory.h.
References index, and m_strategy.
|
inlineoverride |
Definition at line 38 of file HintingLineEditFactory.h.
References index, and m_cellPainterDelegate.
|
protected |
Definition at line 44 of file HintingLineEditFactory.h.
Referenced by paint().
|
protected |
Definition at line 43 of file HintingLineEditFactory.h.
Referenced by createEditor().