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

Creates a dialog to edit the attributes of a block (currently name only). More...

Public Member Functions

void BlockDialog (void document, void block, void allowOverwrite, void allowSameName)
 
void show ()
 
void validate ()
 Block name validation.
 

Public Attributes

int allowOverwrite
 
int allowSameName
 
int block
 
int dialog
 
int document
 

Detailed Description

Creates a dialog to edit the attributes of a block (currently name only).

Parameters
documentRDocument the block is in.
blockRBlock object to edit or undefined to create and return a new block.

Constructor & Destructor Documentation

◆ BlockDialog()

void BlockDialog::BlockDialog ( void document,
void block,
void allowOverwrite,
void allowSameName )
inline

Member Function Documentation

◆ show()

void BlockDialog::show ( )
inline

◆ validate()

void BlockDialog::validate ( )
inline

Block name validation.

Member Data Documentation

◆ allowOverwrite

int BlockDialog::allowOverwrite

◆ allowSameName

int BlockDialog::allowSameName

◆ block

int BlockDialog::block

◆ dialog

int BlockDialog::dialog

◆ document

int BlockDialog::document

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