Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

VIEW::DockResultController Class Reference

Controller base class for one type of Dataset. More...

#include <standardDatasets.h>

Inheritance diagram for VIEW::DockResultController:

VIEW::DatasetController Embeddable List of all members.

Public Slots

void showDockResult ()
bool saveDockTrajectory ()

Public Member Functions

 DockResultController (DockResultController &dc)
virtual bool write (Dataset *set, String filetype, String filename)
virtual Datasetopen (String filetype, String filename)
virtual bool createMenuEntries ()
 Create menu entries for this data type.
virtual QMenu * buildContextMenu (QTreeWidgetItem *item)
 Create a context menu for this data type.
DockResultgetData (Dataset *set)

Static Public Attributes

String type

Protected Member Functions

void deleteDataset_ (Dataset *set)
 In the derived class: cast to concrete type and delete the data!

Detailed Description

Controller base class for one type of Dataset.


Member Function Documentation

virtual QMenu* VIEW::DockResultController::buildContextMenu QTreeWidgetItem *  item  )  [virtual]
 

Create a context menu for this data type.

Initial support for deleting and saving entries is included. Overload this method for providing further entries.

Reimplemented from VIEW::DatasetController.

virtual bool VIEW::DockResultController::createMenuEntries  )  [virtual]
 

Create menu entries for this data type.

Initial support for open file menu entry is included. Overload this method for providing further entries.

Reimplemented from VIEW::DatasetController.