DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
DtEditorWindow Class Reference

#include <dteditorwindow.h>

Inheritance diagram for DtEditorWindow:

Public Member Functions

 DtEditorWindow (QWidget *parent=0)
 
 ~DtEditorWindow ()
 
void updateGui ()
 

Protected Member Functions

void save (QString filename)
 
void open (QString filename)
 
void updateTitleBar ()
 
bool checkForDTreeBeforeSaving ()
 
void createScene (std::shared_ptr< dtree::DecisionTree > tree)
 
void undo ()
 
void redo ()
 
void execute (std::shared_ptr< Command > command)
 
void clearUndoRedoStacks ()
 
void updateUndoGuiStatus ()
 
void closeEvent (QCloseEvent *event)
 

Constructor & Destructor Documentation

◆ DtEditorWindow()

DtEditorWindow::DtEditorWindow ( QWidget *  parent = 0)
explicit

◆ ~DtEditorWindow()

DtEditorWindow::~DtEditorWindow ( )

Member Function Documentation

◆ checkForDTreeBeforeSaving()

bool DtEditorWindow::checkForDTreeBeforeSaving ( )
protected

◆ clearUndoRedoStacks()

void DtEditorWindow::clearUndoRedoStacks ( )
protected

◆ closeEvent()

void DtEditorWindow::closeEvent ( QCloseEvent *  event)
protected

◆ createScene()

void DtEditorWindow::createScene ( std::shared_ptr< dtree::DecisionTree tree)
protected

◆ execute()

void DtEditorWindow::execute ( std::shared_ptr< Command command)
protected

◆ open()

void DtEditorWindow::open ( QString  filename)
protected

◆ redo()

void DtEditorWindow::redo ( )
protected

◆ save()

void DtEditorWindow::save ( QString  filename)
protected

◆ undo()

void DtEditorWindow::undo ( )
protected

◆ updateGui()

void DtEditorWindow::updateGui ( )

◆ updateTitleBar()

void DtEditorWindow::updateTitleBar ( )
protected

◆ updateUndoGuiStatus()

void DtEditorWindow::updateUndoGuiStatus ( )
protected

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