Should have been included in 5b17ddccb5

This commit is contained in:
Nav
2023-04-25 20:26:52 +01:00
parent feb072783f
commit fbe3e5b545
2 changed files with 3 additions and 3 deletions

View File

@@ -75,7 +75,7 @@ namespace Bloom::Widgets
this->detailsContainer = this->container->findChild<QWidget*>("details-container"); this->detailsContainer = this->container->findChild<QWidget*>("details-container");
this->nameInput = this->detailsContainer->findChild<TextInput*>("name-input"); this->nameInput = this->detailsContainer->findChild<TextInput*>("name-input");
this->descriptionInput = this->detailsContainer->findChild<QPlainTextEdit*>("description-input"); this->descriptionInput = this->detailsContainer->findChild<PlainTextEdit*>("description-input");
auto* detailsContainerLayout = this->detailsContainer->findChild<QHBoxLayout*>(); auto* detailsContainerLayout = this->detailsContainer->findChild<QHBoxLayout*>();
detailsContainerLayout->setContentsMargins(0, 0, 0, 0); detailsContainerLayout->setContentsMargins(0, 0, 0, 0);

View File

@@ -4,10 +4,10 @@
#include <QShowEvent> #include <QShowEvent>
#include <QResizeEvent> #include <QResizeEvent>
#include <QHBoxLayout> #include <QHBoxLayout>
#include <QPlainTextEdit>
#include <optional> #include <optional>
#include "src/Insight/UserInterfaces/InsightWindow/Widgets/TextInput.hpp" #include "src/Insight/UserInterfaces/InsightWindow/Widgets/TextInput.hpp"
#include "src/Insight/UserInterfaces/InsightWindow/Widgets/PlainTextEdit.hpp"
#include "src/Insight/UserInterfaces/InsightWindow/Widgets/PushButton.hpp" #include "src/Insight/UserInterfaces/InsightWindow/Widgets/PushButton.hpp"
#include "src/Insight/UserInterfaces/InsightWindow/Widgets/ListView/ListView.hpp" #include "src/Insight/UserInterfaces/InsightWindow/Widgets/ListView/ListView.hpp"
#include "src/Insight/UserInterfaces/InsightWindow/Widgets/TaskProgressIndicator/TaskProgressIndicator.hpp" #include "src/Insight/UserInterfaces/InsightWindow/Widgets/TaskProgressIndicator/TaskProgressIndicator.hpp"
@@ -44,7 +44,7 @@ namespace Bloom::Widgets
QWidget* detailsContainer = nullptr; QWidget* detailsContainer = nullptr;
TextInput* nameInput = nullptr; TextInput* nameInput = nullptr;
QPlainTextEdit* descriptionInput = nullptr; PlainTextEdit* descriptionInput = nullptr;
ListView* memoryRegionListView = nullptr; ListView* memoryRegionListView = nullptr;
ListScene* memoryRegionListScene = nullptr; ListScene* memoryRegionListScene = nullptr;