Skip to content

Commit cd224ac

Browse files
Merge branch 'upstream'
2 parents 89a4c63 + e631546 commit cd224ac

File tree

13 files changed

+159
-19
lines changed

13 files changed

+159
-19
lines changed

Jogos/.idea/.gitignore

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Jogos/.idea/Jogos.iml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Jogos/.idea/inspectionProfiles/Project_Default.xml

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Jogos/.idea/inspectionProfiles/profiles_settings.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Jogos/.idea/misc.xml

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Jogos/.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Jogos/.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Jogos/src/tela_inicial.py

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
from tkinter import *
2+
3+
window = Tk()
4+
5+
6+
class Aplication:
7+
8+
def __init__(self):
9+
self.window = window
10+
self.firstWindow()
11+
self.frameFirstWindow()
12+
self.buttonFirstWindow()
13+
self.labelFirstWindow()
14+
self.background()
15+
window.mainloop()
16+
17+
def firstWindow(self):
18+
self.window.title("Ebony SYS")
19+
self.window.configure(background="#3a3b3c")
20+
self.window.geometry("700x700")
21+
self.window.resizable(False, False)
22+
# self.window.resizable(True, True)
23+
# self.window.maxsize(width=700, height=700)
24+
# self.window.minsize(width=450, height=450)
25+
26+
def frameFirstWindow(self):
27+
self.frame1 = Frame(self.window, background='#3a3b3c')
28+
self.frame1.place(relx=0, rely=0, relwidth=1, relheight=0.06)
29+
30+
self.frame2 = Frame(self.window, background='#3a3b3c')
31+
self.frame2.place(relx=0.01, rely=0.06, relwidth=0.98, relheight=0.90)
32+
33+
self.frame3 = Frame(self.window, background='#3a3b3c')
34+
self.frame3.place(relx=0, rely=0.95, relwidth=1, relheight=0.07)
35+
36+
def buttonFirstWindow(self):
37+
38+
39+
40+
self.btSnake = Button(self.frame2, text='Snake', background='#3a3b3c', font='Helvética 30',
41+
foreground='white')
42+
self.btSnake.place(relx=0.03, rely=0.03, relwidth=0.45, relheight=0.45)
43+
44+
self.btCampoMinado = Button(self.frame2, text='Campo\nMinado', background='#3a3b3c', font='Helvética 30',
45+
foreground='white')
46+
self.btCampoMinado.place(relx=0.52, rely=0.03, relwidth=0.45, relheight=0.45)
47+
48+
self.btCorrida = Button(self.frame2, text='Corrida', background='#3a3b3c', font='Helvética 30',
49+
foreground='white')
50+
self.btCorrida.place(relx=0.03, rely=0.52, relwidth=0.45, relheight=0.45)
51+
52+
self.btForca = Button(self.frame2, text='Forca', background='#3a3b3c', font='Helvética 30',
53+
foreground='white')
54+
self.btForca.place(relx=0.52, rely=0.52, relwidth=0.45, relheight=0.45)
55+
56+
def labelFirstWindow(self):
57+
self.lbLogo = Label(self.frame1, text='ebony', font='abnes 15', background='#3a3b3c', foreground='white')
58+
self.lbLogo.place(relx=0.01, rely=0.2)
59+
self.lbLogo1 = Label(self.frame1, text='sys', font='Debum 28', background='#3a3b3c', foreground='#39ff14')
60+
self.lbLogo1.place(relx=0.20, rely=0.00)
61+
self.lbRodape = Label(self.frame3, text='@ebony.programador', font='ubuntu 12', background='#3a3b3c',
62+
foreground='gray')
63+
self.lbRodape.place(relx=0.76, rely=0.1)
64+
65+
def background(self):
66+
...
67+
68+
69+
Aplication()

README.md

Lines changed: 26 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,34 @@
11
# Diversos mini projetos em Python.
22

33
Acompanhe o desenvolvimento → [Canal códigos simples](https://www.youtube.com/channel/UC8fRZfYGd21_D8DwuEcFuHw)
4-
</br>...mais informações → <a href="https://api.whatsapp.com/send?phone=5511979714423">WhatsApp</a></p>
4+
</br>...mais informações → <a href="https://api.whatsapp.com/send?phone=5511979714423">WhatsApp</a>
55

66
---
77

8-
<p align="center">
9-
10-
Gerador de Dados Aleatórios
11-
12-
<table>
13-
<tr>
14-
<td>
15-
<img src="FakeData/img/principalScreen.jpg" title="img1">
16-
</td>
17-
</td>
18-
</td>
19-
<td>
20-
<img src="FakeData/img/main screen filled.jpg" title="img2">
21-
</td>
22-
</tr>
8+
<h4>Lendo Texto em Áudio.</h4>
9+
10+
<table>
11+
<tr>
12+
<td>
13+
<img src="TextoemAudio/img/screen one.jpg" title="img1">
14+
</td>
15+
<td>
16+
<img src="TextoemAudio/img/screen error.jpg" title="img2">
17+
</td>
18+
</tr>
2319
</table>
2420

25-
---
21+
<h4>Gerador de Dados Aleatórios</h4>
22+
23+
<table>
24+
<tr>
25+
<td>
26+
<img src="FakeData/img/principalScreen.jpg" title="img1">
27+
</td>
28+
<td>
29+
<img src="FakeData/img/main screen filled.jpg" title="img2">
30+
</td>
31+
</tr>
32+
</table>
33+
34+

TextoemAudio/functionalities/functionalities.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import PySimpleGUI as sg
22
import os
3-
import speech_recognition as sr
43
from gtts import gTTS, lang
54
from playsound import playsound
65

0 commit comments

Comments
 (0)