Added some comments and some minor fixes

Signed-off-by: srikappa-amzn <srikappa@amazon.com>
This commit is contained in:
srikappa-amzn
2021-08-24 19:21:06 -07:00
parent 1ca67cad80
commit a13fb3c13a
8 changed files with 175 additions and 4 deletions
+29
View File
@@ -0,0 +1,29 @@
/*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include <AzCore/PlatformDef.h>
#include "SaveAllPrefabsDialog.h"
#include <AzQtComponents/Components/Widgets/CheckBox.h>
AZ_PUSH_DISABLE_DLL_EXPORT_MEMBER_WARNING
#include <ui_SaveAllPrefabsDialog.h>
AZ_POP_DISABLE_DLL_EXPORT_MEMBER_WARNING
SaveAllPrefabsDialog::SaveAllPrefabsDialog(QWidget* parent)
: QDialog(parent)
, ui(new Ui::SaveAllPrefabsDialog)
{
ui->setupUi(this);
AzQtComponents::CheckBox::applyToggleSwitchStyle(ui->saveAllPrefabsCheckBox);
AzQtComponents::CheckBox::applyToggleSwitchStyle(ui->rememberPrefabSavePreferenceCheckBox);
}
SaveAllPrefabsDialog::~SaveAllPrefabsDialog()
{
delete ui;
}