Skip to content

Commit

Permalink
Added Tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Parathantl committed Apr 16, 2020
1 parent 1c83c4b commit c0c6aaa
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions PySimpleGui/Tesseract_PySimpleGUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,13 @@ def convertJpgToText(single_pdf):

window2.close()

layout = [[sg.Text('PDF to Text - Tesseract4 GUI')],
[sg.Text('Enter the PDF File:', size=(16, 1)), sg.Input(), sg.FileBrowse()],
[sg.Button("Start"), sg.Cancel()]]
tab2_layout = [[sg.T('Creator: Parathan')],[sg.T('License: GNU General Public License v2.0')],[sg.T('email: parathanlive123@gmail.com')]]

tab1_layout = [[sg.T('PDF to Text - Tesseract4 GUI')],
[sg.T('Enter the PDF File:', size=(16, 1)), sg.Input(), sg.FileBrowse()],
[sg.Button("Start"), sg.Cancel()]]

layout = [[sg.TabGroup([[sg.Tab('Home', tab1_layout), sg.Tab('About', tab2_layout)]])]]

#[sg.Text('Enter the ISO 639-3 code of the language you want: '),sg.InputText()],

Expand Down
Binary file modified PySimpleGui/screenshots/First.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified PySimpleGui/screenshots/Fourth.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified PySimpleGui/screenshots/Second.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified PySimpleGui/screenshots/Third.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c0c6aaa

Please sign in to comment.