The base class for wxCurlDownloadDialog and wxCurlUploadDialog. More...
#include <dialog.h>
Public Member Functions | |
bool | Create (const wxString &url, const wxString &title, const wxString &message=wxEmptyString, const wxString &sizeLabel=_("Transferred:"), const wxBitmap &bitmap=wxNullBitmap, wxWindow *parent=NULL, long style=wxCTDS_DEFAULT_STYLE) |
wxCurlDialogReturnFlag | RunModal () |
Shows the dialog as modal. | |
bool | IsOk () const |
Returns true if the creation of the dialog was successful. | |
virtual wxCurlDialogReturnFlag | GetReturnCode () const |
Returns the exit code of the dialog (call after RunModal). | |
void | SetVerbose (bool enable) |
Sets the internal wxCurlBase object to be verbose. | |
bool | IsVerbose () const |
Returns true if the internal wxCurlBase is verbose (on by default in debug builds). | |
void | OnEndPerform (wxCurlEndPerformEvent &) |
void | OnAbort (wxCommandEvent &) |
void | OnConnSettings (wxCommandEvent &) |
void | OnPauseResume (wxCommandEvent &) |
void | OnStart (wxCommandEvent &) |
void | OnAbortUpdateUI (wxUpdateUIEvent &) |
void | OnConnSettingsUpdateUI (wxUpdateUIEvent &) |
void | OnStartUpdateUI (wxUpdateUIEvent &) |
void | OnPauseResumeUpdateUI (wxUpdateUIEvent &) |
void | OnClose (wxCloseEvent &ev) |
Protected Member Functions | |
virtual void | EndModal (wxCurlDialogReturnFlag retCode) |
wxStaticText * | AddSizerRow (wxSizer *sz, const wxString &name) |
void | CreateControls (const wxString &url, const wxString &msg, const wxString &sizeLabel, const wxBitmap &bitmap) |
void | UpdateLabels (wxCurlProgressBaseEvent *ev) |
bool | HandleCurlThreadError (wxCurlThreadError err, wxCurlBaseThread *p, const wxString &url=wxEmptyString) |
bool | HasFlag (wxCurlTransferDialogStyle flag) const |
virtual int | ShowModal () |
virtual void | SetReturnCode (wxCurlDialogReturnFlag ret) |
Protected Attributes | |
wxCurlBaseThread * | m_pThread |
wxCurlProgressBaseEvent * | m_pLastEvent |
bool | m_bTransferComplete |
long | m_nStyle |
bool | m_bVerbose |
wxTextCtrl * | m_pURL |
wxStaticText * | m_pSpeed |
wxStaticText * | m_pSize |
wxGauge * | m_pGauge |
wxStaticBitmap * | m_pBitmap |
wxStaticText * | m_pElapsedTime |
wxStaticText * | m_pRemainingTime |
wxStaticText * | m_pEstimatedTime |
The base class for wxCurlDownloadDialog and wxCurlUploadDialog.
wxCurlDialogReturnFlag wxCurlTransferDialog::RunModal | ( | ) |
Shows the dialog as modal.
If the wxCTDS_CAN_START flag was not given, then the transfer starts automatically. Note that you should use this function instead of wxDialog::ShowModal().