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:
[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 OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OUString &rHelpId)
 
OUString 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 252 of file printdlg.hxx.

Constructor & Destructor Documentation

◆ PrintProgressDialog()

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

Definition at line 2207 of file printdlg.cxx.

References getNewLabel(), LINK, maStr, mnCur, mnMax, mxButton, mxProgress, mxText, and mxText.

◆ ~PrintProgressDialog()

PrintProgressDialog::~PrintProgressDialog ( )
overridevirtual

Definition at line 2236 of file printdlg.cxx.

Member Function Documentation

◆ DECL_LINK()

vcl::PrintProgressDialog::DECL_LINK ( ClickHdl  ,
weld::Button ,
void   
)
private

◆ isCanceled()

bool vcl::PrintProgressDialog::isCanceled ( ) const
inline

Definition at line 268 of file printdlg.hxx.

References mbCanceled.

◆ setProgress()

void PrintProgressDialog::setProgress ( int  i_nCurrent)

Definition at line 2245 of file printdlg.cxx.

References getNewLabel(), maStr, mnCur, mnMax, mxProgress, and mxText.

Referenced by tick().

◆ tick()

void PrintProgressDialog::tick ( )

Definition at line 2258 of file printdlg.cxx.

References mnCur, mnMax, and setProgress().

Member Data Documentation

◆ maStr

OUString vcl::PrintProgressDialog::maStr
private

Definition at line 254 of file printdlg.hxx.

Referenced by PrintProgressDialog(), and setProgress().

◆ mbCanceled

bool vcl::PrintProgressDialog::mbCanceled
private

Definition at line 255 of file printdlg.hxx.

Referenced by isCanceled().

◆ mnCur

sal_Int32 vcl::PrintProgressDialog::mnCur
private

Definition at line 256 of file printdlg.hxx.

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

◆ mnMax

sal_Int32 vcl::PrintProgressDialog::mnMax
private

Definition at line 257 of file printdlg.hxx.

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

◆ mxButton

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

Definition at line 261 of file printdlg.hxx.

Referenced by PrintProgressDialog().

◆ mxProgress

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

Definition at line 260 of file printdlg.hxx.

Referenced by PrintProgressDialog(), and setProgress().

◆ mxText

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

Definition at line 259 of file printdlg.hxx.

Referenced by PrintProgressDialog(), and setProgress().


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