Styling des "Passwort vergessen" Button.
This commit is contained in:
		| @@ -48,10 +48,9 @@ class MainWindow(QMainWindow): | ||||
|     layout.addWidget(self.login_button, 4, 2) | ||||
|  | ||||
| # Password vergessen | ||||
|     self.forgot_pw_label = QLabel() | ||||
|      | ||||
|     self.forgot_pw_label.setText('https://test.com/forgotpw') | ||||
|     layout.addWidget(self.forgot_pw_label,5,1) | ||||
|     self.forgot_pw_button = QPushButton('Passwort vergessen') | ||||
|     self.forgot_pw_button.setStyleSheet('QPushButton {background-color: #A3C1DA; color: blue;}')     | ||||
|     layout.addWidget(self.forgot_pw_button,5,2) | ||||
|     container = QWidget() | ||||
|     container.setLayout(layout) | ||||
|  | ||||
| @@ -64,6 +63,9 @@ class MainWindow(QMainWindow): | ||||
|   def handle_login_button(self): | ||||
|     print(f'Login mit {self.username_input.text()} and {self.password_input.text()}') | ||||
|  | ||||
|   def handle_forgot_pw_button(self): | ||||
|     print('Forgot PW') | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Olli Graf
					Olli Graf