Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

QPEOutputDev Class Reference

#include </home/clem/local/src/opie/noncore/unsupported/qpdf/QPEOutputDev.h>

Inheritance diagram for QPEOutputDev:

Inheritance graph
[legend]
Collaboration diagram for QPEOutputDev:

Collaboration graph
[legend]
List of all members.

Signals

void selectionChanged (const QRect &sel)

Public Member Functions

 QPEOutputDev (QWidget *parent=0, const char *name=0)
void setPageCount (int actp, int maxp)
virtual void setBusy (bool b=true)
virtual bool isBusy () const
QRect selection () const
void setSelection (const QRect &r, bool scrollto=false)
virtual void startPage (int pn, GfxState *gs)

Protected Member Functions

virtual void setHBarGeometry (QScrollBar &hbar, int x, int y, int w, int h)
virtual void keyPressEvent (QKeyEvent *e)
virtual void viewportMousePressEvent (QMouseEvent *e)
virtual void viewportMouseMoveEvent (QMouseEvent *e)
virtual void viewportMouseReleaseEvent (QMouseEvent *e)
virtual void drawContents (QPainter *p, int, int, int, int)

Private Attributes

QLabel * m_counter
QBusyBarm_busybar
bool m_isbusy
QRect m_selection
QPoint m_selectionstart
QPoint m_selectioncursor
bool m_selectiondrag

Constructor & Destructor Documentation

QPEOutputDev::QPEOutputDev QWidget *  parent = 0,
const char *  name = 0
 

Definition at line 10 of file QPEOutputDev.cpp.

References m_busybar, m_counter, m_isbusy, and m_selectiondrag.


Member Function Documentation

void QPEOutputDev::drawContents QPainter *  p,
int  ,
int  ,
int  ,
int 
[protected, virtual]
 

Reimplemented from QOutputDev.

Definition at line 96 of file QPEOutputDev.cpp.

References QOutputDev::clip(), QOutputDev::drawContents(), fillRect(), m_selection, and rop().

bool QPEOutputDev::isBusy  )  const [virtual]
 

Definition at line 59 of file QPEOutputDev.cpp.

References m_isbusy.

void QPEOutputDev::keyPressEvent QKeyEvent *  e  )  [protected, virtual]
 

Definition at line 74 of file QPEOutputDev.cpp.

QRect QPEOutputDev::selection  )  const
 

Definition at line 114 of file QPEOutputDev.cpp.

References m_selection.

Referenced by viewportMouseReleaseEvent().

void QPEOutputDev::selectionChanged const QRect &  sel  )  [signal]
 

Referenced by setSelection().

void QPEOutputDev::setBusy bool  b = true  )  [virtual]
 

Definition at line 42 of file QPEOutputDev.cpp.

References m_busybar, m_counter, and m_isbusy.

void QPEOutputDev::setHBarGeometry QScrollBar &  hbar,
int  x,
int  y,
int  w,
int  h
[protected, virtual]
 

Definition at line 64 of file QPEOutputDev.cpp.

References m_busybar, and m_counter.

void QPEOutputDev::setPageCount int  actp,
int  maxp
 

Definition at line 37 of file QPEOutputDev.cpp.

References m_counter.

void QPEOutputDev::setSelection const QRect &  r,
bool  scrollto = false
 

Definition at line 120 of file QPEOutputDev.cpp.

References height, i, m_selection, m_selectiondrag, selectionChanged(), width, Opie::MM::x, and Opie::MM::y.

Referenced by viewportMouseMoveEvent(), viewportMousePressEvent(), and viewportMouseReleaseEvent().

void QPEOutputDev::startPage int  pn,
GfxState gs
[virtual]
 

Reimplemented from QOutputDev.

Definition at line 28 of file QPEOutputDev.cpp.

References m_selection, m_selectiondrag, and QOutputDev::startPage().

void QPEOutputDev::viewportMouseMoveEvent QMouseEvent *  e  )  [protected, virtual]
 

Definition at line 152 of file QPEOutputDev.cpp.

References m_selectioncursor, m_selectiondrag, m_selectionstart, pos, setSelection(), Opie::MM::x, and Opie::MM::y.

void QPEOutputDev::viewportMousePressEvent QMouseEvent *  e  )  [protected, virtual]
 

Definition at line 141 of file QPEOutputDev.cpp.

References m_selectioncursor, m_selectiondrag, m_selectionstart, pos, and setSelection().

void QPEOutputDev::viewportMouseReleaseEvent QMouseEvent *  e  )  [protected, virtual]
 

Definition at line 168 of file QPEOutputDev.cpp.

References m_selectiondrag, selection(), and setSelection().


Member Data Documentation

QBusyBar* QPEOutputDev::m_busybar [private]
 

Definition at line 40 of file QPEOutputDev.h.

Referenced by QPEOutputDev(), setBusy(), and setHBarGeometry().

QLabel* QPEOutputDev::m_counter [private]
 

Definition at line 39 of file QPEOutputDev.h.

Referenced by QPEOutputDev(), setBusy(), setHBarGeometry(), and setPageCount().

bool QPEOutputDev::m_isbusy [private]
 

Definition at line 41 of file QPEOutputDev.h.

Referenced by isBusy(), QPEOutputDev(), and setBusy().

QRect QPEOutputDev::m_selection [private]
 

Definition at line 43 of file QPEOutputDev.h.

Referenced by drawContents(), selection(), setSelection(), and startPage().

QPoint QPEOutputDev::m_selectioncursor [private]
 

Definition at line 45 of file QPEOutputDev.h.

Referenced by viewportMouseMoveEvent(), and viewportMousePressEvent().

bool QPEOutputDev::m_selectiondrag [private]
 

Definition at line 46 of file QPEOutputDev.h.

Referenced by QPEOutputDev(), setSelection(), startPage(), viewportMouseMoveEvent(), viewportMousePressEvent(), and viewportMouseReleaseEvent().

QPoint QPEOutputDev::m_selectionstart [private]
 

Definition at line 44 of file QPEOutputDev.h.

Referenced by viewportMouseMoveEvent(), and viewportMousePressEvent().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:48:09 2005 for OPIE by  doxygen 1.4.2