Changes: Added column headers to route detail table
[ptas] / zouba / src / ui.cpp
index 4269013..4dc3c1a 100644 (file)
@@ -92,6 +92,10 @@ void Ui::setupUi( QMainWindow *mainWindow )
 
   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 );