Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

OmgMainWindow Class Reference
[Gui]

#include <omgmainwindow.h>

Inheritance diagram for OmgMainWindow:

Inheritance graph
[legend]
Collaboration diagram for OmgMainWindow:

Collaboration graph
[legend]
List of all members.

Detailed Description

The main application dialog. Here the menus toolbars etc are displayed and the results of experiments can be viewed.

Author:
Tim Sutton

Definition at line 61 of file omgmainwindow.h.

Public Slots

void saveMapAsImage ()
void setCurrentModel (OmgModel *thepModel)
void setCurrentExperiment (OmgExperiment *theExperiment)
void clearCurrentExperiment ()
void currentItemChanged (QTreeWidgetItem *thepCurrentItem, QTreeWidgetItem *thepPreviousItem)
void treeContextMenuEvent (const QPoint &thePoint)
void reportModeChanged (QString theReportMode)
void setTreeColumnSizes (int position, int index)
void setEnableModelDetailWidgets (bool theBool)
void setViewMode (QString theMode)
void printAlgorithmProfilesReport ()
void printExperimentReport ()
void printPdf ()
void runExperiment ()
void resetExperiment ()
void stopExperiment ()
void createTrayIcon ()
void setModelCreationProgress (QString theModelGuid, int theProgress)
void setModelProjectionProgress (QString theModelGuid, int theProgress)
void modelCompleted (QString theModelGuid)
void setExperimentProgress (int theProgress)
void setExperimentMaximum (int theMaximum)
void logMessage (QString theMessage)
void logMessage (QString theModelGuid, QString theMessage)
void logError (QString theModelGuid, QString theMessage)
void removeModelFromExperiment ()
void removeAlgorithmFromExperiment ()
void removeTaxonFromExperiment ()

Signals

void projectRead ()
void newProject ()

Public Member Functions

 OmgMainWindow (QWidget *parent=0, Qt::WFlags fl=0)
 ~OmgMainWindow ()

Protected Member Functions

void closeEvent (QCloseEvent *event)

Private Types

typedef QHash< QString, QTreeWidgetItem * > TreeItemsHash
enum  SortMode { BY_TAXON, BY_ALGORITHM }

Private Slots

void on_tabModelViewDetails_currentChanged (int)
void on_cboSortBy_currentIndexChanged (QString)
void fileNew ()
void fileSave ()
void fileOpen ()
void closeExperiment ()
void fileFetch ()
void fileExit ()
void settingsOptions ()
void about ()
void showLicense ()
void showLayerSetManager ()
void showAlgorithmManager ()
bool checkLicenseIsAgreed ()
bool toolsConvert ()
bool toolsContour ()
bool toolsRasterThreshold ()
bool toolsClimateConvert ()
bool toolsWarp ()
bool toolsFileSplitter ()
void exportSamplesToCsv ()
void refreshReports ()
void showHelp ()
void showSurvey ()
bool populateTree ()
void showAlgorithmSummary (QString theAlgorithmName)
void showTaxonSummary (QString theTaxonName)
void experimentStopped ()
void updateRunningIcon (const QRect &theRect)
void publishModel ()
void zoomInMode ()
void zoomOutMode ()
void panMode ()
void zoomFull ()
void zoomPrevious ()
void loadQGisPlugin (QString theName, QString theDescription, QString theFullPathName)
void addLayer ()

Private Member Functions

void resizeEvent (QResizeEvent *event)
void readSettings ()
void writeSettings ()
void createActions ()
void createMenus ()
void createToolBars ()
void createStatusBar ()
void showReport (QString theReportMode)
void disableControlsWhileRunning ()
void enableControlsAfterRunning ()
void disableMapControls ()
void enableMapControls ()
void setReportStyleSheet ()
QString helpText ()
QString experimentHelpText ()

Private Attributes

SortMode mSortMode
TreeItemsHash mTreeItemsHash
QMenu * mTrayIconMenu
QAction * mMinimizeAct
QAction * mMaximizeAct
QAction * mRestoreAct
QAction * mQuitAct
QPointer< QSystemTrayIcon > mTrayIcon
QProgressBar * mpModelProgress
QProgressBar * mpExperimentProgress
QLabel * mpExperimentProgressLabel
QPointer< OmgExperimentPrintermpExperimentPrinter
QProgressDialog mProgressDialog
QIcon mRunningIcon
QMovie * mpRunningMovie
QMenu * mpFileMenu
QMenu * mpEditMenu
QMenu * mpDataPrepMenu
QMenu * mpPostProcessingMenu
QMenu * mpReportsMenu
QMenu * mpSettingsMenu
QMenu * mpHelpMenu
QToolBar * mpFileToolBar
QToolBar * mpDataPrepToolBar
QToolBar * mpPostProcessingToolBar
QToolBar * mpReportsToolBar
QAction * mpNewAct
QAction * mpRunAct
QAction * mpResetAct
QAction * mpOpenAct
QAction * mpCloseAct
QAction * mpSaveAct
QAction * mpSaveAsImageAct
QAction * mpFetchAct
QAction * mpPrintPdfAct
QAction * mpRefreshReportsAct
QAction * mpExitAct
QAction * mpOptionsAct
QAction * mpToolsConvertAct
QAction * mpToolsClimateConvertAct
QAction * mpToolsContourAct
QAction * mpToolsRasterThresholdAct
QAction * mpToolsWarpAct
QAction * mpToolsFileSplitterAct
QAction * mpAboutOmgAct
QAction * mpLicenseAct
QAction * mpHelpAct
QAction * mpSurveyAct
QAction * mpLayerSetManagerAct
QAction * mpExportToCsvAct
QAction * mpAlgorithmManagerAct
QAction * mpAvailableAlgorithmsReportAct
QAction * mpExperimentReportAct
QMenu * mpExperimentContextMenu
QMenu * mpAlgorithmContextMenu
QMenu * mpTaxonContextMenu
QMenu * mpModelContextMenu
QAction * mpDeleteModelAct
QAction * mpPublishModelAct
QAction * mpDeleteAlgorithmAct
QAction * mpDeleteTaxonAct
QLabel * mpPictureWidget
QPointer< OmgModelmpCurrentModel
OmgLocalitiesModelmpLocalitiesModel
QPointer< OmgExperimentmpCurrentExperiment


