Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F633429
FileDiffSliderWidget.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
914 B
Referenced Files
None
Subscribers
None
FileDiffSliderWidget.h
View Options
#ifndef FILEDIFFSLIDERWIDGET_H
#define FILEDIFFSLIDERWIDGET_H
#include
<QWidget>
#include
<QPixmap>
#include
"FileDiffWidget.h"
#include
"FilePreviewWidget.h"
class
FileDiffSliderWidget
:
public
QWidget
{
Q_OBJECT
private
:
struct
Private
;
Private
*
pv
;
void
scroll
(
int
pos
);
void
updatePixmap
();
public
:
explicit
FileDiffSliderWidget
(
QWidget
*
parent
=
0
);
~
FileDiffSliderWidget
();
void
bind
(
MainWindow
*
mw
,
FileDiffWidget
*
fdw
,
const
FileDiffWidget
::
DiffData
*
diffdata
,
const
FileDiffWidget
::
DrawData
*
drawdata
);
void
clear
(
bool
v
);
void
setScrollPos
(
int
total
,
int
value
,
int
size
);
protected
:
void
paintEvent
(
QPaintEvent
*
);
void
resizeEvent
(
QResizeEvent
*
);
void
mousePressEvent
(
QMouseEvent
*
);
void
mouseMoveEvent
(
QMouseEvent
*
);
void
wheelEvent
(
QWheelEvent
*
event
);
signals
:
void
valueChanged
(
int
value
);
void
scrollByWheel
(
int
lines
);
public
slots
:
};
#endif
// FILEDIFFSLIDERWIDGET_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Nov 15, 4:48 PM (1 d, 5 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
140651
Default Alt Text
FileDiffSliderWidget.h (914 B)
Attached To
Mode
R77 Guitar
Attached
Detach File
Event Timeline