Changeset 3154 in ntrip
- Timestamp:
- Mar 27, 2011, 5:18:19 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncwindow.cpp
r3153 r3154 474 474 // ------------- 475 475 _rtnetTable = new QTableWidget(0,7); 476 _rtnetTable->setHorizontalHeaderLabels(QString("Host, Port, Mount point, Password, System, CoM, File").split(","));476 _rtnetTable->setHorizontalHeaderLabels(QString("Host, Port, Mount, Password, System, CoM, File").split(",")); 477 477 _rtnetTable->setSelectionMode(QAbstractItemView::ExtendedSelection); 478 478 _rtnetTable->setSelectionBehavior(QAbstractItemView::SelectRows); 479 479 _rtnetTable->setMaximumWidth(70*ww); 480 _rtnetTable->horizontalHeader()->resizeSection(0, 8*ww);481 _rtnetTable->horizontalHeader()->resizeSection(1, 8*ww);482 _rtnetTable->horizontalHeader()->resizeSection(2, 8*ww);480 _rtnetTable->horizontalHeader()->resizeSection(0,15*ww); 481 _rtnetTable->horizontalHeader()->resizeSection(1,5*ww); 482 _rtnetTable->horizontalHeader()->resizeSection(2,5*ww); 483 483 _rtnetTable->horizontalHeader()->resizeSection(3,8*ww); 484 _rtnetTable->horizontalHeader()->resizeSection(4, 8*ww);485 _rtnetTable->horizontalHeader()->resizeSection(5, 8*ww);486 _rtnetTable->horizontalHeader()->resizeSection(6, 8*ww);484 _rtnetTable->horizontalHeader()->resizeSection(4,6*ww); 485 _rtnetTable->horizontalHeader()->resizeSection(5,4*ww); 486 _rtnetTable->horizontalHeader()->resizeSection(6,20*ww); 487 487 _rtnetTable->horizontalHeader()->setResizeMode(QHeaderView::Interactive); 488 488 _rtnetTable->horizontalHeader()->setStretchLastSection(true);
Note:
See TracChangeset
for help on using the changeset viewer.