7 #ifndef WINDOW_ABSTRACT_BASE_H 8 #define WINDOW_ABSTRACT_BASE_H 10 #include <QDockWidget> 30 virtual void clear () = 0;
33 virtual void closeEvent(QCloseEvent *event) = 0;
36 virtual void doCopy () = 0;
40 bool &tableIsCopyable)
const;
45 const QString &curveSelected,
50 virtual QTableView *
view()
const = 0;
57 #endif // WINDOW_ABSTRACT_BASE_H virtual QTableView * view() const =0
QTableView-based class used by child class.
Dockable widget abstract base class.
void getTableStatus(bool &tableIsActive, bool &tableIsCopyable) const
Give table status so MainWindow can determine if table can be copied.
virtual void closeEvent(QCloseEvent *event)=0
Catch close event so corresponding menu item in MainWindow can be updated accordingly.
Model for DlgSettingsMainWindow.
virtual void doCopy()=0
Copy the current selection to the clipboard.
virtual void clear()=0
Clear stale information.
virtual void update(const CmdMediator &cmdMediator, const MainWindowModel &modelMainWindow, const QString &curveSelected, const Transformation &transformation)=0
Populate the table with the specified Curve.