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

#include <printdlg.hxx>

Inheritance diagram for vcl::PrintProgressDialog:
[legend]
Collaboration diagram for vcl::PrintProgressDialog:
[legend]

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)
 
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 249 of file printdlg.hxx.

Constructor & Destructor Documentation

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

Definition at line 2134 of file printdlg.cxx.

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

PrintProgressDialog::~PrintProgressDialog ( )
overridevirtual

Definition at line 2161 of file printdlg.cxx.

Member Function Documentation

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

Definition at line 265 of file printdlg.hxx.

References mbCanceled.

void PrintProgressDialog::setProgress ( int  i_nCurrent)

Definition at line 2170 of file printdlg.cxx.

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

Referenced by tick().

void PrintProgressDialog::tick ( )

Definition at line 2184 of file printdlg.cxx.

References mnCur, mnMax, and setProgress().

Member Data Documentation

OUString vcl::PrintProgressDialog::maStr
private

Definition at line 251 of file printdlg.hxx.

Referenced by PrintProgressDialog(), and setProgress().

bool vcl::PrintProgressDialog::mbCanceled
private

Definition at line 252 of file printdlg.hxx.

Referenced by isCanceled().

sal_Int32 vcl::PrintProgressDialog::mnCur
private

Definition at line 253 of file printdlg.hxx.

Referenced by setProgress(), and tick().

sal_Int32 vcl::PrintProgressDialog::mnMax
private

Definition at line 254 of file printdlg.hxx.

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

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

Definition at line 258 of file printdlg.hxx.

Referenced by PrintProgressDialog().

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

Definition at line 257 of file printdlg.hxx.

Referenced by PrintProgressDialog(), and setProgress().

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

Definition at line 256 of file printdlg.hxx.

Referenced by PrintProgressDialog(), and setProgress().


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