terminalgui  0.1.0
Widgets for your terminal, powered by Qt! Create textual GUI (TUI) in your console easily.
tgtableborderstyle.h
1 #pragma once
2 
3 #include "tgborderstyle.h"
4 
5 #include <tgcolor.h>
6 
7 namespace Tg {
13 {
14 public:
16  {
17  width = 1;
18 
19  topLeft = u8"\u2554";
20  topRight = u8"\u2557";
21  bottomLeft = u8"\u255A";
22  bottomRight = u8"\u255D";
23  horizontal = u8"\u2550";
24  vertical = u8"\u2551";
25 
28  }
29 };
30 }
Tg::Color::Predefined::Black
@ Black
Default black color, depends on terminal settings.
Tg::BorderStyle::backgroundColor
Tg::Color backgroundColor
Color used to draw border background.
Definition: tgborderstyle.h:53
Tg::TableBorderStyle
Alternative to BorderStyle: it draws the borders using 2 parallel lines instead of one.
Definition: tgtableborderstyle.h:13
Tg::BorderStyle::topLeft
QString topLeft
Character used to draw top left corner.
Definition: tgborderstyle.h:21
Tg
All Terminal GUI classes (both core and widgets) are defined within the Tg namespace.
Definition: tgcolor.h:6
Tg::Color::Predefined::White
@ White
Default white color, depends on terminal settings.
Tg::BorderStyle::bottomRight
QString bottomRight
Character used to draw bottom right corner.
Definition: tgborderstyle.h:30
Tg::BorderStyle::bottomLeft
QString bottomLeft
Character used to draw bottom left corner.
Definition: tgborderstyle.h:27
Tg::BorderStyle::vertical
QString vertical
Character used to draw all vertical edges.
Definition: tgborderstyle.h:36
Tg::BorderStyle::topRight
QString topRight
Character used to draw top right corner.
Definition: tgborderstyle.h:24
Tg::BorderStyle::horizontal
QString horizontal
Character used to draw all horizontal edges.
Definition: tgborderstyle.h:33
Tg::BorderStyle::width
int width
Border width.
Definition: tgborderstyle.h:18
Tg::BorderStyle
Defines colors, characters with which Widget draws it's borders.
Definition: tgborderstyle.h:15
Tg::BorderStyle::textColor
Tg::Color textColor
Color used to draw border characters.
Definition: tgborderstyle.h:50