Guitar
Public Member Functions | Private Member Functions | Static Private Member Functions | List of all members
LogTableWidgetDelegate Class Reference

コミットログを描画するためのdelegate More...

Inheritance diagram for LogTableWidgetDelegate:
Inheritance graph
[legend]
Collaboration diagram for LogTableWidgetDelegate:
Collaboration graph
[legend]

Public Member Functions

 LogTableWidgetDelegate (QObject *parent=Q_NULLPTR)
 
void paint (QPainter *painter, const QStyleOptionViewItem &option, QModelIndex const &index) const override
 
- Public Member Functions inherited from MyTableWidgetDelegate
 MyTableWidgetDelegate (QObject *parent=nullptr)
 
void paint (QPainter *painter, const QStyleOptionViewItem &option, QModelIndex const &index) const override
 

Private Member Functions

RepositoryWrapperFrameframe () const
 
void drawSignatureIcon (QPainter *painter, const QStyleOptionViewItem &opt, Git::CommitItem const *commit) const
 
void drawAvatar (QPainter *painter, const QStyleOptionViewItem &opt, QModelIndex const &index) const
 
void drawLabels (QPainter *painter, const QStyleOptionViewItem &opt, QModelIndex const &index, QString const &current_branch) const
 

Static Private Member Functions

static QColor hiliteColor (QColor const &color)
 
static QColor shadowColor (QColor const &color)
 

Detailed Description

コミットログを描画するためのdelegate

Constructor & Destructor Documentation

◆ LogTableWidgetDelegate()

LogTableWidgetDelegate::LogTableWidgetDelegate ( QObject *  parent = Q_NULLPTR)
inlineexplicit

Member Function Documentation

◆ drawAvatar()

void LogTableWidgetDelegate::drawAvatar ( QPainter *  painter,
const QStyleOptionViewItem &  opt,
QModelIndex const &  index 
) const
inlineprivate
Here is the call graph for this function:

◆ drawLabels()

void LogTableWidgetDelegate::drawLabels ( QPainter *  painter,
const QStyleOptionViewItem &  opt,
QModelIndex const &  index,
QString const &  current_branch 
) const
inlineprivate
Here is the call graph for this function:

◆ drawSignatureIcon()

void LogTableWidgetDelegate::drawSignatureIcon ( QPainter *  painter,
const QStyleOptionViewItem &  opt,
Git::CommitItem const *  commit 
) const
inlineprivate
Here is the call graph for this function:

◆ frame()

RepositoryWrapperFrame* LogTableWidgetDelegate::frame ( ) const
inlineprivate

◆ hiliteColor()

static QColor LogTableWidgetDelegate::hiliteColor ( QColor const &  color)
inlinestaticprivate

◆ paint()

void LogTableWidgetDelegate::paint ( QPainter *  painter,
const QStyleOptionViewItem &  option,
QModelIndex const &  index 
) const
inlineoverride
Here is the call graph for this function:

◆ shadowColor()

static QColor LogTableWidgetDelegate::shadowColor ( QColor const &  color)
inlinestaticprivate

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