entryline.*

Provides

class entryline.Entryline(main_window)[source]

Bases: lib.spelltextedit.SpellTextEdit

The entry line for pyspread

Parameters

main_window (QMainWindow) – Application main window

disable_updates()[source]

Disables updates and highlighter

eventFilter(source, event)[source]

Quotes editor content for <Ctrl>+<Enter> and <Ctrl>+<Return>

Overrides SpellTextEdit default shortcut. Counts as undoable action.

Parameters
  • source (QWidget) – Source widget of event

  • event (QEvent) – Event to be filtered

keyPressEvent(event)[source]

Key press event filter

Parameters

event (QKeyEvent) – Key event

on_toggle_spell_check(signal)[source]

Spell check toggle event handler

Parameters

signal (bool) – Spell check is enabled if True

setPlainText(text)[source]

Overides setPlainText

Additionally shows busy cursor and disables highlighter on long texts, and omits identical replace.

Parameters

text (str) – Text to be set

store_data()[source]

Stores current entry line data in grid model