Member Typedef Documentation

typedef QHash<QString,QTreeWidgetItem * > OmgMainWindow::TreeItemsHash [private]
 

A hash to keep track of each treewidget item in the experiment the key for the hash is model.id the value is a QTreeWidgetItem pointer

Definition at line 206 of file omgmainwindow.h.


Member Enumeration Documentation

enum OmgMainWindow::SortMode [private]
 

Enumeration values:
BY_TAXON 
BY_ALGORITHM 

Definition at line 200 of file omgmainwindow.h.


Constructor & Destructor Documentation

OmgMainWindow::OmgMainWindow QWidget parent = 0,
Qt::WFlags  fl = 0
 

Definition at line 114 of file omgmainwindow.cpp.

References BY_ALGORITHM, createActions(), createMenus(), createStatusBar(), createToolBars(), createTrayIcon(), disableMapControls(), loadQGisPlugin(), mpCloseAct, mpDataPrepToolBar, mpFileToolBar, mpLocalitiesModel, mpPostProcessingToolBar, mpRunningMovie, mpSaveAct, mpToolsClimateConvertAct, mpToolsContourAct, mpToolsWarpAct, mRunningIcon, mSortMode, readSettings(), reportModeChanged(), setEnableModelDetailWidgets(), setTreeColumnSizes(), setViewMode(), showHelp(), updateRunningIcon(), and Omgui::userAlgorithmProfilesDirPath().

Here is the call graph for this function:

OmgMainWindow::~OmgMainWindow  ) 
 

Definition at line 365 of file omgmainwindow.cpp.


Member Function Documentation

void OmgMainWindow::about  )  [private, slot]
 

Definition at line 812 of file omgmainwindow.cpp.

Referenced by createActions().

void OmgMainWindow::addLayer  )  [private, slot]
 

bool OmgMainWindow::checkLicenseIsAgreed  )  [private, slot]
 

Definition at line 782 of file omgmainwindow.cpp.

void OmgMainWindow::clearCurrentExperiment  )  [slot]
 

Definition at line 2216 of file omgmainwindow.cpp.

References setEnableModelDetailWidgets().

Referenced by closeExperiment().

void OmgMainWindow::closeEvent QCloseEvent *  event  )  [protected]
 

Definition at line 466 of file omgmainwindow.cpp.

References fileExit().

void OmgMainWindow::closeExperiment  )  [private, slot]
 

Definition at line 690 of file omgmainwindow.cpp.

References clearCurrentExperiment().

Referenced by createActions().

void OmgMainWindow::createActions  )  [private]
 

Definition at line 837 of file omgmainwindow.cpp.

References about(), closeExperiment(), exportSamplesToCsv(), fileExit(), fileFetch(), fileNew(), fileOpen(), fileSave(), mMaximizeAct, mMinimizeAct, mpAboutOmgAct, mpAlgorithmManagerAct, mpAvailableAlgorithmsReportAct, mpCloseAct, mpDeleteAlgorithmAct, mpDeleteModelAct, mpDeleteTaxonAct, mpExitAct, mpExperimentReportAct, mpExportToCsvAct, mpFetchAct, mpHelpAct, mpLayerSetManagerAct, mpLicenseAct, mpNewAct, mpOpenAct, mpOptionsAct, mpPrintPdfAct, mpPublishModelAct, mpRefreshReportsAct, mpResetAct, mpRunAct, mpSaveAct, mpSaveAsImageAct, mpSurveyAct, mpToolsClimateConvertAct, mpToolsContourAct, mpToolsConvertAct, mpToolsFileSplitterAct, mpToolsRasterThresholdAct, mpToolsWarpAct, mQuitAct, mRestoreAct, panMode(), printAlgorithmProfilesReport(), printExperimentReport(), printPdf(), publishModel(), refreshReports(), removeAlgorithmFromExperiment(), removeModelFromExperiment(), removeTaxonFromExperiment(), resetExperiment(), runExperiment(), saveMapAsImage(), settingsOptions(), showAlgorithmManager(), showHelp(), showLayerSetManager(), showLicense(), showSurvey(), toolsClimateConvert(), toolsContour(), toolsConvert(), toolsFileSplitter(), toolsRasterThreshold(), toolsWarp(), zoomFull(), zoomInMode(), zoomOutMode(), and zoomPrevious().

Referenced by OmgMainWindow().

void OmgMainWindow::createMenus  )  [private]
 

Definition at line 1046 of file omgmainwindow.cpp.

References mpAboutOmgAct, mpAlgorithmContextMenu, mpAlgorithmManagerAct, mpAvailableAlgorithmsReportAct, mpCloseAct, mpDataPrepMenu, mpDeleteAlgorithmAct, mpDeleteModelAct, mpDeleteTaxonAct, mpEditMenu, mpExitAct, mpExperimentContextMenu, mpExperimentReportAct, mpExportToCsvAct, mpFetchAct, mpFileMenu, mpHelpAct, mpHelpMenu, mpLayerSetManagerAct, mpLicenseAct, mpModelContextMenu, mpNewAct, mpOpenAct, mpOptionsAct, mpPostProcessingMenu, mpPrintPdfAct, mpPublishModelAct, mpRefreshReportsAct, mpReportsMenu, mpResetAct, mpRunAct, mpSaveAct, mpSaveAsImageAct, mpTaxonContextMenu, mpToolsClimateConvertAct, mpToolsContourAct, mpToolsConvertAct, mpToolsFileSplitterAct, mpToolsRasterThresholdAct, and mpToolsWarpAct.

Referenced by OmgMainWindow().

void OmgMainWindow::createStatusBar  )  [private]
 

Definition at line 1176 of file omgmainwindow.cpp.

References mpExperimentProgress, mpExperimentProgressLabel, and mpModelProgress.

Referenced by OmgMainWindow().

void OmgMainWindow::createToolBars  )  [private]
 

Definition at line 1114 of file omgmainwindow.cpp.

References mpAlgorithmManagerAct, mpAvailableAlgorithmsReportAct, mpDataPrepToolBar, mpExperimentReportAct, mpExportToCsvAct, mpFetchAct, mpFileToolBar, mpLayerSetManagerAct, mpNewAct, mpOpenAct, mpOptionsAct, mpPostProcessingToolBar, mpPrintPdfAct, mpReportsToolBar, mpRunAct, mpSaveAct, mpSaveAsImageAct, mpToolsClimateConvertAct, mpToolsContourAct, mpToolsConvertAct, mpToolsFileSplitterAct, mpToolsRasterThresholdAct, and mpToolsWarpAct.

Referenced by OmgMainWindow().

void OmgMainWindow::createTrayIcon  )  [slot]
 

Definition at line 2552 of file omgmainwindow.cpp.

References logMessage(), mMaximizeAct, mMinimizeAct, mpRunAct, mQuitAct, mRestoreAct, mTrayIcon, and mTrayIconMenu.

Referenced by OmgMainWindow().

void OmgMainWindow::currentItemChanged QTreeWidgetItem *  thepCurrentItem,
QTreeWidgetItem *  thepPreviousItem
[slot]
 

Definition at line 2028 of file omgmainwindow.cpp.

References mpCurrentExperiment, setCurrentModel(), setReportStyleSheet(), showAlgorithmSummary(), and showTaxonSummary().

Referenced by populateTree(), and treeContextMenuEvent().

void OmgMainWindow::disableControlsWhileRunning  )  [private]
 

Definition at line 2418 of file omgmainwindow.cpp.

References mpAlgorithmManagerAct, mpAvailableAlgorithmsReportAct, mpCloseAct, mpExperimentReportAct, mpLayerSetManagerAct, mpNewAct, mpOpenAct, mpOptionsAct, mpPrintPdfAct, mpRefreshReportsAct, mpResetAct, mpSaveAct, mpSaveAsImageAct, mpToolsClimateConvertAct, mpToolsContourAct, mpToolsConvertAct, and mpToolsRasterThresholdAct.

Referenced by runExperiment().

void OmgMainWindow::disableMapControls  )  [private]
 

Definition at line 2462 of file omgmainwindow.cpp.

References mpSaveAsImageAct.

Referenced by enableMapControls(), OmgMainWindow(), on_tabModelViewDetails_currentChanged(), and setCurrentModel().

void OmgMainWindow::enableControlsAfterRunning  )  [private]
 

Definition at line 2440 of file omgmainwindow.cpp.

References mpAlgorithmManagerAct, mpAvailableAlgorithmsReportAct, mpCloseAct, mpExperimentReportAct, mpLayerSetManagerAct, mpNewAct, mpOpenAct, mpOptionsAct, mpPrintPdfAct, mpRefreshReportsAct, mpResetAct, mpSaveAct, mpSaveAsImageAct, mpToolsClimateConvertAct, mpToolsContourAct, mpToolsConvertAct, and mpToolsRasterThresholdAct.

Referenced by experimentStopped().

void OmgMainWindow::enableMapControls  )  [private]
 

Definition at line 2473 of file omgmainwindow.cpp.

References disableMapControls(), mpCurrentModel, and mpSaveAsImageAct.

Referenced by on_tabModelViewDetails_currentChanged(), and setCurrentModel().

Here is the call graph for this function:

QString OmgMainWindow::experimentHelpText  )  [private]
 

Get text to display in report tab on experiment start

Definition at line 3179 of file omgmainwindow.cpp.

Referenced by helpText(), and runExperiment().

void OmgMainWindow::experimentStopped  )  [private, slot]
 

Handler for experiment stopped signal

Definition at line 2864 of file omgmainwindow.cpp.

References enableControlsAfterRunning(), mpExperimentProgress, mpModelProgress, mpRunAct, mpRunningMovie, mTrayIcon, and runExperiment().

Referenced by runExperiment().

void OmgMainWindow::exportSamplesToCsv  )  [private, slot]
 

Definition at line 1309 of file omgmainwindow.cpp.

References Omgui::createTextFile(), and mpCurrentModel.

Referenced by createActions().

void OmgMainWindow::fileExit  )  [private, slot]
 

Definition at line 448 of file omgmainwindow.cpp.

References mTrayIcon, and writeSettings().

Referenced by closeEvent(), and createActions().

void OmgMainWindow::fileFetch  )  [private, slot]
 

Definition at line 697 of file omgmainwindow.cpp.

Referenced by createActions().

void OmgMainWindow::fileNew  )  [private, slot]
 

Definition at line 494 of file omgmainwindow.cpp.

References setCurrentExperiment(), and showLayerSetManager().

Referenced by createActions().

void OmgMainWindow::fileOpen  )  [private, slot]
 

Definition at line 1302 of file omgmainwindow.cpp.

References setCurrentExperiment().

Referenced by createActions().

void OmgMainWindow::fileSave  )  [private, slot]
 

