mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2024-11-21 22:55:04 +00:00
15924958d9
This moves a fiddly little bit of logic used by a few UI classes into a central location. Also means that the paths dialog learns to expand the first cell when it needs to (like the text variable panel).
66 lines
1.9 KiB
C++
66 lines
1.9 KiB
C++
///////////////////////////////////////////////////////////////////////////
|
|
// C++ code generated with wxFormBuilder (version 4.1.0-0-g733bf3d)
|
|
// http://www.wxformbuilder.org/
|
|
//
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
#pragma once
|
|
|
|
#include <wx/artprov.h>
|
|
#include <wx/xrc/xmlres.h>
|
|
#include <wx/intl.h>
|
|
class STD_BITMAP_BUTTON;
|
|
class WX_GRID;
|
|
|
|
#include "dialog_shim.h"
|
|
#include <wx/colour.h>
|
|
#include <wx/settings.h>
|
|
#include <wx/string.h>
|
|
#include <wx/font.h>
|
|
#include <wx/grid.h>
|
|
#include <wx/gdicmn.h>
|
|
#include <wx/bmpbuttn.h>
|
|
#include <wx/bitmap.h>
|
|
#include <wx/image.h>
|
|
#include <wx/icon.h>
|
|
#include <wx/button.h>
|
|
#include <wx/sizer.h>
|
|
#include <wx/statbox.h>
|
|
#include <wx/dialog.h>
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
/// Class DIALOG_CONFIGURE_PATHS_BASE
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
class DIALOG_CONFIGURE_PATHS_BASE : public DIALOG_SHIM
|
|
{
|
|
private:
|
|
|
|
protected:
|
|
WX_GRID* m_EnvVars;
|
|
STD_BITMAP_BUTTON* m_btnAddEnvVar;
|
|
STD_BITMAP_BUTTON* m_btnDeleteEnvVar;
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
wxButton* m_sdbSizerOK;
|
|
wxButton* m_sdbSizerCancel;
|
|
wxButton* m_sdbSizerHelp;
|
|
|
|
// Virtual event handlers, override them in your derived class
|
|
virtual void OnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
|
|
virtual void OnAddEnvVar( wxCommandEvent& event ) { event.Skip(); }
|
|
virtual void OnRemoveEnvVar( wxCommandEvent& event ) { event.Skip(); }
|
|
virtual void OnHelp( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
|
|
public:
|
|
|
|
DIALOG_CONFIGURE_PATHS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Configure Paths"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
|
|
|
~DIALOG_CONFIGURE_PATHS_BASE();
|
|
|
|
};
|
|
|