From 8c09f2b570c1238e770a6f3e2ebb1ba8a7417d8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luiz=20Ot=C3=A1vio?= Date: Mon, 27 Feb 2023 14:13:18 -0300 Subject: [PATCH] modifica nomes de snake_case para camelCase --- aula202-calculadora/main_window.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aula202-calculadora/main_window.py b/aula202-calculadora/main_window.py index 4cdd0a9..4d1e6e9 100644 --- a/aula202-calculadora/main_window.py +++ b/aula202-calculadora/main_window.py @@ -7,8 +7,8 @@ class MainWindow(QMainWindow): # Configurando o layout básico self.cw = QWidget() - self.v_layout = QVBoxLayout() - self.cw.setLayout(self.v_layout) + self.vLayout = QVBoxLayout() + self.cw.setLayout(self.vLayout) self.setCentralWidget(self.cw) # Título da janela @@ -20,4 +20,4 @@ class MainWindow(QMainWindow): self.setFixedSize(self.width(), self.height()) def addWidgetToVLayout(self, widget: QWidget): - self.v_layout.addWidget(widget) + self.vLayout.addWidget(widget)