![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|

Public Member Functions | |
| None | __init__ (self, str box, *bool ascii=False) |
| str | __repr__ (self) |
| str | __str__ (self) |
| "Box" | substitute (self, "ConsoleOptions" options, bool safe=True) |
| "Box" | get_plain_headed_box (self) |
| str | get_top (self, Iterable[int] widths) |
| str | get_row (self, Iterable[int] widths, Literal["head", "row", "foot", "mid"] level="row", bool edge=True) |
| str | get_bottom (self, Iterable[int] widths) |
Protected Attributes | |
| _box | |
Defines characters to render boxes.
┌─┬┐ top
│ ││ head
├─┼┤ head_row
│ ││ mid
├─┼┤ row
├─┼┤ foot_row
│ ││ foot
└─┴┘ bottom
Args:
box (str): Characters making up box.
ascii (bool, optional): True if this box uses ascii characters only. Default is False.
| str pip._vendor.rich.box.Box.get_bottom | ( | self, | |
| Iterable[int] | widths | ||
| ) |
Get the bottom of a simple box.
Args:
widths (List[int]): Widths of columns.
Returns:
str: A string of box characters.
| "Box" pip._vendor.rich.box.Box.get_plain_headed_box | ( | self | ) |
If this box uses special characters for the borders of the header, then
return the equivalent box that does not.
Returns:
Box: The most similar Box that doesn't use header-specific box characters.
If the current Box already satisfies this criterion, then it's returned.
| str pip._vendor.rich.box.Box.get_row | ( | self, | |
| Iterable[int] | widths, | ||
| Literal["head", "row", "foot", "mid"] | level = "row", |
||
| bool | edge = True |
||
| ) |
Get the top of a simple box.
Args:
width (List[int]): Widths of columns.
Returns:
str: A string of box characters.
| str pip._vendor.rich.box.Box.get_top | ( | self, | |
| Iterable[int] | widths | ||
| ) |
Get the top of a simple box.
Args:
widths (List[int]): Widths of columns.
Returns:
str: A string of box characters.
| "Box" pip._vendor.rich.box.Box.substitute | ( | self, | |
| "ConsoleOptions" | options, | ||
| bool | safe = True |
||
| ) |
Substitute this box for another if it won't render due to platform issues.
Args:
options (ConsoleOptions): Console options used in rendering.
safe (bool, optional): Substitute this for another Box if there are known problems
displaying on the platform (currently only relevant on Windows). Default is True.
Returns:
Box: A different Box or the same Box.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |