Guitar
Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
ReflogWindow Class Reference

#include <ReflogWindow.h>

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

Public Member Functions

 ReflogWindow (QWidget *parent, MainWindow *mainwin, const Git::ReflogItemList &reflog)
 
 ~ReflogWindow () override
 

Private Slots

void on_tableWidget_customContextMenuRequested (const QPoint &pos)
 
void on_tableWidget_itemDoubleClicked (QTableWidgetItem *item)
 

Private Member Functions

MainWindowmainwindow ()
 
void updateTable (const Git::ReflogItemList &reflog)
 
std::optional< Git::CommitItemcurrentCommit ()
 

Private Attributes

Ui::ReflogWindow * ui
 
MainWindowmainwindow_
 
Git::ReflogItemList reflog_
 

Constructor & Destructor Documentation

◆ ReflogWindow()

ReflogWindow::ReflogWindow ( QWidget *  parent,
MainWindow mainwin,
const Git::ReflogItemList reflog 
)
explicit
Here is the call graph for this function:

◆ ~ReflogWindow()

ReflogWindow::~ReflogWindow ( )
override

Member Function Documentation

◆ currentCommit()

std::optional< Git::CommitItem > ReflogWindow::currentCommit ( )
private
Here is the call graph for this function:

◆ mainwindow()

MainWindow* ReflogWindow::mainwindow ( )
inlineprivate

◆ on_tableWidget_customContextMenuRequested

void ReflogWindow::on_tableWidget_customContextMenuRequested ( const QPoint &  pos)
privateslot
Here is the call graph for this function:

◆ on_tableWidget_itemDoubleClicked

void ReflogWindow::on_tableWidget_itemDoubleClicked ( QTableWidgetItem *  item)
privateslot
Here is the call graph for this function:

◆ updateTable()

void ReflogWindow::updateTable ( const Git::ReflogItemList reflog)
private

Member Data Documentation

◆ mainwindow_

MainWindow* ReflogWindow::mainwindow_
private

◆ reflog_

Git::ReflogItemList ReflogWindow::reflog_
private

◆ ui

Ui::ReflogWindow* ReflogWindow::ui
private

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