-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: botoes de sorteio em atividade, grupo e aluno removidos
- Loading branch information
1 parent
45a6423
commit 303b777
Showing
7 changed files
with
18 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
class Actions(object): | ||
"""Actions de Aluno no contexto do Controller.""" | ||
|
||
from src.utils.tipo import Tipo | ||
|
||
def __init__(self): | ||
pass | ||
|
||
def sortear(self, evt): | ||
self.view.ocultar_container_ativo() | ||
self.view.mostrar_container('home') | ||
class Actions(object): | ||
"""Controla os eventos relacionados a View da camada Aluno.""" | ||
|
||
self.cadastrar_tarefa(evt=None) | ||
def __init__(self) -> None: | ||
""".""" | ||
pass | ||
|
||
def arquivo(self, evt) -> None: | ||
def arquivo(self, evt: Tipo.evento_tk()) -> None: | ||
"""Evento click do botao para carregar arquivo csv.""" | ||
pass | ||
|
||
def configurar(self): | ||
actions = self.view.aluno.actions.subelemento | ||
|
||
actions.arquivo.evento['<Button-1>'] = self.arquivo | ||
actions.sortear.evento['<Button-1>'] = self.sortear | ||
def configurar(self) -> None: | ||
"""Configura os elementos.""" | ||
self.view.aluno.actions.subelemento.arquivo.evento['<Button-1>'] =\ | ||
self.arquivo | ||
|
||
self.view.aluno.actions.carregar_eventos() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters