LibreOffice Module fpicker (master) 1
|
#include <breadcrumb.hxx>
Public Member Functions | |
Breadcrumb (weld::Container *pParent) | |
~Breadcrumb () | |
void | EnableFields (bool bEnable) |
void | connect_clicked (const Link< Breadcrumb *, bool > &rLink) |
const OUString & | GetHdlURL () const |
void | SetRootName (const OUString &rURL) |
void | SetURL (const OUString &rURL) |
void | SetMode (SvtBreadcrumbMode eMode) |
Private Member Functions | |
void | appendField () |
bool | showField (unsigned int nIndex, unsigned int nWidthMax) |
DECL_LINK (SizeAllocHdl, const Size &, void) | |
DECL_LINK (ClickLinkHdl, weld::LinkButton &, bool) | |
Private Attributes | |
weld::Container * | m_pParent |
int | m_nMaxWidth |
std::vector< std::unique_ptr< BreadcrumbPath > > | m_aSegments |
std::map< weld::LinkButton *, OUString > | m_aUris |
OUString | m_sRootName |
OUString | m_sClickedURL |
OUString | m_aCurrentURL |
SvtBreadcrumbMode | m_eMode |
Link< Breadcrumb *, bool > | m_aClickHdl |
Definition at line 33 of file breadcrumb.hxx.
Breadcrumb::Breadcrumb | ( | weld::Container * | pParent | ) |
Definition at line 14 of file breadcrumb.cxx.
References appendField(), weld::Widget::connect_size_allocate(), LINK, m_eMode, m_pParent, ONLY_CURRENT_PATH, and Width.
Breadcrumb::~Breadcrumb | ( | ) |
Definition at line 28 of file breadcrumb.cxx.
References weld::Widget::connect_size_allocate(), and m_pParent.
|
private |
Definition at line 199 of file breadcrumb.cxx.
References LINK, m_aSegments, m_pParent, and nIndex.
Referenced by Breadcrumb(), and SetURL().
void Breadcrumb::connect_clicked | ( | const Link< Breadcrumb *, bool > & | rLink | ) |
Definition at line 43 of file breadcrumb.cxx.
References m_aClickHdl.
|
private |
|
private |
void Breadcrumb::EnableFields | ( | bool | bEnable | ) |
Definition at line 33 of file breadcrumb.cxx.
References aURL, m_aCurrentURL, and m_aSegments.
const OUString & Breadcrumb::GetHdlURL | ( | ) | const |
Definition at line 48 of file breadcrumb.cxx.
References m_sClickedURL.
void Breadcrumb::SetMode | ( | SvtBreadcrumbMode | eMode | ) |
Definition at line 194 of file breadcrumb.cxx.
void Breadcrumb::SetRootName | ( | const OUString & | rURL | ) |
Definition at line 53 of file breadcrumb.cxx.
References i, m_aSegments, and m_sRootName.
void Breadcrumb::SetURL | ( | const OUString & | rURL | ) |
Definition at line 68 of file breadcrumb.cxx.
References ALL_VISITED, appendField(), aURL, i, INetURLObject::LAST_SEGMENT, m_aCurrentURL, m_aSegments, m_aUris, m_eMode, m_nMaxWidth, m_sRootName, m_xLink, nIndex, INetURLObject::NONE, ONLY_CURRENT_PATH, showField(), SPACING, and INetURLObject::WithCharset.
Definition at line 209 of file breadcrumb.cxx.
References m_aSegments, nIndex, and SPACING.
Referenced by SetURL().
|
private |
Definition at line 48 of file breadcrumb.hxx.
Referenced by connect_clicked().
|
private |
Definition at line 44 of file breadcrumb.hxx.
Referenced by EnableFields(), and SetURL().
|
private |
Definition at line 39 of file breadcrumb.hxx.
Referenced by appendField(), EnableFields(), SetRootName(), SetURL(), and showField().
|
private |
Definition at line 40 of file breadcrumb.hxx.
Referenced by SetURL().
|
private |
Definition at line 46 of file breadcrumb.hxx.
Referenced by Breadcrumb(), SetMode(), and SetURL().
|
private |
Definition at line 37 of file breadcrumb.hxx.
Referenced by SetURL().
|
private |
Definition at line 36 of file breadcrumb.hxx.
Referenced by appendField(), Breadcrumb(), and ~Breadcrumb().
|
private |
Definition at line 43 of file breadcrumb.hxx.
Referenced by GetHdlURL().
|
private |
Definition at line 42 of file breadcrumb.hxx.
Referenced by SetRootName(), and SetURL().