KiCad PCB EDA Suite
dialog_annotate.cpp File Reference

Annotation dialog functions. More...

#include <fctsys.h>
#include <schframe.h>
#include <class_drawpanel.h>
#include <bitmaps.h>
#include <invoke_sch_dialog.h>
#include <dialog_annotate_base.h>
#include <kiface_i.h>

Go to the source code of this file.

Classes

class  DIALOG_ANNOTATE
 Class DIALOG_ANNOTATE: a dialog to set/clear reference designators, of a schematic hierarchy, with different options. More...
 

Macros

#define KEY_ANNOTATE_SORT_OPTION   wxT( "AnnotateSortOption" )
 
#define KEY_ANNOTATE_ALGO_OPTION   wxT( "AnnotateAlgoOption" )
 
#define KEY_ANNOTATE_KEEP_OPEN_OPTION   wxT( "AnnotateKeepOpenOption" )
 
#define KEY_ANNOTATE_ASK_FOR_CONFIRMATION   wxT( "AnnotateRequestConfirmation" )
 

Functions

int InvokeDialogAnnotate (SCH_EDIT_FRAME *aCaller, wxString message)
 Create and show DIALOG_ANNOTATE and return whatever DIALOG_ANNOTATE::ShowModal() returns. More...
 

Detailed Description

Annotation dialog functions.

Definition in file dialog_annotate.cpp.

Macro Definition Documentation

#define KEY_ANNOTATE_ALGO_OPTION   wxT( "AnnotateAlgoOption" )
#define KEY_ANNOTATE_ASK_FOR_CONFIRMATION   wxT( "AnnotateRequestConfirmation" )
#define KEY_ANNOTATE_KEEP_OPEN_OPTION   wxT( "AnnotateKeepOpenOption" )
#define KEY_ANNOTATE_SORT_OPTION   wxT( "AnnotateSortOption" )

Function Documentation

int InvokeDialogAnnotate ( SCH_EDIT_FRAME aCaller,
wxString  message = "" 
)

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

Definition at line 313 of file dialog_annotate.cpp.

Referenced by SCH_EDIT_FRAME::OnAnnotate(), and SCH_EDIT_FRAME::prepareForNetlist().

314 {
315  DIALOG_ANNOTATE dlg( aCaller, message );
316 
317  return dlg.ShowModal();
318 }
Class DIALOG_ANNOTATE: a dialog to set/clear reference designators, of a schematic hierarchy...