7#ifndef DLG_SETTINGS_AXES_CHECKER_H
8#define DLG_SETTINGS_AXES_CHECKER_H
39 void slotGroupMode (QAbstractButton*);
40 void slotLineColor(
const QString &);
41 void slotSeconds (
const QString &);
48 void createControls (QGridLayout *layout,
int &row);
50 void createPreview (QGridLayout *layout,
int &row);
51 void updateControls();
54 QButtonGroup *m_groupMode;
55 QRadioButton *m_btnNever;
56 QRadioButton *m_btnNSeconds;
57 QRadioButton *m_btnForever;
59 QComboBox *m_cmbSeconds;
61 QComboBox *m_cmbLineColor;
63 QGraphicsScene *m_scenePreview;
Box shape that is drawn through the three axis points, to temporarily (usually) or permanently (rarel...
Abstract base class for all Settings dialogs.
CmdMediator & cmdMediator()
Provide access to Document information wrapped inside CmdMediator.
MainWindow & mainWindow()
Get method for MainWindow.
Dialog for editing axes checker settings.
virtual void handleOk()
Process slotOk.
virtual void load(CmdMediator &cmdMediator)
Load settings from Document.
virtual void createOptionalSaveDefault(QHBoxLayout *layout)
Let subclass define an optional Save As Default button.
virtual ~DlgSettingsAxesChecker()
virtual void setSmallDialogs(bool smallDialogs)
If false then dialogs have a minimum size so all controls are visible.
virtual QWidget * createSubPanel()
Create dialog-specific panel to which base class will add Ok and Cancel buttons.
Model for DlgSettingsAxesChecker and CmdSettingsAxesChecker.
Model for DlgSettingsCoords and CmdSettingsCoords.
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...
Class that modifies QGraphicsView to automatically expand/shrink the view to fit the window,...