LibreOffice Module svtools (master) 1
|
#include <prnsetup.hxx>
Public Member Functions | |
PrinterSetupDialog (weld::Window *pWindow) | |
virtual | ~PrinterSetupDialog () override |
void | SetPrinter (Printer *pNewPrinter) |
Printer * | GetPrinter () const |
virtual short | run () override |
weld::Window * | GetFrameWeld () 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 Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () 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::ComboBox > | m_xLbName |
std::unique_ptr< weld::Button > | m_xBtnProperties |
std::unique_ptr< weld::Button > | m_xBtnOptions |
std::unique_ptr< weld::Label > | m_xFiStatus |
std::unique_ptr< weld::Label > | m_xFiType |
std::unique_ptr< weld::Label > | m_xFiLocation |
std::unique_ptr< weld::Label > | m_xFiComment |
AutoTimer | maStatusTimer |
VclPtr< Printer > | mpPrinter |
VclPtr< Printer > | mpTempPrinter |
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::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 31 of file prnsetup.hxx.
PrinterSetupDialog::PrinterSetupDialog | ( | weld::Window * | pWindow | ) |
Definition at line 217 of file prnsetup.cxx.
References Application::AddEventListener(), IMPL_PRINTDLG_STATUS_UPDATE, LINK, m_xBtnOptions, m_xBtnProperties, weld::GenericDialogController::m_xDialog, m_xLbName, maStatusTimer, mpPrinter, mpTempPrinter, Timer::SetInvokeHandler(), and Timer::SetTimeout().
|
overridevirtual |
Definition at line 244 of file prnsetup.cxx.
References ImplFreePrnDlgListBox(), LINK, m_xLbName, and Application::RemoveEventListener().
|
private |
|
private |
|
private |
|
private |
|
private |
|
inline |
Definition at line 62 of file prnsetup.hxx.
References m_xDialog.
|
inline |
Definition at line 58 of file prnsetup.hxx.
|
private |
Definition at line 257 of file prnsetup.cxx.
References QueueInfo::GetComment(), QueueInfo::GetDriver(), QueueInfo::GetLocation(), Printer::GetQueueInfo(), ImplPrnDlgGetStatusText(), m_xFiComment, m_xFiLocation, m_xFiStatus, m_xFiType, and m_xLbName.
Referenced by run().
|
overridevirtual |
Reimplemented from weld::DialogController.
Definition at line 325 of file prnsetup.cxx.
References ImplFillPrnDlgListBox(), ImplSetInfo(), m_xBtnProperties, m_xLbName, maStatusTimer, mpPrinter, mpTempPrinter, RET_CANCEL, RET_OK, SAL_WARN, Timer::Start(), Task::Stop(), and Printer::updatePrinters().
void PrinterSetupDialog::SetOptionsHdl | ( | const Link< weld::Button &, void > & | rLink | ) |
Definition at line 250 of file prnsetup.cxx.
References Link< typename Arg, typename Ret >::IsSet(), m_xBtnOptions, and SvtResId().
|
inline |
Definition at line 57 of file prnsetup.hxx.
|
private |
Definition at line 36 of file prnsetup.hxx.
Referenced by PrinterSetupDialog(), and SetOptionsHdl().
|
private |
Definition at line 35 of file prnsetup.hxx.
Referenced by PrinterSetupDialog(), and run().
|
private |
Definition at line 40 of file prnsetup.hxx.
Referenced by ImplSetInfo().
|
private |
Definition at line 39 of file prnsetup.hxx.
Referenced by ImplSetInfo().
|
private |
Definition at line 37 of file prnsetup.hxx.
Referenced by ImplSetInfo().
|
private |
Definition at line 38 of file prnsetup.hxx.
Referenced by ImplSetInfo().
|
private |
Definition at line 34 of file prnsetup.hxx.
Referenced by ImplSetInfo(), PrinterSetupDialog(), run(), and ~PrinterSetupDialog().
|
private |
Definition at line 41 of file prnsetup.hxx.
Referenced by PrinterSetupDialog(), and run().
Definition at line 42 of file prnsetup.hxx.
Referenced by PrinterSetupDialog(), and run().
Definition at line 43 of file prnsetup.hxx.
Referenced by PrinterSetupDialog(), and run().