VAT  3.0
Video Analysis Tool
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
MainWindow Class Reference

The MainWindow class is the class that manages the main graphic interface container. More...

#include <image_display.h>

Inheritance diagram for MainWindow:

Public Member Functions

 MainWindow (VideoAnalysis *i_va, char *config_file, QMainWindow *parent=0)
 Constructor for main program graphic interface. More...
 
void closeEvent (QCloseEvent *event)
 Overloads method for window closing. More...
 
void resizeEvent (QResizeEvent *event)
 Overloads method for window resizing. More...
 
void disableSaveViews ()
 
void initViews (QFrame *)
 
void setupUiViews ()
 

Static Public Member Functions

static void setGrayScaleTable ()
 initialize a gray scale table used in this class.
 
static void setThermalScaleTable ()
 initialize a thermal scale table used in this class.
 

Public Attributes

ProductionThreadproducer
 
QScrollArea * m_viewArea
 
QVector< ViewForm * > m_views
 
ViewTypes m_vtype
 
int m_vwidth
 
int m_vheight
 
int m_virow
 
int m_vicol
 
int m_nactive_views
 
int m_vhorpix
 
int m_vverpix
 
char * m_view_config_file
 
QDomDocument * xmlViewConfig
 
QDomElement rootViewConfig
 

Static Public Attributes

static QVector< QRgb > * grayScaleTable = NULL
 
static QVector< QRgb > * thermalScaleTable = NULL
 

Detailed Description

The MainWindow class is the class that manages the main graphic interface container.

Constructor & Destructor Documentation

MainWindow::MainWindow ( VideoAnalysis i_va,
char *  config_file,
QMainWindow *  parent = 0 
)

Constructor for main program graphic interface.

Parameters
i_vaPointer to the entity that is in charge of video analysis.
config_filePointer to string of char refered to configuration file path.
parentQObject parent according to QObject tree organization.

Member Function Documentation

void MainWindow::closeEvent ( QCloseEvent *  event)

Overloads method for window closing.

Parameters
eventEvent that causes the closure.
void MainWindow::resizeEvent ( QResizeEvent *  event)

Overloads method for window resizing.

Parameters
eventEvent that casues the resize of window.

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