KiCad PCB EDA Suite
Loading...
Searching...
No Matches
FILE_CHECKLIST_ENTRY Struct Reference

One file row in a FILE_CHECKLIST_CTRL. More...

#include <file_checklist_ctrl.h>

Public Attributes

wxString section
 
wxString path
 Row identity.
 
wxString label
 Shown in place of the path.
 
wxString status
 Free text, e.g. "Modified".
 
wxColour statusColour
 Text colour for the status, or the default when not set.
 
BITMAPS icon = BITMAPS::INVALID_BITMAP
 
bool checked = false
 

Detailed Description

One file row in a FILE_CHECKLIST_CTRL.

The types are deliberately generic so the control has no dependency on git. A caller maps its own status to a word and an icon.

Definition at line 39 of file file_checklist_ctrl.h.

Member Data Documentation

◆ checked

◆ icon

BITMAPS FILE_CHECKLIST_ENTRY::icon = BITMAPS::INVALID_BITMAP

◆ label

wxString FILE_CHECKLIST_ENTRY::label

Shown in place of the path.

Definition at line 43 of file file_checklist_ctrl.h.

Referenced by BuildGitChangeEntries(), FILE_CHECKLIST_MODEL::GetValue(), and makeEntry().

◆ path

wxString FILE_CHECKLIST_ENTRY::path

Row identity.

Definition at line 42 of file file_checklist_ctrl.h.

Referenced by BuildGitChangeEntries(), makeEntry(), and GIT_COMMIT_PANE::RefreshFileList().

◆ section

wxString FILE_CHECKLIST_ENTRY::section

Definition at line 41 of file file_checklist_ctrl.h.

Referenced by BuildGitChangeEntries(), and makeEntry().

◆ status

wxString FILE_CHECKLIST_ENTRY::status

Free text, e.g. "Modified".

Definition at line 44 of file file_checklist_ctrl.h.

Referenced by BuildGitChangeEntries(), FILE_CHECKLIST_MODEL::GetValue(), and makeEntry().

◆ statusColour

wxColour FILE_CHECKLIST_ENTRY::statusColour

Text colour for the status, or the default when not set.

Definition at line 45 of file file_checklist_ctrl.h.

Referenced by BuildGitChangeEntries(), and FILE_CHECKLIST_MODEL::GetAttr().


The documentation for this struct was generated from the following file: