#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Widgets/HyperLink.hpp>
|
| | HyperLink (wxWindow *parent, const wxString &label=wxEmptyString, const wxString &url=wxEmptyString, const long style=0) |
| void | SetURL (const wxString &url) |
| wxString | GetURL () const |
| bool | SetFont (const wxFont &font) |
◆ HyperLink()
| Slic3r::GUI::HyperLink::HyperLink |
( |
wxWindow * | parent, |
|
|
const wxString & | label = wxEmptyString, |
|
|
const wxString & | url = wxEmptyString, |
|
|
const long | style = 0 ) |
19{
22 SetCursor(wxCursor(wxCURSOR_HAND));
23
26
29 wxLaunchDefaultBrowser(
m_url);
30 }));
31
34 Refresh();
35 }));
38 Refresh();
39 }));
40}
class WXDLLIMPEXP_FWD_CORE wxStaticText
Definition ProgressDialog.hpp:30
static wxFont Head_14
Definition Label.hpp:45
wxString m_url
Definition HyperLink.hpp:22
wxColour m_normalColor
Definition HyperLink.hpp:23
bool SetFont(const wxFont &font)
Definition HyperLink.cpp:42
wxColour m_hoverColor
Definition HyperLink.hpp:24
wxMouseEvent
Definition CameraPopup.cpp:47
References Label::Head_14, m_hoverColor, m_normalColor, m_url, SetFont(), style, Slic3r::GUI::wxMouseEvent, and wxStaticText.
◆ GetURL()
| wxString Slic3r::GUI::HyperLink::GetURL |
( |
| ) |
const |
◆ SetFont()
| bool Slic3r::GUI::HyperLink::SetFont |
( |
const wxFont & | font | ) |
|
◆ SetURL()
| void Slic3r::GUI::HyperLink::SetURL |
( |
const wxString & | url | ) |
|
◆ m_hoverColor
| wxColour Slic3r::GUI::HyperLink::m_hoverColor |
|
private |
◆ m_normalColor
| wxColour Slic3r::GUI::HyperLink::m_normalColor |
|
private |
◆ m_url
| wxString Slic3r::GUI::HyperLink::m_url |
|
private |
The documentation for this class was generated from the following files:
- /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Widgets/HyperLink.hpp
- /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Widgets/HyperLink.cpp