Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F628938
FileHistoryWindow.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
FileHistoryWindow.h
View Options
#ifndef FILEHISTORYWINDOW_H
#define FILEHISTORYWINDOW_H
#include
<QDialog>
#include
"Git.h"
#include
"BasicMainWindow.h"
#include
"FileDiffWidget.h"
namespace
Ui
{
class
FileHistoryWindow
;
}
class
BasicMainWindow
;
class
QTableWidgetItem
;
class
FileHistoryWindow
:
public
QDialog
{
Q_OBJECT
private
:
struct
Private
;
Private
*
m
;
FileDiffWidget
::
DiffData
*
diffdata
();
FileDiffWidget
::
DiffData
const
*
diffdata
()
const
;
FileDiffWidget
::
DrawData
*
drawdata
();
FileDiffWidget
::
DrawData
const
*
drawdata
()
const
;
int
totalTextLines
()
const
;
int
fileviewScrollPos
()
const
;
public
:
explicit
FileHistoryWindow
(
BasicMainWindow
*
parent
);
~
FileHistoryWindow
()
override
;
void
prepare
(
const
GitPtr
&
g
,
QString
const
&
path
);
private
slots
:
void
on_tableWidget_log_currentItemChanged
(
QTableWidgetItem
*
current
,
QTableWidgetItem
*
previous
);
// void onMoveNextItem();
// void onMovePreviousItem();
void
on_tableWidget_log_customContextMenuRequested
(
const
QPoint
&
pos
);
private
:
Ui
::
FileHistoryWindow
*
ui
;
void
collectFileHistory
();
void
updateDiffView
();
MainWindow
*
mainwindow
();
};
#endif
// FILEHISTORYWINDOW_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Nov 15, 5:31 AM (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
121545
Default Alt Text
FileHistoryWindow.h (1 KB)
Attached To
Mode
R77 Guitar
Attached
Detach File
Event Timeline