7#ifndef WINDOW_ABSTRACT_BASE_H
8#define WINDOW_ABSTRACT_BASE_H
40 bool &tableIsCopyable)
const;
45 const QString &curveSelected,
50 virtual QTableView *
view()
const = 0;
Model for DlgSettingsMainWindow.
virtual void clear()=0
Clear stale information.
virtual QTableView * view() const =0
QTableView-based class used by child class.
WindowAbstractBase(QWidget *parent)
Single constructor. Parent is needed or else this widget cannot be redocked after being undocked.
virtual ~WindowAbstractBase()
virtual void closeEvent(QCloseEvent *event)=0
Catch close event so corresponding menu item in MainWindow can be updated accordingly.
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.
virtual void doCopy()=0
Copy the current selection to the clipboard.