KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_kicad_diff_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6a-dirty)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
8#pragma once
9
10#include <wx/artprov.h>
11#include <wx/xrc/xmlres.h>
12#include <wx/intl.h>
13#include "dialog_shim.h"
14#include <wx/string.h>
15#include <wx/stattext.h>
16#include <wx/gdicmn.h>
17#include <wx/font.h>
18#include <wx/colour.h>
19#include <wx/settings.h>
20#include <wx/sizer.h>
21#include <wx/statline.h>
22#include <wx/treectrl.h>
23#include <wx/panel.h>
24#include <wx/listctrl.h>
25#include <wx/splitter.h>
26#include <wx/button.h>
27#include <wx/dialog.h>
28
30
35{
36 private:
37
38 protected:
39 wxStaticText* m_labelReference;
40 wxStaticText* m_pathReference;
41 wxStaticText* m_labelComparison;
42 wxStaticText* m_pathComparison;
43 wxStaticLine* m_separator;
44 wxSplitterWindow* m_splitter;
45 wxPanel* m_panelTree;
46 wxTreeCtrl* m_treeChanges;
47 wxPanel* m_panelDetail;
48 wxStaticText* m_labelSummary;
49 wxListCtrl* m_listProperties;
50
51 // Virtual event handlers, override them in your derived class
52 virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
53 virtual void OnTreeSelectionChanged( wxTreeEvent& event ) { event.Skip(); }
54 virtual void OnOK( wxCommandEvent& event ) { event.Skip(); }
55
56
57 public:
58 wxStdDialogButtonSizer* m_sdbSizer;
59 wxButton* m_sdbSizerOK;
60
61 DIALOG_KICAD_DIFF_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Compare Files"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 900,650 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
62
64
65 void m_splitterOnIdle( wxIdleEvent& )
66 {
67 m_splitter->SetSashPosition( 280 );
68 m_splitter->Disconnect( wxEVT_IDLE, wxIdleEventHandler( DIALOG_KICAD_DIFF_BASE::m_splitterOnIdle ), NULL, this );
69 }
70
71};
72
virtual void OnClose(wxCloseEvent &event)
void m_splitterOnIdle(wxIdleEvent &)
DIALOG_KICAD_DIFF_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Compare Files"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(900, 650), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
wxStdDialogButtonSizer * m_sdbSizer
virtual void OnTreeSelectionChanged(wxTreeEvent &event)
virtual void OnOK(wxCommandEvent &event)
DIALOG_SHIM(wxWindow *aParent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER, const wxString &name=wxDialogNameStr)
#define _(s)