Changeset 82 for tools/ddd/GUI.cpp
- Timestamp:
- 07/07/09 16:00:56 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/ddd/GUI.cpp
r81 r82 102 102 Graph->setAutoReplot(true); 103 103 Graph->setCanvasBackground(QColor(Qt::yellow)); 104 Graph->setToolTip("Left mouse button to zoom (+Shift to pan)");105 104 Zoomer = new QwtPlotZoomer(QwtPlot::xBottom,QwtPlot::yLeft,Graph->canvas()); 105 connect(Zoomer, SIGNAL(zoomed(const QwtDoubleRect &)), this, SLOT(HandleZoom(const QwtDoubleRect &))); 106 106 Panner = new QwtPlotPanner(Graph->canvas()); 107 107 Panner->setMouseButton(Qt::LeftButton, Qt::ShiftModifier); … … 112 112 Signal->attach(Graph); 113 113 Signal->setStyle(QwtPlotCurve::Steps); 114 115 AutoscaleBox = new QCheckBox("Autoscale", Central);116 AutoscaleBox->setFont(QFont("Times", 10, QFont::Bold));117 AutoscaleBox->setToolTip("Scale axes automatically");118 119 GraphLayout = new QVBoxLayout;120 GraphLayout->addWidget(Graph);121 GraphLayout->addWidget(AutoscaleBox);122 114 123 115 // Text boxes for run and event header … … 246 238 M0Stop = new QSpinBox(M0Window); 247 239 M0Stop->setEnabled(false); 240 M0Stop->setRange(0,1023); 241 M0Stop->setValue(1023); 248 242 connect(M0Stop, SIGNAL(valueChanged(int)), this, SLOT(DisplayEvent(int))); 249 243 M0Stop->setToolTip("Last bin/sample of time window");
Note:
See TracChangeset
for help on using the changeset viewer.