#include <processpanel.h>
Public Member Functions | |
processpanel (wxWindow *parent, wxWindowID id, wxFont font=wxSystemSettings::GetFont(wxSYS_OEM_FIXED_FONT)) | |
Panel handles output and system exec. | |
~processpanel () | |
Destruct. | |
void | append (const wxString &text) |
Append text to the output window. | |
void | clear () |
Clear the output of text. | |
void | execute (const wxString &cmd) |
Execute a system command and show out in the output window. | |
bool | executelast () |
Execute the last command we got. | |
Protected Member Functions | |
void | onIdle (wxIdleEvent &evt) |
We get a time slice so try and output anything. | |
void | onProcessEnded (wxProcessEvent &evt) |
The process ended so clean things up. | |
void | onClear (wxCommandEvent &evt) |
User wants to clear the window. | |
void | onKill (wxCommandEvent &evt) |
User wants to kill the currently running command. | |
void | onSave (wxCommandEvent &evt) |
User wants to save the output. | |
void | onErrNext (wxCommandEvent &evt) |
User wants to save the output. | |
void | onErrPrev (wxCommandEvent &evt) |
User wants to save the output. |
|
Panel handles output and system exec. Multiple exec commands can be sent by separating them with ';' e.g. -> 'cd /tmp; ls -la'
|
|
Destruct.
|
|
Append text to the output window.
|
|
Clear the output of text.
|
|
Execute a system command and show out in the output window.
|
|
Execute the last command we got.
|
|
User wants to clear the window.
|
|
User wants to save the output.
|
|
User wants to save the output.
|
|
We get a time slice so try and output anything.
|
|
User wants to kill the currently running command.
|
|
The process ended so clean things up.
|
|
User wants to save the output.
|