summary refs log tree commit diff
path: root/src/ui/TextField.h
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2020-02-22 14:43:17 +0100
committerGitHub <noreply@github.com>2020-02-22 14:43:17 +0100
commitfee00746c8ec0e172abe355a744b7a3575904e13 (patch)
treed5b2c81496df8b1a4beb1dc3d37037980af8dba4 /src/ui/TextField.h
parentMerge pull request #127 from adasauce/cleanup-dark-qss (diff)
parentremove setStyleSheet calls directly from widget code (diff)
downloadnheko-fee00746c8ec0e172abe355a744b7a3575904e13.tar.xz
Merge pull request #128 from adasauce/no-setstylesheet
remove setStyleSheet calls directly from widget code
Diffstat (limited to 'src/ui/TextField.h')
-rw-r--r--src/ui/TextField.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/ui/TextField.h b/src/ui/TextField.h

index 100fed31..85d5036d 100644 --- a/src/ui/TextField.h +++ b/src/ui/TextField.h
@@ -15,7 +15,6 @@ class TextField : public QLineEdit { Q_OBJECT - Q_PROPERTY(QColor textColor WRITE setTextColor READ textColor) Q_PROPERTY(QColor inkColor WRITE setInkColor READ inkColor) Q_PROPERTY(QColor labelColor WRITE setLabelColor READ labelColor) Q_PROPERTY(QColor underlineColor WRITE setUnderlineColor READ underlineColor) @@ -30,12 +29,10 @@ public: void setLabelColor(const QColor &color); void setLabelFontSize(qreal size); void setShowLabel(bool value); - void setTextColor(const QColor &color); void setUnderlineColor(const QColor &color); QColor inkColor() const; QColor labelColor() const; - QColor textColor() const; QColor underlineColor() const; QColor backgroundColor() const; QString label() const; @@ -52,7 +49,6 @@ private: QColor ink_color_; QColor background_color_; QColor label_color_; - QColor text_color_; QColor underline_color_; QString label_text_; TextFieldLabel *label_;