Definition at line 1298 of file omgmainwindow.cpp.

Referenced by createActions().

QString OmgMainWindow::helpText  )  [private]
 

Get text to display in report tab on application start

Definition at line 2924 of file omgmainwindow.cpp.

References experimentHelpText().

Referenced by showHelp().

Here is the call graph for this function:

void OmgMainWindow::loadQGisPlugin QString  theName,
QString  theDescription,
QString  theFullPathName
[private, slot]
 

Definition at line 369 of file omgmainwindow.cpp.

References QgsPluginRegistry::addPlugin(), QgisPlugin::initGui(), QgsPluginRegistry::instance(), and QgsPluginRegistry::library().

Referenced by OmgMainWindow().

void OmgMainWindow::logError QString  theModelGuid,
QString  theMessage
[slot]
 

Definition at line 2796 of file omgmainwindow.cpp.

References mpCurrentExperiment, mpModelProgress, mTrayIcon, and mTreeItemsHash.

Referenced by runExperiment().

void OmgMainWindow::logMessage QString  theModelGuid,
QString  theMessage
[slot]
 

Definition at line 2791 of file omgmainwindow.cpp.

References logMessage().

void OmgMainWindow::logMessage QString  theMessage  )  [slot]
 

Definition at line 2770 of file omgmainwindow.cpp.

Referenced by createTrayIcon(), logMessage(), modelCompleted(), populateTree(), printExperimentReport(), runExperiment(), setCurrentModel(), showAlgorithmSummary(), and showTaxonSummary().

void OmgMainWindow::modelCompleted QString  theModelGuid  )  [slot]
 

Slot called when all work (including post processing) is completed for a model.

Parameters:
QString theModelGuid

Definition at line 2672 of file omgmainwindow.cpp.

References logMessage(), mpCurrentExperiment, mTrayIcon, mTreeItemsHash, setCurrentModel(), setReportStyleSheet(), showAlgorithmSummary(), and showTaxonSummary().

Referenced by runExperiment().

void OmgMainWindow::newProject  )  [signal]
 

void OmgMainWindow::on_cboSortBy_currentIndexChanged QString   )  [private, slot]
 

Definition at line 1760 of file omgmainwindow.cpp.

References BY_ALGORITHM, BY_TAXON, mSortMode, and populateTree().

void OmgMainWindow::on_tabModelViewDetails_currentChanged int   )  [private, slot]
 

Definition at line 2404 of file omgmainwindow.cpp.

References disableMapControls(), and enableMapControls().

void OmgMainWindow::panMode  )  [private, slot]
 

Referenced by createActions().

bool OmgMainWindow::populateTree  )  [private, slot]
 

Populate teh experiement tree.

Returns:
False if any models in the experiment have not yet been run. Aborted/failed models are considered to have been run.

Definition at line 1810 of file omgmainwindow.cpp.

References OmgModel::algorithm(), BY_TAXON, currentItemChanged(), OmgGuid::guid(), OmgModel::hasError(), OmgModel::isCompleted(), logMessage(), mpCurrentExperiment, mSortMode, mTreeItemsHash, OmgModel::taxonName(), and treeContextMenuEvent().

Referenced by on_cboSortBy_currentIndexChanged(), removeAlgorithmFromExperiment(), removeModelFromExperiment(), removeTaxonFromExperiment(), resetExperiment(), and setCurrentExperiment().

void OmgMainWindow::printAlgorithmProfilesReport  )  [slot]
 

Definition at line 2272 of file omgmainwindow.cpp.

References OmgAlgorithmSet::getFromActivePlugin(), OmgAlgorithmSet::loadAlgorithms(), and OmgAlgorithmSet::toHtml().

Referenced by createActions().

void OmgMainWindow::printExperimentReport  )  [slot]
 

Definition at line 2295 of file omgmainwindow.cpp.

References logMessage(), mpCurrentExperiment, Omgui::readTextFile(), and OmgModel::toHtml().

Referenced by createActions().

void OmgMainWindow::printPdf  )  [slot]
 

Definition at line 2329 of file omgmainwindow.cpp.

References mpCurrentExperiment, mpExperimentPrinter, and mProgressDialog.

Referenced by createActions().

void OmgMainWindow::projectRead  )  [signal]
 

This signal is needed to notify qgis plugins of state change. Primarily it is used to get copyrightlabel plugin to be aware that its label has changed.

Referenced by setCurrentModel().

void OmgMainWindow::publishModel  )  [private, slot]
 

Publish the active model to WBCMS repository

Definition at line 1270 of file omgmainwindow.cpp.

References mpCurrentModel, and OmgPublishToCatalogue::setModel().

Referenced by createActions().

void OmgMainWindow::readSettings  )  [private]
 

Definition at line 1210 of file omgmainwindow.cpp.

Referenced by OmgMainWindow().

void OmgMainWindow::refreshReports  )  [private, slot]
 

Definition at line 2903 of file omgmainwindow.cpp.

References OmgModel::createThumbnail(), mpCurrentExperiment, and OmgModel::toHtml().

Referenced by createActions().

void OmgMainWindow::removeAlgorithmFromExperiment  )  [slot]
 

Definition at line 2120 of file omgmainwindow.cpp.

References mpCurrentExperiment, and populateTree().

Referenced by createActions().

void OmgMainWindow::removeModelFromExperiment  )  [slot]
 

Definition at line 2112 of file omgmainwindow.cpp.

References mpCurrentExperiment, mpCurrentModel, and populateTree().

Referenced by createActions().

void OmgMainWindow::removeTaxonFromExperiment  )  [slot]
 

Definition at line 2134 of file omgmainwindow.cpp.

References mpCurrentExperiment, and populateTree().

Referenced by createActions().

