Hi,
Can you please patch mainForm::executeQuery() [form1.ui.h] to include column headings when building the QListView widget?
<old>
//setup num of cols here for display grid
if (mustCreateColumns)
{
ncol = sqlite3_data_count(vm);
for (int e=0; e<ncol; e++)
queryResultListView->addColumn("");
mustCreateColumns = false;
}
</old>
<new>
//setup num of cols here for display grid
if (mustCreateColumns)
{
ncol = sqlite3_data_count(vm);
for (int e=0; e<ncol; e++)
QString columnName = sqlite3_column_name(vm, e);
queryResultListView->addColumn(columnName);
mustCreateColumns = false;
}
</new>
Hi Kevin,
Are you still interested in helping out with this? (we're on GitHub now, so much easier to work with)
Regards and best wishes,
Justin Clift