6#include <Kanoop/utility/loggingbaseclass.h>
7#include <Kanoop/gui/libkanoopgui.h>
16class LIBKANOOPGUI_EXPORT
Frame :
public QFrame,
17 public LoggingBaseClass
21 Q_PROPERTY(QColor foregroundColor READ foregroundColor WRITE setForegroundColor)
23 Q_PROPERTY(QColor backgroundColor READ backgroundColor WRITE setBackgroundColor)
29 explicit
Frame(QWidget *parent =
nullptr);
35 QColor foregroundColor()
const {
return _foregroundColor; }
56 QColor _foregroundColor;
57 QColor _backgroundColor;
QFrame subclass with logging support and color Q_PROPERTYs.
void setForegroundColor(const QColor &color)
Set the foreground color and repaint.
QColor backgroundColor() const
Return the current background color.
void setBackgroundColor(const QColor &color)
Set the background color and repaint.