7#ifndef GEOMETRY_WINDOW_H
8#define GEOMETRY_WINDOW_H
37 virtual void clear ();
46 const QString &curveSelected,
48 virtual QTableView *
view ()
const;
67 void initializeHeader();
68 void loadStrategies ();
69 void resizeTable (
int rowCount);
76 QString tokenCurveName ()
const;
77 QString tokenDistanceGraph ()
const;
78 QString tokenDistancePercent ()
const;
79 QString tokenFunctionArea ()
const;
80 QString tokenIndex ()
const;
81 QString tokenPolygonArea ()
const;
82 QString tokenX ()
const;
83 QString tokenY ()
const;
97 COLUMN_BODY_DISTANCE_GRAPH_FORWARD,
98 COLUMN_BODY_DISTANCE_PERCENT_FORWARD,
99 COLUMN_BODY_DISTANCE_GRAPH_BACKWARD,
100 COLUMN_BODY_DISTANCE_PERCENT_BACKWARD,
101 COLUMN_BODY_POINT_IDENTIFIERS,
107 HEADER_ROW_FUNC_AREA,
108 HEADER_ROW_POLY_AREA,
109 HEADER_ROW_COLUMN_NAMES,
114 GeometryModel *m_model;
116 GeometryStrategyContext m_geometryStrategyContext;
119 DocumentModelExportFormat m_modelExport;
Container for one set of digitized Points.
Model that adds row highlighting according to the currently select point identifier.
static int columnBodyPointIdentifiers()
Hidden column that has the point identifiers.
GeometryWindow(MainWindow *mainWindow)
Single constructor. Parent is needed or else this widget cannot be redocked after being undocked.
virtual void update(const CmdMediator &cmdMediator, const MainWindowModel &modelMainWindow, const QString &curveSelected, const Transformation &transformation)
Populate the table with the specified Curve.
virtual void closeEvent(QCloseEvent *event)
Catch close event so corresponding menu item in MainWindow can be updated accordingly.
void slotPointHoverEnter(QString)
Highlight the row for the specified point.
virtual QTableView * view() const
QTableView-based class used by child class.
void slotPointHoverLeave(QString)
Unhighlight the row for the specified point.
virtual void clear()
Clear stale information.
virtual void doCopy()
Copy the current selection to the clipboard.
virtual ~GeometryWindow()
void signalGeometryWindowClosed()
Signal that this QDockWidget was just closed.
Model for DlgSettingsMainWindow.
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...
WindowAbstractBase(QWidget *parent)
Single constructor. Parent is needed or else this widget cannot be redocked after being undocked.