GeoDesk  0.1.3
 All Classes Namespaces Files Functions Typedefs Pages
Public Member Functions | Protected Slots | Protected Member Functions | List of all members
GUI::MainBoard Class Reference

Class for program main window. More...

#include <mainboard.hpp>

Inheritance diagram for GUI::MainBoard:
Inheritance graph
Collaboration diagram for GUI::MainBoard:
Collaboration graph

Public Member Functions

 MainBoard ()
 Default constructor. More...
 
virtual ~MainBoard ()
 Destructor.
 

Protected Slots

void on_actionOpen_triggered ()
 Get the name of the file to be opened.
 
void on_actionLoadWorldFile_triggered ()
 Load a world file.
 
void on_actionLoadReferencePoints_triggered ()
 Load reference points.
 
void on_actionLoadDataFile_triggered ()
 Load a data file.
 
void on_actionZoomIn_triggered ()
 Zooms in an image.
 
void on_actionZoomOut_triggered ()
 Zooms out an image.
 
void on_actionNormalSize_triggered ()
 Gets the image back to its normal size.
 
void on_actionSaveReferencePoints_triggered ()
 Save reference points, used for image geo-referencing.
 
void on_actionSaveReferencePointsAs_triggered ()
 Save reference points in a new file.
 
void on_actionSaveWorldFile_triggered ()
 Save a world file associated to an image. More...
 
void on_actionSaveDataFile_triggered ()
 Save data which have been set by user.
 
void on_actionSaveDataFileAs_triggered ()
 Save data in a new file.
 
void on_actionGeoreferenceImage_triggered ()
 Give reference points for image geo-reference.
 
void on_actionSetData_triggered ()
 Enable setting of geo-referenced data.
 
void on_actionSampleIsobath_triggered ()
 Sampling an isobath.
 

Protected Member Functions

virtual void mousePressEvent (QMouseEvent *event)
 What to do when mouse is clicked. More...
 

Detailed Description

Class for program main window.

Definition at line 97 of file mainboard.hpp.

Constructor & Destructor Documentation

GUI::MainBoard::MainBoard ( )
inlineexplicit

Default constructor.

Todo:
Initialising "imageLabel" should be done in file "mainboard.ui" (using Qt Designer).
Todo:
Initialising "scrollArea" should be done in file "mainboard.ui" (using Qt Designer).

Definition at line 102 of file mainboard.hpp.

Member Function Documentation

void GUI::MainBoard::mousePressEvent ( QMouseEvent *  event)
protectedvirtual

What to do when mouse is clicked.

Parameters
eventThe event that indicates mouse button is clicked.

Definition at line 408 of file mainboard.cpp.

Here is the call graph for this function:

void GUI::MainBoard::on_actionSaveWorldFile_triggered ( )
protectedslot

Save a world file associated to an image.

Information about world file format can be found at: http://en.wikipedia.org/wiki/World_file

Definition at line 290 of file mainboard.cpp.


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