MainWindow Class Reference

#include <mainwindow.h>

Collaboration diagram for MainWindow:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 MainWindow ()

Private Slots

void chooseFolder ()
void zoomIn ()
void zoomOut ()
void setRoot (QTreeWidgetItem *item, int column)

Private Member Functions

void createActions ()
void createToolBar ()
void createDock ()
void createCentralWidget ()
TreeItemfillTree (node *root, TreeItem *rootItem=0)

Private Attributes

QAction * openAction
QAction * zoomInAction
QAction * zoomOutAction
QToolBar * toolBar
QTreeWidget * treeWidget
QDockWidget * dockWidget
BeamTreeScenescene
QGraphicsView * view
QSlider * slider
float scale
int size


Detailed Description

Definition at line 9 of file mainwindow.h.


Constructor & Destructor Documentation

MainWindow::MainWindow (  ) 


Member Function Documentation

void MainWindow::chooseFolder (  )  [private, slot]

void MainWindow::zoomIn (  )  [private, slot]

Definition at line 128 of file mainwindow.cpp.

References scale, and view.

Referenced by MainWindow().

void MainWindow::zoomOut (  )  [private, slot]

Definition at line 134 of file mainwindow.cpp.

References scale, and view.

Referenced by MainWindow().

void MainWindow::setRoot ( QTreeWidgetItem *  item,
int  column 
) [private, slot]

Definition at line 141 of file mainwindow.cpp.

References TreeItem::getNode(), BeamTreeScene::hilight(), and scene.

Referenced by MainWindow().

void MainWindow::createActions (  )  [private]

Definition at line 24 of file mainwindow.cpp.

References openAction, zoomInAction, and zoomOutAction.

Referenced by MainWindow().

void MainWindow::createToolBar (  )  [private]

Definition at line 41 of file mainwindow.cpp.

References openAction, slider, toolBar, zoomInAction, and zoomOutAction.

Referenced by MainWindow().

void MainWindow::createDock (  )  [private]

Definition at line 54 of file mainwindow.cpp.

References dockWidget, node::setTreeWidget(), and treeWidget.

Referenced by MainWindow().

void MainWindow::createCentralWidget (  )  [private]

Definition at line 68 of file mainwindow.cpp.

References scene, BeamTreeScene::setView(), and view.

Referenced by MainWindow().

TreeItem * MainWindow::fillTree ( node root,
TreeItem rootItem = 0 
) [private]


Member Data Documentation

QAction* MainWindow::openAction [private]

Definition at line 29 of file mainwindow.h.

Referenced by createActions(), createToolBar(), and MainWindow().

QAction * MainWindow::zoomInAction [private]

Definition at line 29 of file mainwindow.h.

Referenced by createActions(), createToolBar(), and MainWindow().

QAction * MainWindow::zoomOutAction [private]

Definition at line 29 of file mainwindow.h.

Referenced by createActions(), createToolBar(), and MainWindow().

QToolBar* MainWindow::toolBar [private]

Definition at line 30 of file mainwindow.h.

Referenced by createToolBar().

QTreeWidget* MainWindow::treeWidget [private]

Definition at line 31 of file mainwindow.h.

Referenced by chooseFolder(), createDock(), and MainWindow().

QDockWidget* MainWindow::dockWidget [private]

Definition at line 32 of file mainwindow.h.

Referenced by createDock().

Definition at line 33 of file mainwindow.h.

Referenced by chooseFolder(), createCentralWidget(), MainWindow(), and setRoot().

QGraphicsView* MainWindow::view [private]

Definition at line 34 of file mainwindow.h.

Referenced by createCentralWidget(), zoomIn(), and zoomOut().

QSlider* MainWindow::slider [private]

Definition at line 35 of file mainwindow.h.

Referenced by createToolBar(), and MainWindow().

float MainWindow::scale [private]

Definition at line 36 of file mainwindow.h.

Referenced by MainWindow(), zoomIn(), and zoomOut().

int MainWindow::size [private]

Definition at line 37 of file mainwindow.h.


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

Generated on Wed Jun 4 14:40:10 2008 for infovis by  doxygen 1.5.5