|
KiCad PCB EDA Suite
|
The advanced git window's Tags page: the list beside the selected tag's detail, with the actions that create, check out and delete a tag. More...
#include <panel_git_tags.h>
Public Member Functions | |
| PANEL_GIT_TAGS (wxWindow *aParent, GIT_ADVANCED_DIALOG *aDialog, EDA_BASE_FRAME *aFrame) | |
| void | Populate () |
| Fill the list from the repository's tags. The repository is read on a worker. | |
Protected Attributes | |
| wxSplitterWindow * | m_tagsSplitter |
| wxPanel * | m_tagListPanel |
| wxListCtrl * | m_tagsList |
| wxStaticText * | m_tagCount |
| wxPanel * | m_tagDetail |
| wxStaticText * | m_tagTitle |
| wxStaticText * | m_tagCommit |
| wxStaticText * | m_tagAuthor |
| wxStaticText * | m_tagWhen |
| wxTextCtrl * | m_tagMessage |
| wxButton * | m_checkoutTagButton |
| wxButton * | m_deleteTagButton |
| wxButton * | m_createTagButton |
Private Member Functions | |
| void | showTagDetail (const wxString &aTag) |
| Fill the detail pane with aTag, or hide it when the name is empty or gone. | |
| void | fillTagDetail (const KIGIT_TAG_DETAIL &aDetail) |
| void | hideTagDetail () |
| void | onNewTag () |
| void | onCheckoutTag () |
| void | onDeleteTag () |
Private Attributes | |
| GIT_ADVANCED_DIALOG * | m_dialog |
| EDA_BASE_FRAME * | m_frame |
| KIGIT_QUERY | m_listQuery |
| List and detail reads share the session lock without waiting on the UI thread. | |
| KIGIT_QUERY | m_detailQuery |
| int | m_tagSashPos = 0 |
| Where the user left the sash between the list and its detail pane. | |
| bool | m_fillingTags = false |
| True while the list is being refilled, when its selection events are its own. | |
The advanced git window's Tags page: the list beside the selected tag's detail, with the actions that create, check out and delete a tag.
Definition at line 35 of file panel_git_tags.h.
| PANEL_GIT_TAGS::PANEL_GIT_TAGS | ( | wxWindow * | aParent, |
| GIT_ADVANCED_DIALOG * | aDialog, | ||
| EDA_BASE_FRAME * | aFrame ) |
Definition at line 33 of file panel_git_tags.cpp.
References _, hideTagDetail(), PANEL_GIT_TAGS_BASE::m_checkoutTagButton, PANEL_GIT_TAGS_BASE::m_createTagButton, PANEL_GIT_TAGS_BASE::m_deleteTagButton, m_dialog, m_fillingTags, m_frame, PANEL_GIT_TAGS_BASE::m_tagDetail, m_tagSashPos, PANEL_GIT_TAGS_BASE::m_tagsList, PANEL_GIT_TAGS_BASE::m_tagsSplitter, KIGIT::MarkDestructive(), onCheckoutTag(), onDeleteTag(), onNewTag(), PANEL_GIT_TAGS_BASE::PANEL_GIT_TAGS_BASE(), and showTagDetail().
|
private |
Definition at line 163 of file panel_git_tags.cpp.
References _, KIGIT_TAG_DETAIL::author, KIGIT_TAG_DETAIL::email, KIGIT_TAG_DETAIL::found, KIGIT_TAG_DETAIL::hash, hideTagDetail(), PANEL_GIT_TAGS_BASE::m_tagAuthor, PANEL_GIT_TAGS_BASE::m_tagCommit, PANEL_GIT_TAGS_BASE::m_tagDetail, PANEL_GIT_TAGS_BASE::m_tagListPanel, PANEL_GIT_TAGS_BASE::m_tagMessage, m_tagSashPos, PANEL_GIT_TAGS_BASE::m_tagsSplitter, PANEL_GIT_TAGS_BASE::m_tagTitle, PANEL_GIT_TAGS_BASE::m_tagWhen, KIGIT_TAG_DETAIL::message, KIGIT_TAG_DETAIL::name, KIGIT::RelativeDate(), and KIGIT_TAG_DETAIL::when.
|
private |
Definition at line 184 of file panel_git_tags.cpp.
References m_detailQuery, PANEL_GIT_TAGS_BASE::m_tagDetail, m_tagSashPos, PANEL_GIT_TAGS_BASE::m_tagsSplitter, and KIGIT::UnsplitKeepingSash().
Referenced by fillTagDetail(), PANEL_GIT_TAGS(), Populate(), and showTagDetail().
|
private |
Definition at line 213 of file panel_git_tags.cpp.
References _, KIGIT_COMMON::CheckoutTag(), IsOK(), m_dialog, PANEL_GIT_TAGS_BASE::m_tagsList, name, and KIGIT::SelectedText().
Referenced by PANEL_GIT_TAGS().
|
private |
Definition at line 249 of file panel_git_tags.cpp.
References _, KIGIT_COMMON::DeleteTag(), IsOK(), m_dialog, PANEL_GIT_TAGS_BASE::m_tagsList, name, and KIGIT::SelectedText().
Referenced by PANEL_GIT_TAGS().
|
private |
Definition at line 191 of file panel_git_tags.cpp.
References _, KIGIT_COMMON::CreateTag(), DIALOG_GIT_NEW_TAG::GetMessage(), DIALOG_GIT_NEW_TAG::GetName(), m_dialog, message, name, and DIALOG_SHIM::ShowModal().
Referenced by PANEL_GIT_TAGS().
| void PANEL_GIT_TAGS::Populate | ( | ) |
Fill the list from the repository's tags. The repository is read on a worker.
Definition at line 83 of file panel_git_tags.cpp.
References _, hideTagDetail(), m_detailQuery, m_dialog, m_fillingTags, m_frame, m_listQuery, PANEL_GIT_TAGS_BASE::m_tagCount, PANEL_GIT_TAGS_BASE::m_tagsList, and showTagDetail().
|
private |
Fill the detail pane with aTag, or hide it when the name is empty or gone.
Definition at line 138 of file panel_git_tags.cpp.
References hideTagDetail(), m_detailQuery, m_dialog, and m_frame.
Referenced by PANEL_GIT_TAGS(), and Populate().
|
protectedinherited |
Definition at line 49 of file panel_git_tags_base.h.
Referenced by PANEL_GIT_TAGS::PANEL_GIT_TAGS(), and PANEL_GIT_TAGS_BASE().
|
protectedinherited |
Definition at line 51 of file panel_git_tags_base.h.
Referenced by PANEL_GIT_TAGS::PANEL_GIT_TAGS(), and PANEL_GIT_TAGS_BASE().
|
protectedinherited |
Definition at line 50 of file panel_git_tags_base.h.
Referenced by PANEL_GIT_TAGS::PANEL_GIT_TAGS(), and PANEL_GIT_TAGS_BASE().
|
private |
Definition at line 58 of file panel_git_tags.h.
Referenced by hideTagDetail(), Populate(), and showTagDetail().
|
private |
Definition at line 53 of file panel_git_tags.h.
Referenced by onCheckoutTag(), onDeleteTag(), onNewTag(), PANEL_GIT_TAGS(), Populate(), and showTagDetail().
|
private |
True while the list is being refilled, when its selection events are its own.
Definition at line 64 of file panel_git_tags.h.
Referenced by PANEL_GIT_TAGS(), and Populate().
|
private |
Definition at line 54 of file panel_git_tags.h.
Referenced by PANEL_GIT_TAGS(), Populate(), and showTagDetail().
|
private |
List and detail reads share the session lock without waiting on the UI thread.
Definition at line 57 of file panel_git_tags.h.
Referenced by Populate().
|
protectedinherited |
Definition at line 46 of file panel_git_tags_base.h.
Referenced by PANEL_GIT_TAGS::fillTagDetail(), and PANEL_GIT_TAGS_BASE().
|
protectedinherited |
Definition at line 45 of file panel_git_tags_base.h.
Referenced by PANEL_GIT_TAGS::fillTagDetail(), and PANEL_GIT_TAGS_BASE().
|
protectedinherited |
Definition at line 42 of file panel_git_tags_base.h.
Referenced by PANEL_GIT_TAGS_BASE(), and PANEL_GIT_TAGS::Populate().
|
protectedinherited |
Definition at line 43 of file panel_git_tags_base.h.
Referenced by PANEL_GIT_TAGS::fillTagDetail(), PANEL_GIT_TAGS::hideTagDetail(), PANEL_GIT_TAGS::PANEL_GIT_TAGS(), and PANEL_GIT_TAGS_BASE().
|
protectedinherited |
Definition at line 40 of file panel_git_tags_base.h.
Referenced by PANEL_GIT_TAGS::fillTagDetail(), and PANEL_GIT_TAGS_BASE().
|
protectedinherited |
Definition at line 48 of file panel_git_tags_base.h.
Referenced by PANEL_GIT_TAGS::fillTagDetail(), and PANEL_GIT_TAGS_BASE().
|
private |
Where the user left the sash between the list and its detail pane.
Definition at line 61 of file panel_git_tags.h.
Referenced by fillTagDetail(), hideTagDetail(), and PANEL_GIT_TAGS().
|
protectedinherited |
Definition at line 41 of file panel_git_tags_base.h.
Referenced by PANEL_GIT_TAGS::onCheckoutTag(), PANEL_GIT_TAGS::onDeleteTag(), PANEL_GIT_TAGS::PANEL_GIT_TAGS(), PANEL_GIT_TAGS_BASE(), and PANEL_GIT_TAGS::Populate().
|
protectedinherited |
Definition at line 39 of file panel_git_tags_base.h.
Referenced by PANEL_GIT_TAGS::fillTagDetail(), PANEL_GIT_TAGS::hideTagDetail(), PANEL_GIT_TAGS::PANEL_GIT_TAGS(), and PANEL_GIT_TAGS_BASE().
|
protectedinherited |
Definition at line 44 of file panel_git_tags_base.h.
Referenced by PANEL_GIT_TAGS::fillTagDetail(), and PANEL_GIT_TAGS_BASE().
|
protectedinherited |
Definition at line 47 of file panel_git_tags_base.h.
Referenced by PANEL_GIT_TAGS::fillTagDetail(), and PANEL_GIT_TAGS_BASE().