5#include <Kanoop/gui/libkanoopgui.h>
13class LIBKANOOPGUI_EXPORT
LineEdit :
public QLineEdit
28 explicit LineEdit(
const QString& text, QWidget *parent =
nullptr);
QLineEdit subclass with foreground and background color helpers.
LineEdit(const QString &text, QWidget *parent=nullptr)
Construct with initial text.
void setForegroundColor(const QColor &color)
Set the foreground (text) color via a stylesheet.
LineEdit(QWidget *parent=nullptr)
Construct with an optional parent.
void setBackgroundColor(const QColor &color)
Set the background color via a stylesheet.