HistoView Class Reference

#include <histoview.h>

Collaboration diagram for HistoView:

Collaboration graph
[legend]
List of all members.

Public Slots

void setCenterZoom (float, float)

Public Member Functions

 HistoView (QWidget *parent=0)
void set (const Histogram *h)
void set (const ColorTable *ct)
QSize minimumSizeHint () const
QSize sizeHint () const

Protected Member Functions

void paintEvent (QPaintEvent *event)

Protected Attributes

int h
int w
int w1
float c
float z
const Histogramhisto
const ColorTablect

Detailed Description

Definition at line 29 of file histoview.h.


Constructor & Destructor Documentation

HistoView::HistoView ( QWidget *  parent = 0  ) 

Definition at line 32 of file histoview.cpp.

References ct, h, histo, w, and w1.


Member Function Documentation

QSize HistoView::minimumSizeHint (  )  const [inline]

Definition at line 42 of file histoview.h.

References h, w, and w1.

void HistoView::paintEvent ( QPaintEvent *  event  )  [protected]

Definition at line 118 of file histoview.cpp.

References c, ct, h, histo, w, w1, and z.

void HistoView::set ( const ColorTable ct  ) 

Definition at line 61 of file histoview.cpp.

References ct.

void HistoView::set ( const Histogram h  ) 

Definition at line 78 of file histoview.cpp.

References h, histo, and setCenterZoom().

Referenced by HistogramWidget::set().

void HistoView::setCenterZoom ( float  ,
float   
) [slot]

Definition at line 96 of file histoview.cpp.

References c, and z.

Referenced by set().

QSize HistoView::sizeHint (  )  const [inline]

Definition at line 44 of file histoview.h.

References h, w, and w1.


Member Data Documentation

float HistoView::c [protected]

Definition at line 58 of file histoview.h.

Referenced by paintEvent(), and setCenterZoom().

const ColorTable* HistoView::ct [protected]

Definition at line 62 of file histoview.h.

Referenced by HistoView(), paintEvent(), and set().

int HistoView::h [protected]

Definition at line 54 of file histoview.h.

Referenced by HistoView(), minimumSizeHint(), paintEvent(), set(), and sizeHint().

const Histogram* HistoView::histo [protected]

Definition at line 61 of file histoview.h.

Referenced by HistoView(), paintEvent(), and set().

int HistoView::w [protected]

Definition at line 55 of file histoview.h.

Referenced by HistoView(), minimumSizeHint(), paintEvent(), and sizeHint().

int HistoView::w1 [protected]

Definition at line 56 of file histoview.h.

Referenced by HistoView(), minimumSizeHint(), paintEvent(), and sizeHint().

float HistoView::z [protected]

Definition at line 59 of file histoview.h.

Referenced by paintEvent(), and setCenterZoom().


The documentation for this class was generated from the following files:
Generated on Fri Feb 6 15:33:00 2009 for Skyviewer by  doxygen 1.4.7