Guitar
Signals | Public Member Functions | Protected Slots | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
CommitLogTableWidget Class Reference

コミットログテーブルウィジェット More...

#include <CommitLogTableWidget.h>

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

Signals

void currentRowChanged (int row)
 

Public Member Functions

 CommitLogTableWidget (QWidget *parent=nullptr)
 
void setup (MainWindow *frame)
 
void setRecords (std::vector< CommitRecord > &&records)
 
int rowCount () const
 
int currentRow () const
 
void setCurrentCell (int row, int col)
 
int actualLogIndex () const
 
QRect visualItemRect (int row, int col)
 
void setFilter (const QString &filter)
 
void adjustAppearance ()
 
void updateViewport ()
 
int unfilteredIndex (int i) const
 
void setCurrentRow (int row)
 

Protected Slots

void verticalScrollbarValueChanged (int value) override
 
void currentChanged (const QModelIndex &current, const QModelIndex &previous)
 

Protected Member Functions

void paintEvent (QPaintEvent *) override
 
void resizeEvent (QResizeEvent *e) override
 

Private Member Functions

MainWindowmainwindow ()
 
MainWindow const * mainwindow () const
 
const Git::CommitItemcommitItem (int row) const
 

Private Attributes

MainWindowmainwindow_ = nullptr
 
CommitLogTableModelmodel_ = nullptr
 

Friends

class CommitLogTableWidgetDelegate
 

Detailed Description

コミットログテーブルウィジェット

Constructor & Destructor Documentation

◆ CommitLogTableWidget()

CommitLogTableWidget::CommitLogTableWidget ( QWidget *  parent = nullptr)
explicit

Member Function Documentation

◆ actualLogIndex()

int CommitLogTableWidget::actualLogIndex ( ) const
Here is the call graph for this function:

◆ adjustAppearance()

void CommitLogTableWidget::adjustAppearance ( )
Here is the call graph for this function:

◆ commitItem()

Git::CommitItem const & CommitLogTableWidget::commitItem ( int  row) const
private
Here is the call graph for this function:

◆ currentChanged

void CommitLogTableWidget::currentChanged ( const QModelIndex &  current,
const QModelIndex &  previous 
)
protectedslot

◆ currentRow()

int CommitLogTableWidget::currentRow ( ) const

◆ currentRowChanged

void CommitLogTableWidget::currentRowChanged ( int  row)
signal

◆ mainwindow() [1/2]

MainWindow* CommitLogTableWidget::mainwindow ( )
inlineprivate

◆ mainwindow() [2/2]

MainWindow const* CommitLogTableWidget::mainwindow ( ) const
inlineprivate

◆ paintEvent()

void CommitLogTableWidget::paintEvent ( QPaintEvent *  e)
overrideprotected
Here is the call graph for this function:

◆ resizeEvent()

void CommitLogTableWidget::resizeEvent ( QResizeEvent *  e)
overrideprotected
Here is the call graph for this function:

◆ rowCount()

int CommitLogTableWidget::rowCount ( ) const
Here is the call graph for this function:

◆ setCurrentCell()

void CommitLogTableWidget::setCurrentCell ( int  row,
int  col 
)
Here is the call graph for this function:

◆ setCurrentRow()

void CommitLogTableWidget::setCurrentRow ( int  row)
Here is the call graph for this function:

◆ setFilter()

void CommitLogTableWidget::setFilter ( const QString &  filter)
Here is the call graph for this function:

◆ setRecords()

void CommitLogTableWidget::setRecords ( std::vector< CommitRecord > &&  records)
Here is the call graph for this function:

◆ setup()

void CommitLogTableWidget::setup ( MainWindow frame)

◆ unfilteredIndex()

int CommitLogTableWidget::unfilteredIndex ( int  i) const
inline
Here is the call graph for this function:

◆ updateViewport()

void CommitLogTableWidget::updateViewport ( )
Here is the call graph for this function:

◆ verticalScrollbarValueChanged

void CommitLogTableWidget::verticalScrollbarValueChanged ( int  value)
overrideprotectedslot
Here is the call graph for this function:

◆ visualItemRect()

QRect CommitLogTableWidget::visualItemRect ( int  row,
int  col 
)
Here is the call graph for this function:

Friends And Related Function Documentation

◆ CommitLogTableWidgetDelegate

friend class CommitLogTableWidgetDelegate
friend

Member Data Documentation

◆ mainwindow_

MainWindow* CommitLogTableWidget::mainwindow_ = nullptr
private

◆ model_

CommitLogTableModel* CommitLogTableWidget::model_ = nullptr
private

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