An open API service indexing awesome lists of open source software.

https://github.com/gil9red/ascii_table

Ascii table (#c++ #qt #qt5)
https://github.com/gil9red/ascii_table

ascii-table cpp qt

Last synced: 2 months ago
JSON representation

Ascii table (#c++ #qt #qt5)

Awesome Lists containing this project

README

        

# ascii_table
Ascii table (#c++ #qt #qt5)

#### Example:
```
QList rows;
rows << (QStringList() << "ID" << "NAME" << "AGE");
rows << (QStringList() << "1" << "Ivan Petrov" << "42");
rows << (QStringList() << "2" << "LORD DESTRUCTOR" << "14");
rows << (QStringList() << "3" << "Petya" << "22");

QString table = ascii_table(rows);
qDebug().nospace().noquote() << table;
```

#### Console:
```
ID | NAME | AGE
----+-----------------+----
1 | Ivan Petrov | 42
2 | LORD DESTRUCTOR | 14
3 | Petya | 22
```