|
Engauge Digitizer 2
|
Dialog for editing filtering settings. More...
#include <DlgSettingsColorFilter.h>
Public Slots | |
| void | slotTransferPiece (int xLeft, QImage image) |
| Receive processed piece of preview image, to be inserted at xLeft to xLeft+pixmap.width(). | |
Signals | |
| void | signalApplyFilter (ColorFilterMode colorFilterMode, double low, double high) |
| Send filter parameters to DlgFilterThread and DlgFilterWorker for processing. | |
Public Member Functions | |
| DlgSettingsColorFilter (MainWindow &mainWindow) | |
| Single constructor. | |
| 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. | |
Public Member Functions inherited from DlgSettingsAbstractBase | |
| DlgSettingsAbstractBase (const QString &title, const QString &dialogName, MainWindow &mainWindow) | |
| Single constructor. | |
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 | enableOk (bool enable) |
| Let leaf subclass control the Ok button. | |
| void | finishPanel (QWidget *subPanel) |
| 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 = 350 |
| Dialog layout constant that guarantees every widget has sufficient room. | |
| static int | MINIMUM_PREVIEW_HEIGHT = 200 |
| Dialog layout constant that guarantees preview has sufficent room. | |
Dialog for editing filtering settings.
Definition at line 29 of file DlgSettingsColorFilter.h.
| DlgSettingsColorFilter::DlgSettingsColorFilter | ( | MainWindow & | mainWindow | ) |
Single constructor.
Definition at line 33 of file DlgSettingsColorFilter.cpp.
|
virtual |
Definition at line 49 of file DlgSettingsColorFilter.cpp.
|
virtual |
Let subclass define an optional Save As Default button.
Implements DlgSettingsAbstractBase.
Definition at line 110 of file DlgSettingsColorFilter.cpp.
|
virtual |
Create dialog-specific panel to which base class will add Ok and Cancel buttons.
Implements DlgSettingsAbstractBase.
Definition at line 160 of file DlgSettingsColorFilter.cpp.
|
protectedvirtual |
Process slotOk.
Implements DlgSettingsAbstractBase.
Definition at line 211 of file DlgSettingsColorFilter.cpp.
|
virtual |
Load settings from Document.
Implements DlgSettingsAbstractBase.
Definition at line 224 of file DlgSettingsColorFilter.cpp.
|
slot |
Receive processed piece of preview image, to be inserted at xLeft to xLeft+pixmap.width().
Definition at line 351 of file DlgSettingsColorFilter.cpp.