mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 18:23:15 +02:00
Use enable/disable instead of show/hide to prevent large areas of blank space in the dialog. Set the minimum dialog size after the initial launch to prevent controls from being cut off when resizing dialog to less than the initial size. Fix static and dialog title bar string capitalization. Add colons (:) to the end of description static text controls as is done elsewhere in KiCad. Fixes https://gitlab.com/kicad/code/kicad/-/issues/20045
83 lines
2.6 KiB
C++
83 lines
2.6 KiB
C++
///////////////////////////////////////////////////////////////////////////
|
|
// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6)
|
|
// 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>
|
|
#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/statline.h>
|
|
#include <wx/textctrl.h>
|
|
#include <wx/choice.h>
|
|
#include <wx/sizer.h>
|
|
#include <wx/filepicker.h>
|
|
#include <wx/button.h>
|
|
#include <wx/bitmap.h>
|
|
#include <wx/image.h>
|
|
#include <wx/icon.h>
|
|
#include <wx/panel.h>
|
|
#include <wx/dialog.h>
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
/// Class DIALOG_GIT_REPOSITORY_BASE
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
class DIALOG_GIT_REPOSITORY_BASE : public DIALOG_SHIM
|
|
{
|
|
private:
|
|
|
|
protected:
|
|
wxBoxSizer* bSizerMain;
|
|
wxStaticText* m_staticText1;
|
|
wxStaticLine* m_staticline1;
|
|
wxStaticText* m_staticText3;
|
|
wxTextCtrl* m_txtName;
|
|
wxStaticText* m_staticText4;
|
|
wxTextCtrl* m_txtURL;
|
|
wxStaticText* m_staticText9;
|
|
wxChoice* m_ConnType;
|
|
wxPanel* m_panelAuth;
|
|
wxStaticText* m_staticText2;
|
|
wxStaticLine* m_staticline2;
|
|
wxStaticText* m_labelSSH;
|
|
wxFilePickerCtrl* m_fpSSHKey;
|
|
wxButton* m_btnTest;
|
|
wxStaticText* m_staticText11;
|
|
wxTextCtrl* m_txtUsername;
|
|
wxStaticText* m_labelPass1;
|
|
wxTextCtrl* m_txtPassword;
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
wxButton* m_sdbSizerOK;
|
|
wxButton* m_sdbSizerCancel;
|
|
|
|
// Virtual event handlers, override them in your derived class
|
|
virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
|
|
virtual void OnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
|
|
virtual void OnLocationExit( wxFocusEvent& event ) { event.Skip(); }
|
|
virtual void OnSelectConnType( wxCommandEvent& event ) { event.Skip(); }
|
|
virtual void OnFileUpdated( wxFileDirPickerEvent& event ) { event.Skip(); }
|
|
virtual void OnTestClick( wxCommandEvent& event ) { event.Skip(); }
|
|
virtual void OnOKClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
|
|
public:
|
|
|
|
DIALOG_GIT_REPOSITORY_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Git Repository"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxCAPTION|wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
|
|
|
~DIALOG_GIT_REPOSITORY_BASE();
|
|
|
|
};
|
|
|