|
Engauge Digitizer 2
|
Dialog for editing DigitizeStateCurve settings. More...
#include <DlgSettingsDigitizeCurve.h>


Public Member Functions | |
| DlgSettingsDigitizeCurve (MainWindow &mainWindow) | |
| Single constructor. | |
| virtual | ~DlgSettingsDigitizeCurve () |
| virtual void | createOptionalSaveDefault (QHBoxLayout *layout) |
| Let subclass define an optional Save As Default button. | |
| virtual QWidget * | createSubPanel () |
| Create dialog-specific panel to which base class will add Ok and Cancel buttons. | |
| virtual void | load (CmdMediator &cmdMediator) |
| Load settings from Document. | |
| virtual void | setSmallDialogs (bool smallDialogs) |
| If false then dialogs have a minimum size so all controls are visible. | |
| Public Member Functions inherited from DlgSettingsAbstractBase | |
| DlgSettingsAbstractBase (const QString &title, const QString &dialogName, MainWindow &mainWindow) | |
| Single constructor. | |
| virtual | ~DlgSettingsAbstractBase () |
Protected Member Functions | |
| virtual void | handleOk () |
| Process slotOk. | |
| Protected Member Functions inherited from DlgSettingsAbstractBase | |
| CmdMediator & | cmdMediator () |
| Provide access to Document information wrapped inside CmdMediator. | |
| void | addPixmap (QGraphicsScene &scene, const QPixmap &pixmap) |
| Adds pixmap to the scene. | |
| void | createWhatsThis (QGridLayout *layout, ButtonWhatsThis *button, int row, int column) |
| Create a WhatsThis button in a grid layout. | |
| void | enableOk (bool enable) |
| Let leaf subclass control the Ok button. | |
| void | finishPanel (QWidget *subPanel, int minimumWidth=MINIMUM_DIALOG_WIDTH, int minimumHeightOrZero=0) |
| Add Ok and Cancel buttons to subpanel to get the whole dialog. | |
| MainWindow & | mainWindow () |
| Get method for MainWindow. | |
| const MainWindow & | mainWindow () const |
| Const get method for MainWindow. | |
| void | populateColorComboWithoutTransparent (QComboBox &combo) |
| Add colors in color palette to combobox, without transparent entry at end. | |
| void | populateColorComboWithTransparent (QComboBox &combo) |
| Add colors in color palette to combobox, with transparent entry at end. | |
| void | setCmdMediator (CmdMediator &cmdMediator) |
| Store CmdMediator for easy access by the leaf class. | |
| void | setDisableOkAtStartup (bool disableOkAtStartup) |
| Override the default Ok button behavior applied in showEvent. | |
Additional Inherited Members | |
| Static Protected Attributes inherited from DlgSettingsAbstractBase | |
| static int | MINIMUM_DIALOG_WIDTH = 380 |
| Dialog layout constant that guarantees every widget has sufficient room. Can be increased by finishPanel. | |
| static int | MINIMUM_PREVIEW_HEIGHT = 100 |
| Dialog layout constant that guarantees preview has sufficent room. | |
Dialog for editing DigitizeStateCurve settings.
The preview window would should the selected cursor in the center, but there is no way to access the image of Qt::CrossCursor (QCursor::pixmap only works for custom cursors that were defined by a QPixmap)
Definition at line 27 of file DlgSettingsDigitizeCurve.h.
| DlgSettingsDigitizeCurve::DlgSettingsDigitizeCurve | ( | MainWindow & | mainWindow | ) |
Single constructor.
Definition at line 43 of file DlgSettingsDigitizeCurve.cpp.
|
virtual |
Definition at line 58 of file DlgSettingsDigitizeCurve.cpp.
|
virtual |
Let subclass define an optional Save As Default button.
Implements DlgSettingsAbstractBase.
Definition at line 126 of file DlgSettingsDigitizeCurve.cpp.
|
virtual |
Create dialog-specific panel to which base class will add Ok and Cancel buttons.
Implements DlgSettingsAbstractBase.
Definition at line 156 of file DlgSettingsDigitizeCurve.cpp.
|
protectedvirtual |
Process slotOk.
Implements DlgSettingsAbstractBase.
Definition at line 176 of file DlgSettingsDigitizeCurve.cpp.
|
virtual |
Load settings from Document.
Implements DlgSettingsAbstractBase.
Definition at line 189 of file DlgSettingsDigitizeCurve.cpp.
|
virtual |
If false then dialogs have a minimum size so all controls are visible.
Implements DlgSettingsAbstractBase.
Definition at line 222 of file DlgSettingsDigitizeCurve.cpp.