Added a generic wxProgressDialog and made wxPostscriptPrinter use it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Karsten Ballüder
1999-05-09 15:19:45 +00:00
parent 4445e5cbae
commit 8fa2e6a209
10 changed files with 351 additions and 9 deletions

View File

@@ -138,6 +138,7 @@
\input prvdatob.tex
\input prvtdrpt.tex
\input process.tex
\input progdlg.tex
\input procevt.tex
\input protocol.tex
\input query.tex

75
docs/latex/wx/progdlg.tex Normal file
View File

@@ -0,0 +1,75 @@
\section{\class{wxProgressDialog}}\label{wxprogressdialog}
This class represents a dialog that shows a short message and a
progress bar. Optionally, it can display an ABORT button.
\wxheading{Derived from}
\helpref{wxFrame}{wxframe}\\
\helpref{wxWindow}{wxwindow}\\
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/progdlg.h>
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxProgressDialog::wxProgressDialog}\label{wxprogressdialogconstr}
\func{}{wxProgressDialog}
{\param{const wxString\& }{title},
\param{const wxString\& }{message},\rtfsp
\param{int }{maximum = 100},
\param{wxWindow * }{parent = NULL},\rtfsp
\param{bool }{disableParentOnly = FALSE},\rtfsp
\param{bool }{abortButton = FALSE}
}
Constructor. Creates the dialog, displays it and disables user input
for other windows, or, if disableParentOnly = TRUE, for its parent
window only.
\wxheading{Parameters}
\docparam{title}{Dialog title to show in titlebar.}
\docparam{message}{Message displayed above the progress bar.}
\docparam{maximum}{Maximum value for the progress bar.}
\docparam{parent}{Parent window.}
\docparam{message}{Message to show on the dialog.}
\docparam{disableParentOnly}{By default, the dialog disables user
input for all other top level windows. If this parameter is TRUE, it
will only disable the window passes as parent.}
\docparam{abortButton}{If TRUE, will display an ABORT button.}
\membersection{wxProgressDialog::\destruct{wxProgressDialog}}
\func{}{\destruct{wxMessageDialog}}{\void}
Destructor.
Deletes the dialog and enables all top level windows.
\membersection{wxProgressDialog::Update}\label{wxprogressdialogupdate}
\func{bool}{Update}{
\param{int }{value = -1},\rtfsp
\param{const char * }{newmsg = NULL}, }
Updates the dialog, setting the progress bar to the new value and, if
given exchanges the message above it. Returns TRUE if the ABORT button
has \emph{not} been pressed.
\membersection{wxProgressDialog::Resume}\label{wxprogressdialogresume}
\func{void}{Resume}{\void}
Can be used to continue with the dialog, after the user had chosen
ABORT.