QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
CamConfigDialog Class Reference

Creates a dialog to choose a CAM configuration file. More...

Public Member Functions

void CamConfigDialog (void documentInterface)
 
void getConfigurationKey ()
 
void getConfigurationName ()
 
void layerOptionChanged ()
 Called when a layer option has been changed by the user.
 
void show ()
 
void updateDialog (void index)
 Called when user changes the configuration.
 
void updateGlobalOptionsUi (void index)
 Called when user changes the configuration.
 
void updateLayerOptionsUi (void layerName, void connectSignals)
 Called when the layer in the layer options section has been changed by the user.
 

Public Attributes

int dialog
 
int document
 
int documentInterface
 
int operation
 

Detailed Description

Creates a dialog to choose a CAM configuration file.

Constructor & Destructor Documentation

◆ CamConfigDialog()

void CamConfigDialog::CamConfigDialog ( void documentInterface)
inline

Member Function Documentation

◆ getConfigurationKey()

void CamConfigDialog::getConfigurationKey ( )
inline

◆ getConfigurationName()

void CamConfigDialog::getConfigurationName ( )
inline

◆ layerOptionChanged()

void CamConfigDialog::layerOptionChanged ( )
inline

Called when a layer option has been changed by the user.

Sets the option as property of the appropriate layer. Note that all changes are applied only when the user confirms the dialog.

◆ show()

void CamConfigDialog::show ( )
inline

◆ updateDialog()

void CamConfigDialog::updateDialog ( void index)
inline

Called when user changes the configuration.

Initializes the CAM dialog, allowing configurations to make more fundamental changes.

◆ updateGlobalOptionsUi()

void CamConfigDialog::updateGlobalOptionsUi ( void index)
inline

Called when user changes the configuration.

Initializes the UI to match defaults of the chosen configuration.

◆ updateLayerOptionsUi()

void CamConfigDialog::updateLayerOptionsUi ( void layerName,
void connectSignals )
inline

Called when the layer in the layer options section has been changed by the user.

Restores the user interface from previously set or stored layer properties.

Member Data Documentation

◆ dialog

int CamConfigDialog::dialog

◆ document

int CamConfigDialog::document

◆ documentInterface

int CamConfigDialog::documentInterface

◆ operation

int CamConfigDialog::operation

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