Engauge Digitizer  2
Public Member Functions | List of all members
DlgImportAdvanced Class Reference

Dialog for setting the advanced parameters in a newly imported Document. More...

#include <DlgImportAdvanced.h>

Inheritance diagram for DlgImportAdvanced:
DlgSettingsAbstractBase

Public Member Functions

 DlgImportAdvanced (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.
 
DocumentAxesPointsRequired documentAxesPointsRequired () const
 Number of axes points selected by user.
 
virtual void handleOk ()
 Process slotOk.
 
virtual void load (CmdMediator &cmdMediator)
 Load settings from Document.
 
unsigned int numberCoordSystem () const
 Number of coordinate systems selected by user.
 
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.
 

Additional Inherited Members

- 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. More...
 
void finishPanel (QWidget *subPanel, int minimumWidth=MINIMUM_DIALOG_WIDTH, int minimumHeightOrZero=0)
 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.
 
- 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.
 

Detailed Description

Dialog for setting the advanced parameters in a newly imported Document.

Definition at line 19 of file DlgImportAdvanced.h.


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