LibreOffice Module vcl (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
vcl::PrintProgressDialog Class Referencefinal

#include <printdlg.hxx>

Inheritance diagram for vcl::PrintProgressDialog:
Collaboration diagram for vcl::PrintProgressDialog:

Public Member Functions

 PrintProgressDialog (weld::Window *i_pParent, int i_nMax)
virtual ~PrintProgressDialog () override
bool isCanceled () const
void setProgress (int i_nCurrent)
void tick ()
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId, bool bMobile=false)
virtual DialoggetDialog () override
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
- Public Member Functions inherited from weld::DialogController
const DialoggetConstDialog () const
virtual short run ()
void set_title (const OUString &rTitle)
OUString get_title () const
void set_help_id (const OString &rHelpId)
OString get_help_id () const
void response (int nResponse)
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE

Private Member Functions

 DECL_LINK (ClickHdl, weld::Button &, void)

Private Attributes

OUString maStr
bool mbCanceled
sal_Int32 mnCur
sal_Int32 mnMax
std::unique_ptr< weld::LabelmxText
std::unique_ptr< weld::ProgressBarmxProgress
std::unique_ptr< weld::ButtonmxButton

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
std::shared_ptr< weld::Dialogm_xDialog

Detailed Description

Definition at line 267 of file printdlg.hxx.

Constructor & Destructor Documentation

PrintProgressDialog::PrintProgressDialog ( weld::Window i_pParent,
int  i_nMax 

Definition at line 2168 of file printdlg.cxx.

References LINK, maStr, mnMax, mxButton, mxProgress, mxText, and mxText.

PrintProgressDialog::~PrintProgressDialog ( )

Definition at line 2195 of file printdlg.cxx.

Member Function Documentation

vcl::PrintProgressDialog::DECL_LINK ( ClickHdl  ,
weld::Button ,
bool vcl::PrintProgressDialog::isCanceled ( ) const

Definition at line 283 of file printdlg.hxx.

References mbCanceled.

void PrintProgressDialog::setProgress ( int  i_nCurrent)

Definition at line 2204 of file printdlg.cxx.

References maStr, mnCur, mnMax, mxProgress, and mxText.

Referenced by tick().

void PrintProgressDialog::tick ( )

Definition at line 2218 of file printdlg.cxx.

References mnCur, mnMax, and setProgress().

Member Data Documentation

OUString vcl::PrintProgressDialog::maStr

Definition at line 269 of file printdlg.hxx.

Referenced by PrintProgressDialog(), and setProgress().

bool vcl::PrintProgressDialog::mbCanceled

Definition at line 270 of file printdlg.hxx.

Referenced by isCanceled().

sal_Int32 vcl::PrintProgressDialog::mnCur

Definition at line 271 of file printdlg.hxx.

Referenced by setProgress(), and tick().

sal_Int32 vcl::PrintProgressDialog::mnMax

Definition at line 272 of file printdlg.hxx.

Referenced by PrintProgressDialog(), setProgress(), and tick().

std::unique_ptr<weld::Button> vcl::PrintProgressDialog::mxButton

Definition at line 276 of file printdlg.hxx.

Referenced by PrintProgressDialog().

std::unique_ptr<weld::ProgressBar> vcl::PrintProgressDialog::mxProgress

Definition at line 275 of file printdlg.hxx.

Referenced by PrintProgressDialog(), and setProgress().

std::unique_ptr<weld::Label> vcl::PrintProgressDialog::mxText

Definition at line 274 of file printdlg.hxx.

Referenced by PrintProgressDialog(), and setProgress().

The documentation for this class was generated from the following files: