Replaced QLabel with derived Label widget - for plain text formatting being configured as a default
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
// Custom widgets
|
||||
#include "Widgets/PanelWidget.hpp"
|
||||
#include "Widgets/Label.hpp"
|
||||
#include "Widgets/RotatableLabel.hpp"
|
||||
#include "Widgets/LabeledSeparator.hpp"
|
||||
#include "Widgets/TextInput.hpp"
|
||||
@@ -27,6 +28,15 @@ namespace Bloom
|
||||
return widget;
|
||||
}
|
||||
},
|
||||
{
|
||||
"Label",
|
||||
[this] (QWidget* parent, const QString& name) {
|
||||
auto* widget = new Label(parent);
|
||||
widget->setObjectName(name);
|
||||
widget->setStyleSheet(parent->styleSheet());
|
||||
return widget;
|
||||
}
|
||||
},
|
||||
{
|
||||
"RotatableLabel",
|
||||
[this] (QWidget* parent, const QString& name) {
|
||||
|
||||
Reference in New Issue
Block a user