mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Set text color for QLineEdit
This commit is contained in:
parent
3d77438878
commit
9de94061ec
2 changed files with 6 additions and 0 deletions
|
@ -65,12 +65,14 @@ LoginPage::LoginPage(QSharedPointer<MatrixClient> client, QWidget *parent)
|
||||||
form_wrapper_->addStretch(1);
|
form_wrapper_->addStretch(1);
|
||||||
|
|
||||||
matrixid_input_ = new TextField();
|
matrixid_input_ = new TextField();
|
||||||
|
matrixid_input_->setTextColor("#333333");
|
||||||
matrixid_input_->setLabel("Matrix ID");
|
matrixid_input_->setLabel("Matrix ID");
|
||||||
matrixid_input_->setInkColor("#555459");
|
matrixid_input_->setInkColor("#555459");
|
||||||
matrixid_input_->setBackgroundColor("#f9f9f9");
|
matrixid_input_->setBackgroundColor("#f9f9f9");
|
||||||
matrixid_input_->setPlaceholderText("e.g @joe:matrix.org");
|
matrixid_input_->setPlaceholderText("e.g @joe:matrix.org");
|
||||||
|
|
||||||
password_input_ = new TextField();
|
password_input_ = new TextField();
|
||||||
|
password_input_->setTextColor("#333333");
|
||||||
password_input_->setLabel("Password");
|
password_input_->setLabel("Password");
|
||||||
password_input_->setInkColor("#555459");
|
password_input_->setInkColor("#555459");
|
||||||
password_input_->setBackgroundColor("#f9f9f9");
|
password_input_->setBackgroundColor("#f9f9f9");
|
||||||
|
|
|
@ -66,23 +66,27 @@ RegisterPage::RegisterPage(QSharedPointer<MatrixClient> client, QWidget *parent)
|
||||||
form_wrapper_->addStretch(1);
|
form_wrapper_->addStretch(1);
|
||||||
|
|
||||||
username_input_ = new TextField();
|
username_input_ = new TextField();
|
||||||
|
username_input_->setTextColor("#333333");
|
||||||
username_input_->setLabel("Username");
|
username_input_->setLabel("Username");
|
||||||
username_input_->setInkColor("#555459");
|
username_input_->setInkColor("#555459");
|
||||||
username_input_->setBackgroundColor("#f9f9f9");
|
username_input_->setBackgroundColor("#f9f9f9");
|
||||||
|
|
||||||
password_input_ = new TextField();
|
password_input_ = new TextField();
|
||||||
|
password_input_->setTextColor("#333333");
|
||||||
password_input_->setLabel("Password");
|
password_input_->setLabel("Password");
|
||||||
password_input_->setInkColor("#555459");
|
password_input_->setInkColor("#555459");
|
||||||
password_input_->setBackgroundColor("#f9f9f9");
|
password_input_->setBackgroundColor("#f9f9f9");
|
||||||
password_input_->setEchoMode(QLineEdit::Password);
|
password_input_->setEchoMode(QLineEdit::Password);
|
||||||
|
|
||||||
password_confirmation_ = new TextField();
|
password_confirmation_ = new TextField();
|
||||||
|
password_confirmation_->setTextColor("#333333");
|
||||||
password_confirmation_->setLabel("Password confirmation");
|
password_confirmation_->setLabel("Password confirmation");
|
||||||
password_confirmation_->setInkColor("#555459");
|
password_confirmation_->setInkColor("#555459");
|
||||||
password_confirmation_->setBackgroundColor("#f9f9f9");
|
password_confirmation_->setBackgroundColor("#f9f9f9");
|
||||||
password_confirmation_->setEchoMode(QLineEdit::Password);
|
password_confirmation_->setEchoMode(QLineEdit::Password);
|
||||||
|
|
||||||
server_input_ = new TextField();
|
server_input_ = new TextField();
|
||||||
|
server_input_->setTextColor("#333333");
|
||||||
server_input_->setLabel("Home Server");
|
server_input_->setLabel("Home Server");
|
||||||
server_input_->setInkColor("#555459");
|
server_input_->setInkColor("#555459");
|
||||||
server_input_->setBackgroundColor("#f9f9f9");
|
server_input_->setBackgroundColor("#f9f9f9");
|
||||||
|
|
Loading…
Reference in a new issue