LibreOffice Module sfx2 (master) 1
|
#include <inputdlg.hxx>
Public Member Functions | |
InputDialog (weld::Widget *pParent, const OUString &rLabelText) | |
OUString | GetEntryText () const |
void | SetEntryText (const OUString &rStr) |
void | HideHelpBtn () |
void | SetEntryMessageType (weld::EntryMessageType aType) |
void | SetTooltip (const OUString &rStr) |
void | setCheckEntry (std::function< bool(OUString)> aFunc) |
Public Member Functions inherited from weld::GenericDialogController | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
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 | |
DECL_DLLPRIVATE_LINK (EntryChangedHdl, weld::Entry &, void) | |
Private Attributes | |
std::unique_ptr< weld::Entry > | m_xEntry |
std::unique_ptr< weld::Label > | m_xLabel |
std::unique_ptr< weld::Button > | m_xHelp |
std::unique_ptr< weld::Button > | m_xOk |
std::function< bool(OUString)> | mCheckEntry |
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::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 16 of file inputdlg.hxx.
InputDialog::InputDialog | ( | weld::Widget * | pParent, |
const OUString & | rLabelText | ||
) |
Definition at line 12 of file inputdlg.cxx.
References m_xLabel.
|
private |
OUString InputDialog::GetEntryText | ( | ) | const |
Definition at line 24 of file inputdlg.cxx.
References m_xEntry.
Referenced by TemplateDlgLocalView::ContextMenuSelectHdl(), TemplateLocalView::ContextMenuSelectHdl(), SfxTemplateManagerDlg::OnCategoryNew(), and SfxTemplateManagerDlg::OnCategoryRename().
void InputDialog::HideHelpBtn | ( | ) |
Definition at line 22 of file inputdlg.cxx.
References m_xHelp.
Referenced by TemplateDlgLocalView::ContextMenuSelectHdl(), and TemplateLocalView::ContextMenuSelectHdl().
void InputDialog::setCheckEntry | ( | std::function< bool(OUString)> | aFunc | ) |
Definition at line 54 of file inputdlg.cxx.
References LINK, m_xEntry, and mCheckEntry.
Referenced by TemplateDlgLocalView::ContextMenuSelectHdl(), and TemplateLocalView::ContextMenuSelectHdl().
void InputDialog::SetEntryMessageType | ( | weld::EntryMessageType | aType | ) |
Definition at line 32 of file inputdlg.cxx.
References weld::Error, m_xEntry, m_xOk, and SetTooltip().
void InputDialog::SetEntryText | ( | const OUString & | rStr | ) |
Definition at line 26 of file inputdlg.cxx.
References m_xEntry.
Referenced by TemplateDlgLocalView::ContextMenuSelectHdl(), TemplateLocalView::ContextMenuSelectHdl(), and SfxTemplateManagerDlg::OnCategoryRename().
void InputDialog::SetTooltip | ( | const OUString & | rStr | ) |
Definition at line 48 of file inputdlg.cxx.
References m_xEntry, and m_xOk.
Referenced by SetEntryMessageType().
|
private |
Definition at line 19 of file inputdlg.hxx.
Referenced by GetEntryText(), setCheckEntry(), SetEntryMessageType(), SetEntryText(), and SetTooltip().
|
private |
Definition at line 21 of file inputdlg.hxx.
Referenced by HideHelpBtn().
|
private |
Definition at line 20 of file inputdlg.hxx.
Referenced by InputDialog().
|
private |
Definition at line 22 of file inputdlg.hxx.
Referenced by SetEntryMessageType(), and SetTooltip().
|
private |
Definition at line 23 of file inputdlg.hxx.
Referenced by setCheckEntry().