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

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

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

Public Member Functions

 CommitLogTableWidgetDelegate (CommitLogTableWidget *parent)
 
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

MainWindowmainwindow () const
 
void drawSignatureIcon (QPainter *painter, const QStyleOptionViewItem &opt, Git::CommitItem const &commit) const
 
void drawAvatar (QPainter *painter, double opacity, const QStyleOptionViewItem &opt, int row) const
 
void drawLabels (QPainter *painter, const QStyleOptionViewItem &opt, QModelIndex const &index, BranchLabelList const &labels, 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

◆ CommitLogTableWidgetDelegate()

CommitLogTableWidgetDelegate::CommitLogTableWidgetDelegate ( CommitLogTableWidget parent)
inlineexplicit

Member Function Documentation

◆ drawAvatar()

void CommitLogTableWidgetDelegate::drawAvatar ( QPainter *  painter,
double  opacity,
const QStyleOptionViewItem &  opt,
int  row 
) const
inlineprivate
Here is the call graph for this function:

◆ drawLabels()

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

◆ drawSignatureIcon()

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

◆ hiliteColor()

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

◆ mainwindow()

MainWindow* CommitLogTableWidgetDelegate::mainwindow ( ) const
inlineprivate

◆ paint()

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

◆ shadowColor()

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

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