LibreOffice Module sfx2 (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
SfxSingleTabDialogController Class Reference

#include <basedlgs.hxx>

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

Public Member Functions

 SfxSingleTabDialogController (weld::Widget *pParent, const SfxItemSet *pOptionsSet, const OUString &rUIXMLDescription=OUString("sfx/ui/singletabdialog.ui"), const OUString &rID=OUString("SingleTabDialog"))
 
 SfxSingleTabDialogController (weld::Widget *pParent, const SfxItemSet *pOptionsSet, const OUString &rContainerId, const OUString &rUIXMLDescription, const OUString &rID)
 
weld::Containerget_content_area ()
 
virtual ~SfxSingleTabDialogController () override
 
void SetTabPage (std::unique_ptr< SfxTabPage > xTabPage)
 
SfxTabPageGetTabPage () const
 
virtual weld::ButtonGetOKButton () const override
 
virtual const SfxItemSetGetExampleSet () const override
 
const SfxItemSetGetOutputItemSet () const
 
const SfxItemSetGetInputItemSet () const
 
- Public Member Functions inherited from SfxOkDialogController
 SfxOkDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OUString &rID)
 
virtual weld::ButtonGetOKButton () const =0
 
virtual const SfxItemSetGetExampleSet () const =0
 
- Public Member Functions inherited from SfxDialogController
 SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog (int nResponse)
 
virtual bool CloseOnHide () const
 
- 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
 

Protected Member Functions

void CreateOutputItemSet (const SfxItemSet &rInput)
 
void SetInputSet (const SfxItemSet *pInSet)
 
 DECL_DLLPRIVATE_LINK (OKHdl_Impl, weld::Button &, void)
 

Protected Attributes

std::unique_ptr< SfxTabPagem_xSfxPage
 
std::unique_ptr< weld::Containerm_xContainer
 
std::unique_ptr< weld::Buttonm_xOKBtn
 
std::unique_ptr< weld::Buttonm_xHelpBtn
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Private Attributes

std::unique_ptr< SfxItemSetm_xOutputSet
 
const SfxItemSetm_pInputSet
 

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 100 of file basedlgs.hxx.

Constructor & Destructor Documentation

◆ SfxSingleTabDialogController() [1/2]

SfxSingleTabDialogController::SfxSingleTabDialogController ( weld::Widget pParent,
const SfxItemSet pOptionsSet,
const OUString &  rUIXMLDescription = OUString("sfx/ui/singletabdialog.ui"),
const OUString &  rID = OUString("SingleTabDialog") 
)

Definition at line 225 of file basedlgs.cxx.

References LINK, m_xContainer, m_xDialog, and m_xOKBtn.

◆ SfxSingleTabDialogController() [2/2]

SfxSingleTabDialogController::SfxSingleTabDialogController ( weld::Widget pParent,
const SfxItemSet pOptionsSet,
const OUString &  rContainerId,
const OUString &  rUIXMLDescription,
const OUString &  rID 
)

Definition at line 236 of file basedlgs.cxx.

References LINK, m_xContainer, and m_xOKBtn.

◆ ~SfxSingleTabDialogController()

SfxSingleTabDialogController::~SfxSingleTabDialogController ( )
overridevirtual

Definition at line 247 of file basedlgs.cxx.

Member Function Documentation

◆ CreateOutputItemSet()

void SfxSingleTabDialogController::CreateOutputItemSet ( const SfxItemSet rInput)
protected

Definition at line 332 of file basedlgs.cxx.

References m_xOutputSet, and rSet.

◆ DECL_DLLPRIVATE_LINK()

SfxSingleTabDialogController::DECL_DLLPRIVATE_LINK ( OKHdl_Impl  ,
weld::Button ,
void   
)
protected

◆ get_content_area()

weld::Container * SfxSingleTabDialogController::get_content_area ( )
inline

Definition at line 115 of file basedlgs.hxx.

References m_xContainer.

◆ GetExampleSet()

virtual const SfxItemSet * SfxSingleTabDialogController::GetExampleSet ( ) const
inlineoverridevirtual

Implements SfxOkDialogController.

Definition at line 123 of file basedlgs.hxx.

◆ GetInputItemSet()

const SfxItemSet * SfxSingleTabDialogController::GetInputItemSet ( ) const
inline

Definition at line 126 of file basedlgs.hxx.

Referenced by SetTabPage().

◆ GetOKButton()

virtual weld::Button & SfxSingleTabDialogController::GetOKButton ( ) const
inlineoverridevirtual

Implements SfxOkDialogController.

Definition at line 122 of file basedlgs.hxx.

◆ GetOutputItemSet()

const SfxItemSet * SfxSingleTabDialogController::GetOutputItemSet ( ) const
inline

Definition at line 125 of file basedlgs.hxx.

◆ GetTabPage()

SfxTabPage * SfxSingleTabDialogController::GetTabPage ( ) const
inline

Definition at line 120 of file basedlgs.hxx.

◆ SetInputSet()

void SfxSingleTabDialogController::SetInputSet ( const SfxItemSet pInSet)
inlineprotected

Definition at line 135 of file basedlgs.hxx.

◆ SetTabPage()

void SfxSingleTabDialogController::SetTabPage ( std::unique_ptr< SfxTabPage xTabPage)

Member Data Documentation

◆ m_pInputSet

const SfxItemSet* SfxSingleTabDialogController::m_pInputSet
private

Definition at line 104 of file basedlgs.hxx.

◆ m_xContainer

std::unique_ptr<weld::Container> SfxSingleTabDialogController::m_xContainer
protected

Definition at line 130 of file basedlgs.hxx.

◆ m_xHelpBtn

std::unique_ptr<weld::Button> SfxSingleTabDialogController::m_xHelpBtn
protected

Definition at line 132 of file basedlgs.hxx.

Referenced by SetTabPage().

◆ m_xOKBtn

std::unique_ptr<weld::Button> SfxSingleTabDialogController::m_xOKBtn
protected

Definition at line 131 of file basedlgs.hxx.

Referenced by SfxSingleTabDialogController().

◆ m_xOutputSet

std::unique_ptr<SfxItemSet> SfxSingleTabDialogController::m_xOutputSet
private

Definition at line 103 of file basedlgs.hxx.

Referenced by CreateOutputItemSet().

◆ m_xSfxPage

std::unique_ptr<SfxTabPage> SfxSingleTabDialogController::m_xSfxPage
protected

Definition at line 129 of file basedlgs.hxx.

Referenced by SetTabPage().


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