KrySA » Tasks

class tasks.AddressLayout(**kwargs)[source]

Simple layout that consists of single restricted input widget fetching only [a-zA-Z0-9:] values i.e. address.

class tasks.AppendLayout(**kwargs)[source]

A layout that consists of a spinner with two values:

  • Rows
  • Columns

and a restricted input that allows only integers.

New in version 0.3.6.

class tasks.AvgsLayout(**kwargs)[source]

A layout that consists of multiple restricted input widgets for address and p (power) value for the formula of generalized mean.

New in version 0.2.4.

floatfilter(substring, from_undo)[source]

A function filtering everything that is not - symbol, floating point symbol(.) or a number.

class tasks.FreqLayout(**kwargs)[source]

A layout that consists of multiple checkboxes and restricted input widgets for address, type of values, type of output frequency and limits of the input values.

New in version 0.3.2.

class tasks.SmallLargeLayout(**kwargs)[source]

A layout that consists of multiple restricted input widgets for address and k value.

New in version 0.1.0.

class tasks.SortLayout(**kwargs)[source]

A layout that consists only of a spinner with two values:

  • Ascending
  • Descending

The Task with this layout is using tasks.manipulate.Manipulate._manip_sort.

New in version 0.3.5.

class tasks.Task(**kw)[source]

A popup handling the basic choosing of Data from available Data file in the application.

New in version 0.1.0.

Changed in version 0.2.3: Placed into a separated module.

static get_table_pos(text, values, *args)[source]

Returns an index of selected main.Table from all available in the list.

New in version 0.1.0.

recalc_height(body, content)[source]

Recalculates the height of tasks.Task after a layout is added, so that the children are clearly visible without any stretching.

New in version 0.3.2.

try_run(*args)[source]

Tries to run a Task from the input a user specified and closes the popup. If no such an action is possible, it’ll show a popup with an error and leave tasks.Task opened.

New in version 0.2.0.