LibreOffice Module svtools (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
PrinterSetupDialog Class Referencefinal

#include <prnsetup.hxx>

Inheritance diagram for PrinterSetupDialog:
[legend]
Collaboration diagram for PrinterSetupDialog:
[legend]

Public Member Functions

 PrinterSetupDialog (weld::Window *pWindow)
 
virtual ~PrinterSetupDialog () override
 
void SetPrinter (Printer *pNewPrinter)
 
PrinterGetPrinter () const
 
virtual short run () override
 
weld::WindowGetFrameWeld () const
 
void SetOptionsHdl (const Link< weld::Button &, void > &rLink)
 
- 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

SVT_DLLPRIVATE void ImplSetInfo ()
 
 DECL_DLLPRIVATE_LINK (ImplPropertiesHdl, weld::Button &, void)
 
 DECL_DLLPRIVATE_LINK (ImplChangePrinterHdl, weld::ComboBox &, void)
 
 DECL_DLLPRIVATE_LINK (ImplGetFocusHdl, weld::Widget &, void)
 
 DECL_DLLPRIVATE_LINK (ImplStatusHdl, Timer *, void)
 
 DECL_DLLPRIVATE_LINK (ImplDataChangedHdl, VclSimpleEvent &, void)
 

Private Attributes

std::unique_ptr< weld::ComboBoxm_xLbName
 
std::unique_ptr< weld::Buttonm_xBtnProperties
 
std::unique_ptr< weld::Buttonm_xBtnOptions
 
std::unique_ptr< weld::Labelm_xFiStatus
 
std::unique_ptr< weld::Labelm_xFiType
 
std::unique_ptr< weld::Labelm_xFiLocation
 
std::unique_ptr< weld::Labelm_xFiComment
 
AutoTimer maStatusTimer
 
VclPtr< PrintermpPrinter
 
VclPtr< PrintermpTempPrinter
 

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 31 of file prnsetup.hxx.

Constructor & Destructor Documentation

◆ PrinterSetupDialog()

PrinterSetupDialog::PrinterSetupDialog ( weld::Window pWindow)

◆ ~PrinterSetupDialog()

PrinterSetupDialog::~PrinterSetupDialog ( )
overridevirtual

Member Function Documentation

◆ DECL_DLLPRIVATE_LINK() [1/5]

PrinterSetupDialog::DECL_DLLPRIVATE_LINK ( ImplChangePrinterHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [2/5]

PrinterSetupDialog::DECL_DLLPRIVATE_LINK ( ImplDataChangedHdl  ,
VclSimpleEvent ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [3/5]

PrinterSetupDialog::DECL_DLLPRIVATE_LINK ( ImplGetFocusHdl  ,
weld::Widget ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [4/5]

PrinterSetupDialog::DECL_DLLPRIVATE_LINK ( ImplPropertiesHdl  ,
weld::Button ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [5/5]

PrinterSetupDialog::DECL_DLLPRIVATE_LINK ( ImplStatusHdl  ,
Timer ,
void   
)
private

◆ GetFrameWeld()

weld::Window * PrinterSetupDialog::GetFrameWeld ( ) const
inline

Definition at line 62 of file prnsetup.hxx.

References m_xDialog.

◆ GetPrinter()

Printer * PrinterSetupDialog::GetPrinter ( ) const
inline

Definition at line 58 of file prnsetup.hxx.

◆ ImplSetInfo()

void PrinterSetupDialog::ImplSetInfo ( )
private

◆ run()

short PrinterSetupDialog::run ( )
overridevirtual

◆ SetOptionsHdl()

void PrinterSetupDialog::SetOptionsHdl ( const Link< weld::Button &, void > &  rLink)

◆ SetPrinter()

void PrinterSetupDialog::SetPrinter ( Printer pNewPrinter)
inline

Definition at line 57 of file prnsetup.hxx.

Member Data Documentation

◆ m_xBtnOptions

std::unique_ptr<weld::Button> PrinterSetupDialog::m_xBtnOptions
private

Definition at line 36 of file prnsetup.hxx.

Referenced by PrinterSetupDialog(), and SetOptionsHdl().

◆ m_xBtnProperties

std::unique_ptr<weld::Button> PrinterSetupDialog::m_xBtnProperties
private

Definition at line 35 of file prnsetup.hxx.

Referenced by PrinterSetupDialog(), and run().

◆ m_xFiComment

std::unique_ptr<weld::Label> PrinterSetupDialog::m_xFiComment
private

Definition at line 40 of file prnsetup.hxx.

Referenced by ImplSetInfo().

◆ m_xFiLocation

std::unique_ptr<weld::Label> PrinterSetupDialog::m_xFiLocation
private

Definition at line 39 of file prnsetup.hxx.

Referenced by ImplSetInfo().

◆ m_xFiStatus

std::unique_ptr<weld::Label> PrinterSetupDialog::m_xFiStatus
private

Definition at line 37 of file prnsetup.hxx.

Referenced by ImplSetInfo().

◆ m_xFiType

std::unique_ptr<weld::Label> PrinterSetupDialog::m_xFiType
private

Definition at line 38 of file prnsetup.hxx.

Referenced by ImplSetInfo().

◆ m_xLbName

std::unique_ptr<weld::ComboBox> PrinterSetupDialog::m_xLbName
private

Definition at line 34 of file prnsetup.hxx.

Referenced by ImplSetInfo(), PrinterSetupDialog(), run(), and ~PrinterSetupDialog().

◆ maStatusTimer

AutoTimer PrinterSetupDialog::maStatusTimer
private

Definition at line 41 of file prnsetup.hxx.

Referenced by PrinterSetupDialog(), and run().

◆ mpPrinter

VclPtr<Printer> PrinterSetupDialog::mpPrinter
private

Definition at line 42 of file prnsetup.hxx.

Referenced by PrinterSetupDialog(), and run().

◆ mpTempPrinter

VclPtr<Printer> PrinterSetupDialog::mpTempPrinter
private

Definition at line 43 of file prnsetup.hxx.

Referenced by PrinterSetupDialog(), and run().


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