ROOT  6.06/09
Reference Guide
Public Member Functions | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
MainWindow Class Reference

Definition at line 36 of file main.h.

Public Member Functions

 MainWindow (QWidget *parent=0)
 

Protected Member Functions

void paintEvent (QPaintEvent *)
 
void resizeEvent (QResizeEvent *)
 
void mousePressEvent (QMouseEvent *)
 
void mouseMoveEvent (QMouseEvent *)
 
void mouseReleaseEvent (QMouseEvent *)
 
void wheelEvent (QWheelEvent *)
 

Private Slots

void vcImage (const QImage &, quint64)
 
void scalarImage (const QImage &, quint64)
 

Private Member Functions

void recreateImage ()
 
void updateTitle ()
 

Private Attributes

float m_x
 
float m_y
 
float m_scale
 
QImage m_img1
 
QImage m_img2
 
QRect m_rect1
 
QRect m_rect2
 
QPoint m_dragStart
 
QPoint m_dragDelta
 
float m_cycles1
 
float m_cycles2
 
Mandel< VcImplm_mandelVc
 
Mandel< ScalarImplm_mandelScalar
 

#include </mnt/vdb/lsf/workspace/root-makedoc-v606/rootspi/rdoc/src/v6-06-00-patches/math/vc/examples/mandelbrot/main.h>

+ Inheritance diagram for MainWindow:
+ Collaboration diagram for MainWindow:

Constructor & Destructor Documentation

MainWindow::MainWindow ( QWidget *  parent = 0)

Definition at line 30 of file main.cpp.

Member Function Documentation

void MainWindow::mouseMoveEvent ( QMouseEvent *  e)
protected

Definition at line 92 of file main.cpp.

void MainWindow::mousePressEvent ( QMouseEvent *  e)
protected

Definition at line 87 of file main.cpp.

void MainWindow::mouseReleaseEvent ( QMouseEvent *  e)
protected

Definition at line 98 of file main.cpp.

void MainWindow::paintEvent ( QPaintEvent *  e)
protected

Definition at line 78 of file main.cpp.

void MainWindow::recreateImage ( )
private

Definition at line 145 of file main.cpp.

Referenced by mouseReleaseEvent(), resizeEvent(), and wheelEvent().

void MainWindow::resizeEvent ( QResizeEvent *  e)
protected

Definition at line 127 of file main.cpp.

void MainWindow::scalarImage ( const QImage &  img,
quint64  cycles 
)
privateslot

Definition at line 63 of file main.cpp.

Referenced by MainWindow().

void MainWindow::updateTitle ( )
private

Definition at line 73 of file main.cpp.

Referenced by scalarImage(), and vcImage().

void MainWindow::vcImage ( const QImage &  img,
quint64  cycles 
)
privateslot

Definition at line 50 of file main.cpp.

Referenced by MainWindow().

void MainWindow::wheelEvent ( QWheelEvent *  e)
protected

Definition at line 108 of file main.cpp.

Member Data Documentation

float MainWindow::m_cycles1
private

Definition at line 68 of file main.h.

Referenced by updateTitle(), and vcImage().

float MainWindow::m_cycles2
private

Definition at line 68 of file main.h.

Referenced by scalarImage(), and updateTitle().

QPoint MainWindow::m_dragDelta
private

Definition at line 66 of file main.h.

Referenced by mouseMoveEvent(), mouseReleaseEvent(), and paintEvent().

QPoint MainWindow::m_dragStart
private

Definition at line 65 of file main.h.

Referenced by mouseMoveEvent(), mousePressEvent(), and mouseReleaseEvent().

QImage MainWindow::m_img1
private

Definition at line 61 of file main.h.

Referenced by paintEvent(), updateTitle(), and vcImage().

QImage MainWindow::m_img2
private

Definition at line 62 of file main.h.

Referenced by paintEvent(), scalarImage(), and updateTitle().

Mandel<ScalarImpl> MainWindow::m_mandelScalar
private

Definition at line 71 of file main.h.

Referenced by MainWindow(), recreateImage(), and vcImage().

Mandel<VcImpl> MainWindow::m_mandelVc
private

Definition at line 70 of file main.h.

Referenced by MainWindow(), and recreateImage().

QRect MainWindow::m_rect1
private

Definition at line 63 of file main.h.

Referenced by MainWindow(), paintEvent(), recreateImage(), resizeEvent(), vcImage(), and wheelEvent().

QRect MainWindow::m_rect2
private

Definition at line 64 of file main.h.

Referenced by MainWindow(), paintEvent(), recreateImage(), resizeEvent(), scalarImage(), and vcImage().

float MainWindow::m_scale
private

Definition at line 60 of file main.h.

Referenced by MainWindow(), mouseReleaseEvent(), recreateImage(), resizeEvent(), vcImage(), and wheelEvent().

float MainWindow::m_x
private

Definition at line 58 of file main.h.

Referenced by MainWindow(), mouseReleaseEvent(), recreateImage(), resizeEvent(), vcImage(), and wheelEvent().

float MainWindow::m_y
private

Definition at line 59 of file main.h.

Referenced by MainWindow(), mouseReleaseEvent(), recreateImage(), resizeEvent(), vcImage(), and wheelEvent().


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