LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwSaveLabelDlg Class Reference

#include <labfmt.hxx>

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

Public Member Functions

 SwSaveLabelDlg (SwLabDlg *pParent, SwLabRec &rRec)
 
virtual ~SwSaveLabelDlg () override
 
void SetLabel (const OUString &rMake, const OUString &rType)
 
bool GetLabel (SwLabItem &rItem)
 
- 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 (OkHdl, weld::Button &, void)
 
 DECL_LINK (ModifyEntryHdl, weld::Entry &, void)
 
 DECL_LINK (ModifyComboHdl, weld::ComboBox &, void)
 
void Modify ()
 

Private Attributes

bool m_bSuccess
 
SwLabDlgm_pLabDialog
 
SwLabRecm_rLabRec
 
std::unique_ptr< weld::ComboBoxm_xMakeCB
 
std::unique_ptr< weld::Entrym_xTypeED
 
std::unique_ptr< weld::Buttonm_xOKPB
 

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 112 of file labfmt.hxx.

Constructor & Destructor Documentation

◆ SwSaveLabelDlg()

SwSaveLabelDlg::SwSaveLabelDlg ( SwLabDlg pParent,
SwLabRec rRec 
)

◆ ~SwSaveLabelDlg()

SwSaveLabelDlg::~SwSaveLabelDlg ( )
overridevirtual

Definition at line 538 of file labfmt.cxx.

Member Function Documentation

◆ DECL_LINK() [1/3]

SwSaveLabelDlg::DECL_LINK ( ModifyComboHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [2/3]

SwSaveLabelDlg::DECL_LINK ( ModifyEntryHdl  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [3/3]

SwSaveLabelDlg::DECL_LINK ( OkHdl  ,
weld::Button ,
void   
)
private

◆ GetLabel()

bool SwSaveLabelDlg::GetLabel ( SwLabItem rItem)

◆ Modify()

void SwSaveLabelDlg::Modify ( )
private

Definition at line 574 of file labfmt.cxx.

References m_xMakeCB, m_xOKPB, and m_xTypeED.

◆ SetLabel()

void SwSaveLabelDlg::SetLabel ( const OUString &  rMake,
const OUString &  rType 
)
inline

Definition at line 132 of file labfmt.hxx.

References m_xMakeCB, and m_xTypeED.

Referenced by IMPL_LINK_NOARG().

Member Data Documentation

◆ m_bSuccess

bool SwSaveLabelDlg::m_bSuccess
private

Definition at line 114 of file labfmt.hxx.

Referenced by GetLabel().

◆ m_pLabDialog

SwLabDlg* SwSaveLabelDlg::m_pLabDialog
private

Definition at line 115 of file labfmt.hxx.

Referenced by SwSaveLabelDlg().

◆ m_rLabRec

SwLabRec& SwSaveLabelDlg::m_rLabRec
private

Definition at line 116 of file labfmt.hxx.

Referenced by GetLabel().

◆ m_xMakeCB

std::unique_ptr<weld::ComboBox> SwSaveLabelDlg::m_xMakeCB
private

Definition at line 118 of file labfmt.hxx.

Referenced by GetLabel(), Modify(), SetLabel(), and SwSaveLabelDlg().

◆ m_xOKPB

std::unique_ptr<weld::Button> SwSaveLabelDlg::m_xOKPB
private

Definition at line 120 of file labfmt.hxx.

Referenced by Modify(), and SwSaveLabelDlg().

◆ m_xTypeED

std::unique_ptr<weld::Entry> SwSaveLabelDlg::m_xTypeED
private

Definition at line 119 of file labfmt.hxx.

Referenced by GetLabel(), Modify(), SetLabel(), and SwSaveLabelDlg().


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