Calculadora: Info (QLabel), TYPE_CHECKING, getter e setter e Circular Imports
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user