Launch editor from Project Manager
This commit is contained in:
@@ -32,11 +32,18 @@ namespace O3DE::ProjectManager
|
||||
explicit LabelButton(QWidget* parent = nullptr);
|
||||
~LabelButton() = default;
|
||||
|
||||
void SetEnabled(bool enabled);
|
||||
void SetOverlayText(const QString& text);
|
||||
|
||||
signals:
|
||||
void triggered();
|
||||
|
||||
public slots:
|
||||
void mousePressEvent(QMouseEvent* event) override;
|
||||
|
||||
private:
|
||||
QLabel* m_overlayLabel;
|
||||
bool m_enabled = true;
|
||||
};
|
||||
|
||||
class ProjectButton
|
||||
@@ -49,6 +56,9 @@ namespace O3DE::ProjectManager
|
||||
explicit ProjectButton(const QString& projectName, const QString& projectImage, QWidget* parent = nullptr);
|
||||
~ProjectButton() = default;
|
||||
|
||||
void SetButtonEnabled(bool enabled);
|
||||
void SetButtonOverlayText(const QString& text);
|
||||
|
||||
signals:
|
||||
void OpenProject(const QString& projectName);
|
||||
void EditProject(const QString& projectName);
|
||||
|
||||
Reference in New Issue
Block a user