Calculadora: Info (QLabel), TYPE_CHECKING, getter e setter e Circular Imports

This commit is contained in:
Luiz Otávio
2023-03-02 15:51:24 -03:00
parent dd20e4488e
commit 469ee2e3c5
2 changed files with 22 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ if __name__ == '__main__':
app.setWindowIcon(icon)
# Info
info = Info('2.0 ^ 10.0 = 1024')
info = Info('Sua conta')
window.addWidgetToVLayout(info)
# Display
@@ -29,7 +29,7 @@ if __name__ == '__main__':
window.addWidgetToVLayout(display)
# Grid
buttonsGrid = ButtonsGrid(display)
buttonsGrid = ButtonsGrid(display, info)
window.vLayout.addLayout(buttonsGrid)
# Executa tudo