MainWindow Class Reference

Class for handling Main Window UI and logic. More...

#include <mainwindow.h>

Collaboration diagram for MainWindow:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MainWindow (QWidget *parent=0)
 Class constructor.
void closeEvent (QCloseEvent *)
 Handles Main Window close event.

Detailed Description

Class for handling Main Window UI and logic.

Author:
Copyright © 2007-2009 Lёppa <contacts[at]oleksii[dot]name>

Constructor & Destructor Documentation

MainWindow::MainWindow ( QWidget *  parent = 0  ) 

Class constructor.

Parameters:
parent Main Window parent widget.

Initializes Main Window and creates its layout based on target OS. Loads TSPSG settings and opens a task file if it was specified as a commandline parameter.


Member Function Documentation

void MainWindow::closeEvent ( QCloseEvent *  event  ) 

Handles Main Window close event.

Parameters:
event Close event.

Checks whether or not a current task was saved and asks for saving if not. Saves TSPSG settings.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Defines

Generated on Sat Oct 24 16:33:19 2009 for TSPSG: TSP Solver and Generator by  doxygen 1.6.1