1 /******************************************************************************** 
   2 ** Form generated from reading UI file 'overlays.ui' 
   4 ** Created by: Qt User Interface Compiler version 5.6.1 
   6 ** WARNING! All changes made in this file will be lost when recompiling UI file! 
   7 ********************************************************************************/ 
  12 #include <QtCore/QVariant> 
  13 #include <QtWidgets/QAction> 
  14 #include <QtWidgets/QApplication> 
  15 #include <QtWidgets/QButtonGroup> 
  16 #include <QtWidgets/QFormLayout> 
  17 #include <QtWidgets/QHBoxLayout> 
  18 #include <QtWidgets/QHeaderView> 
  19 #include <QtWidgets/QLabel> 
  20 #include <QtWidgets/QPushButton> 
  21 #include <QtWidgets/QSlider> 
  22 #include <QtWidgets/QSpacerItem> 
  23 #include <QtWidgets/QTabWidget> 
  24 #include <QtWidgets/QVBoxLayout> 
  25 #include <QtWidgets/QWidget> 
  32     QVBoxLayout 
*verticalLayout_3
; 
  33     QTabWidget 
*tabWidget_overlays
; 
  35     QVBoxLayout 
*verticalLayout_2
; 
  36     QFormLayout 
*formLayout
; 
  39     QSlider 
*horizontalSlider_window
; 
  40     QSpacerItem 
*verticalSpacer
; 
  42     QVBoxLayout 
*verticalLayout_4
; 
  43     QFormLayout 
*formLayout_4
; 
  46     QSlider 
*horizontalSlider_askedge
; 
  47     QSpacerItem 
*verticalSpacer_3
; 
  49     QVBoxLayout 
*verticalLayout
; 
  50     QFormLayout 
*formLayout_2
; 
  53     QSlider 
*horizontalSlider_dirthr_up
; 
  54     QFormLayout 
*formLayout_3
; 
  57     QSlider 
*horizontalSlider_dirthr_down
; 
  58     QSpacerItem 
*verticalSpacer_2
; 
  59     QHBoxLayout 
*horizontalLayout
; 
  60     QPushButton 
*pushButton_apply
; 
  61     QPushButton 
*pushButton_sticky
; 
  62     QSpacerItem 
*horizontalSpacer
; 
  65     void setupUi(QWidget 
*Form
) 
  67         if (Form
->objectName().isEmpty()) 
  68             Form
->setObjectName(QStringLiteral("Form")); 
  69         Form
->resize(614, 286); 
  70         verticalLayout_3 
= new QVBoxLayout(Form
); 
  71         verticalLayout_3
->setObjectName(QStringLiteral("verticalLayout_3")); 
  72         tabWidget_overlays 
= new QTabWidget(Form
); 
  73         tabWidget_overlays
->setObjectName(QStringLiteral("tabWidget_overlays")); 
  75         tab
->setObjectName(QStringLiteral("tab")); 
  76         tab
->setFocusPolicy(Qt::StrongFocus
); 
  77         verticalLayout_2 
= new QVBoxLayout(tab
); 
  78         verticalLayout_2
->setObjectName(QStringLiteral("verticalLayout_2")); 
  79         formLayout 
= new QFormLayout(); 
  80         formLayout
->setObjectName(QStringLiteral("formLayout")); 
  81         label_5 
= new QLabel(tab
); 
  82         label_5
->setObjectName(QStringLiteral("label_5")); 
  84         formLayout
->setWidget(0, QFormLayout::FieldRole
, label_5
); 
  86         label 
= new QLabel(tab
); 
  87         label
->setObjectName(QStringLiteral("label")); 
  89         formLayout
->setWidget(0, QFormLayout::LabelRole
, label
); 
  92         verticalLayout_2
->addLayout(formLayout
); 
  94         horizontalSlider_window 
= new QSlider(tab
); 
  95         horizontalSlider_window
->setObjectName(QStringLiteral("horizontalSlider_window")); 
  96         horizontalSlider_window
->setMinimum(10); 
  97         horizontalSlider_window
->setMaximum(10000); 
  98         horizontalSlider_window
->setValue(2000); 
  99         horizontalSlider_window
->setOrientation(Qt::Horizontal
); 
 101         verticalLayout_2
->addWidget(horizontalSlider_window
); 
 103         verticalSpacer 
= new QSpacerItem(20, 40, QSizePolicy::Minimum
, QSizePolicy::Expanding
); 
 105         verticalLayout_2
->addItem(verticalSpacer
); 
 107         tabWidget_overlays
->addTab(tab
, QString()); 
 108         tab_3 
= new QWidget(); 
 109         tab_3
->setObjectName(QStringLiteral("tab_3")); 
 110         verticalLayout_4 
= new QVBoxLayout(tab_3
); 
 111         verticalLayout_4
->setObjectName(QStringLiteral("verticalLayout_4")); 
 112         formLayout_4 
= new QFormLayout(); 
 113         formLayout_4
->setObjectName(QStringLiteral("formLayout_4")); 
 114         formLayout_4
->setContentsMargins(-1, -1, -1, 0); 
 115         label_8 
= new QLabel(tab_3
); 
 116         label_8
->setObjectName(QStringLiteral("label_8")); 
 118         formLayout_4
->setWidget(0, QFormLayout::LabelRole
, label_8
); 
 120         label_9 
= new QLabel(tab_3
); 
 121         label_9
->setObjectName(QStringLiteral("label_9")); 
 123         formLayout_4
->setWidget(0, QFormLayout::FieldRole
, label_9
); 
 126         verticalLayout_4
->addLayout(formLayout_4
); 
 128         horizontalSlider_askedge 
= new QSlider(tab_3
); 
 129         horizontalSlider_askedge
->setObjectName(QStringLiteral("horizontalSlider_askedge")); 
 130         horizontalSlider_askedge
->setMinimum(5); 
 131         horizontalSlider_askedge
->setMaximum(80); 
 132         horizontalSlider_askedge
->setValue(20); 
 133         horizontalSlider_askedge
->setOrientation(Qt::Horizontal
); 
 135         verticalLayout_4
->addWidget(horizontalSlider_askedge
); 
 137         verticalSpacer_3 
= new QSpacerItem(20, 40, QSizePolicy::Minimum
, QSizePolicy::Expanding
); 
 139         verticalLayout_4
->addItem(verticalSpacer_3
); 
 141         tabWidget_overlays
->addTab(tab_3
, QString()); 
 142         tab_2 
= new QWidget(); 
 143         tab_2
->setObjectName(QStringLiteral("tab_2")); 
 144         verticalLayout 
= new QVBoxLayout(tab_2
); 
 145         verticalLayout
->setObjectName(QStringLiteral("verticalLayout")); 
 146         formLayout_2 
= new QFormLayout(); 
 147         formLayout_2
->setObjectName(QStringLiteral("formLayout_2")); 
 148         label_2 
= new QLabel(tab_2
); 
 149         label_2
->setObjectName(QStringLiteral("label_2")); 
 151         formLayout_2
->setWidget(0, QFormLayout::LabelRole
, label_2
); 
 153         label_6 
= new QLabel(tab_2
); 
 154         label_6
->setObjectName(QStringLiteral("label_6")); 
 156         formLayout_2
->setWidget(0, QFormLayout::FieldRole
, label_6
); 
 159         verticalLayout
->addLayout(formLayout_2
); 
 161         horizontalSlider_dirthr_up 
= new QSlider(tab_2
); 
 162         horizontalSlider_dirthr_up
->setObjectName(QStringLiteral("horizontalSlider_dirthr_up")); 
 163         horizontalSlider_dirthr_up
->setMaximum(128); 
 164         horizontalSlider_dirthr_up
->setValue(20); 
 165         horizontalSlider_dirthr_up
->setOrientation(Qt::Horizontal
); 
 167         verticalLayout
->addWidget(horizontalSlider_dirthr_up
); 
 169         formLayout_3 
= new QFormLayout(); 
 170         formLayout_3
->setObjectName(QStringLiteral("formLayout_3")); 
 171         label_3 
= new QLabel(tab_2
); 
 172         label_3
->setObjectName(QStringLiteral("label_3")); 
 174         formLayout_3
->setWidget(0, QFormLayout::LabelRole
, label_3
); 
 176         label_7 
= new QLabel(tab_2
); 
 177         label_7
->setObjectName(QStringLiteral("label_7")); 
 179         formLayout_3
->setWidget(0, QFormLayout::FieldRole
, label_7
); 
 182         verticalLayout
->addLayout(formLayout_3
); 
 184         horizontalSlider_dirthr_down 
= new QSlider(tab_2
); 
 185         horizontalSlider_dirthr_down
->setObjectName(QStringLiteral("horizontalSlider_dirthr_down")); 
 186         horizontalSlider_dirthr_down
->setMaximum(127); 
 187         horizontalSlider_dirthr_down
->setOrientation(Qt::Horizontal
); 
 189         verticalLayout
->addWidget(horizontalSlider_dirthr_down
); 
 191         verticalSpacer_2 
= new QSpacerItem(20, 40, QSizePolicy::Minimum
, QSizePolicy::Expanding
); 
 193         verticalLayout
->addItem(verticalSpacer_2
); 
 195         tabWidget_overlays
->addTab(tab_2
, QString()); 
 197         verticalLayout_3
->addWidget(tabWidget_overlays
); 
 199         horizontalLayout 
= new QHBoxLayout(); 
 200         horizontalLayout
->setObjectName(QStringLiteral("horizontalLayout")); 
 201         pushButton_apply 
= new QPushButton(Form
); 
 202         pushButton_apply
->setObjectName(QStringLiteral("pushButton_apply")); 
 204         horizontalLayout
->addWidget(pushButton_apply
); 
 206         pushButton_sticky 
= new QPushButton(Form
); 
 207         pushButton_sticky
->setObjectName(QStringLiteral("pushButton_sticky")); 
 209         horizontalLayout
->addWidget(pushButton_sticky
); 
 211         horizontalSpacer 
= new QSpacerItem(40, 20, QSizePolicy::Expanding
, QSizePolicy::Minimum
); 
 213         horizontalLayout
->addItem(horizontalSpacer
); 
 215         label_4 
= new QLabel(Form
); 
 216         label_4
->setObjectName(QStringLiteral("label_4")); 
 218         horizontalLayout
->addWidget(label_4
); 
 221         verticalLayout_3
->addLayout(horizontalLayout
); 
 225         QObject::connect(horizontalSlider_window
, SIGNAL(valueChanged(int)), label_4
, SLOT(setNum(int))); 
 226         QObject::connect(horizontalSlider_window
, SIGNAL(valueChanged(int)), label_5
, SLOT(setNum(int))); 
 227         QObject::connect(horizontalSlider_dirthr_up
, SIGNAL(valueChanged(int)), label_6
, SLOT(setNum(int))); 
 228         QObject::connect(horizontalSlider_dirthr_down
, SIGNAL(valueChanged(int)), label_7
, SLOT(setNum(int))); 
 229         QObject::connect(horizontalSlider_askedge
, SIGNAL(valueChanged(int)), label_9
, SLOT(setNum(int))); 
 231         tabWidget_overlays
->setCurrentIndex(1); 
 234         QMetaObject::connectSlotsByName(Form
); 
 237     void retranslateUi(QWidget 
*Form
) 
 239         Form
->setWindowTitle(QApplication::translate("Form", "Overlays", 0)); 
 240         label_5
->setText(QString()); 
 241         label
->setText(QApplication::translate("Form", "Window size", 0)); 
 242         tabWidget_overlays
->setTabText(tabWidget_overlays
->indexOf(tab
), QApplication::translate("Form", "Autocorrelate", 0)); 
 243         label_8
->setText(QApplication::translate("Form", "Edge Jump Threshold", 0)); 
 244         label_9
->setText(QString()); 
 245         tabWidget_overlays
->setTabText(tabWidget_overlays
->indexOf(tab_3
), QApplication::translate("Form", "AskEdge", 0)); 
 246         label_2
->setText(QApplication::translate("Form", "Up", 0)); 
 247         label_6
->setText(QString()); 
 248         label_3
->setText(QApplication::translate("Form", "Down", 0)); 
 249         label_7
->setText(QString()); 
 250         tabWidget_overlays
->setTabText(tabWidget_overlays
->indexOf(tab_2
), QApplication::translate("Form", "Dirthreshold", 0)); 
 251         pushButton_apply
->setText(QApplication::translate("Form", "Apply", 0)); 
 252         pushButton_sticky
->setText(QApplication::translate("Form", "Restore", 0)); 
 253         label_4
->setText(QString()); 
 259     class Form
: public Ui_Form 
{};