summaryrefslogtreecommitdiff
path: root/code/frontEnd/TerminalUI.rst
blob: 5fb472b13b6bbd28fee5c509262fa1b26cb74a36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
TerminalUI Component
====================

The TerminalUI component provides a graphical interface for monitoring and controlling ngspice simulations within eSim. It features a progress bar, a simulation log console, and buttons for toggling light/dark mode, cancelling, and re-running simulations.

.. image:: ../_static/TerminalUI.png
    :alt: Terminal UI
    :align: center
    :scale: 60%

**Features:**
- Displays real-time simulation logs and progress.
- Allows users to cancel or redo simulations.
- Supports toggling between light and dark modes for better visibility.
- Integrates with ngspice using PyQt5's QProcess for process management.

**Usage:**
The TerminalUI is automatically launched during simulation runs. Users can interact with the simulation process using the provided buttons and view logs in the console area.

.. note::

   Source : ``src/frontEnd/TerminalUi.py``

.. automodule:: frontEnd.TerminalUi
    :members: