Post by Uncle Buddy on Dec 3, 2022 21:49:37 GMT -8
I forgot to mention in the previous commit announcement that the new functionality for adding images and configuring default image preferences is located in the Preferences > Media tab.
As for this commit:
The PersonAdd class has been rewritten. It has a simpler look, it's easier to use, but it does a lot more. Mainly it enables the user to add any number of images to a person while creating the person. At the same time, each added image can be independently resized. This feature is used by typing a new name in the top input in the current person area, followed by a `+` sign.
The Gallery class has been rewritten. You can now open a person gallery, a place gallery, or a source gallery to look at the respective images. This is done by clicking the picture displayed on a big button on the persons tab, places, tab, or source tab. This feature has existed for a long time but the code has been improved and the way it works has been streamlined. When you click one of the thumbnails at the top of the gallery, its corresponding image displays in the gallery canvas. It is also set as the current image in that way, so that if you click the EDIT button on the gallery, the image will be displayed on the graphics tab.
In the graphics tab, several new tools have been created, just finished today. These are rudimentary image editing tools such as Crop, Resize, Add Text & Border, and Edit Caption. Pressing the CLEAR button will remove the image from the graphics tab, and if there is no image on the graphics tab, then when you push one of the buttons to open one of the tools, you'll be shown a file selector so you can choose the image you want to edit from anywhere on your computer. A copy of the image will be added to the project folder and your edits will be made.
In the `WHERE?` tab of the Preferences tab book, you can tell Treebard where you usually keep your images for this tree, so that when the Windows/Tkinter file selector opens up, it will go straight to that directory. So if you keep all your images in one place for any given tree, this will be speeded up, but you can use the file explorer like any Windows file explorer to find a picture from anywhere on your computer.
A do list class has been added, or did I add that last time? Anyway, it's on the little right panel in the same tab book where the person images gallery can be opened.
In the next commit, I plan to add the PersonAdd functionality to a menu button or two, and to add a feature that will make it possible to add places (in the place tab), sources (in the source tab), or to delete places, sources, or persons from the tree altogether.
The files that were changed this time:
widgets.py
treebard_root_029.py
gallery.py
images.py
files.py
main.py
graphics.py
persons.py
findings_table.py
messages.py
query_strings.py
utes.py
scrolling.py
great_lakes_heatons.tbd
treebard.db
As for this commit:
The PersonAdd class has been rewritten. It has a simpler look, it's easier to use, but it does a lot more. Mainly it enables the user to add any number of images to a person while creating the person. At the same time, each added image can be independently resized. This feature is used by typing a new name in the top input in the current person area, followed by a `+` sign.
The Gallery class has been rewritten. You can now open a person gallery, a place gallery, or a source gallery to look at the respective images. This is done by clicking the picture displayed on a big button on the persons tab, places, tab, or source tab. This feature has existed for a long time but the code has been improved and the way it works has been streamlined. When you click one of the thumbnails at the top of the gallery, its corresponding image displays in the gallery canvas. It is also set as the current image in that way, so that if you click the EDIT button on the gallery, the image will be displayed on the graphics tab.
In the graphics tab, several new tools have been created, just finished today. These are rudimentary image editing tools such as Crop, Resize, Add Text & Border, and Edit Caption. Pressing the CLEAR button will remove the image from the graphics tab, and if there is no image on the graphics tab, then when you push one of the buttons to open one of the tools, you'll be shown a file selector so you can choose the image you want to edit from anywhere on your computer. A copy of the image will be added to the project folder and your edits will be made.
In the `WHERE?` tab of the Preferences tab book, you can tell Treebard where you usually keep your images for this tree, so that when the Windows/Tkinter file selector opens up, it will go straight to that directory. So if you keep all your images in one place for any given tree, this will be speeded up, but you can use the file explorer like any Windows file explorer to find a picture from anywhere on your computer.
A do list class has been added, or did I add that last time? Anyway, it's on the little right panel in the same tab book where the person images gallery can be opened.
In the next commit, I plan to add the PersonAdd functionality to a menu button or two, and to add a feature that will make it possible to add places (in the place tab), sources (in the source tab), or to delete places, sources, or persons from the tree altogether.
The files that were changed this time:
widgets.py
treebard_root_029.py
gallery.py
images.py
files.py
main.py
graphics.py
persons.py
findings_table.py
messages.py
query_strings.py
utes.py
scrolling.py
great_lakes_heatons.tbd
treebard.db