SelectorWidget::SelectorWidget(QWidget *parent) : QWidget(parent) { setMouseTracking(true); setAutoFillBackground(true); max_wide = 3; //make this a parameter rect_w_ = 140; rect_h_ = 20; border = 3; selected_ = -1; height_total = 0; only_one_ = false; inner = QRectF(1, 1, rect_w_-1, rect_h_-1); outer = QRectF(2, 2, rect_w_-2, rect_h_-2); setToolTipDuration(10000); //hardcoded to 10 secs. Make this a parameter? }
CalibrationWidget::CalibrationWidget(QWidget *parent) : QWidget(parent) { setToolTip("Calibration vector representation:\n" "translations caused on the CCD by\n" "1 second RA and DEC activations"); setToolTipDuration(10000); }