LibreOffice Module sd (master) 1
|
#include <custsdlg.hxx>
Public Member Functions | |
SdCustomShowDlg (weld::Window *pWindow, SdDrawDocument &rDrawDoc) | |
virtual | ~SdCustomShowDlg () override |
bool | IsCustomShow () const |
![]() | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
![]() | |
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 | |
void | CheckState () |
DECL_LINK (ClickButtonHdl, weld::Button &, void) | |
DECL_LINK (SelectListBoxHdl, weld::TreeView &, void) | |
DECL_LINK (StartShowHdl, weld::Button &, void) | |
void | SelectHdl (void const *) |
Private Attributes | |
SdDrawDocument & | rDoc |
SdCustomShowList * | pCustomShowList |
std::unique_ptr< weld::TreeView > | m_xLbCustomShows |
std::unique_ptr< weld::Button > | m_xBtnNew |
std::unique_ptr< weld::Button > | m_xBtnEdit |
std::unique_ptr< weld::Button > | m_xBtnRemove |
std::unique_ptr< weld::Button > | m_xBtnCopy |
std::unique_ptr< weld::Button > | m_xBtnStartShow |
Additional Inherited Members | |
![]() | |
static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
![]() | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 29 of file custsdlg.hxx.
SdCustomShowDlg::SdCustomShowDlg | ( | weld::Window * | pWindow, |
SdDrawDocument & | rDrawDoc | ||
) |
Definition at line 35 of file custsdlg.cxx.
References CheckState(), SdCustomShowList::First(), SdCustomShowList::GetCurPos(), SdDrawDocument::GetCustomShowList(), LINK, m_xBtnCopy, m_xBtnEdit, m_xBtnNew, m_xBtnRemove, m_xBtnStartShow, m_xLbCustomShows, SdCustomShowList::Next(), pCustomShowList, rDoc, and SdCustomShowList::Seek().
|
overridevirtual |
Definition at line 77 of file custsdlg.cxx.
|
private |
Definition at line 81 of file custsdlg.cxx.
References m_xBtnCopy, m_xBtnEdit, m_xBtnRemove, m_xBtnStartShow, m_xLbCustomShows, nPos, pCustomShowList, and SdCustomShowList::Seek().
Referenced by SdCustomShowDlg(), and SelectHdl().
|
private |
|
private |
|
private |
bool SdCustomShowDlg::IsCustomShow | ( | ) | const |
Definition at line 232 of file custsdlg.cxx.
References SdCustomShowList::empty(), and pCustomShowList.
|
private |
Definition at line 105 of file custsdlg.cxx.
References aStr, SdCustomShowList::begin(), CheckState(), DBG_ASSERT, SdCustomShowList::erase(), SdCustomShowList::First(), SdDrawDocument::GetCharClass(), SdDrawDocument::GetCustomShowList(), SdCustomShow::GetName(), SdCustomShowList::Last(), m_xBtnCopy, m_xBtnEdit, m_xBtnNew, m_xBtnRemove, weld::GenericDialogController::m_xDialog, m_xLbCustomShows, SdCustomShowList::Next(), nPos, p, pCustomShowList, SdCustomShowList::push_back(), rDoc, RET_OK, weld::DialogController::run(), SdResId(), SdCustomShowList::Seek(), and u.
|
private |
Definition at line 39 of file custsdlg.hxx.
Referenced by CheckState(), SdCustomShowDlg(), and SelectHdl().
|
private |
Definition at line 37 of file custsdlg.hxx.
Referenced by CheckState(), SdCustomShowDlg(), and SelectHdl().
|
private |
Definition at line 36 of file custsdlg.hxx.
Referenced by SdCustomShowDlg(), and SelectHdl().
|
private |
Definition at line 38 of file custsdlg.hxx.
Referenced by CheckState(), SdCustomShowDlg(), and SelectHdl().
|
private |
Definition at line 40 of file custsdlg.hxx.
Referenced by CheckState(), and SdCustomShowDlg().
|
private |
Definition at line 35 of file custsdlg.hxx.
Referenced by CheckState(), SdCustomShowDlg(), and SelectHdl().
|
private |
Definition at line 33 of file custsdlg.hxx.
Referenced by CheckState(), IsCustomShow(), SdCustomShowDlg(), and SelectHdl().
|
private |
Definition at line 32 of file custsdlg.hxx.
Referenced by SdCustomShowDlg(), and SelectHdl().