~reinis-veips/kicad/eeschema-batch-properties

« back to all changes in this revision

Viewing changes to eeschema/dialogs/dialog_batch_component_fields_fbp.cpp

  • Committer: Reinis
  • Date: 2016-01-02 19:54:11 UTC
  • Revision ID: reinis.veips@wot.lv-20160102195411-i56hgqojcl6fx590
Initial code for batch field editor.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
///////////////////////////////////////////////////////////////////////////
 
2
// C++ code generated with wxFormBuilder (version Jan  2 2016)
 
3
// http://www.wxformbuilder.org/
 
4
//
 
5
// PLEASE DO "NOT" EDIT THIS FILE!
 
6
///////////////////////////////////////////////////////////////////////////
 
7
 
 
8
#include "dialog_batch_component_fields_fbp.h"
 
9
 
 
10
///////////////////////////////////////////////////////////////////////////
 
11
 
 
12
DIALOG_BATCH_COMPONENT_FIELDS_FBP::DIALOG_BATCH_COMPONENT_FIELDS_FBP( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
 
13
{
 
14
        this->SetSizeHints( wxSize( 800,600 ), wxDefaultSize );
 
15
        
 
16
        wxFlexGridSizer* fgSizer2;
 
17
        fgSizer2 = new wxFlexGridSizer( 2, 0, 0, 0 );
 
18
        fgSizer2->AddGrowableCol( 0 );
 
19
        fgSizer2->AddGrowableRow( 0 );
 
20
        fgSizer2->SetFlexibleDirection( wxBOTH );
 
21
        fgSizer2->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
 
22
        
 
23
        m_dataViewListCtrl5 = new wxDataViewListCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
 
24
        m_dataViewListColumn10 = m_dataViewListCtrl5->AppendTextColumn( wxT("Ref") );
 
25
        m_dataViewListColumn11 = m_dataViewListCtrl5->AppendTextColumn( wxT("Value") );
 
26
        fgSizer2->Add( m_dataViewListCtrl5, 0, wxALL|wxEXPAND, 5 );
 
27
        
 
28
        m_sdbSizer2 = new wxStdDialogButtonSizer();
 
29
        m_sdbSizer2OK = new wxButton( this, wxID_OK );
 
30
        m_sdbSizer2->AddButton( m_sdbSizer2OK );
 
31
        m_sdbSizer2Cancel = new wxButton( this, wxID_CANCEL );
 
32
        m_sdbSizer2->AddButton( m_sdbSizer2Cancel );
 
33
        m_sdbSizer2->Realize();
 
34
        
 
35
        fgSizer2->Add( m_sdbSizer2, 1, wxEXPAND, 5 );
 
36
        
 
37
        
 
38
        this->SetSizer( fgSizer2 );
 
39
        this->Layout();
 
40
        fgSizer2->Fit( this );
 
41
        
 
42
        this->Centre( wxBOTH );
 
43
}
 
44
 
 
45
DIALOG_BATCH_COMPONENT_FIELDS_FBP::~DIALOG_BATCH_COMPONENT_FIELDS_FBP()
 
46
{
 
47
}