LibreOffice Module cui (master) 1
Public Member Functions | Protected Member Functions | List of all members
SvxHyperURLBox Class Reference

ComboBox-Control for URL's with History and Autocompletion. More...

#include <hltpbase.hxx>

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

Public Member Functions

 SvxHyperURLBox (std::unique_ptr< weld::ComboBox > xWidget)
 
- Public Member Functions inherited from SvtURLBox
 SvtURLBox (std::unique_ptr< weld::ComboBox > xWidget)
 
 ~SvtURLBox ()
 
void set_entry_text (const OUString &rStr)
 
void show ()
 
void clear ()
 
void connect_entry_activate (const Link< weld::ComboBox &, bool > &rLink)
 
void connect_key_press (const Link< const KeyEvent &, bool > &rLink)
 
void connect_changed (const Link< weld::ComboBox &, void > &rLink)
 
void trigger_changed ()
 
void connect_focus_in (const Link< weld::Widget &, void > &rLink)
 
void connect_focus_out (const Link< weld::Widget &, void > &rLink)
 
void append_text (const OUString &rStr)
 
int find_text (const OUString &rStr) const
 
OUString get_active_text () const
 
void grab_focus ()
 
void set_sensitive (bool bSensitive)
 
void set_help_id (const OUString &rHelpId)
 
void select_entry_region (int nStartPos, int nEndPos)
 
Size get_preferred_size () const
 
void EnableAutocomplete (bool bEnable=true)
 
void SetBaseURL (const OUString &rURL)
 
const OUString & GetBaseURL () const
 
void SetOnlyDirectories (bool bDir)
 
void SetNoURLSelection (bool bSet)
 
void SetSmartProtocol (INetProtocol eProt)
 
INetProtocol GetSmartProtocol () const
 
OUString GetURL ()
 
void DisableHistory ()
 
weld::ComboBoxgetWidget ()
 
void SetPlaceHolder (const OUString &sPlaceHolder)
 
const OUString & GetPlaceHolder () const
 
bool MatchesPlaceHolder (std::u16string_view sToMatch) const
 
void SetFilter (std::u16string_view _sFilter)
 

Protected Member Functions

virtual sal_Int8 AcceptDrop (const AcceptDropEvent &rEvt) override
 
virtual sal_Int8 ExecuteDrop (const ExecuteDropEvent &rEvt) override
 

Additional Inherited Members

- Static Public Member Functions inherited from SvtURLBox
static OUString ParseSmart (const OUString &aText, const OUString &aBaseURL)
 

Detailed Description

ComboBox-Control for URL's with History and Autocompletion.

Definition at line 35 of file hltpbase.hxx.

Constructor & Destructor Documentation

◆ SvxHyperURLBox()

SvxHyperURLBox::SvxHyperURLBox ( std::unique_ptr< weld::ComboBox xWidget)

Definition at line 76 of file hltpbase.cxx.

References SvtURLBox::SetSmartProtocol().

Member Function Documentation

◆ AcceptDrop()

sal_Int8 SvxHyperURLBox::AcceptDrop ( const AcceptDropEvent rEvt)
overrideprotectedvirtual

Definition at line 83 of file hltpbase.cxx.

References DND_ACTION_COPY, and DND_ACTION_NONE.

◆ ExecuteDrop()

sal_Int8 SvxHyperURLBox::ExecuteDrop ( const ExecuteDropEvent rEvt)
overrideprotectedvirtual

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