#include <MainWindow.h>
Inherits Ui_MainWindow.
Public Slots | |
void | open () |
SLOT for opening grid files. | |
void | close () |
SLOT that closes the application. | |
void | showTF () |
SLOT that shows the transfer function popup. | |
Public Member Functions | |
MainWindow (QWidget *parent=0, Qt::WindowFlags flags=0) | |
Initializes the main window. | |
virtual | ~MainWindow () |
Public Attributes | |
FlowWidget * | flowWid |
TFpopup * | tfPopup |
Private Attributes | |
FlowData * | dataset |
bool | loaded |
MainWindow::MainWindow | ( | QWidget * | parent = 0 , |
|
Qt::WindowFlags | flags = 0 | |||
) |
Initializes the main window.
Adds the FlowWidget to the layout, connects all signals and slots and initializes the TFPopup
MainWindow::~MainWindow | ( | ) | [virtual] |
void MainWindow::close | ( | ) | [slot] |
SLOT that closes the application.
void MainWindow::open | ( | ) | [slot] |
SLOT for opening grid files.
Calls the Open File dialog, loads the dataset and transfers it to the FlowWidget.
void MainWindow::showTF | ( | ) | [slot] |
SLOT that shows the transfer function popup.
FlowData* MainWindow::dataset [private] |
bool MainWindow::loaded [private] |