casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Slots | Public Member Functions | Private Slots | Private Member Functions | Private Attributes
casa::PictureViewer Class Reference

#include <pictureviewer.qo.h>

List of all members.

Public Slots

void open (const QString)

Public Member Functions

 PictureViewer (const QString="")

Private Slots

void open ()
void print ()
void zoomIn ()
void zoomOut ()
void normalSize ()
void fitToWindow ()

Private Member Functions

void createActions ()
void createMenus ()
void updateActions ()
void scaleImage (double factor)
void adjustScrollBar (QScrollBar *scrollBar, double factor)

Private Attributes

QLabel * imageLabel
QScrollArea * scrollArea
double scaleFactor
QPrinter printer
QAction * openAct
QAction * printAct
QAction * exitAct
QAction * zoomInAct
QAction * zoomOutAct
QAction * normalSizeAct
QAction * fitToWindowAct
QMenu * fileMenu
QMenu * viewMenu
QMenu * helpMenu

Detailed Description

Definition at line 44 of file pictureviewer.qo.h.


Constructor & Destructor Documentation

casa::PictureViewer::PictureViewer ( const QString  = "")

Member Function Documentation

void casa::PictureViewer::adjustScrollBar ( QScrollBar *  scrollBar,
double  factor 
) [private]
void casa::PictureViewer::fitToWindow ( ) [private, slot]
void casa::PictureViewer::normalSize ( ) [private, slot]
void casa::PictureViewer::open ( ) [private, slot]
void casa::PictureViewer::open ( const QString  ) [slot]
void casa::PictureViewer::print ( ) [private, slot]
void casa::PictureViewer::scaleImage ( double  factor) [private]
void casa::PictureViewer::zoomIn ( ) [private, slot]
void casa::PictureViewer::zoomOut ( ) [private, slot]

Member Data Documentation

QAction* casa::PictureViewer::exitAct [private]

Definition at line 75 of file pictureviewer.qo.h.

Definition at line 81 of file pictureviewer.qo.h.

Definition at line 79 of file pictureviewer.qo.h.

Definition at line 83 of file pictureviewer.qo.h.

Definition at line 67 of file pictureviewer.qo.h.

Definition at line 78 of file pictureviewer.qo.h.

QAction* casa::PictureViewer::openAct [private]

Definition at line 73 of file pictureviewer.qo.h.

QAction* casa::PictureViewer::printAct [private]

Definition at line 74 of file pictureviewer.qo.h.

QPrinter casa::PictureViewer::printer [private]

Definition at line 71 of file pictureviewer.qo.h.

Definition at line 69 of file pictureviewer.qo.h.

QScrollArea* casa::PictureViewer::scrollArea [private]

Definition at line 68 of file pictureviewer.qo.h.

Definition at line 82 of file pictureviewer.qo.h.

QAction* casa::PictureViewer::zoomInAct [private]

Definition at line 76 of file pictureviewer.qo.h.

QAction* casa::PictureViewer::zoomOutAct [private]

Definition at line 77 of file pictureviewer.qo.h.


The documentation for this class was generated from the following file: