|
Public Methods
|
| |
details_progress_listbox (wxWindow *parent, wxWindowID id=-1, const wxString &log_filename=wxEmptyString,
const wxString &log_path=wxEmptyString, long scroll_history=optionDETAILS_PROGRESS_LISTBOX_RECOMMENDED_SCROLL_HISTORY, const wxPoint &pos=wxDefaultPosition, const wxSize
&size=wxDefaultSize, int n=0, const wxString choices[]=NULL, long style=wxLB_EXTENDED|wxLB_HSCROLL|wxLB_ALWAYS_SB, const wxValidator &validator=wxDefaultValidator, const wxString
&name="a_details_progress_listbox") |
| |
Constructor.
|
| |
details_progress_listbox () |
| |
~details_progress_listbox () |
| |
Destructor.
|
| void |
append_using_scroll_history (const wxString &item) |
| |
Append() but wil scroll off the top line if past the max scroll history.
|
| bool |
export_to_file () |
| |
Handles the exporation of the listbox contents to a user specified file.
|
Protected Methods
|
| void |
popup_menu (wxMouseEvent &event) |
| |
Pops up a menu.
|
| void |
on_copy_menu_event (wxCommandEvent &event) |
| |
Code to execute when user selects 'Copy' from the context-sensitive menu.
|
| void |
on_clear_menu_event (wxCommandEvent &event) |
| |
Code to execute when user selects 'Clear' from the context-sensitive menu.
|
| void |
on_select_all_menu_event (wxCommandEvent &event) |
| |
Code to execute when user selects 'Select All' from the context-sensitive menu.
|
Protected Attributes
|
| wxWindow * |
m_parent |
| |
Parent window.
|
| wxArrayInt |
m_selected_row_numbers_array |
| |
An array of selected rows to copy (so don't have to look it up twice).
|
| wxString |
m_log_filename |
| |
Passed default filename of the log file when user wants to export.
|
| wxString |
m_log_path |
| |
Passed default path of the log file when user wants to export.
|
| long |
m_scroll_history |
| |
Store the scroll history (number of lines that can be in the listbox at once).
|