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

#include <custsdlg.hxx>

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

Public Member Functions

 SdDefineCustomShowDlg (weld::Window *pWindow, SdDrawDocument &rDrawDoc, std::unique_ptr< SdCustomShow > &rpCS)
 
virtual ~SdDefineCustomShowDlg () override
 
- 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

void CheckState ()
 
void CheckCustomShow ()
 Checks the page pointer of the Show since entries can be moved and copied by TreeLB. More...
 
 DECL_LINK (ClickButtonHdl, weld::Button &, void)
 
 DECL_LINK (ClickButtonEditHdl, weld::Entry &, void)
 
 DECL_LINK (ClickButtonHdl3, weld::TreeView &, void)
 
 DECL_LINK (ClickButtonHdl4, weld::TreeView &, void)
 
 DECL_LINK (OKHdl, weld::Button &, void)
 
void ClickButtonHdl2 (void const *)
 

Private Attributes

SdDrawDocumentrDoc
 
std::unique_ptr< SdCustomShow > & rpCustomShow
 
bool bModified
 
OUString aOldName
 
std::unique_ptr< weld::Entrym_xEdtName
 
std::unique_ptr< weld::TreeViewm_xLbPages
 
std::unique_ptr< weld::Buttonm_xBtnAdd
 
std::unique_ptr< weld::Buttonm_xBtnRemove
 
std::unique_ptr< weld::TreeViewm_xLbCustomPages
 
std::unique_ptr< weld::ReorderingDropTargetm_xDropTargetHelper
 
std::unique_ptr< weld::Buttonm_xBtnOK
 

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 55 of file custsdlg.hxx.

Constructor & Destructor Documentation

◆ SdDefineCustomShowDlg()

SdDefineCustomShowDlg::SdDefineCustomShowDlg ( weld::Window pWindow,
SdDrawDocument rDrawDoc,
std::unique_ptr< SdCustomShow > &  rpCS 
)

◆ ~SdDefineCustomShowDlg()

SdDefineCustomShowDlg::~SdDefineCustomShowDlg ( )
overridevirtual

Definition at line 302 of file custsdlg.cxx.

Member Function Documentation

◆ CheckCustomShow()

void SdDefineCustomShowDlg::CheckCustomShow ( )
private

Checks the page pointer of the Show since entries can be moved and copied by TreeLB.

Definition at line 386 of file custsdlg.cxx.

References aStr, bModified, i, m_xEdtName, m_xLbCustomPages, nCount, and rpCustomShow.

◆ CheckState()

void SdDefineCustomShowDlg::CheckState ( )
private

Definition at line 307 of file custsdlg.cxx.

References m_xBtnAdd, m_xBtnOK, m_xBtnRemove, m_xLbCustomPages, and m_xLbPages.

Referenced by ClickButtonHdl2(), and SdDefineCustomShowDlg().

◆ ClickButtonHdl2()

void SdDefineCustomShowDlg::ClickButtonHdl2 ( void const *  p)
private

◆ DECL_LINK() [1/5]

SdDefineCustomShowDlg::DECL_LINK ( ClickButtonEditHdl  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [2/5]

SdDefineCustomShowDlg::DECL_LINK ( ClickButtonHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/5]

SdDefineCustomShowDlg::DECL_LINK ( ClickButtonHdl3  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [4/5]

SdDefineCustomShowDlg::DECL_LINK ( ClickButtonHdl4  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [5/5]

SdDefineCustomShowDlg::DECL_LINK ( OKHdl  ,
weld::Button ,
void   
)
private

Member Data Documentation

◆ aOldName

OUString SdDefineCustomShowDlg::aOldName
private

Definition at line 61 of file custsdlg.hxx.

Referenced by SdDefineCustomShowDlg().

◆ bModified

bool SdDefineCustomShowDlg::bModified
private

Definition at line 60 of file custsdlg.hxx.

Referenced by CheckCustomShow(), and ClickButtonHdl2().

◆ m_xBtnAdd

std::unique_ptr<weld::Button> SdDefineCustomShowDlg::m_xBtnAdd
private

Definition at line 65 of file custsdlg.hxx.

Referenced by CheckState(), ClickButtonHdl2(), and SdDefineCustomShowDlg().

◆ m_xBtnOK

std::unique_ptr<weld::Button> SdDefineCustomShowDlg::m_xBtnOK
private

Definition at line 69 of file custsdlg.hxx.

Referenced by CheckState(), and SdDefineCustomShowDlg().

◆ m_xBtnRemove

std::unique_ptr<weld::Button> SdDefineCustomShowDlg::m_xBtnRemove
private

Definition at line 66 of file custsdlg.hxx.

Referenced by CheckState(), ClickButtonHdl2(), and SdDefineCustomShowDlg().

◆ m_xDropTargetHelper

std::unique_ptr<weld::ReorderingDropTarget> SdDefineCustomShowDlg::m_xDropTargetHelper
private

Definition at line 68 of file custsdlg.hxx.

◆ m_xEdtName

std::unique_ptr<weld::Entry> SdDefineCustomShowDlg::m_xEdtName
private

Definition at line 63 of file custsdlg.hxx.

Referenced by CheckCustomShow(), ClickButtonHdl2(), and SdDefineCustomShowDlg().

◆ m_xLbCustomPages

std::unique_ptr<weld::TreeView> SdDefineCustomShowDlg::m_xLbCustomPages
private

Definition at line 67 of file custsdlg.hxx.

Referenced by CheckCustomShow(), CheckState(), ClickButtonHdl2(), and SdDefineCustomShowDlg().

◆ m_xLbPages

std::unique_ptr<weld::TreeView> SdDefineCustomShowDlg::m_xLbPages
private

Definition at line 64 of file custsdlg.hxx.

Referenced by CheckState(), ClickButtonHdl2(), and SdDefineCustomShowDlg().

◆ rDoc

SdDrawDocument& SdDefineCustomShowDlg::rDoc
private

Definition at line 58 of file custsdlg.hxx.

Referenced by ClickButtonHdl2(), and SdDefineCustomShowDlg().

◆ rpCustomShow

std::unique_ptr<SdCustomShow>& SdDefineCustomShowDlg::rpCustomShow
private

Definition at line 59 of file custsdlg.hxx.

Referenced by CheckCustomShow(), and SdDefineCustomShowDlg().


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