KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_database_lib_settings_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b3)
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>
13class WX_INFOBAR;
14
15#include "dialog_shim.h"
16#include <wx/infobar.h>
17#include <wx/gdicmn.h>
18#include <wx/font.h>
19#include <wx/colour.h>
20#include <wx/settings.h>
21#include <wx/string.h>
22#include <wx/radiobut.h>
23#include <wx/textctrl.h>
24#include <wx/stattext.h>
25#include <wx/gbsizer.h>
26#include <wx/sizer.h>
27#include <wx/button.h>
28#include <wx/bitmap.h>
29#include <wx/image.h>
30#include <wx/icon.h>
31#include <wx/statbox.h>
32#include <wx/spinctrl.h>
33#include <wx/dialog.h>
34
36
37
42{
43 private:
44
45 protected:
47 wxRadioButton* m_rbDSN;
48 wxTextCtrl* m_txtDSN;
49 wxStaticText* m_staticText2;
50 wxTextCtrl* m_txtUser;
51 wxStaticText* m_staticText3;
52 wxTextCtrl* m_txtPassword;
53 wxRadioButton* m_rbConnectionString;
55 wxButton* m_btnTest;
57 wxStaticText* m_staticText5;
58 wxSpinCtrl* m_spinCacheSize;
59 wxStaticText* m_staticText6;
60 wxSpinCtrl* m_spinCacheTimeout;
61 wxStdDialogButtonSizer* m_sdbSizer1;
62 wxButton* m_sdbSizer1OK;
64
65 // Virtual event handlers, override them in your derived class
66 virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
67 virtual void OnDSNSelected( wxCommandEvent& event ) { event.Skip(); }
68 virtual void OnConnectionStringSelected( wxCommandEvent& event ) { event.Skip(); }
69 virtual void OnBtnTest( wxCommandEvent& event ) { event.Skip(); }
70 virtual void OnBtnReloadConfig( wxCommandEvent& event ) { event.Skip(); }
71 virtual void OnCloseClick( wxCommandEvent& event ) { event.Skip(); }
72 virtual void OnApplyClick( wxCommandEvent& event ) { event.Skip(); }
73
74
75 public:
77 wxStaticText* m_stLibrariesStatus;
78
79 DIALOG_DATABASE_LIB_SETTINGS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Database Library Settings"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,600 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
80
82
83};
84
Class DIALOG_DATABASE_LIB_SETTINGS_BASE.
virtual void OnConnectionStringSelected(wxCommandEvent &event)
virtual void OnBtnTest(wxCommandEvent &event)
virtual void OnBtnReloadConfig(wxCommandEvent &event)
virtual void OnDSNSelected(wxCommandEvent &event)
virtual void OnApplyClick(wxCommandEvent &event)
virtual void OnCloseClick(wxCommandEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:88
A modified version of the wxInfoBar class that allows us to:
Definition: wx_infobar.h:76
#define _(s)