Fix minor issues with resize layout

This commit is contained in:
GriffinR
2025-05-16 12:12:41 -04:00
parent 760b6119d0
commit deaf067c50
5 changed files with 56 additions and 49 deletions

View File

@@ -9,11 +9,13 @@
#include <QDialogButtonBox>
class ResizableRect;
class Editor;
namespace Ui {
class ResizeLayoutPopup;
}
class Layout;
class Project;
/// Custom scene that paints its background a gray checkered pattern.
@@ -68,7 +70,7 @@ class ResizeLayoutPopup : public QDialog
Q_OBJECT
public:
ResizeLayoutPopup(QWidget *parent, Editor *editor);
ResizeLayoutPopup(QWidget *parent, Layout *layout, Project *project);
~ResizeLayoutPopup();
void setupLayoutView();
@@ -96,7 +98,8 @@ private slots:
private:
QWidget *parent = nullptr;
Editor *editor = nullptr;
QPointer<Layout> layout = nullptr;
QPointer<Project> project = nullptr;
Ui::ResizeLayoutPopup *ui;