Changeset 8252 in ntrip for trunk/BNC/src/pppWidgets.cpp


Ignore:
Timestamp:
Jan 10, 2018, 1:16:12 PM (7 years ago)
Author:
stoecker
Message:

see #105 - reenable Qt4 build options, drop generic version dependend includes, replace by direct requirements, remaining QtCore lines should also be replaced

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/pppWidgets.cpp

    r8231 r8252  
    4040
    4141#include <iostream>
     42
     43#include <QCheckBox>
     44#include <QComboBox>
     45#include <QHeaderView>
     46#include <QLineEdit>
     47#include <QPushButton>
     48#include <QRadioButton>
     49#include <QSpinBox>
     50#include <QTableWidget>
    4251
    4352#include "pppWidgets.h"
     
    171180  _staTable->setSelectionMode(QAbstractItemView::ExtendedSelection);
    172181  _staTable->setSelectionBehavior(QAbstractItemView::SelectRows);
     182#if QT_VERSION >= 0x050000
    173183  _staTable->horizontalHeader()->setSectionResizeMode(QHeaderView::Interactive);
     184#endif
    174185  _staTable->horizontalHeader()->setDefaultAlignment(Qt::AlignLeft);
    175186
Note: See TracChangeset for help on using the changeset viewer.