#!/usr/bin/env python
from PyQt5.QtWidgets import QApplication, QLabel, QLineEdit, QPushButton, QWidget, QBoxLayout, QMessageBox

app = QApplication([])
window = QWidget()
layout = QBoxLayout(QBoxLayout.Direction.TopToBottom)

settings_button = QPushButton("Settings")
def on_settings_button_clicked():
  alert = QMessageBox()
  alert.setText("Unimplemented")
  alert.exec_()
settings_button.clicked.connect(on_settings_button_clicked)
layout.addWidget(settings_button)

line_display = QLabel("TYPING LINE GOES HERE")
layout.addWidget(line_display)

typing_line = QLineEdit()
layout.addWidget(typing_line)

typing_speed = QLabel("Typing Speed: ??? Characters per minute")
layout.addWidget(typing_speed)

typing_proficiency = QLabel("Proficiency: 0")
layout.addWidget(typing_proficiency)

window.setLayout(layout)
window.show()

app.exec_()

#!/usr/bin/env python
from PyQt5.QtWidgets import QApplication, QLabel, QLineEdit, QPushButton, QWidget, QBoxLayout, QMessageBox

app = QApplication([])
window = QWidget()
layout = QBoxLayout(QBoxLayout.Direction.TopToBottom)

settings_button = QPushButton("Settings")
def on_settings_button_clicked():
  alert = QMessageBox()
  alert.setText("Unimplemented")
  alert.exec_()
settings_button.clicked.connect(on_settings_button_clicked)
layout.addWidget(settings_button)

line_display = QLabel("TYPING LINE GOES HERE")
layout.addWidget(line_display)

typing_line = QLineEdit()
layout.addWidget(typing_line)

typing_speed = QLabel("Typing Speed: ??? Characters per minute")
layout.addWidget(typing_speed)

typing_proficiency = QLabel("Proficiency: 0")
layout.addWidget(typing_proficiency)

window.setLayout(layout)
window.show()

app.exec_()

#!/usr/bin/env python