void OmgMainWindow::reportModeChanged QString  theReportMode  )  [slot]
 

Definition at line 2149 of file omgmainwindow.cpp.

References showReport().

Referenced by OmgMainWindow().

void OmgMainWindow::resetExperiment  )  [slot]
 

Definition at line 527 of file omgmainwindow.cpp.

References mpCurrentExperiment, and populateTree().

Referenced by createActions().

void OmgMainWindow::resizeEvent QResizeEvent *  event  )  [private]
 

Definition at line 2163 of file omgmainwindow.cpp.

References setTreeColumnSizes().

void OmgMainWindow::runExperiment  )  [slot]
 

Definition at line 558 of file omgmainwindow.cpp.

References disableControlsWhileRunning(), experimentHelpText(), experimentStopped(), OmgModellerPluginRegistry::instance(), logError(), logMessage(), modelCompleted(), mpCurrentExperiment, mpExperimentProgress, mpModelProgress, mpRunAct, mpRunningMovie, setExperimentMaximum(), setExperimentProgress(), setModelCreationProgress(), setModelProjectionProgress(), setReportStyleSheet(), and stopExperiment().

Referenced by createActions(), experimentStopped(), and setCurrentExperiment().

void OmgMainWindow::saveMapAsImage  )  [slot]
 

Definition at line 1369 of file omgmainwindow.cpp.

Referenced by createActions().

void OmgMainWindow::setCurrentExperiment OmgExperiment theExperiment  )  [slot]
 

Definition at line 1772 of file omgmainwindow.cpp.

References mpCurrentExperiment, populateTree(), runExperiment(), and setEnableModelDetailWidgets().

Referenced by fileNew(), and fileOpen().

void OmgMainWindow::setCurrentModel OmgModel thepModel  )  [slot]
 

Definition at line 1458 of file omgmainwindow.cpp.

References disableMapControls(), enableMapControls(), Omgui::getOutputFormatRanges(), logMessage(), mpCurrentModel, mpLocalitiesModel, projectRead(), OmgLocalitiesModel::setModel(), setReportStyleSheet(), and showReport().

Referenced by currentItemChanged(), and modelCompleted().

void OmgMainWindow::setEnableModelDetailWidgets bool  theBool  )  [slot]
 

Definition at line 2197 of file omgmainwindow.cpp.

References setTreeColumnSizes().

Referenced by clearCurrentExperiment(), OmgMainWindow(), setCurrentExperiment(), and setViewMode().

void OmgMainWindow::setExperimentMaximum int  theMaximum  )  [slot]
 

Definition at line 2762 of file omgmainwindow.cpp.

References mpExperimentProgress, and mpExperimentProgressLabel.

Referenced by runExperiment().

void OmgMainWindow::setExperimentProgress int  theProgress  )  [slot]
 

Definition at line 2753 of file omgmainwindow.cpp.

References mpExperimentProgress, and mpExperimentProgressLabel.

Referenced by runExperiment().

void OmgMainWindow::setModelCreationProgress QString  theModelGuid,
int  theProgress
[slot]
 

Definition at line 2588 of file omgmainwindow.cpp.

References mpCurrentExperiment, mpModelProgress, mRunningIcon, mTrayIcon, and mTreeItemsHash.

Referenced by runExperiment().

void OmgMainWindow::setModelProjectionProgress QString  theModelGuid,
int  theProgress
[slot]
 

Definition at line 2624 of file omgmainwindow.cpp.

References mpCurrentExperiment, mpModelProgress, mRunningIcon, mTrayIcon, and mTreeItemsHash.

Referenced by runExperiment().

void OmgMainWindow::setReportStyleSheet  )  [private]
 

Definition at line 2918 of file omgmainwindow.cpp.

References Omgui::defaultStyleSheet().

Referenced by currentItemChanged(), modelCompleted(), runExperiment(), setCurrentModel(), showHelp(), and showReport().

Here is the call graph for this function:

void OmgMainWindow::settingsOptions  )  [private, slot]
 

Definition at line 819 of file omgmainwindow.cpp.

References mTrayIcon.

Referenced by createActions().

void OmgMainWindow::setTreeColumnSizes int  position,
int  index
[slot]
 

Definition at line 2155 of file omgmainwindow.cpp.

Referenced by OmgMainWindow(), resizeEvent(), and setEnableModelDetailWidgets().

void OmgMainWindow::setViewMode QString  theMode  )  [slot]
 

Definition at line 2248 of file omgmainwindow.cpp.

References setEnableModelDetailWidgets().

Referenced by OmgMainWindow().

void OmgMainWindow::showAlgorithmManager  )  [private, slot]
 

Definition at line 2239 of file omgmainwindow.cpp.

Referenced by createActions().

void OmgMainWindow::showAlgorithmSummary QString  theAlgorithmName  )  [private, slot]
 

Show thumbnails and summary stats for the selected algorithm.

Definition at line 1941 of file omgmainwindow.cpp.

References OmgModel::algorithm(), logMessage(), mpCurrentExperiment, OmgModel::thumbnailFileName(), and OmgModel::workDir().

Referenced by currentItemChanged(), and modelCompleted().

void OmgMainWindow::showHelp  )  [private, slot]
 

Display some useful help documentation in the report tab

Definition at line 3290 of file omgmainwindow.cpp.

References OmgTip::content(), OmgTipFactory::getTip(), helpText(), setReportStyleSheet(), and OmgTip::title().

Referenced by createActions(), and OmgMainWindow().

void OmgMainWindow::showLayerSetManager  )  [private, slot]
 

Definition at line 2230 of file omgmainwindow.cpp.

Referenced by createActions(), and fileNew().

void OmgMainWindow::showLicense  )  [private, slot]
 

Definition at line 803 of file omgmainwindow.cpp.

