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

#include <local_history_pane.h>

Inheritance diagram for LOCAL_HISTORY_PANE:

Public Member Functions

 LOCAL_HISTORY_PANE (KICAD_MANAGER_FRAME *aParent)
 
 ~LOCAL_HISTORY_PANE ()
 
void RefreshHistory (const wxString &aProjectPath)
 

Private Member Functions

void OnMotion (wxMouseEvent &aEvent)
 
void OnLeave (wxMouseEvent &aEvent)
 
void OnTimer (wxTimerEvent &aEvent)
 
void OnRightClick (wxListEvent &aEvent)
 
void OnRefreshEvent (wxCommandEvent &aEvent)
 
void OnRefreshTimer (wxTimerEvent &aEvent)
 

Private Attributes

KICAD_MANAGER_FRAMEm_frame
 
wxListCtrl * m_list
 
std::vector< LOCAL_COMMIT_INFOm_commits
 
wxTimer m_timer
 
wxTimer m_refreshTimer
 
long m_hoverItem
 
wxPoint m_hoverPos
 
wxTipWindow * m_tip
 
std::mutex m_mutex
 

Detailed Description

Definition at line 53 of file local_history_pane.h.

Constructor & Destructor Documentation

◆ LOCAL_HISTORY_PANE()

LOCAL_HISTORY_PANE::LOCAL_HISTORY_PANE ( KICAD_MANAGER_FRAME * aParent)

◆ ~LOCAL_HISTORY_PANE()

LOCAL_HISTORY_PANE::~LOCAL_HISTORY_PANE ( )

Definition at line 61 of file local_history_pane.cpp.

References m_refreshTimer, m_timer, and m_tip.

Member Function Documentation

◆ OnLeave()

void LOCAL_HISTORY_PANE::OnLeave ( wxMouseEvent & aEvent)
private

Definition at line 178 of file local_history_pane.cpp.

References m_hoverItem, m_list, m_mutex, m_timer, and m_tip.

Referenced by LOCAL_HISTORY_PANE().

◆ OnMotion()

void LOCAL_HISTORY_PANE::OnMotion ( wxMouseEvent & aEvent)
private

Definition at line 154 of file local_history_pane.cpp.

References m_hoverItem, m_hoverPos, m_list, m_mutex, and m_timer.

Referenced by LOCAL_HISTORY_PANE().

◆ OnRefreshEvent()

void LOCAL_HISTORY_PANE::OnRefreshEvent ( wxCommandEvent & aEvent)
private

Definition at line 241 of file local_history_pane.cpp.

References m_frame, and RefreshHistory().

Referenced by LOCAL_HISTORY_PANE().

◆ OnRefreshTimer()

void LOCAL_HISTORY_PANE::OnRefreshTimer ( wxTimerEvent & aEvent)
private

Definition at line 252 of file local_history_pane.cpp.

References m_frame, and RefreshHistory().

Referenced by LOCAL_HISTORY_PANE().

◆ OnRightClick()

void LOCAL_HISTORY_PANE::OnRightClick ( wxListEvent & aEvent)
private

Definition at line 219 of file local_history_pane.cpp.

References _, m_commits, and m_frame.

Referenced by LOCAL_HISTORY_PANE().

◆ OnTimer()

void LOCAL_HISTORY_PANE::OnTimer ( wxTimerEvent & aEvent)
private

Definition at line 198 of file local_history_pane.cpp.

References m_commits, m_hoverItem, m_hoverPos, m_mutex, and m_tip.

Referenced by LOCAL_HISTORY_PANE().

◆ RefreshHistory()

void LOCAL_HISTORY_PANE::RefreshHistory ( const wxString & aProjectPath)

Definition at line 73 of file local_history_pane.cpp.

References _, info, m_commits, m_list, and m_mutex.

Referenced by OnRefreshEvent(), and OnRefreshTimer().

Member Data Documentation

◆ m_commits

std::vector<LOCAL_COMMIT_INFO> LOCAL_HISTORY_PANE::m_commits
private

Definition at line 71 of file local_history_pane.h.

Referenced by OnRightClick(), OnTimer(), and RefreshHistory().

◆ m_frame

KICAD_MANAGER_FRAME* LOCAL_HISTORY_PANE::m_frame
private

◆ m_hoverItem

long LOCAL_HISTORY_PANE::m_hoverItem
private

Definition at line 74 of file local_history_pane.h.

Referenced by LOCAL_HISTORY_PANE(), OnLeave(), OnMotion(), and OnTimer().

◆ m_hoverPos

wxPoint LOCAL_HISTORY_PANE::m_hoverPos
private

Definition at line 75 of file local_history_pane.h.

Referenced by OnMotion(), and OnTimer().

◆ m_list

wxListCtrl* LOCAL_HISTORY_PANE::m_list
private

Definition at line 70 of file local_history_pane.h.

Referenced by LOCAL_HISTORY_PANE(), OnLeave(), OnMotion(), and RefreshHistory().

◆ m_mutex

std::mutex LOCAL_HISTORY_PANE::m_mutex
private

Definition at line 77 of file local_history_pane.h.

Referenced by OnLeave(), OnMotion(), OnTimer(), and RefreshHistory().

◆ m_refreshTimer

wxTimer LOCAL_HISTORY_PANE::m_refreshTimer
private

Definition at line 73 of file local_history_pane.h.

Referenced by LOCAL_HISTORY_PANE(), and ~LOCAL_HISTORY_PANE().

◆ m_timer

wxTimer LOCAL_HISTORY_PANE::m_timer
private

Definition at line 72 of file local_history_pane.h.

Referenced by LOCAL_HISTORY_PANE(), OnLeave(), OnMotion(), and ~LOCAL_HISTORY_PANE().

◆ m_tip

wxTipWindow* LOCAL_HISTORY_PANE::m_tip
private

Definition at line 76 of file local_history_pane.h.

Referenced by LOCAL_HISTORY_PANE(), OnLeave(), OnTimer(), and ~LOCAL_HISTORY_PANE().


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