class KWriteView
Definition
#include <
kwrite_view.h
>
Inherits
QWidget
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index
Public Methods
KWriteView
(
KWriteDoc
*,
KWriteWidget
*,
KWrite
*, bool HandleOwnURIDrops)
~
KWriteView
()
int
contentsX
() const
int
contentsY
() const
virtual void
doCursorCommand
(
VConfig
&, int cmdNum)
virtual void
doEditCommand
(
VConfig
&, int cmdNum)
void
cursorLeft
(
VConfig
&)
void
cursorRight
(
VConfig
&)
void
wordLeft
(
VConfig
&)
void
wordRight
(
VConfig
&)
void
home
(
VConfig
&)
void
end
(
VConfig
&)
void
cursorUp
(
VConfig
&)
void
cursorDown
(
VConfig
&)
void
scrollUp
(
VConfig
&)
void
scrollDown
(
VConfig
&)
void
topOfView
(
VConfig
&)
void
bottomOfView
(
VConfig
&)
void
pageUp
(
VConfig
&)
void
pageDown
(
VConfig
&)
void
cursorPageUp
(
VConfig
&)
void
cursorPageDown
(
VConfig
&)
void
top
(
VConfig
&)
void
bottom
(
VConfig
&)
void
top_home
(
VConfig
&c)
void
bottom_end
(
VConfig
&c)
Signals
void
dropEventPass
(
QDropEvent
*)
Protected Types
enum DragState {diNone, diPending, diDragging}
struct
_dragInfo
Protected Methods
virtual void
drawContents
(
QPainter
*, int cx, int cy, int cw, int ch)
void
getVConfig
(
VConfig
&)
void
changeState
(
VConfig
&)
void
insLine
(int line)
void
delLine
(int line)
void
updateCursor
()
void
updateCursor
(
KWCursor
&newCursor)
void
updateCursor
(
KWCursor
&newCursor, int flags)
void
clearDirtyCache
(int height)
void
tagLines
(int start, int end, int x1, int x2)
void
tagAll
()
void
setPos
(int x, int y)
void
center
()
void
updateView
(int flags)
void
paintTextLines
(int xPos, int yPos)
void
paintCursor
()
void
paintBracketMark
()
void
updateBorder
()
void
placeCursor
(int x, int y, int flags = 0)
bool
isTargetSelected
(int x, int y)
void
doDrag
()
virtual void
focusInEvent
(QFocusEvent *)
virtual void
focusOutEvent
(QFocusEvent *)
virtual void
keyPressEvent
(QKeyEvent *e)
virtual void
mousePressEvent
(
QMouseEvent
*)
virtual void
mouseDoubleClickEvent
(
QMouseEvent
*)
virtual void
mouseReleaseEvent
(
QMouseEvent
*)
virtual void
mouseMoveEvent
(
QMouseEvent
*)
virtual void
wheelEvent
(QWheelEvent *e)
virtual void
paintEvent
(QPaintEvent *)
virtual void
resizeEvent
(QResizeEvent *)
virtual void
timerEvent
(QTimerEvent *)
virtual void
dragEnterEvent
(QDragEnterEvent *)
virtual void
dropEvent
(
QDropEvent
*)
Protected Slots
void
changeXPos
(int)
void
changeYPos
(int)
Protected Members
KWriteDoc *
m_doc
KWriteWidget *
m_widget
KWrite *
m_kWrite
KWriteBorder *
m_border
QScrollBar *
xScroll
QScrollBar *
yScroll
int
xPos
int
yPos
int
mouseX
int
mouseY
int
scrollX
int
scrollY
int
scrollTimer
KWCursor
cursor
bool
cursorOn
int
cursorTimer
int
cXPos
int
cOldXPos
int
startLine
int
endLine
bool
exposeCursor
int
updateState
int
numLines
LineRange *
lineRanges
int
newXPos
int
newYPos
QPixmap *
drawBuffer
BracketMark
bm
bool
HandleURIDrops
Generated by: root@porky.devel.redhat.com on Wed May 10 08:57:16 2000, using kdoc 2.0a35.