|
LibreCAD
|
Create a dialog with all required fields to create a new layer. More...
#include <addlayerdialog.h>


Signals | |
| void | newLayer (lc::Layer_CSPtr) |
| void | editLayer (lc::Layer_CSPtr oldLayer, lc::Layer_CSPtr newLayer) |
Public Member Functions | |
| AddLayerDialog (lc::Document_SPtr document, QWidget *parent=0) | |
| Create empty dialog. More... | |
| AddLayerDialog (lc::Layer_CSPtr oldLayer, lc::Document_SPtr document, QWidget *parent=0) | |
| Create dialog pre-filled with existing Layer information. More... | |
| ~AddLayerDialog () | |
Protected Attributes | |
| Ui::AddLayerDialog * | ui |
| lc::ui::LinePatternSelect * | linePatternSelect |
| lc::ui::LineWidthSelect * | lineWidthSelect |
| lc::ui::ColorSelect * | colorSelect |
Private Slots | |
| void | accept () |
| Create layer This function is called when "Ok" button is pressed. It creates the layer according to the entered information and send it back to Layers widget. More... | |
Private Attributes | |
| lc::Layer_CSPtr | _oldLayer |
Create a dialog with all required fields to create a new layer.
Definition at line 22 of file addlayerdialog.h.
| AddLayerDialog::AddLayerDialog | ( | lc::Document_SPtr | document, |
| QWidget * | parent = 0 |
||
| ) |
Create empty dialog.
| document | Document which contains the DXFLinePatterns |
| parent | Parent widget |
Definition at line 5 of file addlayerdialog.cpp.
| AddLayerDialog::AddLayerDialog | ( | lc::Layer_CSPtr | oldLayer, |
| lc::Document_SPtr | document, | ||
| QWidget * | parent = 0 |
||
| ) |
Create dialog pre-filled with existing Layer information.
| oldLayer | Layer to edit |
| document | Document which contains the DXFLinePatterns |
| parent | Parent widget |
Definition at line 9 of file addlayerdialog.cpp.
| AddLayerDialog::~AddLayerDialog | ( | ) |
Definition at line 45 of file addlayerdialog.cpp.
|
privateslot |
Create layer This function is called when "Ok" button is pressed. It creates the layer according to the entered information and send it back to Layers widget.
Definition at line 49 of file addlayerdialog.cpp.
|
signal |
|
signal |
|
private |
Definition at line 61 of file addlayerdialog.h.
|
protected |
Definition at line 58 of file addlayerdialog.h.
|
protected |
Definition at line 56 of file addlayerdialog.h.
|
protected |
Definition at line 57 of file addlayerdialog.h.
|
protected |
Definition at line 55 of file addlayerdialog.h.