QCAD
Open Source 2D CAD
LayerDialog Class Reference

Public Member Functions

void getLayerName (void dialog)
 Hook for derived classes to return complete layer name. More...
 
void initDialog (void dialog, void layer)
 Hook for derived classes to do additional initialization. More...
 
void initLayer (void dialog, void layer)
 Hook for derived classes to store additional information back to layer. More...
 
void LayerDialog (void documentInterface, void layer)
 
void show ()
 
void validate ()
 Layer name validation. More...
 

Public Attributes

int defaultColor
 
int defaultName
 
int dialog
 
int document
 
int documentInterface
 
int layer
 
int prefix
 

Detailed Description

Creates a dialog to edit the attributes of a layer.

Parameters
documentRDocument the layer is in.
layerRLayer object to edit or undefined to show a dialog for a new layer.

Constructor & Destructor Documentation

◆ LayerDialog()

void LayerDialog::LayerDialog ( void  documentInterface,
void  layer 
)
inline

Member Function Documentation

◆ getLayerName()

void LayerDialog::getLayerName ( void  dialog)
inline

Hook for derived classes to return complete layer name.

◆ initDialog()

void LayerDialog::initDialog ( void  dialog,
void  layer 
)
inline

Hook for derived classes to do additional initialization.

◆ initLayer()

void LayerDialog::initLayer ( void  dialog,
void  layer 
)
inline

Hook for derived classes to store additional information back to layer.

◆ show()

void LayerDialog::show ( )
inline

◆ validate()

void LayerDialog::validate ( )
inline

Layer name validation.

Member Data Documentation

◆ defaultColor

int LayerDialog::defaultColor

◆ defaultName

int LayerDialog::defaultName

◆ dialog

int LayerDialog::dialog

◆ document

int LayerDialog::document

◆ documentInterface

int LayerDialog::documentInterface

◆ layer

int LayerDialog::layer

◆ prefix

int LayerDialog::prefix

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