mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-15 02:33:15 +02:00
This also makes the dialog modeless so that one switch between sheets while annotating to choose the base numbers for each sheet (assuming they don't like the base number we pick because of the order of the sheets). Fixes: lp:1154131 * https://bugs.launchpad.net/kicad/+bug/1154131
86 lines
2.6 KiB
C++
86 lines
2.6 KiB
C++
///////////////////////////////////////////////////////////////////////////
|
|
// C++ code generated with wxFormBuilder (version Dec 30 2017)
|
|
// http://www.wxformbuilder.org/
|
|
//
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef __DIALOG_ANNOTATE_BASE_H__
|
|
#define __DIALOG_ANNOTATE_BASE_H__
|
|
|
|
#include <wx/artprov.h>
|
|
#include <wx/xrc/xmlres.h>
|
|
#include <wx/intl.h>
|
|
class WX_HTML_REPORT_PANEL;
|
|
|
|
#include "dialog_shim.h"
|
|
#include <wx/string.h>
|
|
#include <wx/stattext.h>
|
|
#include <wx/gdicmn.h>
|
|
#include <wx/font.h>
|
|
#include <wx/colour.h>
|
|
#include <wx/settings.h>
|
|
#include <wx/radiobox.h>
|
|
#include <wx/radiobut.h>
|
|
#include <wx/bitmap.h>
|
|
#include <wx/image.h>
|
|
#include <wx/icon.h>
|
|
#include <wx/statbmp.h>
|
|
#include <wx/sizer.h>
|
|
#include <wx/statbox.h>
|
|
#include <wx/textctrl.h>
|
|
#include <wx/gbsizer.h>
|
|
#include <wx/checkbox.h>
|
|
#include <wx/button.h>
|
|
#include <wx/panel.h>
|
|
#include <wx/dialog.h>
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
#define ID_SORT_BY_X_POSITION 1000
|
|
#define ID_SORT_BY_Y_POSITION 1001
|
|
#define wxID_FIRST_FREE 1002
|
|
#define wxID_SHEET_X_100 1003
|
|
#define wxID_SHEET_X_1000 1004
|
|
#define ID_CLEAR_ANNOTATION_CMP 1005
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
/// Class DIALOG_ANNOTATE_BASE
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
class DIALOG_ANNOTATE_BASE : public DIALOG_SHIM
|
|
{
|
|
private:
|
|
|
|
protected:
|
|
wxStaticText* m_userMessage;
|
|
wxRadioBox* m_rbScope;
|
|
wxRadioButton* m_rbSortBy_X_Position;
|
|
wxStaticBitmap* annotate_down_right_bitmap;
|
|
wxRadioButton* m_rbSortBy_Y_Position;
|
|
wxStaticBitmap* annotate_right_down_bitmap;
|
|
wxRadioBox* m_rbOptions;
|
|
wxRadioButton* m_rbFirstFree;
|
|
wxTextCtrl* m_textNumberAfter;
|
|
wxRadioButton* m_rbSheetX100;
|
|
wxRadioButton* m_rbSheetX1000;
|
|
wxCheckBox* m_cbKeepDlgOpen;
|
|
wxCheckBox* m_cbAskForConfirmation;
|
|
wxButton* m_btnApply;
|
|
wxButton* m_btnClear;
|
|
wxButton* m_btnClose;
|
|
WX_HTML_REPORT_PANEL* m_MessageWindow;
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
|
virtual void OnApplyClick( wxCommandEvent& event ) { event.Skip(); }
|
|
virtual void OnClearAnnotationCmpClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
|
|
public:
|
|
|
|
DIALOG_ANNOTATE_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Annotate Schematic"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
|
~DIALOG_ANNOTATE_BASE();
|
|
|
|
};
|
|
|
|
#endif //__DIALOG_ANNOTATE_BASE_H__
|