projects
/
ptas
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changes: Added column headers to route detail table
[ptas]
/
zouba
/
src
/
ui.cpp
diff --git
a/zouba/src/ui.cpp
b/zouba/src/ui.cpp
index
4269013
..
4dc3c1a
100644
(file)
--- a/
zouba/src/ui.cpp
+++ b/
zouba/src/ui.cpp
@@
-92,6
+92,10
@@
void Ui::setupUi( QMainWindow *mainWindow )
m_routeDetailTable = new QTableWidget();
m_routeDetailTable->setColumnCount(6);
m_routeDetailTable = new QTableWidget();
m_routeDetailTable->setColumnCount(6);
+ m_routeDetailTable->setHorizontalHeaderLabels(
+ QStringList() << "How" << "Time" << "Dist" << "Dep" << "Arr" << "Line"
+ );
+ m_routeDetailTable->resizeColumnsToContents();
QHBoxLayout *topLayout = new QHBoxLayout();
topLayout->addLayout( m_routeStack );
QHBoxLayout *topLayout = new QHBoxLayout();
topLayout->addLayout( m_routeStack );