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

GraphicWin Class Reference

#include </home/clem/local/src/opie/noncore/apps/opie-reader/GraphicWin.h>

Collaboration diagram for GraphicWin:

Collaboration graph
[legend]
List of all members.

Signals

void Closed ()

Public Member Functions

void setPixmap (QPixmap &pm)
void setImage (QImage &im)
 GraphicWin (QWidget *parent=0, const char *name=0, WFlags f=0)

Private Slots

void slotClosed ()
void slotFit ()
void slotRotate ()

Private Member Functions

QImage resizeimage (int w, int h)
void resetpm ()

Private Attributes

GraphicScrollm_scroll
QImage m_im
bool m_isFitted
bool m_isRotated

Constructor & Destructor Documentation

GraphicWin::GraphicWin QWidget *  parent = 0,
const char *  name = 0,
WFlags  f = 0
 

Definition at line 4 of file GraphicWin.cpp.

References m_scroll, slotClosed(), slotFit(), and slotRotate().


Member Function Documentation

void GraphicWin::Closed  )  [signal]
 

Referenced by slotClosed().

void GraphicWin::resetpm  )  [private]
 

Definition at line 57 of file GraphicWin.cpp.

References m_im, m_isFitted, m_isRotated, m_scroll, resizeimage(), and GraphicScroll::setPixmap().

Referenced by setImage(), slotFit(), and slotRotate().

QImage GraphicWin::resizeimage int  w,
int  h
[private]
 

Definition at line 32 of file GraphicWin.cpp.

References m_im.

Referenced by resetpm().

void GraphicWin::setImage QImage &  im  ) 
 

Definition at line 25 of file GraphicWin.cpp.

References m_im, m_isFitted, m_isRotated, and resetpm().

Referenced by QTReaderApp::showgraphic().

void GraphicWin::setPixmap QPixmap &  pm  )  [inline]
 

Definition at line 51 of file GraphicWin.h.

References m_scroll, and GraphicScroll::setPixmap().

void GraphicWin::slotClosed  )  [inline, private, slot]
 

Definition at line 47 of file GraphicWin.h.

References Closed().

Referenced by GraphicWin().

void GraphicWin::slotFit  )  [private, slot]
 

Definition at line 45 of file GraphicWin.cpp.

References m_isFitted, and resetpm().

Referenced by GraphicWin().

void GraphicWin::slotRotate  )  [private, slot]
 

Definition at line 51 of file GraphicWin.cpp.

References m_isRotated, and resetpm().

Referenced by GraphicWin().


Member Data Documentation

QImage GraphicWin::m_im [private]
 

Definition at line 40 of file GraphicWin.h.

Referenced by resetpm(), resizeimage(), and setImage().

bool GraphicWin::m_isFitted [private]
 

Definition at line 43 of file GraphicWin.h.

Referenced by resetpm(), setImage(), and slotFit().

bool GraphicWin::m_isRotated [private]
 

Definition at line 43 of file GraphicWin.h.

Referenced by resetpm(), setImage(), and slotRotate().

GraphicScroll* GraphicWin::m_scroll [private]
 

Definition at line 37 of file GraphicWin.h.

Referenced by GraphicWin(), resetpm(), and setPixmap().


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