terminalgui  0.1.0
Widgets for your terminal, powered by Qt! Create textual GUI (TUI) in your console easily.
Public Attributes | List of all members
Tg::BorderStyle Class Reference

Defines colors, characters with which Widget draws it's borders. More...

#include <tgborderstyle.h>

Inheritance diagram for Tg::BorderStyle:
Inheritance graph
[legend]
Collaboration diagram for Tg::BorderStyle:
Collaboration graph
[legend]

Public Attributes

int width = 1
 Border width. More...
 
QString topLeft = u8"\u256D"
 Character used to draw top left corner.
 
QString topRight = u8"\u256E"
 Character used to draw top right corner.
 
QString bottomLeft = u8"\u2570"
 Character used to draw bottom left corner.
 
QString bottomRight = u8"\u256F"
 Character used to draw bottom right corner.
 
QString horizontal = u8"\u2500"
 Character used to draw all horizontal edges.
 
QString vertical = u8"\u2502"
 Character used to draw all vertical edges.
 
QString resizableCorner = u8"\u25C6"
 Character used to draw resizable corner "icon".
 
QString horizontalOvershoot = u8"\u25BC"
 
QString verticalOvershoot = u8"\u25B6"
 
Tg::Color textColor = Tg::Color::Predefined::White
 Color used to draw border characters.
 
Tg::Color backgroundColor = Tg::Color::Predefined::Black
 Color used to draw border background.
 
Tg::Color overshootTextColor = Tg::Color::Predefined::Red
 Color used to draw overshoot characters.
 
Tg::Color overshootBackgroundColor = Tg::Color::Predefined::Black
 Color used to draw overshoot background.
 

Detailed Description

Defines colors, characters with which Widget draws it's borders.

For information about styling of Widget contents, see Style.

Member Data Documentation

◆ horizontalOvershoot

QString Tg::BorderStyle::horizontalOvershoot = u8"\u25BC"

Character used to draw horizontal overshoot (when Widget contents do not fit it's size)

◆ verticalOvershoot

QString Tg::BorderStyle::verticalOvershoot = u8"\u25B6"

Character used to draw vertical overshoot (when Widget contents do not fit it's size)

◆ width

int Tg::BorderStyle::width = 1

Border width.

Warning
Values other than 1 are not supported

The documentation for this class was generated from the following file: