Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Add" button to create new textblocks #64

Open
GeorgeCiesinski opened this issue May 28, 2020 · 2 comments
Open

"Add" button to create new textblocks #64

GeorgeCiesinski opened this issue May 28, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@GeorgeCiesinski
Copy link
Owner

Description:

Add a button to create new textblocks.

Solution:

  1. An add button is placed on the root window under the textblocks display. Clicking this opens a toplevel widget with:
  • A dropdown list containing the directories setup in the config file & label naming the dropdown
  • A text input field for the shortcut & label naming the text input field
  • A text input field for the textblock & label naming the text input field
  • A save button
  1. Clicking save checks if both fields are filled out. If yes, it creates a new file in the selected directory & names it the user input for the shortcut input field, and saving the textblock text within this file.
  2. Ascertain that the text file has been created.
  3. Automatically reload textscript.
@GeorgeCiesinski GeorgeCiesinski added the enhancement New feature or request label May 28, 2020
@GeorgeCiesinski GeorgeCiesinski added this to the 2.0 Release milestone May 28, 2020
@GeorgeCiesinski GeorgeCiesinski self-assigned this May 28, 2020
@GeorgeCiesinski
Copy link
Owner Author

Added toplevel widget in commit 5fe1d97

@GeorgeCiesinski
Copy link
Owner Author

GeorgeCiesinski commented May 29, 2020

Created widget layout in commit cdde09e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant