Miscellaneous changes. Including a copy action.
This commit is contained in:
parent
242f5464df
commit
4a2c6cc396
19 changed files with 147 additions and 43 deletions
|
|
@ -13,6 +13,7 @@
|
|||
#include "explaintreemodelitem.h"
|
||||
#include "json/json.h"
|
||||
#include "mainwindow.h"
|
||||
#include "OpenDatabase.h"
|
||||
#include "pgtypecontainer.h"
|
||||
#include "util.h"
|
||||
|
||||
|
|
@ -40,6 +41,9 @@ QueryTab::QueryTab(MainWindow *win, QWidget *parent) :
|
|||
ui->queryEdit->setFont(font);
|
||||
highlighter.reset(new SqlHighlighter(ui->queryEdit->document()));
|
||||
|
||||
OpenDatabase* open_database = m_win->getDatabase();
|
||||
m_typeDelegate.setTypeSelectionModel(open_database->getTypeSelectionModel());
|
||||
|
||||
ui->paramTableView->setModel(&m_paramList);
|
||||
ui->paramTableView->setItemDelegateForColumn(1, &m_typeDelegate);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue