Removed context menu icons from QPlainTextEdit widget

This commit is contained in:
Nav
2023-04-25 19:50:40 +01:00
parent baacfdcef6
commit 5b17ddccb5
7 changed files with 58 additions and 4 deletions

View File

@@ -7,6 +7,7 @@
#include "Widgets/RotatableLabel.hpp"
#include "Widgets/LabeledSeparator.hpp"
#include "Widgets/TextInput.hpp"
#include "Widgets/PlainTextEdit.hpp"
#include "Widgets/PushButton.hpp"
#include "Widgets/SvgWidget.hpp"
#include "Widgets/SvgToolButton.hpp"
@@ -55,6 +56,15 @@ namespace Bloom
return widget;
}
},
{
"PlainTextEdit",
[this] (QWidget* parent, const QString& name) {
auto* widget = new PlainTextEdit(parent);
widget->setObjectName(name);
widget->setStyleSheet(parent->styleSheet());
return widget;
}
},
{
"PushButton",
[this] (QWidget* parent, const QString& name) {