Browse Source

moved ttkDesigner inside the tools folder

pull/257/head
Eugenio Parodi 2 years ago
parent
commit
746d14c668
  1. 5
      README.md
  2. 2
      run.ttkDesigner.sh
  3. 30
      tools/ttkDesigner.py
  4. 4
      tools/ttkDesigner/README.md
  5. 0
      tools/ttkDesigner/__init__.py
  6. 0
      tools/ttkDesigner/__main__.py
  7. 0
      tools/ttkDesigner/app/__init__.py
  8. 0
      tools/ttkDesigner/app/about.py
  9. 0
      tools/ttkDesigner/app/cfg.py
  10. 0
      tools/ttkDesigner/app/designer.py
  11. 0
      tools/ttkDesigner/app/main.py
  12. 0
      tools/ttkDesigner/app/menuBarEditor.py
  13. 0
      tools/ttkDesigner/app/notepad.py
  14. 0
      tools/ttkDesigner/app/propertyeditor.py
  15. 0
      tools/ttkDesigner/app/quickexport.py
  16. 0
      tools/ttkDesigner/app/signalsloteditor.py
  17. 0
      tools/ttkDesigner/app/superobj/__init__.py
  18. 0
      tools/ttkDesigner/app/superobj/supercontrol.py
  19. 0
      tools/ttkDesigner/app/superobj/superlayout.py
  20. 0
      tools/ttkDesigner/app/superobj/superlayoutgrid.py
  21. 0
      tools/ttkDesigner/app/superobj/superlayouthbox.py
  22. 0
      tools/ttkDesigner/app/superobj/superlayoutvbox.py
  23. 0
      tools/ttkDesigner/app/superobj/superobj.py
  24. 0
      tools/ttkDesigner/app/superobj/superwidget.py
  25. 0
      tools/ttkDesigner/app/superobj/superwidgetabstractscrollarea.py
  26. 0
      tools/ttkDesigner/app/superobj/superwidgetcontainer.py
  27. 0
      tools/ttkDesigner/app/superobj/superwidgetframe.py
  28. 0
      tools/ttkDesigner/app/superobj/superwidgetlist.py
  29. 0
      tools/ttkDesigner/app/superobj/superwidgetmenubutton.py
  30. 0
      tools/ttkDesigner/app/superobj/superwidgetradiobutton.py
  31. 0
      tools/ttkDesigner/app/superobj/superwidgetsplitter.py
  32. 0
      tools/ttkDesigner/app/superobj/superwidgettextedit.py
  33. 0
      tools/ttkDesigner/app/treeinspector.py
  34. 0
      tools/ttkDesigner/app/widgetbox.py
  35. 0
      tools/ttkDesigner/app/windoweditor.py
  36. 0
      tools/ttkDesigner/tui/menuBarEditor.tui.json
  37. 0
      tools/ttkDesigner/tui/newWindow.tui.json
  38. 0
      tools/ttkDesigner/tui/quickExport.tui.json
  39. 0
      tools/ttkDesigner/tui/quickImport.tui.json
  40. 2
      tools/webExporter/index.html
  41. 1
      ttkDesigner/TermTk

5
README.md

