Changeset 198 for tools/ddd/GUI.cpp


Ignore:
Timestamp:
04/19/10 10:01:39 (14 years ago)
Author:
ogrimm
Message:
Added chip selection spin box
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/ddd/GUI.cpp

    r129 r198  
    4747  SpinLayout = new QFormLayout();
    4848  SpinLayout->setRowWrapPolicy(QFormLayout::WrapAllRows);
    49   SpinLayout->addRow("E&vent #", EventNo);
     49  SpinLayout->addRow("E&vent", EventNo);
    5050
    5151  // SpinBox for channel number
     
    5353  ChannelNo->setEnabled(false);
    5454  connect(ChannelNo, SIGNAL(valueChanged(int)), this, SLOT(DisplayEvent(int)));
    55   ChannelNo->setToolTip("Channels 0-19 for 2 DRS chips per mezzanine board");
     55  ChannelNo->setToolTip("DRS channel number");
     56
     57  // SpinBox for chip number
     58  ChipNo = new QSpinBox(Central);
     59  ChipNo->setEnabled(false);
     60  connect(ChipNo, SIGNAL(valueChanged(int)), this, SLOT(DisplayEvent(int)));
     61  ChipNo->setToolTip("DRS chip number");
    5662 
    5763  // SpinBox for board number
     
    7076  FormLayout = new QFormLayout;
    7177  FormLayout->setRowWrapPolicy(QFormLayout::WrapAllRows);
    72   FormLayout->addRow("&Channel #", ChannelNo);
    73   FormLayout->addRow("&Board #", BoardNo);
     78  FormLayout->addRow("&Channel", ChannelNo);
     79  FormLayout->addRow("Chip", ChipNo);
     80  FormLayout->addRow("&Board", BoardNo);
    7481  FormLayout->addRow("Pixel ID", PixelID);
    7582
Note: See TracChangeset for help on using the changeset viewer.