Referenced by createActions().

void OmgMainWindow::showReport QString  theReportMode  )  [private]
 

Definition at line 2168 of file omgmainwindow.cpp.

References mpCurrentModel, and setReportStyleSheet().

Referenced by reportModeChanged(), and setCurrentModel().

Here is the call graph for this function:

void OmgMainWindow::showSurvey  )  [private, slot]
 

Show the user survey wizard

Definition at line 3285 of file omgmainwindow.cpp.

Referenced by createActions().

void OmgMainWindow::showTaxonSummary QString  theTaxonName  )  [private, slot]
 

Show thumbnails and summary stats for the selected taxon.

Definition at line 1987 of file omgmainwindow.cpp.

References logMessage(), mpCurrentExperiment, OmgModel::taxonName(), OmgModel::thumbnailFileName(), and OmgModel::workDir().

Referenced by currentItemChanged(), and modelCompleted().

void OmgMainWindow::stopExperiment  )  [slot]
 

Definition at line 2854 of file omgmainwindow.cpp.

References mpCurrentExperiment.

Referenced by runExperiment().

bool OmgMainWindow::toolsClimateConvert  )  [private, slot]
 

Definition at line 743 of file omgmainwindow.cpp.

Referenced by createActions().

bool OmgMainWindow::toolsContour  )  [private, slot]
 

Definition at line 716 of file omgmainwindow.cpp.

Referenced by createActions().

bool OmgMainWindow::toolsConvert  )  [private, slot]
 

Definition at line 703 of file omgmainwindow.cpp.

Referenced by createActions().

bool OmgMainWindow::toolsFileSplitter  )  [private, slot]
 

Definition at line 769 of file omgmainwindow.cpp.

Referenced by createActions().

bool OmgMainWindow::toolsRasterThreshold  )  [private, slot]
 

Definition at line 729 of file omgmainwindow.cpp.

References mpCurrentExperiment, and OmgRasterThreshold::setExperiment().

Referenced by createActions().

bool OmgMainWindow::toolsWarp  )  [private, slot]
 

Definition at line 756 of file omgmainwindow.cpp.

Referenced by createActions().

void OmgMainWindow::treeContextMenuEvent const QPoint &  thePoint  )  [slot]
 

Definition at line 2081 of file omgmainwindow.cpp.

References currentItemChanged(), mpAlgorithmContextMenu, mpModelContextMenu, and mpTaxonContextMenu.

Referenced by populateTree().

void OmgMainWindow::updateRunningIcon const QRect &  theRect  )  [private, slot]
 

Used for animating the running icon shown next to the currently running tree widget entry

Definition at line 2896 of file omgmainwindow.cpp.

References mpRunningMovie, and mRunningIcon.

Referenced by OmgMainWindow().

void OmgMainWindow::writeSettings  )  [private]
 

Definition at line 1246 of file omgmainwindow.cpp.

Referenced by fileExit().

void OmgMainWindow::zoomFull  )  [private, slot]
 

Referenced by createActions().

void OmgMainWindow::zoomInMode  )  [private, slot]
 

Referenced by createActions().

void OmgMainWindow::zoomOutMode  )  [private, slot]
 

Referenced by createActions().

void OmgMainWindow::zoomPrevious  )  [private, slot]
 

Referenced by createActions().


Member Data Documentation

QAction* OmgMainWindow::mMaximizeAct [private]
 

Definition at line 212 of file omgmainwindow.h.

Referenced by createActions(), and createTrayIcon().

QAction* OmgMainWindow::mMinimizeAct [private]
 

Definition at line 211 of file omgmainwindow.h.

Referenced by createActions(), and createTrayIcon().

QAction* OmgMainWindow::mpAboutOmgAct [private]
 

Definition at line 263 of file omgmainwindow.h.

Referenced by createActions(), and createMenus().

QMenu* OmgMainWindow::mpAlgorithmContextMenu [private]
 

Definition at line 307 of file omgmainwindow.h.

Referenced by createMenus(), and treeContextMenuEvent().

QAction* OmgMainWindow::mpAlgorithmManagerAct [private]
 

Definition at line 269 of file omgmainwindow.h.

Referenced by createActions(), createMenus(), createToolBars(), disableControlsWhileRunning(), and enableControlsAfterRunning().

QAction* OmgMainWindow::mpAvailableAlgorithmsReportAct [private]
 

Definition at line 270 of file omgmainwindow.h.

Referenced by createActions(), createMenus(), createToolBars(), disableControlsWhileRunning(), and enableControlsAfterRunning().

QAction* OmgMainWindow::mpCloseAct [private]
 

Definition at line 249 of file omgmainwindow.h.

Referenced by createActions(), createMenus(), disableControlsWhileRunning(), enableControlsAfterRunning(), and OmgMainWindow().

QPointer<OmgExperiment> OmgMainWindow::mpCurrentExperiment [private]
 

Definition at line 318 of file omgmainwindow.h.

Referenced by currentItemChanged(), logError(), modelCompleted(), populateTree(), printExperimentReport(), printPdf(), refreshReports(), removeAlgorithmFromExperiment(), removeModelFromExperiment(), removeTaxonFromExperiment(), resetExperiment(), runExperiment(), setCurrentExperiment(), setModelCreationProgress(), setModelProjectionProgress(), showAlgorithmSummary(), showTaxonSummary(), stopExperiment(), and toolsRasterThreshold().

QPointer<OmgModel> OmgMainWindow::mpCurrentModel [private]
 

Definition at line 316 of file omgmainwindow.h.

Referenced by enableMapControls(), exportSamplesToCsv(), publishModel(), removeModelFromExperiment(), setCurrentModel(), and showReport().

QMenu* OmgMainWindow::mpDataPrepMenu [private]
 

Definition at line 236 of file omgmainwindow.h.

Referenced by createMenus().

QToolBar* OmgMainWindow::mpDataPrepToolBar [private]
 

Definition at line 242 of file omgmainwindow.h.

Referenced by createToolBars(), and OmgMainWindow().

QAction* OmgMainWindow::mpDeleteAlgorithmAct [private]
 

Definition at line 312 of file omgmainwindow.h.

Referenced by createActions(), and createMenus().

QAction* OmgMainWindow::mpDeleteModelAct [private]
 

Definition at line 310 of file omgmainwindow.h.

Referenced by createActions(), and createMenus().

QAction* OmgMainWindow::mpDeleteTaxonAct [private]
 

Definition at line 313 of file omgmainwindow.h.

Referenced by createActions(), and createMenus().

QMenu* OmgMainWindow::mpEditMenu [private]
 

Definition at line 235 of file omgmainwindow.h.

Referenced by createMenus().

QAction* OmgMainWindow::mpExitAct [private]
 

Definition at line 255 of file omgmainwindow.h.

Referenced by createActions(), and createMenus().

QMenu* OmgMainWindow::mpExperimentContextMenu [private]
 

Definition at line 306 of file omgmainwindow.h.

Referenced by createMenus().

QPointer<OmgExperimentPrinter> OmgMainWindow::mpExperimentPrinter [private]
 

Definition at line 224 of file omgmainwindow.h.

Referenced by printPdf().

QProgressBar* OmgMainWindow::mpExperimentProgress [private]
 

Definition at line 220 of file omgmainwindow.h.

Referenced by createStatusBar(), experimentStopped(), runExperiment(), setExperimentMaximum(), and setExperimentProgress().

QLabel* OmgMainWindow::mpExperimentProgressLabel [private]
 

Definition at line 221 of file omgmainwindow.h.

Referenced by createStatusBar(), setExperimentMaximum(), and setExperimentProgress().

QAction* OmgMainWindow::mpExperimentReportAct [private]
 

Definition at line 271 of file omgmainwindow.h.

Referenced by createActions(), createMenus(), createToolBars(), disableControlsWhileRunning(), and enableControlsAfterRunning().

QAction* OmgMainWindow::mpExportToCsvAct [private]
 

Definition at line 268 of file omgmainwindow.h.

Referenced by createActions(), createMenus(), and createToolBars().

QAction* OmgMainWindow::mpFetchAct [private]
 

Definition at line 252 of file omgmainwindow.h.

Referenced by createActions(), createMenus(), and createToolBars().

QMenu* OmgMainWindow::mpFileMenu [private]
 

Definition at line 234 of file omgmainwindow.h.

Referenced by createMenus().

QToolBar* OmgMainWindow::mpFileToolBar [private]
 

Definition at line 241 of file omgmainwindow.h.

Referenced by createToolBars(), and OmgMainWindow().

QAction* OmgMainWindow::mpHelpAct [private]
 

Definition at line 265 of file omgmainwindow.h.

Referenced by createActions(), and createMenus().

QMenu* OmgMainWindow::mpHelpMenu [private]
 

Definition at line 240 of file omgmainwindow.h.

Referenced by createMenus().

QAction* OmgMainWindow::mpLayerSetManagerAct [private]
 

Definition at line 267 of file omgmainwindow.h.

Referenced by createActions(), createMenus(), createToolBars(), disableControlsWhileRunning(), and enableControlsAfterRunning().

QAction* OmgMainWindow::mpLicenseAct [private]
 

Definition at line 264 of file omgmainwindow.h.

Referenced by createActions(), and createMenus().

OmgLocalitiesModel* OmgMainWindow::mpLocalitiesModel [private]
 

Definition at line 317 of file omgmainwindow.h.

Referenced by OmgMainWindow(), and setCurrentModel().

QMenu* OmgMainWindow::mpModelContextMenu [private]
 

Definition at line 309 of file omgmainwindow.h.

Referenced by createMenus(), and treeContextMenuEvent().

QProgressBar* OmgMainWindow::mpModelProgress [private]
 

Definition at line 219 of file omgmainwindow.h.

Referenced by createStatusBar(), experimentStopped(), logError(), runExperiment(), setModelCreationProgress(), and setModelProjectionProgress().

QAction* OmgMainWindow::mpNewAct [private]
 

Definition at line 245 of file omgmainwindow.h.

Referenced by createActions(), createMenus(), createToolBars(), disableControlsWhileRunning(), and enableControlsAfterRunning().

QAction* OmgMainWindow::mpOpenAct [private]
 

Definition at line 248 of file omgmainwindow.h.

Referenced by createActions(), createMenus(), createToolBars(), disableControlsWhileRunning(), and enableControlsAfterRunning().

QAction* OmgMainWindow::mpOptionsAct [private]
 

Definition at line 256 of file omgmainwindow.h.

Referenced by createActions(), createMenus(), createToolBars(), disableControlsWhileRunning(), and enableControlsAfterRunning().

QLabel* OmgMainWindow::mpPictureWidget [private]
 

Definition at line 315 of file omgmainwindow.h.

QMenu* OmgMainWindow::mpPostProcessingMenu [private]
 

Definition at line 237 of file omgmainwindow.h.

Referenced by createMenus().

QToolBar* OmgMainWindow::mpPostProcessingToolBar [private]
 

Definition at line 243 of file omgmainwindow.h.

Referenced by createToolBars(), and OmgMainWindow().

QAction* OmgMainWindow::mpPrintPdfAct [private]
 

Definition at line 253 of file omgmainwindow.h.

Referenced by createActions(), createMenus(), createToolBars(), disableControlsWhileRunning(), and enableControlsAfterRunning().

