Changeset 5107 in ntrip


Ignore:
Timestamp:
Apr 12, 2013, 5:08:36 PM (8 years ago)
Author:
mervart
Message:
 
Location:
trunk/GnssCenter/inpedit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/GnssCenter/inpedit/keyword.cpp

    r5106 r5107  
    143143  }
    144144  else if (widgetType == "uniline") {
    145     _widget = new t_uniLine(fldMask, this);
     145    _widget = new t_uniLine(fldMask, _origValues);
    146146  }
    147147
  • trunk/GnssCenter/inpedit/uniline.cpp

    r5000 r5107  
    6666// Constructor
    6767////////////////////////////////////////////////////////////////////////////////
    68 t_uniLine::t_uniLine(const QString& fldMask, const t_keyword* keyword,
     68t_uniLine::t_uniLine(const QString& fldMask, const QStringList& values,
    6969                     QWidget* parent) : QTableWidget(parent) {
    7070
     
    7373  static const QIcon   plusIcon(plusXPM);
    7474  static const QIcon   minusIcon(minusXPM);
    75 
    76   _keyword = keyword;
    77   const QStringList& values = _keyword->values();
    7875
    7976  setRowCount(values.size());
  • trunk/GnssCenter/inpedit/uniline.h

    r5000 r5107  
    1212
    1313 public:
    14   t_uniLine(const QString& fldMask, const t_keyword* keyword,
     14  t_uniLine(const QString& fldMask, const QStringList& values,
    1515            QWidget* parent = 0);
    1616  ~t_uniLine();
     
    2020
    2121 private:
    22   const t_keyword* _keyword;
    2322};
    2423
Note: See TracChangeset for help on using the changeset viewer.