1 #ifndef DLG_SETTINGS_POINT_MATCH_H
2 #define DLG_SETTINGS_POINT_MATCH_H
4 #include "CoordsType.h"
5 #include "DlgSettingsAbstractBase.h"
9 class QGraphicsEllipseItem;
10 class QGraphicsLineItem;
11 class QGraphicsPixmapItem;
31 void slotAcceptedPointColor (
const QString &);
32 void slotCandidatePointColor (
const QString &);
33 void slotMaxPointSize (
int);
34 void slotMouseMove (QPointF pos);
35 void slotRejectedPointColor (
const QString &);
42 QPointF boxPositionConstraint(
const QPointF &posIn);
43 void createControls (QGridLayout *layout,
45 void createPreview(QGridLayout *layout,
47 void createTemplate();
49 double radiusAlongDiagonal ()
const;
50 void updateControls();
53 QSpinBox *m_spinMinPointSeparation;
54 QSpinBox *m_spinPointSize;
55 QComboBox *m_cmbAcceptedPointColor;
56 QComboBox *m_cmbRejectedPointColor;
57 QComboBox *m_cmbCandidatePointColor;
59 QGraphicsScene *m_scenePreview;
61 QGraphicsEllipseItem *m_circle;
67 #endif // DLG_SETTINGS_POINT_MATCH_H
Model for DlgSettingsPointMatch and CmdSettingsPointMatch.
Dialog for editing point match settings, for DigitizeStatePointMatch.
Class that modifies QGraphicsView to automatically expand/shrink the view to fit the window...
virtual void handleOk()
Process slotOk.
virtual void load(CmdMediator &cmdMediator)
Load settings from Document.
Abstract base class for all Settings dialogs.
virtual QWidget * createSubPanel()
Create dialog-specific panel to which base class will add Ok and Cancel buttons.
DlgSettingsPointMatch(MainWindow &mainWindow)
Single constructor.
MainWindow & mainWindow()
Get method for MainWindow.
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...
CmdMediator & cmdMediator()
Provide access to Document information wrapped inside CmdMediator.