Changeset 371 in ntrip


Ignore:
Timestamp:
Jan 19, 2007, 10:33:30 AM (17 years ago)
Author:
weber
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bnctabledlg.cpp

    r366 r371  
    209209
    210210  static const QStringList labels = QString("mountpoint,identifier,format,"
    211     "format-details,carrier,nav-system,network,country,latitude,longitude,"
    212     "type,solution,generator,compression,authentication,fee,bitrate,"
     211    "format-details,carrier,system,network,country,latitude,longitude,"
     212    "type,solution,generator,compress.,authentic.,fee,bitrate,"
    213213    "misc").split(",");
    214214
     
    238238    _table->setHorizontalHeaderLabels(labels);
    239239    _table->setSortingEnabled(true);
     240
     241    int ww = QFontMetrics(this->font()).width('w');
     242    _table->horizontalHeader()->resizeSection(0,9*ww);
     243    _table->horizontalHeader()->resizeSection(2,8*ww);
     244    _table->horizontalHeader()->resizeSection(3,15*ww);
     245    _table->horizontalHeader()->resizeSection(4,8*ww);
     246    _table->horizontalHeader()->resizeSection(5,8*ww);
     247    _table->horizontalHeader()->resizeSection(6,8*ww);
     248    _table->horizontalHeader()->resizeSection(7,8*ww);
     249    _table->horizontalHeader()->resizeSection(8,8*ww);
     250    _table->horizontalHeader()->resizeSection(9,8*ww);
     251    _table->horizontalHeader()->resizeSection(10,8*ww);
     252    _table->horizontalHeader()->resizeSection(11,8*ww);
     253    _table->horizontalHeader()->resizeSection(12,15*ww);
     254    _table->horizontalHeader()->resizeSection(13,8*ww);
     255    _table->horizontalHeader()->resizeSection(14,8*ww);
     256    _table->horizontalHeader()->resizeSection(15,8*ww);
     257    _table->horizontalHeader()->resizeSection(16,8*ww);
     258    _table->horizontalHeader()->resizeSection(17,15*ww);
    240259  }
    241260}
Note: See TracChangeset for help on using the changeset viewer.