Better result formatting
Cells holding a NULL value now display null in gray. int, float and numeric columns are right aligned. Integers, floats and numerics are coloured. Booleans, green or red for true or false. t, f is replaced by TRUE, FALSE
This commit is contained in:
parent
163bb1d513
commit
eb06c57141
4 changed files with 106 additions and 6 deletions
|
|
@ -109,6 +109,8 @@ MainWindow::MainWindow(QWidget *parent)
|
|||
// action = ui->mainToolBar->addAction("cancel");
|
||||
// connect(action, &QAction::triggered, this, &MainWindow::cancel_query);
|
||||
|
||||
//ui->ResultView->setItemDelegate();
|
||||
|
||||
m_dbConnection.setStateCallback([this](ASyncDBConnection::State st)
|
||||
{
|
||||
QueueTask([this, st]() { connectionStateChanged(st); });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue