Improvement to the ServerWindow

- sorting of Roles
- resizeColumns voor zowel databases als roles
- boolean columns now display check mark and cross
This commit is contained in:
eelke 2021-03-31 16:06:45 +02:00
parent a3ba4d7c98
commit 9c9e78c54b
8 changed files with 71 additions and 44 deletions

View file

@ -54,7 +54,10 @@ QColor GetDefaultColorForType(Oid o)
QString FormatBoolForDisplay(bool v)
{
return v ? "TRUE" : "FALSE";
static QString t(QChar(0x2713));
static QString f(QChar(0x2717));
return v ? t : f;
}