KiCad PCB EDA Suite
dialog_new_dataitem.cpp File Reference

a dialog called on creating a new plage layout data item. More...

#include <fctsys.h>
#include <common.h>
#include <class_drawpanel.h>
#include <pl_editor_frame.h>
#include <class_worksheet_dataitem.h>
#include <dialog_new_dataitem_base.h>

Go to the source code of this file.

Classes

class  DIALOG_NEW_DATAITEM
 

Functions

int InvokeDialogNewItem (PL_EDITOR_FRAME *aCaller, WORKSHEET_DATAITEM *aItem)
 Create and show DIALOG_NEW_DATAITEM and return whatever DIALOG_NEW_DATAITEM::ShowModal() returns. More...
 

Detailed Description

a dialog called on creating a new plage layout data item.

Definition in file dialog_new_dataitem.cpp.

Function Documentation

int InvokeDialogNewItem ( PL_EDITOR_FRAME aCaller,
WORKSHEET_DATAITEM aItem 
)

Create and show DIALOG_NEW_DATAITEM and return whatever DIALOG_NEW_DATAITEM::ShowModal() returns.

Definition at line 53 of file dialog_new_dataitem.cpp.

Referenced by EVT_MENU_RANGE().

54 {
55  DIALOG_NEW_DATAITEM dlg( aCaller, aItem );
56  return dlg.ShowModal();
57 }