Engauge Digitizer 2
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
DlgSettingsCurveProperties Class Reference

Dialog for editing curve properties settings. More...

#include <DlgSettingsCurveProperties.h>

Inheritance diagram for DlgSettingsCurveProperties:
DlgSettingsAbstractBase

Public Member Functions

 DlgSettingsCurveProperties (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.
 
void setCurveName (const QString &curveName)
 Load information for the specified curve name. When called externally, the load method must have been called first.
 
- 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
CmdMediatorcmdMediator ()
 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.
 
MainWindowmainWindow ()
 Get method for MainWindow.
 
const MainWindowmainWindow () 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.
 

Detailed Description

Dialog for editing curve properties settings.

Definition at line 22 of file DlgSettingsCurveProperties.h.

Constructor & Destructor Documentation

◆ DlgSettingsCurveProperties()

DlgSettingsCurveProperties::DlgSettingsCurveProperties ( MainWindow mainWindow)

Single constructor.

Definition at line 58 of file DlgSettingsCurveProperties.cpp.

◆ ~DlgSettingsCurveProperties()

DlgSettingsCurveProperties::~DlgSettingsCurveProperties ( )
virtual

Definition at line 75 of file DlgSettingsCurveProperties.cpp.

Member Function Documentation

◆ createOptionalSaveDefault()

void DlgSettingsCurveProperties::createOptionalSaveDefault ( QHBoxLayout *  layout)
virtual

Let subclass define an optional Save As Default button.

Implements DlgSettingsAbstractBase.

Definition at line 210 of file DlgSettingsCurveProperties.cpp.

◆ createSubPanel()

QWidget * DlgSettingsCurveProperties::createSubPanel ( )
virtual

Create dialog-specific panel to which base class will add Ok and Cancel buttons.

Implements DlgSettingsAbstractBase.

Definition at line 248 of file DlgSettingsCurveProperties.cpp.

◆ handleOk()

void DlgSettingsCurveProperties::handleOk ( )
protectedvirtual

Process slotOk.

Implements DlgSettingsAbstractBase.

Definition at line 354 of file DlgSettingsCurveProperties.cpp.

◆ load()

void DlgSettingsCurveProperties::load ( CmdMediator cmdMediator)
virtual

Load settings from Document.

Implements DlgSettingsAbstractBase.

Definition at line 370 of file DlgSettingsCurveProperties.cpp.

◆ setCurveName()

void DlgSettingsCurveProperties::setCurveName ( const QString &  curveName)

Load information for the specified curve name. When called externally, the load method must have been called first.

Definition at line 457 of file DlgSettingsCurveProperties.cpp.


The documentation for this class was generated from the following files: