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)