![]() |
Ember
|
Dialog for opening and managing BehaviorTree projects. More...
#include <ProjectManagerDialog.h>
Public Member Functions | |
| ProjectManagerDialog (wxWindow *parent) | |
| ~ProjectManagerDialog () | |
| wxString | GetSelectedProjectPath () const |
| Get the selected project path (after dialog is closed with OK) | |
| bool | HasSelectedProject () const |
| Check if a project was selected. | |
Private Types | |
| enum | { ID_PROJECT_LIST = 1000 , ID_OPEN , ID_BROWSE , ID_NEW_PROJECT , ID_REMOVE_FROM_RECENT , ID_CLEAR_RECENT } |
Private Member Functions | |
| void | CreateLayout () |
| void | OnProjectSelected (wxListEvent &event) |
| void | OnProjectActivated (wxListEvent &event) |
| void | OnOpen (wxCommandEvent &event) |
| void | OnBrowse (wxCommandEvent &event) |
| void | OnNewProject (wxCommandEvent &event) |
| void | OnRemoveFromRecent (wxCommandEvent &event) |
| void | OnClearRecent (wxCommandEvent &event) |
| void | OnCancel (wxCommandEvent &event) |
| void | LoadRecentProjects () |
| void | UpdateProjectDetails (const wxString &projectPath) |
| void | ClearProjectDetails () |
| void | UpdateButtonStates () |
| wxDECLARE_EVENT_TABLE () | |
Private Attributes | |
| wxListCtrl * | m_projectList |
| wxStaticText * | m_projectNameLabel |
| wxStaticText * | m_projectDescLabel |
| wxStaticText * | m_projectPathLabel |
| wxStaticText * | m_fileCountLabel |
| wxStaticText * | m_lastModifiedLabel |
| wxButton * | m_openBtn |
| wxButton * | m_browseBtn |
| wxButton * | m_newProjectBtn |
| wxButton * | m_removeBtn |
| wxButton * | m_clearBtn |
| wxButton * | m_cancelBtn |
| wxString | m_selectedPath |
Dialog for opening and managing BehaviorTree projects.
This dialog provides an interface for:
Definition at line 23 of file ProjectManagerDialog.h.
|
private |
| Enumerator | |
|---|---|
| ID_PROJECT_LIST | |
| ID_OPEN | |
| ID_BROWSE | |
| ID_NEW_PROJECT | |
| ID_REMOVE_FROM_RECENT | |
| ID_CLEAR_RECENT | |
Definition at line 83 of file ProjectManagerDialog.h.
|
explicit |
| ProjectManagerDialog::~ProjectManagerDialog | ( | ) |
Definition at line 34 of file ProjectManagerDialog.cpp.
|
private |
Definition at line 260 of file ProjectManagerDialog.cpp.
|
private |
Definition at line 36 of file ProjectManagerDialog.cpp.
|
inline |
Get the selected project path (after dialog is closed with OK)
Definition at line 31 of file ProjectManagerDialog.h.
|
inline |
Check if a project was selected.
Definition at line 36 of file ProjectManagerDialog.h.
|
private |
Definition at line 151 of file ProjectManagerDialog.cpp.
|
private |
Definition at line 321 of file ProjectManagerDialog.cpp.
|
private |
Definition at line 407 of file ProjectManagerDialog.cpp.
|
private |
Definition at line 389 of file ProjectManagerDialog.cpp.
|
private |
Definition at line 334 of file ProjectManagerDialog.cpp.
|
private |
Definition at line 298 of file ProjectManagerDialog.cpp.
|
private |
Definition at line 292 of file ProjectManagerDialog.cpp.
|
private |
Definition at line 277 of file ProjectManagerDialog.cpp.
|
private |
Definition at line 375 of file ProjectManagerDialog.cpp.
|
private |
Definition at line 268 of file ProjectManagerDialog.cpp.
|
private |
Definition at line 194 of file ProjectManagerDialog.cpp.
|
private |
|
private |
Definition at line 71 of file ProjectManagerDialog.h.
|
private |
Definition at line 75 of file ProjectManagerDialog.h.
|
private |
Definition at line 74 of file ProjectManagerDialog.h.
|
private |
Definition at line 66 of file ProjectManagerDialog.h.
|
private |
Definition at line 67 of file ProjectManagerDialog.h.
|
private |
Definition at line 72 of file ProjectManagerDialog.h.
|
private |
Definition at line 70 of file ProjectManagerDialog.h.
|
private |
Definition at line 64 of file ProjectManagerDialog.h.
|
private |
Definition at line 60 of file ProjectManagerDialog.h.
|
private |
Definition at line 63 of file ProjectManagerDialog.h.
|
private |
Definition at line 65 of file ProjectManagerDialog.h.
|
private |
Definition at line 73 of file ProjectManagerDialog.h.
|
private |
Definition at line 78 of file ProjectManagerDialog.h.