Engauge Digitizer  2
Public Member Functions | List of all members
WindowModelBase Class Reference

Model for WindowTable. More...

#include <WindowModelBase.h>

Inheritance diagram for WindowModelBase:
FittingModel GeometryModel

Public Member Functions

 WindowModelBase ()
 Single constructor.
 
QMimeData * mimeData (const QModelIndexList &indexes) const
 Support dragging of multiple cells. More...
 
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

◆ mimeData()

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: