Additional Entry Widget Features #123

Closed
jarvisteach opened this Issue Apr 1, 2017 · 4 comments

Comments

Projects
None yet
1 participant
@jarvisteach
Owner

jarvisteach commented Apr 1, 2017

A new type of entry widget that has a required star next to it...

Default text is red? And states the field is required.
Tooltip is also added, stating the field is required.

@jarvisteach

This comment has been minimized.

Show comment
Hide comment
@jarvisteach

jarvisteach Apr 1, 2017

Owner

Would also be nice to have other, optional features available on all Entries:

  • Maximum length
  • Auto capitalisation
Owner

jarvisteach commented Apr 1, 2017

Would also be nice to have other, optional features available on all Entries:

  • Maximum length
  • Auto capitalisation

@jarvisteach jarvisteach changed the title from Entry widget with "required" flag to Additional Entry Widget Features Apr 1, 2017

jarvisteach added a commit that referenced this issue Apr 3, 2017

New entry features (#123)
Functions to set a character limit & auto uppercase/lowercase entries

Also, throw exception when matplotlib not available, but user tries to
add a plot

@jarvisteach jarvisteach self-assigned this Apr 3, 2017

@jarvisteach jarvisteach added this to the 0.06 milestone Apr 3, 2017

@jarvisteach

This comment has been minimized.

Show comment
Hide comment
@jarvisteach

jarvisteach Apr 4, 2017

Owner

New Entry type - validationEntry addValidationEntry(title, text=None) & ``addlabelValidationEntry(title, text=None)``` will create an Entry widget, inside a Frame, with a single character next to it.

An optional parameter can be passed in the add function - a description of the validation, this will be put in a tooltip. And perhaps as default text, or a message underneath - need to see how this looks...

The character will be one of:

  • U+2714 ✔ heavy check (or U+2611 ☑ ballot-box)
  • U+2716 ✖ heavy multiplication (or U+2612 ☒ ballot-box)
  • U+9733 ★ star

The entryBox will provide functions for:

  • setValid() - will show a green tick, change the entry border to green (& text to light green?)
  • setInvalid() - will show a red cross, change the border to red (& text to light red?)
  • setWaitingValidation() - will show a black star, change the border to black (& black text?)

It will start by calling setWaitingValidation()

Owner

jarvisteach commented Apr 4, 2017

New Entry type - validationEntry addValidationEntry(title, text=None) & ``addlabelValidationEntry(title, text=None)``` will create an Entry widget, inside a Frame, with a single character next to it.

An optional parameter can be passed in the add function - a description of the validation, this will be put in a tooltip. And perhaps as default text, or a message underneath - need to see how this looks...

The character will be one of:

  • U+2714 ✔ heavy check (or U+2611 ☑ ballot-box)
  • U+2716 ✖ heavy multiplication (or U+2612 ☒ ballot-box)
  • U+9733 ★ star

The entryBox will provide functions for:

  • setValid() - will show a green tick, change the entry border to green (& text to light green?)
  • setInvalid() - will show a red cross, change the border to red (& text to light red?)
  • setWaitingValidation() - will show a black star, change the border to black (& black text?)

It will start by calling setWaitingValidation()

jarvisteach added a commit that referenced this issue Apr 4, 2017

First stab at a validationEntry (#123)
Basic implementation of validationEntry

Also, added an audible alert when user tries to exceed maximum
character length on an entry
@jarvisteach

This comment has been minimized.

Show comment
Hide comment
@jarvisteach

jarvisteach Apr 4, 2017

Owner

Not sure about waitValidation border or star?
Still needs to:

  • fully link into setters, etc...
  • deal with being called on non-validation entry
  • add labelValidationEntry
  • test border colours on other platforms
  • check unicode will work everywhere...
Owner

jarvisteach commented Apr 4, 2017

Not sure about waitValidation border or star?
Still needs to:

  • fully link into setters, etc...
  • deal with being called on non-validation entry
  • add labelValidationEntry
  • test border colours on other platforms
  • check unicode will work everywhere...

jarvisteach added a commit that referenced this issue Apr 4, 2017

jarvisteach added a commit that referenced this issue Apr 4, 2017

Validates validation setter (#123)
Now checks for set validation status on entries.
Replaces star with asterisk.
Label now uses standard bg/font

jarvisteach added a commit that referenced this issue Apr 5, 2017

Fix to ValidationEntry (#123)
Switched from WidgetBox to LabelBox, but build in set function. This
allows BG to be updated correctly…

jarvisteach added a commit that referenced this issue Apr 6, 2017

fixed broken build (#123)
Introduced defaults for validation labels  used by internationalisation

jarvisteach added a commit that referenced this issue Apr 9, 2017

jarvisteach added a commit that referenced this issue Apr 9, 2017

jarvisteach added a commit that referenced this issue Apr 9, 2017

@jarvisteach

This comment has been minimized.

Show comment
Hide comment
@jarvisteach

jarvisteach Apr 9, 2017

Owner

Tested on MAC/LInux - no tooltips until tooltips updated to allow easy changing (#133)

Owner

jarvisteach commented Apr 9, 2017

Tested on MAC/LInux - no tooltips until tooltips updated to allow easy changing (#133)

@jarvisteach jarvisteach closed this Apr 9, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment