Interface for tool tips.
更多...
#include <IToolTip.h>
|
| virtual TSharedRef< class SWidget > | AsWidget ()=0 |
| | Gets the widget that this tool tip represents. 更多...
|
| |
| virtual TSharedRef< SWidget > | GetContentWidget ()=0 |
| | Gets the tool tip's content widget. 更多...
|
| |
| virtual bool | IsEmpty () const =0 |
| | Checks whether this tool tip has no content to display right now. 更多...
|
| |
| virtual bool | IsInteractive () const =0 |
| | Checks whether this tool tip can be made interactive by the user (by holding Ctrl). 更多...
|
| |
|
virtual void | OnClosed ()=0 |
| | Called when the tooltip widget is closed and the tooltip is no longer needed.
|
| |
|
virtual void | OnOpening ()=0 |
| | Called when the tooltip widget is about to be requested for opening.
|
| |
|
virtual void | ResetContentWidget () |
| | Resets the tooltip to its default without a content widget.
|
| |
| virtual void | SetContentWidget (const TSharedRef< SWidget > &InContentWidget)=0 |
| | Sets the tool tip's content widget. 更多...
|
| |
|
virtual | ~IToolTip () |
| | Virtual destructor.
|
| |
◆ AsWidget()
Gets the widget that this tool tip represents.
- 返回
- The tool tip widget.
在 SToolTip 内被实现.
◆ GetContentWidget()
Gets the tool tip's content widget.
- 返回
- The content widget.
在 SToolTip 内被实现.
◆ IsEmpty()
| virtual bool IToolTip::IsEmpty |
( |
| ) |
const |
|
pure virtual |
Checks whether this tool tip has no content to display right now.
- 返回
- true if the tool tip has no content to display, false otherwise.
在 SToolTip 内被实现.
◆ IsInteractive()
| virtual bool IToolTip::IsInteractive |
( |
| ) |
const |
|
pure virtual |
Checks whether this tool tip can be made interactive by the user (by holding Ctrl).
- 返回
- true if it is an interactive tool tip, false otherwise.
在 SToolTip 内被实现.
◆ SetContentWidget()
| virtual void IToolTip::SetContentWidget |
( |
const TSharedRef< SWidget > & |
InContentWidget | ) |
|
|
pure virtual |
Sets the tool tip's content widget.
- 参数
-
| InContentWidget | The new content widget to set. |
在 SToolTip 内被实现.
该类的文档由以下文件生成: