WindowModelBase Class Reference

Model for WindowTable. More...

#include <WindowModelBase.h>

Inheritance diagram for WindowModelBase:
FittingModel GeometryModel

List of all members.

Public Member Functions

 WindowModelBase ()
 Single constructor.
QMimeData * mimeData (const QModelIndexList &indexes) const
 Support dragging of multiple cells.
QString selectionAsHtml () const
 Convert the selection into exportable html which is good for spreadsheets.
QString selectionAsText (ExportDelimiter delimiter) const
 Convert the selection into exportable text which is good for text editors.
void setDelimiter (ExportDelimiter delimiter)
 Save output delimiter.
void setView (WindowTable &view)
 Save the view so this class can access the current selection.

Detailed Description

Model for WindowTable.

Definition at line 18 of file WindowModelBase.h.


Member Function Documentation

QMimeData * WindowModelBase::mimeData ( const QModelIndexList &  indexes  )  const

Support dragging of multiple cells.

Without this only one cell can be copied by dragging. Clipboard copying is handled elsewhere in the window class

Definition at line 34 of file WindowModelBase.cpp.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations Friends

Generated on 21 Oct 2017 for Engauge Digitizer by  doxygen 1.6.1