Changeset 91 in ntrip for trunk/BNC/bncwindow.cpp


Ignore:
Timestamp:
Aug 31, 2006, 8:09:27 PM (18 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncwindow.cpp

    r90 r91  
    2626bncWindow::bncWindow() {
    2727
    28   setMinimumSize(400,600);
     28  int ww = QFontMetrics(this->font()).width('w');
     29
     30  setMinimumSize(80*ww, 80*ww);
    2931
    3032  // Create Actions
     
    9092
    9193  _proxyHostLineEdit  = new QLineEdit(settings.value("proxyHost").toString());
    92   int ww = QFontMetrics(_proxyHostLineEdit->font()).width('w');
    9394  _proxyHostLineEdit->setMaximumWidth(12*ww);
    9495  _proxyPortLineEdit  = new QLineEdit(settings.value("proxyPort").toString());
     
    109110  _rnxIntrSpinBox->setSingleStep(23);
    110111  _mountPointsTable   = new QTableWidget(0,2);
    111   _mountPointsTable->setMaximumHeight(140);
     112  _mountPointsTable->setMinimumWidth(70*ww);
     113  _mountPointsTable->setMaximumHeight(20*ww);
    112114  _mountPointsTable->horizontalHeader()->setResizeMode(QHeaderView::Stretch);
    113115  _mountPointsTable->horizontalHeader()->hide();
Note: See TracChangeset for help on using the changeset viewer.