QAction* OmgMainWindow::mpPublishModelAct [private]
 

Definition at line 311 of file omgmainwindow.h.

Referenced by createActions(), and createMenus().

QAction* OmgMainWindow::mpRefreshReportsAct [private]
 

Definition at line 254 of file omgmainwindow.h.

Referenced by createActions(), createMenus(), disableControlsWhileRunning(), and enableControlsAfterRunning().

QMenu* OmgMainWindow::mpReportsMenu [private]
 

Definition at line 238 of file omgmainwindow.h.

Referenced by createMenus().

QToolBar* OmgMainWindow::mpReportsToolBar [private]
 

Definition at line 244 of file omgmainwindow.h.

Referenced by createToolBars().

QAction* OmgMainWindow::mpResetAct [private]
 

Definition at line 247 of file omgmainwindow.h.

Referenced by createActions(), createMenus(), disableControlsWhileRunning(), and enableControlsAfterRunning().

QProgressDialog OmgMainWindow::mProgressDialog [private]
 

Definition at line 227 of file omgmainwindow.h.

Referenced by printPdf().

QAction* OmgMainWindow::mpRunAct [private]
 

Definition at line 246 of file omgmainwindow.h.

Referenced by createActions(), createMenus(), createToolBars(), createTrayIcon(), experimentStopped(), and runExperiment().

QMovie* OmgMainWindow::mpRunningMovie [private]
 

Definition at line 231 of file omgmainwindow.h.

Referenced by experimentStopped(), OmgMainWindow(), runExperiment(), and updateRunningIcon().

QAction* OmgMainWindow::mpSaveAct [private]
 

Definition at line 250 of file omgmainwindow.h.

Referenced by createActions(), createMenus(), createToolBars(), disableControlsWhileRunning(), enableControlsAfterRunning(), and OmgMainWindow().

QAction* OmgMainWindow::mpSaveAsImageAct [private]
 

Definition at line 251 of file omgmainwindow.h.

Referenced by createActions(), createMenus(), createToolBars(), disableControlsWhileRunning(), disableMapControls(), enableControlsAfterRunning(), and enableMapControls().

QMenu* OmgMainWindow::mpSettingsMenu [private]
 

Definition at line 239 of file omgmainwindow.h.

QAction* OmgMainWindow::mpSurveyAct [private]
 

Definition at line 266 of file omgmainwindow.h.

Referenced by createActions().

QMenu* OmgMainWindow::mpTaxonContextMenu [private]
 

Definition at line 308 of file omgmainwindow.h.

Referenced by createMenus(), and treeContextMenuEvent().

QAction* OmgMainWindow::mpToolsClimateConvertAct [private]
 

Definition at line 258 of file omgmainwindow.h.

Referenced by createActions(), createMenus(), createToolBars(), disableControlsWhileRunning(), enableControlsAfterRunning(), and OmgMainWindow().

QAction* OmgMainWindow::mpToolsContourAct [private]
 

Definition at line 259 of file omgmainwindow.h.

Referenced by createActions(), createMenus(), createToolBars(), disableControlsWhileRunning(), enableControlsAfterRunning(), and OmgMainWindow().

QAction* OmgMainWindow::mpToolsConvertAct [private]
 

Definition at line 257 of file omgmainwindow.h.

Referenced by createActions(), createMenus(), createToolBars(), disableControlsWhileRunning(), and enableControlsAfterRunning().

QAction* OmgMainWindow::mpToolsFileSplitterAct [private]
 

Definition at line 262 of file omgmainwindow.h.

Referenced by createActions(), createMenus(), and createToolBars().

QAction* OmgMainWindow::mpToolsRasterThresholdAct [private]
 

Definition at line 260 of file omgmainwindow.h.

Referenced by createActions(), createMenus(), createToolBars(), disableControlsWhileRunning(), and enableControlsAfterRunning().

QAction* OmgMainWindow::mpToolsWarpAct [private]
 

Definition at line 261 of file omgmainwindow.h.

Referenced by createActions(), createMenus(), createToolBars(), and OmgMainWindow().

QAction* OmgMainWindow::mQuitAct [private]
 

Definition at line 214 of file omgmainwindow.h.

Referenced by createActions(), and createTrayIcon().

QAction* OmgMainWindow::mRestoreAct [private]
 

Definition at line 213 of file omgmainwindow.h.

Referenced by createActions(), and createTrayIcon().

QIcon OmgMainWindow::mRunningIcon [private]
 

Definition at line 230 of file omgmainwindow.h.

Referenced by OmgMainWindow(), setModelCreationProgress(), setModelProjectionProgress(), and updateRunningIcon().

SortMode OmgMainWindow::mSortMode [private]
 

Definition at line 201 of file omgmainwindow.h.

Referenced by OmgMainWindow(), on_cboSortBy_currentIndexChanged(), and populateTree().

QPointer<QSystemTrayIcon> OmgMainWindow::mTrayIcon [private]
 

Definition at line 215 of file omgmainwindow.h.

Referenced by createTrayIcon(), experimentStopped(), fileExit(), logError(), modelCompleted(), setModelCreationProgress(), setModelProjectionProgress(), and settingsOptions().

QMenu* OmgMainWindow::mTrayIconMenu [private]
 

Definition at line 210 of file omgmainwindow.h.

Referenced by createTrayIcon().

TreeItemsHash OmgMainWindow::mTreeItemsHash [private]
 

Definition at line 207 of file omgmainwindow.h.

Referenced by logError(), modelCompleted(), populateTree(), setModelCreationProgress(), and setModelProjectionProgress().


The documentation for this class was generated from the following files:
Generated on Mon Apr 28 15:13:29 2008 for openModellerDesktop by  doxygen 1.4.1-20050210