#include <mainwindow.h>

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 () |
| TreeItem * | fillTree (node *root, TreeItem *rootItem=0) |
Private Attributes | |
| QAction * | openAction |
| QAction * | zoomInAction |
| QAction * | zoomOutAction |
| QToolBar * | toolBar |
| QTreeWidget * | treeWidget |
| QDockWidget * | dockWidget |
| BeamTreeScene * | scene |
| QGraphicsView * | view |
| QSlider * | slider |
| float | scale |
| int | size |
Definition at line 9 of file mainwindow.h.
| MainWindow::MainWindow | ( | ) |
Definition at line 6 of file mainwindow.cpp.
References chooseFolder(), createActions(), createCentralWidget(), createDock(), createToolBar(), openAction, scale, scene, setRoot(), slider, treeWidget, zoomIn(), zoomInAction, zoomOut(), and zoomOutAction.
| void MainWindow::chooseFolder | ( | ) | [private, slot] |
Definition at line 75 of file mainwindow.cpp.
References fillTree(), BeamTreeScene::render(), BeamTreeScene::reset(), scene, node::traverse(), and treeWidget.
Referenced by MainWindow().
| void MainWindow::zoomIn | ( | ) | [private, slot] |
| void MainWindow::zoomOut | ( | ) | [private, slot] |
| 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().
Definition at line 96 of file mainwindow.cpp.
References node::getChildren(), node::getPath(), node::getTotalSize(), node::isDir(), and node::setTreeItem().
Referenced by chooseFolder().
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] |
QTreeWidget* MainWindow::treeWidget [private] |
Definition at line 31 of file mainwindow.h.
Referenced by chooseFolder(), createDock(), and MainWindow().
QDockWidget* MainWindow::dockWidget [private] |
BeamTreeScene* MainWindow::scene [private] |
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] |
float MainWindow::scale [private] |
int MainWindow::size [private] |
Definition at line 37 of file mainwindow.h.
1.5.5