Navigation
API > API/Plugins > API/Plugins/ChangelistReview
Used to select a changelist and diff it's changes
| Name | SSourceControlReview |
| Type | class |
| Header File | /Engine/Plugins/Editor/ChangelistReview/Source/Public/SSourceControlReview.h |
| Include Path | #include "SSourceControlReview.h" |
Syntax
class SSourceControlReview : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SSourceControlReview
- FSlateControlledConstruction → SWidget → SCompoundWidget → SSourceControlReview
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~SSourceControlReview() |
SSourceControlReview.h |
Structs
| Name | Remarks |
|---|---|
| FArguments | |
| FChangelistInfo | Info about the current chagnelist. |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| EChangelistState | SourceControlReview::EChangelistState | SSourceControlReview.h | |
| ESourceControlAction | SourceControlReview::ESourceControlAction | SSourceControlReview.h | |
| FChangelistFileData | SourceControlReview::FChangelistFileData | SSourceControlReview.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bChangelistLoading | bool | Used for asynchronous changelist loading | SSourceControlReview.h | |
| bReviewCommentsDirty | bool | SSourceControlReview.h | ||
| bUncommittedChangelistNum | bool | SSourceControlReview.h | ||
| ChangelistEntriesWidget | TSharedPtr< SListView< TSharedPtr< FChangelistFileData > > > | SSourceControlReview.h | ||
| ChangelistFiles | TArray< TSharedPtr< FChangelistFileData > > | SSourceControlReview.h | ||
| ChangelistInfoWidget | TSharedPtr< SWidget > | SSourceControlReview.h | ||
| ChangelistNumComboBox | TSharedPtr< SComboBox< TSharedPtr< SourceControlReview::FChangelistLightInfo > > > | SSourceControlReview.h | ||
| ChangelistNumText | TSharedPtr< SEditableText > | SSourceControlReview.h | ||
| CLHistory | TArray< TSharedPtr< SourceControlReview::FChangelistLightInfo > > | SSourceControlReview.h | ||
| CommentsAPI | TSharedPtr< IReviewCommentAPI > | SSourceControlReview.h | ||
| CurrentChangelistInfo | SSourceControlReview::FChangelistInfo | SSourceControlReview.h | ||
| EnterChangelistTextBlock | TSharedPtr< STextBlock > | SSourceControlReview.h | ||
| FileReviewComments | TMap< FString, TArray< FReviewComment > > | Review comments mapped by the file they're attached to (keyed by both repository path and temp local path) | SSourceControlReview.h | |
| GetChangelistDetailsCommand | TSharedPtr< FGetChangelistDetails > | SSourceControlReview.h | ||
| GlobalReviewComments | TArray< FReviewComment > | Review comments that aren't attached to a specific file | SSourceControlReview.h | |
| LoadingProgressBar | TSharedPtr< SProgressBar > | SSourceControlReview.h | ||
| LoadingTextBlock | TSharedPtr< STextBlock > | SSourceControlReview.h | ||
| NumItemsLoaded | uint32 | SSourceControlReview.h | ||
| NumItemsToLoad | uint32 | SSourceControlReview.h | ||
| ReviewTopic | TOptional< FReviewTopic > | SSourceControlReview.h | ||
| TempLocalPathToDepotPath | TMap< FString, FString > | SSourceControlReview.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs |
Constructs the widget | SSourceControlReview.h | |
void EditComment
(
FReviewComment& Comment |
SSourceControlReview.h | ||
const TArray< FReviewComment > * GetReviewCommentsForFile
(
const FString& FilePath |
Returns an array of review comments that are | SSourceControlReview.h | |
FString GetReviewerUsername() |
SSourceControlReview.h | ||
bool IsFileInReview
(
const FString& File |
SSourceControlReview.h | ||
void LoadChangelist
(
const FString& Changelist |
Pulls up changelist record from source control | SSourceControlReview.h | |
bool OpenChangelist
(
const FString& Changelist |
Open changelist for review together with filling in the UI as if it was loaded for review by user. | SSourceControlReview.h | |
void PostComment
(
FReviewComment& Comment |
SSourceControlReview.h | ||
void UpdateReviewComments() |
SSourceControlReview.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FString AsAssetPath
(
const FString& FullCLPath |
Removes the game directory from the beginning of the FullCLPath | SSourceControlReview.h | |
static SHeaderRow::FColumn::FArguments HeaderColumn
(
FName HeaderName |
SSourceControlReview.h | ||
static void SetFileSourceControlAction
(
TSharedPtr< FChangelistFileData > ChangelistFileData, |
Sets the source control action type for the loaded file | SSourceControlReview.h |