Engauge Digitizer
2
|
Dockable widget abstract base class. More...
#include <WindowAbstractBase.h>
Public Member Functions | |
WindowAbstractBase (QWidget *parent) | |
Single constructor. Parent is needed or else this widget cannot be redocked after being undocked. | |
virtual void | clear ()=0 |
Clear stale information. | |
virtual void | closeEvent (QCloseEvent *event)=0 |
Catch close event so corresponding menu item in MainWindow can be updated accordingly. | |
virtual void | doCopy ()=0 |
Copy the current selection to the clipboard. | |
void | getTableStatus (bool &tableIsActive, bool &tableIsCopyable) const |
Give table status so MainWindow can determine if table can be copied. | |
virtual void | update (const CmdMediator &cmdMediator, const MainWindowModel &modelMainWindow, const QString &curveSelected, const Transformation &transformation)=0 |
Populate the table with the specified Curve. | |
Protected Member Functions | |
virtual QTableView * | view () const =0 |
QTableView-based class used by child class. | |
Dockable widget abstract base class.
This class enforces support for the MainWindow class, in terms of copying selected stuff, and also for performing clearing and updates
Definition at line 20 of file WindowAbstractBase.h.