ServerWindow shows list of databases.
This commit is contained in:
parent
e71ef2e6df
commit
612b524151
15 changed files with 307 additions and 172 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#include "queryresultmodel.h"
|
||||
#include "Pgsql_declare.h"
|
||||
#include <QBrush>
|
||||
#include <QColor>
|
||||
|
||||
|
|
@ -20,21 +21,6 @@ int QueryResultModel::columnCount(const QModelIndex &) const
|
|||
return r;
|
||||
}
|
||||
|
||||
//DisplayRole = 0,
|
||||
//DecorationRole = 1,
|
||||
//EditRole = 2,
|
||||
//ToolTipRole = 3,
|
||||
//StatusTipRole = 4,
|
||||
//WhatsThisRole = 5,
|
||||
//// Metadata
|
||||
//FontRole = 6,
|
||||
//TextAlignmentRole = 7,
|
||||
//BackgroundColorRole = 8,
|
||||
//BackgroundRole = 8,
|
||||
//TextColorRole = 9,
|
||||
//ForegroundRole = 9,
|
||||
//CheckStateRole = 10,
|
||||
|
||||
QVariant QueryResultModel::data(const QModelIndex &index, int role) const
|
||||
{
|
||||
using namespace Pgsql;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue