Connect line label to alert palette settings

- Line label will initialize to settings value
- Changes to the line label will stage settings
This commit is contained in:
Dan Paulat 2024-09-21 23:11:26 -05:00
parent 9f4a798d67
commit 8212d24d34
3 changed files with 96 additions and 10 deletions

View file

@ -1,5 +1,7 @@
#pragma once
#include <scwx/qt/settings/line_settings.hpp>
#include <QFrame>
#include <boost/gil/typedefs.hpp>
@ -36,6 +38,8 @@ public:
void set_highlight_width(std::size_t width);
void set_line_width(std::size_t width);
void set_line_settings(settings::LineSettings& lineSettings);
protected:
QSize minimumSizeHint() const override;
QSize sizeHint() const override;