ea42ef78b8
* Corrected focus for form line edit widgets. * Consistent slash usage for folder browse edit widgets. Signed-off-by: Benjamin Jillich <jillich@amazon.com>
30 lines
811 B
C++
30 lines
811 B
C++
/*
|
|
* 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
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#if !defined(Q_MOC_RUN)
|
|
#include <FormLineEditWidget.h>
|
|
#endif
|
|
|
|
namespace O3DE::ProjectManager
|
|
{
|
|
class FormBrowseEditWidget
|
|
: public FormLineEditWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit FormBrowseEditWidget(const QString& labelText, const QString& valueText = "", QWidget* parent = nullptr);
|
|
explicit FormBrowseEditWidget(const QString& labelText = "", QWidget* parent = nullptr);
|
|
~FormBrowseEditWidget() = default;
|
|
|
|
protected slots:
|
|
virtual void HandleBrowseButton() = 0;
|
|
};
|
|
} // namespace O3DE::ProjectManager
|