7 #ifndef DLG_SETTINGS_POINT_MATCH_H 8 #define DLG_SETTINGS_POINT_MATCH_H 10 #include "CoordsType.h" 11 #include "DlgSettingsAbstractBase.h" 15 class QGraphicsEllipseItem;
16 class QGraphicsLineItem;
17 class QGraphicsPixmapItem;
39 void slotAcceptedPointColor (
const QString &);
40 void slotCandidatePointColor (
const QString &);
41 void slotMaxPointSize (
int);
42 void slotMouseMove (QPointF pos);
43 void slotRejectedPointColor (
const QString &);
50 QPointF boxPositionConstraint(
const QPointF &posIn);
51 void createControls (QGridLayout *layout,
53 void createPreview(QGridLayout *layout,
55 void createTemplate();
57 double radiusAlongDiagonal ()
const;
58 void updateControls();
61 QSpinBox *m_spinMinPointSeparation;
62 QSpinBox *m_spinPointSize;
63 QComboBox *m_cmbAcceptedPointColor;
64 QComboBox *m_cmbRejectedPointColor;
65 QComboBox *m_cmbCandidatePointColor;
67 QGraphicsScene *m_scenePreview;
69 QGraphicsEllipseItem *m_circle;
75 #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.
virtual void createOptionalSaveDefault(QHBoxLayout *layout)
Let subclass define an optional Save As Default button.
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.
virtual void setSmallDialogs(bool smallDialogs)
If false then dialogs have a minimum size so all controls are visible.