LibreOffice Module sfx2 (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
InputDialog Class Referencefinal

#include <inputdlg.hxx>

Inheritance diagram for InputDialog:
Collaboration diagram for InputDialog:

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 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_DLLPRIVATE_LINK (EntryChangedHdl, weld::Entry &, void)

Private Attributes

std::unique_ptr< weld::Entrym_xEntry
std::unique_ptr< weld::Labelm_xLabel
std::unique_ptr< weld::Buttonm_xHelp
std::unique_ptr< weld::Buttonm_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::Builderm_xBuilder
std::shared_ptr< weld::Dialogm_xDialog

Detailed Description

Definition at line 16 of file inputdlg.hxx.

Constructor & Destructor Documentation

◆ InputDialog()

InputDialog::InputDialog ( weld::Widget pParent,
const OUString &  rLabelText 

Definition at line 12 of file inputdlg.cxx.

References m_xLabel.

Member Function Documentation


InputDialog::DECL_DLLPRIVATE_LINK ( EntryChangedHdl  ,
weld::Entry ,

◆ GetEntryText()

OUString InputDialog::GetEntryText ( ) const

◆ HideHelpBtn()

void InputDialog::HideHelpBtn ( )

◆ setCheckEntry()

void InputDialog::setCheckEntry ( std::function< bool(OUString)>  aFunc)

◆ SetEntryMessageType()

void InputDialog::SetEntryMessageType ( weld::EntryMessageType  aType)

Definition at line 32 of file inputdlg.cxx.

References weld::Error, m_xEntry, m_xOk, and SetTooltip().

◆ SetEntryText()

void InputDialog::SetEntryText ( const OUString &  rStr)

◆ SetTooltip()

void InputDialog::SetTooltip ( const OUString &  rStr)

Definition at line 48 of file inputdlg.cxx.

References m_xEntry, and m_xOk.

Referenced by SetEntryMessageType().

Member Data Documentation

◆ m_xEntry

std::unique_ptr<weld::Entry> InputDialog::m_xEntry

◆ m_xHelp

std::unique_ptr<weld::Button> InputDialog::m_xHelp

Definition at line 21 of file inputdlg.hxx.

Referenced by HideHelpBtn().

◆ m_xLabel

std::unique_ptr<weld::Label> InputDialog::m_xLabel

Definition at line 20 of file inputdlg.hxx.

Referenced by InputDialog().

◆ m_xOk

std::unique_ptr<weld::Button> InputDialog::m_xOk

Definition at line 22 of file inputdlg.hxx.

Referenced by SetEntryMessageType(), and SetTooltip().

◆ mCheckEntry

std::function<bool(OUString)> InputDialog::mCheckEntry

Definition at line 23 of file inputdlg.hxx.

Referenced by setCheckEntry().

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