vorlap.gui module

VORtex overLAP Tool – Tkinter GUI with tabs, editable tables, and integrated plotting.

This module provides the main entry point for the VorLap GUI application.

vorlap.gui.main()[source]

Main entry point for the VorLap GUI application.

GUI Submodules

Main VorLap GUI Application.

This module contains the main application class that orchestrates all GUI components.

class vorlap.gui.app.VorLapApp[source]

Bases: Tk

Main VorLap GUI application class.

__init__()[source]

Return a new top level widget on screen SCREENNAME. A new Tcl interpreter will be created. BASENAME will be used for the identification of the profile file (see readprofile). It is constructed from sys.argv[0] without extensions if None is given. CLASSNAME is the name of the widget class.

log(s: str)[source]

Log message to console and status bar.

load_airfoils(airfoil_folder)[source]

Load airfoil FFT data from the specified folder.

Reusable UI widgets for the VorLap GUI.

This module contains custom widgets that are used across multiple tabs.

class vorlap.gui.widgets.PathEntry(master, kind='file', title='Select...', must_exist=False, **kwargs)[source]

Bases: Frame

Entry + Browse button (file or directory).

__init__(master, kind='file', title='Select...', must_exist=False, **kwargs)[source]

Initialize PathEntry widget.

Parameters:
  • master – Parent widget.

  • kind – Type of path selection (“file”, “dir”, or “savefile”).

  • title – Dialog title.

  • must_exist – Whether the path must exist.

  • **kwargs – Additional keyword arguments.

browse()[source]

Open file/directory browser dialog.

get() str[source]

Get the current path value.

set(value: str)[source]

Set the path value.

class vorlap.gui.widgets.ScrollText(master, height=10, **kwargs)[source]

Bases: Frame

A Text widget with a vertical scrollbar.

__init__(master, height=10, **kwargs)[source]

Initialize ScrollText widget.

Parameters:
  • master – Parent widget.

  • height – Height of the text widget.

  • **kwargs – Additional keyword arguments.

write(s: str)[source]

Write text to the widget.

clear()[source]

Clear all text from the widget.

class vorlap.gui.widgets.EditableTreeview(master, columns, show_headings=True, height=8, non_editable_columns=None, **kwargs)[source]

Bases: Frame

Spreadsheet-like table with CSV load/save and inline cell editing (double-click).

__init__(master, columns, show_headings=True, height=8, non_editable_columns=None, **kwargs)[source]

Initialize EditableTreeview widget.

Parameters:
  • master – Parent widget.

  • columns – List of column names.

  • show_headings – Whether to show column headings.

  • height – Height of the treeview.

  • non_editable_columns – List of columns that cannot be edited.

  • **kwargs – Additional keyword arguments.

clear()[source]

Clear all rows from the treeview.

append_row(values)[source]

Append a row to the treeview.

get_all()[source]

Get all rows from the treeview.

load_csv(path)[source]

Load data from a CSV file.

save_csv(path)[source]

Save data to a CSV file.

Theme and styling configuration for the VorLap GUI.

This module contains all the styling configuration to maintain a consistent look.

vorlap.gui.styles.setup_theme_and_styling(root)[source]

Set up modern theme and improved styling.