Index: /trunk/BNC/bncwindow.cpp
===================================================================
--- /trunk/BNC/bncwindow.cpp	(revision 109)
+++ /trunk/BNC/bncwindow.cpp	(revision 110)
@@ -38,4 +38,7 @@
   connect(_actAbout, SIGNAL(triggered()), SLOT(slotAbout()));
 
+  _actFontSel = new QAction(tr("Select &Fonts"),this);
+  connect(_actFontSel, SIGNAL(triggered()), SLOT(slotFontSel()));
+
   _actSaveOpt = new QAction(tr("&Save Options"),this);
   connect(_actSaveOpt, SIGNAL(triggered()), SLOT(slotSaveOptions()));
@@ -57,4 +60,6 @@
   // ------------
   _menuFile = menuBar()->addMenu(tr("&File"));
+  _menuFile->addAction(_actFontSel);
+  _menuFile->addSeparator();
   _menuFile->addAction(_actSaveOpt);
   _menuFile->addSeparator();
@@ -111,5 +116,5 @@
   _rnxSamplSpinBox->setMaximumWidth(9*ww);
   _rnxSamplSpinBox->setValue(settings.value("rnxSampl").toInt());
-  _mountPointsTable   = new QTableWidget(0,2);
+  _mountPointsTable   = new QTableWidget(0,3);
   _mountPointsTable->setMinimumWidth(60*ww);
   _mountPointsTable->setMaximumHeight(20*ww);
@@ -117,5 +122,4 @@
   _mountPointsTable->horizontalHeader()->hide();
   _mountPointsTable->verticalHeader()->hide();
-  _mountPointsTable->setGridStyle(Qt::NoPen);
   _mountPointsTable->setSelectionMode(QAbstractItemView::ExtendedSelection);
   _mountPointsTable->setSelectionBehavior(QAbstractItemView::SelectRows);
@@ -128,12 +132,27 @@
     QStringList hlp = it.next().split(" ");
     if (hlp.size() <= 1) continue;
-    QString mPoint = hlp[0];
-    QString format = hlp[1];
     _mountPointsTable->insertRow(iRow);
-    _mountPointsTable->setItem(iRow, 0, new QTableWidgetItem(mPoint));
-    _mountPointsTable->setItem(iRow, 1, new QTableWidgetItem(format));
+
+    QUrl    url(hlp[0]);
+
+    QString fullPath = url.host() + QString(":%1").arg(url.port()) + url.path();
+    QString format(hlp[1]);
+
+    QTableWidgetItem* it;
+    it = new QTableWidgetItem(url.userInfo());
+    it->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
+    _mountPointsTable->setItem(iRow, 0, it);
+
+    it = new QTableWidgetItem(fullPath);
+    it->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
+    _mountPointsTable->setItem(iRow, 1, it);
+
+    it = new QTableWidgetItem(format);
+    it->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled | Qt::ItemIsEditable);
+    _mountPointsTable->setItem(iRow, 2, it);
     iRow++;
   }
-  _mountPointsTable->sortItems(0);
+  ///  _mountPointsTable->hideColumn(0);
+  _mountPointsTable->sortItems(1);
 
   connect(_mountPointsTable, SIGNAL(itemSelectionChanged()), 
@@ -214,5 +233,5 @@
     bool itemRemoved = false;
     for (int iRow = 0; iRow < _mountPointsTable->rowCount(); iRow++) {
-      if (_mountPointsTable->isItemSelected(_mountPointsTable->item(iRow,0))) {
+      if (_mountPointsTable->isItemSelected(_mountPointsTable->item(iRow,1))) {
         _mountPointsTable->removeRow(iRow);
         itemRemoved = true;
@@ -234,12 +253,26 @@
   while (it.hasNext()) {
     QStringList hlp = it.next().split(" ");
-    QString mPoint = hlp[0];
-    QString format = hlp[1];
+    QUrl    url(hlp[0]);
+    QString fullPath = url.host() + QString(":%1").arg(url.port()) + url.path();
+    QString format(hlp[1]);
+
     _mountPointsTable->insertRow(iRow);
-    _mountPointsTable->setItem(iRow, 0, new QTableWidgetItem(mPoint));
-    _mountPointsTable->setItem(iRow, 1, new QTableWidgetItem(format));
+
+    QTableWidgetItem* it;
+    it = new QTableWidgetItem(url.userInfo());
+    it->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
+    _mountPointsTable->setItem(iRow, 0, it);
+
+    it = new QTableWidgetItem(fullPath);
+    it->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
+    _mountPointsTable->setItem(iRow, 1, it);
+
+    it = new QTableWidgetItem(format);
+    it->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled | Qt::ItemIsEditable);
+    _mountPointsTable->setItem(iRow, 2, it);
     iRow++;
   }
-  _mountPointsTable->sortItems(0);
+  ///  _mountPointsTable->hideColumn(0);
+  _mountPointsTable->sortItems(1);
   if (mountPoints->count() > 0) {
     _actGetData->setEnabled(true);
@@ -262,8 +295,13 @@
   settings.setValue("rnxSampl",    _rnxSamplSpinBox->value());
   settings.setValue("rnxSkel",     _rnxSkelLineEdit->text());
+
   QStringList mountPoints;
+
   for (int iRow = 0; iRow < _mountPointsTable->rowCount(); iRow++) {
-    mountPoints.append(_mountPointsTable->item(iRow, 0)->text() + 
-                       " " + _mountPointsTable->item(iRow, 1)->text());
+    QUrl url( "//" + _mountPointsTable->item(iRow, 0)->text() + "@" +
+              _mountPointsTable->item(iRow, 1)->text() );
+
+    mountPoints.append(url.toString() + " " + 
+                       _mountPointsTable->item(iRow, 2)->text());
   }
   settings.setValue("mountPoints", mountPoints);
@@ -297,5 +335,7 @@
 
   for (int iRow = 0; iRow < _mountPointsTable->rowCount(); iRow++) {
-    QUrl url(_mountPointsTable->item(iRow, 0)->text());
+    QUrl url( _mountPointsTable->item(iRow, 0)->text() + "@" +
+              _mountPointsTable->item(iRow, 1)->text() );
+
     QByteArray format     = _mountPointsTable->item(iRow, 1)->text().toAscii();
 
@@ -392,2 +432,12 @@
   dlg->show();
 }
+
+// Select Fonts
+////////////////////////////////////////////////////////////////////////////
+void bncWindow::slotFontSel() {
+  bool ok;
+  QFont newFont = QFontDialog::getFont(&ok, this->font(), this); 
+  if (ok) {
+    QApplication::setFont(newFont);
+  }
+}
