terminalgui  0.1.0
Widgets for your terminal, powered by Qt! Create textual GUI (TUI) in your console easily.
tgborderstyle.h
1 #pragma once
2 
3 #include <tgcolor.h>
4 
5 #include <QString>
6 #include <QSharedPointer>
7 
8 namespace Tg {
15 {
16 public:
18  int width = 1;
19 
21  QString topLeft = u8"\u256D";
22 
24  QString topRight = u8"\u256E";
25 
27  QString bottomLeft = u8"\u2570";
28 
30  QString bottomRight = u8"\u256F";
31 
33  QString horizontal = u8"\u2500";
34 
36  QString vertical = u8"\u2502";
37 
39  QString resizableCorner = u8"\u25C6";
40 
43  QString horizontalOvershoot = u8"\u25BC";
44 
47  QString verticalOvershoot = u8"\u25B6";
48 
51 
54 
57 
60 };
61 
62 using BorderStylePointer = QSharedPointer<Tg::BorderStyle>;
63 }
Tg::BorderStyle::overshootTextColor
Tg::Color overshootTextColor
Color used to draw overshoot characters.
Definition: tgborderstyle.h:56
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::Color::Predefined::Red
@ Red
Default red color, depends on terminal settings.
Tg::BorderStyle::verticalOvershoot
QString verticalOvershoot
Definition: tgborderstyle.h:47
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::overshootBackgroundColor
Tg::Color overshootBackgroundColor
Color used to draw overshoot background.
Definition: tgborderstyle.h:59
Tg::Color
Represents colors in a terminal.
Definition: tgcolor.h:20
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::resizableCorner
QString resizableCorner
Character used to draw resizable corner "icon".
Definition: tgborderstyle.h:39
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::horizontalOvershoot
QString horizontalOvershoot
Definition: tgborderstyle.h:43
Tg::BorderStyle::textColor
Tg::Color textColor
Color used to draw border characters.
Definition: tgborderstyle.h:50