A tab widget that also holds on to some content that should be shown when this tab is selected. 更多...
#include <SDockableTab.h>
Public 成员函数 | |
| void | ActivateInParent (ETabActivationCause InActivationCause) |
| Make this tab active in its tabwell 更多... | |
| void | BringToFrontInParent () |
| Brings this tab to the front of its parent's tab well, if applicable. | |
| void | Construct (const FArguments &InArgs) |
| Construct the widget from the declaration. | |
| TSharedRef< SWidget > | GetContent () |
| TSharedPtr< SDockTabStack > | GetParentDockTabStack () const |
| Gets the dock tab stack this dockable tab resides within, if any | |
| bool | IsActive () const |
| bool | IsForeground () const |
| void | RemoveTabFromParent () |
| Pulls this tab out of it's parent tab stack and destroys it Note: This does not check if its safe to remove the tab. 更多... | |
| void | RequestCloseTab () |
| Requests that the tab be closed. 更多... | |
| void | SetOnTabStackMenuOpening (const FOnTabStackMenuOpening &InHandler) |
| Set delegate to invoke when tab stack menu is opening | |
| bool | ShouldAutosize () const |
| Should this tab be sized based on its content. | |
Protected 属性 | |
| bool | bShouldAutosize |
| Should this tab be auto-sized based on its content? | |
| const FSlateBrush * | ContentAreaBrush |
| The brush that the SDockTabStack should use to draw the content associated with this tab Documents, Apps, and Tool Panels have different backgrounds | |
| FName | LayoutIdentifier |
| The tab's layout identifier | |
| SDockTab::FCanCloseTab | OnCanCloseTab |
| Delegate to execute to determine if we can close this tab | |
| FOnTabClosedCallback | OnTabClosed |
| Callback to call when this tab is destroyed | |
| FOnTabStackMenuOpening | OnTabStackMenuOpeningHandler |
| Called when the the tab stack's context menu is open; gives the currently focused tab a change to add custom | |
| float | OverlapWidth |
| The width that this tab will overlap with side-by-side tabs. | |
| FLinearColor | TabColorScale |
| Color of this tab | |
| TAttribute< FString > | TabLabel |
| The label on the tab | |
| ETabRole | TabRole |
| Is this an MajorTab? A tool panel tab? | |
A tab widget that also holds on to some content that should be shown when this tab is selected.
Intended to be used in conjunction with SDockTabStack.
| void SDockableTab::ActivateInParent | ( | ETabActivationCause | InActivationCause | ) |
Make this tab active in its tabwell
| InActivationMethod | How this tab was activated. |
| TSharedRef< SWidget > SDockableTab::GetContent | ( | ) |
| bool SDockableTab::IsActive | ( | ) | const |
| bool SDockableTab::IsForeground | ( | ) | const |
| void SDockableTab::RemoveTabFromParent | ( | ) |
Pulls this tab out of it's parent tab stack and destroys it Note: This does not check if its safe to remove the tab.
Use RequestCloseTab to do this safely.
| void SDockableTab::RequestCloseTab | ( | ) |
Requests that the tab be closed.
Tabs may prevent closing depending on their state