@ -44,9 +44,12 @@ Be inspired by [the Tutorials](https://github.com/ceccopierangiolieugenio/pyTerm
## [Api Definitions](https://ceccopierangiolieugenio.github.io/pyTermTk/)
Don't get bored by the [Api Definitions](https://ceccopierangiolieugenio.github.io/pyTermTk/)
## [ttkDesigner](https://github.com/ceccopierangiolieugenio/pyTermTk/tree/main/ttkDesigner)
## [ttkDesigner](https://github.com/ceccopierangiolieugenio/pyTermTk/tree/main/tools/ttkDesigner)
Smell deliciousness with the official [pyTermTk](https://github.com/ceccopierangiolieugenio/pyTermTk) tool for designing and building Text-based user interfaces ([TUI](https://en.wikipedia.org/wiki/Text-based_user_interface)s)
## [theDumbPaintTool](https://github.com/ceccopierangiolieugenio/pyTermTk/tree/main/tools/dumbPaintTool)
Unravel your hidden artist with [The Terminal ASCII Photoshop](https://ceccopierangiolieugenio.itch.io/dumb-paint-tool)
---
## [Install/Upgrade](https://ceccopierangiolieugenio.github.io/pyTermTk/info/installing.html)

2
run.ttkDesigner.sh

@ -0,0 +1,2 @@
#!/usr/bin/env bash
PYTHONPATH=$(pwd)/tools python3 -m ttkDesigner $@

30
tools/ttkDesigner.py

@ -0,0 +1,30 @@
#!/usr/bin/env python3
# MIT License
#
# Copyright (c) 2023 Eugenio Parodi <ceccopierangiolieugenio AT googlemail DOT com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
import sys,os
sys.path.append(os.path.join(sys.path[0],'..'))
from ttkDesigner.app import main
if __name__ == '__main__':
main()

4
ttkDesigner/README.md → tools/ttkDesigner/README.md

@ -1,6 +1,6 @@
![Linux](https://img.shields.io/badge/-Linux-grey?logo=linux)
![Usage](https://img.shields.io/badge/Usage-Terminal%20User%20Interface-yellow)
![Python](https://img.shields.io/badge/Python-v3.8%5E-green?logo=python)
![Python](https://img.shields.io/badge/Python-v3.9%5E-green?logo=python)
![pyTermTk_version](https://img.shields.io/github/v/tag/ceccopierangiolieugenio/pyTermTk?label=version)
[![Test Status](https://img.shields.io/github/actions/workflow/status/ceccopierangiolieugenio/pyTermTk/testing.yml?branch=main&label=tests)](https://github.com/ceccopierangiolieugenio/pyTermTk/actions?query=workflow%3Atesting)
[![pypi_version](https://img.shields.io/pypi/v/ttkDesigner?label=pypi)](https://pypi.org/project/ttkDesigner)
@ -8,7 +8,7 @@
[![screenshot](https://user-images.githubusercontent.com/8876552/236525667-dcdcec6e-1066-4294-bdb0-db98ef8850da.png)](https://pypi.org/project/ttkDesigner)
## [ttkDesigner](https://github.com/ceccopierangiolieugenio/pyTermTk/tree/main/ttkDesigner)
## [ttkDesigner](https://github.com/ceccopierangiolieugenio/pyTermTk/tree/main/tools/ttkDesigner)
**ttkDesigner** is the [pyTermTk](https://github.com/ceccopierangiolieugenio/pyTermTk) tool for designing and building Text-based user interfaces ([TUI](https://en.wikipedia.org/wiki/Text-based_user_interface)s) with [pyTermTk](https://github.com/ceccopierangiolieugenio/pyTermTk) Widgets. You can compose and customize your windows or dialogs in a what-you-see-is-what-you-get (WYSIWYG) manner, and test them interactively.

0
ttkDesigner/__init__.py → tools/ttkDesigner/__init__.py

0
ttkDesigner/__main__.py → tools/ttkDesigner/__main__.py

0
ttkDesigner/app/__init__.py → tools/ttkDesigner/app/__init__.py

0
ttkDesigner/app/about.py → tools/ttkDesigner/app/about.py

0
ttkDesigner/app/cfg.py → tools/ttkDesigner/app/cfg.py

0
ttkDesigner/app/designer.py → tools/ttkDesigner/app/designer.py

0
ttkDesigner/app/main.py → tools/ttkDesigner/app/main.py

0
ttkDesigner/app/menuBarEditor.py → tools/ttkDesigner/app/menuBarEditor.py

0
ttkDesigner/app/notepad.py → tools/ttkDesigner/app/notepad.py

0
ttkDesigner/app/propertyeditor.py → tools/ttkDesigner/app/propertyeditor.py

0
ttkDesigner/app/quickexport.py → tools/ttkDesigner/app/quickexport.py

0
ttkDesigner/app/signalsloteditor.py → tools/ttkDesigner/app/signalsloteditor.py

0
ttkDesigner/app/superobj/__init__.py → tools/ttkDesigner/app/superobj/__init__.py

0
ttkDesigner/app/superobj/supercontrol.py → tools/ttkDesigner/app/superobj/supercontrol.py

0
ttkDesigner/app/superobj/superlayout.py → tools/ttkDesigner/app/superobj/superlayout.py

0
ttkDesigner/app/superobj/superlayoutgrid.py → tools/ttkDesigner/app/superobj/superlayoutgrid.py

0
ttkDesigner/app/superobj/superlayouthbox.py → tools/ttkDesigner/app/superobj/superlayouthbox.py

0
ttkDesigner/app/superobj/superlayoutvbox.py → tools/ttkDesigner/app/superobj/superlayoutvbox.py

0
ttkDesigner/app/superobj/superobj.py → tools/ttkDesigner/app/superobj/superobj.py

0
ttkDesigner/app/superobj/superwidget.py → tools/ttkDesigner/app/superobj/superwidget.py

0
ttkDesigner/app/superobj/superwidgetabstractscrollarea.py → tools/ttkDesigner/app/superobj/superwidgetabstractscrollarea.py

0
ttkDesigner/app/superobj/superwidgetcontainer.py → tools/ttkDesigner/app/superobj/superwidgetcontainer.py

0
ttkDesigner/app/superobj/superwidgetframe.py → tools/ttkDesigner/app/superobj/superwidgetframe.py

0
ttkDesigner/app/superobj/superwidgetlist.py → tools/ttkDesigner/app/superobj/superwidgetlist.py

0
ttkDesigner/app/superobj/superwidgetmenubutton.py → tools/ttkDesigner/app/superobj/superwidgetmenubutton.py

0
ttkDesigner/app/superobj/superwidgetradiobutton.py → tools/ttkDesigner/app/superobj/superwidgetradiobutton.py

0
ttkDesigner/app/superobj/superwidgetsplitter.py → tools/ttkDesigner/app/superobj/superwidgetsplitter.py

0
ttkDesigner/app/superobj/superwidgettextedit.py → tools/ttkDesigner/app/superobj/superwidgettextedit.py

0
ttkDesigner/app/treeinspector.py → tools/ttkDesigner/app/treeinspector.py

0
ttkDesigner/app/widgetbox.py → tools/ttkDesigner/app/widgetbox.py

0
ttkDesigner/app/windoweditor.py → tools/ttkDesigner/app/windoweditor.py

0
ttkDesigner/tui/menuBarEditor.tui.json → tools/ttkDesigner/tui/menuBarEditor.tui.json

0
ttkDesigner/tui/newWindow.tui.json → tools/ttkDesigner/tui/newWindow.tui.json

0
ttkDesigner/tui/quickExport.tui.json → tools/ttkDesigner/tui/quickExport.tui.json

0
ttkDesigner/tui/quickImport.tui.json → tools/ttkDesigner/tui/quickImport.tui.json

2
tools/webExporter/index.html

@ -47,7 +47,7 @@
document.fonts.ready.then(() => {fetchData()});
function fetchData(){
fetch("package.json")
fetch("web.ttk.package.json")
.then(response => response.json())
.then(json => processAndStart(json));
}

1
ttkDesigner/TermTk

@ -1 +0,0 @@
../TermTk/
Loading…
Cancel
Save