LibreOffice Module vcl (master) 1
Public Member Functions | Protected Attributes | List of all members
weld::MessageDialogController Class Reference

#include <weld.hxx>

Inheritance diagram for weld::MessageDialogController:
[legend]
Collaboration diagram for weld::MessageDialogController:
[legend]

Public Member Functions

 MessageDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, const OUString &rRelocateId={})
 
virtual DialoggetDialog () override
 
virtual ~MessageDialogController () override
 
void set_primary_text (const OUString &rText)
 
OUString get_primary_text () const
 
void set_secondary_text (const OUString &rText)
 
OUString get_secondary_text () const
 
void set_default_response (int nResponse)
 
- 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
 

Protected Attributes

std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::MessageDialogm_xDialog
 
std::unique_ptr< weld::Containerm_xContentArea
 
std::unique_ptr< weld::Widgetm_xRelocate
 
std::unique_ptr< weld::Containerm_xOrigParent
 

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)> &)
 

Detailed Description

Definition at line 2683 of file weld.hxx.

Constructor & Destructor Documentation

◆ MessageDialogController()

weld::MessageDialogController::MessageDialogController ( weld::Widget pParent,
const OUString &  rUIFile,
const OUString &  rDialogId,
const OUString &  rRelocateId = {} 
)

Definition at line 62 of file weldutils.cxx.

References m_xBuilder, m_xContentArea, m_xDialog, m_xOrigParent, and m_xRelocate.

◆ ~MessageDialogController()

weld::MessageDialogController::~MessageDialogController ( )
overridevirtual

Definition at line 79 of file weldutils.cxx.

References m_xContentArea, m_xOrigParent, and m_xRelocate.

Member Function Documentation

◆ get_primary_text()

OUString weld::MessageDialogController::get_primary_text ( ) const
inline

Definition at line 2708 of file weld.hxx.

References m_xDialog.

◆ get_secondary_text()

OUString weld::MessageDialogController::get_secondary_text ( ) const
inline

Definition at line 2710 of file weld.hxx.

References m_xDialog.

◆ getDialog()

Dialog * weld::MessageDialogController::getDialog ( )
overridevirtual

Implements weld::DialogController.

Definition at line 60 of file weldutils.cxx.

References m_xDialog.

◆ set_default_response()

void weld::MessageDialogController::set_default_response ( int  nResponse)
inline

Definition at line 2711 of file weld.hxx.

References m_xDialog.

◆ set_primary_text()

void weld::MessageDialogController::set_primary_text ( const OUString &  rText)
inline

Definition at line 2707 of file weld.hxx.

References m_xDialog.

◆ set_secondary_text()

void weld::MessageDialogController::set_secondary_text ( const OUString &  rText)
inline

Definition at line 2709 of file weld.hxx.

References m_xDialog.

Member Data Documentation

◆ m_xBuilder

std::unique_ptr<weld::Builder> weld::MessageDialogController::m_xBuilder
protected

Definition at line 2686 of file weld.hxx.

Referenced by MessageDialogController().

◆ m_xContentArea

std::unique_ptr<weld::Container> weld::MessageDialogController::m_xContentArea
protected

Definition at line 2688 of file weld.hxx.

Referenced by MessageDialogController(), and ~MessageDialogController().

◆ m_xDialog

std::unique_ptr<weld::MessageDialog> weld::MessageDialogController::m_xDialog
protected

Definition at line 2687 of file weld.hxx.

Referenced by getDialog().

◆ m_xOrigParent

std::unique_ptr<weld::Container> weld::MessageDialogController::m_xOrigParent
protected

Definition at line 2690 of file weld.hxx.

Referenced by MessageDialogController(), and ~MessageDialogController().

◆ m_xRelocate

std::unique_ptr<weld::Widget> weld::MessageDialogController::m_xRelocate
protected

Definition at line 2689 of file weld.hxx.

Referenced by MessageDialogController(), and ~MessageDialogController().


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