KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PANEL_GIT_REPOS Class Reference

#include <panel_git_repos.h>

Inheritance diagram for PANEL_GIT_REPOS:
PANEL_GIT_REPOS_BASE RESETTABLE_PANEL

Public Types

enum  COLS {
  COL_ACTIVE = 0 , COL_NAME , COL_PATH , COL_STATUS ,
  COL_AUTH_TYPE , COL_USERNAME , COL_PASSWORD , COL_SSH_KEY ,
  COL_SSH_PATH
}
 

Public Member Functions

 PANEL_GIT_REPOS (wxWindow *parent)
 
 ~PANEL_GIT_REPOS () override
 
void ResetPanel () override
 Reset the contents of this panel.
 
bool TransferDataFromWindow () override
 
bool TransferDataToWindow () override
 
virtual wxString GetResetTooltip () const
 Get the tooltip the reset button should display when showing this panel.
 
wxString GetHelpTextAtPoint (const wxPoint &aPt, wxHelpEvent::Origin aOrigin) const override
 Overridden to supply the reset button tooltip when queried with { -INT_MAX, INT_MAX }.
 

Protected Attributes

wxStaticText * m_staticText12
 
wxCheckBox * m_cbDefault
 
wxStaticText * m_authorLabel
 
wxTextCtrl * m_author
 
wxStaticText * m_authorEmailLabel
 
wxTextCtrl * m_authorEmail
 
wxStaticLine * m_staticline3
 
wxStaticText * m_staticText20
 
WX_GRIDm_grid
 
STD_BITMAP_BUTTONm_btnAddRepo
 
STD_BITMAP_BUTTONm_btnEditRepo
 
STD_BITMAP_BUTTONm_btnDelete
 

Private Member Functions

void onDefaultClick (wxCommandEvent &event) override
 
void onGridDClick (wxGridEvent &event) override
 
void onAddClick (wxCommandEvent &event) override
 
void onEditClick (wxCommandEvent &event) override
 
void onDeleteClick (wxCommandEvent &event) override
 

Detailed Description

Definition at line 26 of file panel_git_repos.h.

Member Enumeration Documentation

◆ COLS

Enumerator
COL_ACTIVE 
COL_NAME 
COL_PATH 
COL_STATUS 
COL_AUTH_TYPE 
COL_USERNAME 
COL_PASSWORD 
COL_SSH_KEY 
COL_SSH_PATH 

Definition at line 37 of file panel_git_repos.h.

Constructor & Destructor Documentation

◆ PANEL_GIT_REPOS()

◆ ~PANEL_GIT_REPOS()

PANEL_GIT_REPOS::~PANEL_GIT_REPOS ( )
override

Definition at line 46 of file panel_git_repos.cpp.

Member Function Documentation

◆ GetHelpTextAtPoint()

wxString RESETTABLE_PANEL::GetHelpTextAtPoint ( const wxPoint &  aPt,
wxHelpEvent::Origin  aOrigin 
) const
inlineoverrideinherited

Overridden to supply the reset button tooltip when queried with { -INT_MAX, INT_MAX }.

Definition at line 72 of file resettable_panel.h.

References RESETTABLE_PANEL::GetResetTooltip().

◆ GetResetTooltip()

virtual wxString RESETTABLE_PANEL::GetResetTooltip ( ) const
inlinevirtualinherited

Get the tooltip the reset button should display when showing this panel.

Returns
the tooltip

Reimplemented in PANEL_COLOR_SETTINGS, and PANEL_HOTKEYS_EDITOR.

Definition at line 64 of file resettable_panel.h.

References _.

Referenced by RESETTABLE_PANEL::GetHelpTextAtPoint().

◆ onAddClick()

◆ onDefaultClick()

void PANEL_GIT_REPOS::onDefaultClick ( wxCommandEvent &  event)
overrideprivatevirtual

◆ onDeleteClick()

void PANEL_GIT_REPOS::onDeleteClick ( wxCommandEvent &  event)
overrideprivatevirtual

Reimplemented from PANEL_GIT_REPOS_BASE.

Definition at line 384 of file panel_git_repos.cpp.

References WX_GRID::CommitPendingChanges(), and PANEL_GIT_REPOS_BASE::m_grid.

◆ onEditClick()

void PANEL_GIT_REPOS::onEditClick ( wxCommandEvent &  event)
overrideprivatevirtual

Reimplemented from PANEL_GIT_REPOS_BASE.

Definition at line 376 of file panel_git_repos.cpp.

References PANEL_GIT_REPOS_BASE::m_grid, and onGridDClick().

◆ onGridDClick()

◆ ResetPanel()

void PANEL_GIT_REPOS::ResetPanel ( )
overridevirtual

◆ TransferDataFromWindow()

◆ TransferDataToWindow()

Member Data Documentation

◆ m_author

wxTextCtrl* PANEL_GIT_REPOS_BASE::m_author
protectedinherited

◆ m_authorEmail

wxTextCtrl* PANEL_GIT_REPOS_BASE::m_authorEmail
protectedinherited

◆ m_authorEmailLabel

wxStaticText* PANEL_GIT_REPOS_BASE::m_authorEmailLabel
protectedinherited

◆ m_authorLabel

wxStaticText* PANEL_GIT_REPOS_BASE::m_authorLabel
protectedinherited

◆ m_btnAddRepo

STD_BITMAP_BUTTON* PANEL_GIT_REPOS_BASE::m_btnAddRepo
protectedinherited

◆ m_btnDelete

STD_BITMAP_BUTTON* PANEL_GIT_REPOS_BASE::m_btnDelete
protectedinherited

◆ m_btnEditRepo

STD_BITMAP_BUTTON* PANEL_GIT_REPOS_BASE::m_btnEditRepo
protectedinherited

◆ m_cbDefault

wxCheckBox* PANEL_GIT_REPOS_BASE::m_cbDefault
protectedinherited

◆ m_grid

◆ m_staticline3

wxStaticLine* PANEL_GIT_REPOS_BASE::m_staticline3
protectedinherited

Definition at line 51 of file panel_git_repos_base.h.

Referenced by PANEL_GIT_REPOS_BASE::PANEL_GIT_REPOS_BASE().

◆ m_staticText12

wxStaticText* PANEL_GIT_REPOS_BASE::m_staticText12
protectedinherited

Definition at line 45 of file panel_git_repos_base.h.

Referenced by PANEL_GIT_REPOS_BASE::PANEL_GIT_REPOS_BASE().

◆ m_staticText20

wxStaticText* PANEL_GIT_REPOS_BASE::m_staticText20
protectedinherited

Definition at line 52 of file panel_git_repos_base.h.

Referenced by PANEL_GIT_REPOS_BASE::PANEL_GIT_REPOS_BASE().


The documentation for this class was generated from the following files: