2015-07-11 07:28:35 -03:00
/********************************************************************************
2016-02-03 13:45:09 -02:00
* * Form generated from reading UI file ' samplebrainSm7172 . ui '
2015-07-11 07:28:35 -03:00
* *
2015-09-14 07:03:12 -03:00
* * Created by : Qt User Interface Compiler version 4.8 .6
2015-07-11 07:28:35 -03:00
* *
* * WARNING ! All changes made in this file will be lost when recompiling UI file !
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2016-02-03 13:45:09 -02:00
# ifndef SAMPLEBRAINSM7172_H
# define SAMPLEBRAINSM7172_H
2015-07-11 07:28:35 -03:00
# include <QtCore/QVariant>
# include <QtGui/QAction>
# include <QtGui/QApplication>
# include <QtGui/QButtonGroup>
2016-02-03 13:45:09 -02:00
# include <QtGui/QCheckBox>
2015-07-11 07:28:35 -03:00
# include <QtGui/QDial>
# include <QtGui/QDoubleSpinBox>
2015-07-18 20:34:56 -03:00
# include <QtGui/QGridLayout>
2015-07-11 07:28:35 -03:00
# include <QtGui/QHBoxLayout>
# include <QtGui/QHeaderView>
# include <QtGui/QLabel>
# include <QtGui/QListWidget>
# include <QtGui/QMainWindow>
2015-07-19 08:06:22 -03:00
# include <QtGui/QPlainTextEdit>
2015-07-11 07:28:35 -03:00
# include <QtGui/QPushButton>
2015-07-18 20:34:56 -03:00
# include <QtGui/QRadioButton>
2015-07-19 08:06:22 -03:00
# include <QtGui/QSlider>
2015-07-11 07:28:35 -03:00
# include <QtGui/QSpacerItem>
# include <QtGui/QSpinBox>
# include <QtGui/QStatusBar>
# include <QtGui/QTabWidget>
# include <QtGui/QVBoxLayout>
# include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class Ui_MainWindow
{
public :
QWidget * centralwidget ;
2015-07-22 11:32:36 -03:00
QVBoxLayout * verticalLayout_4 ;
2015-07-11 07:28:35 -03:00
QTabWidget * tabWidget ;
QWidget * controlTab ;
2015-08-06 09:39:14 -03:00
QHBoxLayout * horizontalLayout_5 ;
2015-07-11 17:30:16 -03:00
QVBoxLayout * verticalLayout_3 ;
2015-07-11 07:28:35 -03:00
QLabel * label_19 ;
2015-07-21 14:13:39 -03:00
QHBoxLayout * horizontalLayout_16 ;
2015-07-27 11:36:34 -03:00
QLabel * label_6 ;
2015-07-19 08:06:22 -03:00
QSlider * sliderRatio ;
2015-07-11 07:28:35 -03:00
QDoubleSpinBox * doubleSpinBoxRatio ;
2015-07-21 14:13:39 -03:00
QHBoxLayout * horizontalLayout ;
2015-07-27 11:36:34 -03:00
QLabel * label_20 ;
2015-07-21 14:13:39 -03:00
QSlider * sliderNRatio ;
QDoubleSpinBox * doubleSpinBoxNRatio ;
2015-07-11 07:28:35 -03:00
QHBoxLayout * horizontalLayout_3 ;
2015-07-27 11:36:34 -03:00
QLabel * label_7 ;
2015-07-11 07:28:35 -03:00
QLabel * label_9 ;
QSpinBox * spinBoxFFT1Start ;
QLabel * label_10 ;
QSpinBox * spinBoxFFT1End ;
2015-07-27 11:36:34 -03:00
QHBoxLayout * horizontalLayout_10 ;
QLabel * label_24 ;
QSlider * sliderNovelty ;
QDoubleSpinBox * doubleSpinBoxNovelty ;
QHBoxLayout * horizontalLayout_11 ;
QLabel * label_25 ;
QSlider * sliderBoredom ;
QDoubleSpinBox * doubleSpinBoxBoredom ;
2015-09-14 07:03:12 -03:00
QHBoxLayout * horizontalLayout_21 ;
QLabel * label_30 ;
QSlider * sliderStickyness ;
QDoubleSpinBox * doubleSpinBoxStickyness ;
2015-08-06 09:39:14 -03:00
QHBoxLayout * horizontalLayout_19 ;
QLabel * label_28 ;
QSlider * sliderSearchStretch ;
QSpinBox * spinBoxSearchStretch ;
2015-08-04 12:40:42 -03:00
QLabel * label_27 ;
QHBoxLayout * horizontalLayout_18 ;
QRadioButton * radioButtonAlgoBasic ;
QRadioButton * radioButtonAlgoRevBasic ;
QRadioButton * radioButtonSynaptic ;
QRadioButton * radioButtonSynapticSlide ;
2015-08-06 09:39:14 -03:00
QHBoxLayout * horizontalLayout_17 ;
QLabel * label_26 ;
QSlider * sliderSynapses ;
QSpinBox * spinBoxSynapses ;
QHBoxLayout * horizontalLayout_20 ;
QLabel * label_29 ;
QSlider * sliderSlideError ;
QSpinBox * spinBoxSlideError ;
2015-10-16 12:23:51 -03:00
QSpacerItem * horizontalSpacer_2 ;
2015-07-18 20:34:56 -03:00
QVBoxLayout * verticalLayout_6 ;
2015-07-11 07:28:35 -03:00
QLabel * label_16 ;
QPushButton * pushButtonLoadTarget ;
QHBoxLayout * horizontalLayout_13 ;
QLabel * label_17 ;
QSpinBox * spinBoxBlockSizeTarget ;
QHBoxLayout * horizontalLayout_14 ;
QLabel * label_18 ;
2015-07-11 17:30:16 -03:00
QDoubleSpinBox * doubleSpinBoxBlockOverlapTarget ;
2015-07-18 20:34:56 -03:00
QGridLayout * gridLayout_2 ;
QRadioButton * radioButton_bartlettTarget ;
QRadioButton * radioButton_blackmanTarget ;
QRadioButton * radioButton_gaussianTarget ;
QRadioButton * radioButton_hammingTarget ;
QRadioButton * radioButton_hannTarget ;
QRadioButton * radioButton_flattopTarget ;
QRadioButton * radioButton_dodgyTarget ;
QRadioButton * radioButton_rectangleTarget ;
QLabel * label_14 ;
2015-07-11 07:28:35 -03:00
QPushButton * pushButtonGenerateTarget ;
2015-09-25 05:14:01 -03:00
QLabel * label_23 ;
QHBoxLayout * horizontalLayout_22 ;
QLabel * label_31 ;
QSlider * sliderAutotune ;
QDoubleSpinBox * doubleSpinBoxAutotune ;
QHBoxLayout * horizontalLayout_8 ;
QLabel * label_21 ;
QSlider * sliderNMix ;
QDoubleSpinBox * doubleSpinBoxNMix ;
QHBoxLayout * horizontalLayout_9 ;
QLabel * label_22 ;
QSlider * sliderTargetMix ;
QDoubleSpinBox * doubleSpinBoxTargetMix ;
2016-02-03 13:45:09 -02:00
QCheckBox * checkBoxStereo ;
2015-07-11 07:28:35 -03:00
QSpacerItem * verticalSpacer ;
2015-10-16 12:23:51 -03:00
QVBoxLayout * verticalLayout_2 ;
2015-07-11 07:28:35 -03:00
QLabel * label_3 ;
2015-09-25 05:14:01 -03:00
QListWidget * listWidgetSounds ;
QHBoxLayout * horizontalLayout_2 ;
QPushButton * pushButtonLoadSound ;
QPushButton * pushButtonDeleteSound ;
QPushButton * pushButtonClearBrain ;
2015-07-11 07:28:35 -03:00
QHBoxLayout * horizontalLayout_4 ;
QLabel * label ;
QSpinBox * spinBoxBlockSize ;
QHBoxLayout * horizontalLayout_6 ;
QLabel * label_2 ;
2015-07-11 17:30:16 -03:00
QDoubleSpinBox * doubleSpinBoxBlockOverlap ;
2015-07-18 20:34:56 -03:00
QGridLayout * gridLayout ;
2015-09-25 05:14:01 -03:00
QRadioButton * radioButton_gaussian ;
2015-10-16 12:23:51 -03:00
QRadioButton * radioButton_hamming ;
2015-08-04 12:40:42 -03:00
QRadioButton * radioButton_dodgy ;
QRadioButton * radioButton_blackman ;
2015-07-18 20:34:56 -03:00
QRadioButton * radioButton_rectagle ;
2015-08-04 12:40:42 -03:00
QRadioButton * radioButton_bartlett ;
QRadioButton * radioButton_flattop ;
QRadioButton * radioButton_hann ;
2015-07-11 07:28:35 -03:00
QLabel * label_4 ;
QPushButton * pushButtonGenerate ;
QHBoxLayout * horizontalLayout_7 ;
2015-08-04 12:40:42 -03:00
QPushButton * pushButtonLoadBrain ;
2015-07-11 07:28:35 -03:00
QPushButton * pushButtonSaveBrain ;
2015-10-16 12:23:51 -03:00
QSpacerItem * verticalSpacer_2 ;
2015-07-19 08:06:22 -03:00
QWidget * logTab ;
QHBoxLayout * horizontalLayout_15 ;
QPlainTextEdit * plainTextEdit ;
QHBoxLayout * horizontalLayout_12 ;
QPushButton * pushButtonPlay ;
QPushButton * pushButtonStop ;
QPushButton * pushButtonRecord ;
QPushButton * pushButtonStopRecord ;
QDial * dialVolume ;
2015-10-16 12:23:51 -03:00
QVBoxLayout * verticalLayout ;
QPushButton * pushButtonLoadSession ;
QPushButton * pushButtonSaveSession ;
2015-07-21 10:58:13 -03:00
QSpacerItem * horizontalSpacer ;
QLabel * label_13 ;
2015-07-11 07:28:35 -03:00
QStatusBar * statusbar ;
2015-08-04 12:40:42 -03:00
QButtonGroup * buttonGroup_2 ;
QButtonGroup * buttonGroup_3 ;
2015-08-06 09:39:14 -03:00
QButtonGroup * buttonGroup ;
2015-07-11 07:28:35 -03:00
void setupUi ( QMainWindow * MainWindow )
{
if ( MainWindow - > objectName ( ) . isEmpty ( ) )
MainWindow - > setObjectName ( QString : : fromUtf8 ( " MainWindow " ) ) ;
2015-10-16 12:23:51 -03:00
MainWindow - > resize ( 910 , 795 ) ;
2015-07-11 07:28:35 -03:00
centralwidget = new QWidget ( MainWindow ) ;
centralwidget - > setObjectName ( QString : : fromUtf8 ( " centralwidget " ) ) ;
2015-07-22 11:32:36 -03:00
verticalLayout_4 = new QVBoxLayout ( centralwidget ) ;
verticalLayout_4 - > setObjectName ( QString : : fromUtf8 ( " verticalLayout_4 " ) ) ;
2015-07-11 07:28:35 -03:00
tabWidget = new QTabWidget ( centralwidget ) ;
tabWidget - > setObjectName ( QString : : fromUtf8 ( " tabWidget " ) ) ;
2015-07-11 17:30:16 -03:00
QFont font ;
font . setFamily ( QString : : fromUtf8 ( " Comic Sans MS " ) ) ;
font . setBold ( true ) ;
font . setWeight ( 75 ) ;
tabWidget - > setFont ( font ) ;
2015-07-11 07:28:35 -03:00
controlTab = new QWidget ( ) ;
controlTab - > setObjectName ( QString : : fromUtf8 ( " controlTab " ) ) ;
2015-08-06 09:39:14 -03:00
horizontalLayout_5 = new QHBoxLayout ( controlTab ) ;
horizontalLayout_5 - > setObjectName ( QString : : fromUtf8 ( " horizontalLayout_5 " ) ) ;
2015-07-11 17:30:16 -03:00
verticalLayout_3 = new QVBoxLayout ( ) ;
verticalLayout_3 - > setObjectName ( QString : : fromUtf8 ( " verticalLayout_3 " ) ) ;
2015-07-11 07:28:35 -03:00
label_19 = new QLabel ( controlTab ) ;
label_19 - > setObjectName ( QString : : fromUtf8 ( " label_19 " ) ) ;
2015-07-11 17:30:16 -03:00
QFont font1 ;
font1 . setFamily ( QString : : fromUtf8 ( " Comic Sans MS " ) ) ;
font1 . setPointSize ( 20 ) ;
font1 . setBold ( true ) ;
font1 . setWeight ( 75 ) ;
label_19 - > setFont ( font1 ) ;
2015-07-11 07:28:35 -03:00
2015-07-11 17:30:16 -03:00
verticalLayout_3 - > addWidget ( label_19 ) ;
2015-07-11 07:28:35 -03:00
2015-07-27 11:36:34 -03:00
horizontalLayout_16 = new QHBoxLayout ( ) ;
horizontalLayout_16 - > setObjectName ( QString : : fromUtf8 ( " horizontalLayout_16 " ) ) ;
2015-07-11 07:28:35 -03:00
label_6 = new QLabel ( controlTab ) ;
label_6 - > setObjectName ( QString : : fromUtf8 ( " label_6 " ) ) ;
2015-07-11 08:29:51 -03:00
QFont font2 ;
font2 . setFamily ( QString : : fromUtf8 ( " Comic Sans MS " ) ) ;
2015-07-22 11:32:36 -03:00
font2 . setPointSize ( 9 ) ;
2015-07-11 08:29:51 -03:00
font2 . setBold ( true ) ;
font2 . setWeight ( 75 ) ;
label_6 - > setFont ( font2 ) ;
2015-07-11 07:28:35 -03:00
2015-07-27 11:36:34 -03:00
horizontalLayout_16 - > addWidget ( label_6 ) ;
2015-07-11 07:28:35 -03:00
2015-07-19 08:06:22 -03:00
sliderRatio = new QSlider ( controlTab ) ;
sliderRatio - > setObjectName ( QString : : fromUtf8 ( " sliderRatio " ) ) ;
QSizePolicy sizePolicy ( QSizePolicy : : Preferred , QSizePolicy : : Fixed ) ;
sizePolicy . setHorizontalStretch ( 0 ) ;
sizePolicy . setVerticalStretch ( 0 ) ;
sizePolicy . setHeightForWidth ( sliderRatio - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
sliderRatio - > setSizePolicy ( sizePolicy ) ;
2015-08-04 12:40:42 -03:00
sliderRatio - > setMaximum ( 100 ) ;
2015-07-19 08:06:22 -03:00
sliderRatio - > setValue ( 50 ) ;
sliderRatio - > setOrientation ( Qt : : Horizontal ) ;
2015-07-11 08:29:51 -03:00
2015-07-21 14:13:39 -03:00
horizontalLayout_16 - > addWidget ( sliderRatio ) ;
2015-07-11 07:28:35 -03:00
doubleSpinBoxRatio = new QDoubleSpinBox ( controlTab ) ;
doubleSpinBoxRatio - > setObjectName ( QString : : fromUtf8 ( " doubleSpinBoxRatio " ) ) ;
2015-07-21 14:13:39 -03:00
QSizePolicy sizePolicy1 ( QSizePolicy : : Fixed , QSizePolicy : : Fixed ) ;
sizePolicy1 . setHorizontalStretch ( 0 ) ;
sizePolicy1 . setVerticalStretch ( 0 ) ;
sizePolicy1 . setHeightForWidth ( doubleSpinBoxRatio - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
doubleSpinBoxRatio - > setSizePolicy ( sizePolicy1 ) ;
2015-07-11 17:30:16 -03:00
doubleSpinBoxRatio - > setMaximum ( 1 ) ;
doubleSpinBoxRatio - > setSingleStep ( 0.01 ) ;
doubleSpinBoxRatio - > setValue ( 0.5 ) ;
2015-07-11 07:28:35 -03:00
2015-07-21 14:13:39 -03:00
horizontalLayout_16 - > addWidget ( doubleSpinBoxRatio ) ;
verticalLayout_3 - > addLayout ( horizontalLayout_16 ) ;
2015-07-27 11:36:34 -03:00
horizontalLayout = new QHBoxLayout ( ) ;
horizontalLayout - > setObjectName ( QString : : fromUtf8 ( " horizontalLayout " ) ) ;
2015-07-21 14:13:39 -03:00
label_20 = new QLabel ( controlTab ) ;
label_20 - > setObjectName ( QString : : fromUtf8 ( " label_20 " ) ) ;
label_20 - > setFont ( font2 ) ;
2015-07-27 11:36:34 -03:00
horizontalLayout - > addWidget ( label_20 ) ;
2015-07-21 14:13:39 -03:00
sliderNRatio = new QSlider ( controlTab ) ;
sliderNRatio - > setObjectName ( QString : : fromUtf8 ( " sliderNRatio " ) ) ;
sizePolicy . setHeightForWidth ( sliderNRatio - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
sliderNRatio - > setSizePolicy ( sizePolicy ) ;
2015-08-04 12:40:42 -03:00
sliderNRatio - > setMaximum ( 100 ) ;
2015-07-22 11:32:36 -03:00
sliderNRatio - > setValue ( 0 ) ;
2015-07-21 14:13:39 -03:00
sliderNRatio - > setOrientation ( Qt : : Horizontal ) ;
horizontalLayout - > addWidget ( sliderNRatio ) ;
doubleSpinBoxNRatio = new QDoubleSpinBox ( controlTab ) ;
doubleSpinBoxNRatio - > setObjectName ( QString : : fromUtf8 ( " doubleSpinBoxNRatio " ) ) ;
sizePolicy1 . setHeightForWidth ( doubleSpinBoxNRatio - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
doubleSpinBoxNRatio - > setSizePolicy ( sizePolicy1 ) ;
doubleSpinBoxNRatio - > setMaximum ( 1 ) ;
doubleSpinBoxNRatio - > setSingleStep ( 0.01 ) ;
2015-07-22 11:32:36 -03:00
doubleSpinBoxNRatio - > setValue ( 0 ) ;
2015-07-21 14:13:39 -03:00
horizontalLayout - > addWidget ( doubleSpinBoxNRatio ) ;
verticalLayout_3 - > addLayout ( horizontalLayout ) ;
2015-07-11 07:28:35 -03:00
2015-07-27 11:36:34 -03:00
horizontalLayout_3 = new QHBoxLayout ( ) ;
horizontalLayout_3 - > setObjectName ( QString : : fromUtf8 ( " horizontalLayout_3 " ) ) ;
2015-07-11 07:28:35 -03:00
label_7 = new QLabel ( controlTab ) ;
label_7 - > setObjectName ( QString : : fromUtf8 ( " label_7 " ) ) ;
2015-07-11 08:29:51 -03:00
label_7 - > setFont ( font2 ) ;
2015-07-11 07:28:35 -03:00
2015-07-27 11:36:34 -03:00
horizontalLayout_3 - > addWidget ( label_7 ) ;
2015-07-11 07:28:35 -03:00
label_9 = new QLabel ( controlTab ) ;
label_9 - > setObjectName ( QString : : fromUtf8 ( " label_9 " ) ) ;
2015-07-27 11:36:34 -03:00
QSizePolicy sizePolicy2 ( QSizePolicy : : Fixed , QSizePolicy : : Preferred ) ;
sizePolicy2 . setHorizontalStretch ( 0 ) ;
sizePolicy2 . setVerticalStretch ( 0 ) ;
sizePolicy2 . setHeightForWidth ( label_9 - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
label_9 - > setSizePolicy ( sizePolicy2 ) ;
2015-07-11 17:30:16 -03:00
label_9 - > setFont ( font ) ;
2015-07-11 07:28:35 -03:00
horizontalLayout_3 - > addWidget ( label_9 ) ;
spinBoxFFT1Start = new QSpinBox ( controlTab ) ;
spinBoxFFT1Start - > setObjectName ( QString : : fromUtf8 ( " spinBoxFFT1Start " ) ) ;
horizontalLayout_3 - > addWidget ( spinBoxFFT1Start ) ;
label_10 = new QLabel ( controlTab ) ;
label_10 - > setObjectName ( QString : : fromUtf8 ( " label_10 " ) ) ;
2015-07-27 11:36:34 -03:00
sizePolicy2 . setHeightForWidth ( label_10 - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
label_10 - > setSizePolicy ( sizePolicy2 ) ;
2015-07-11 17:30:16 -03:00
label_10 - > setFont ( font ) ;
2015-07-11 07:28:35 -03:00
2015-07-21 14:13:39 -03:00
horizontalLayout_3 - > addWidget ( label_10 ) ;
2015-07-11 07:28:35 -03:00
spinBoxFFT1End = new QSpinBox ( controlTab ) ;
spinBoxFFT1End - > setObjectName ( QString : : fromUtf8 ( " spinBoxFFT1End " ) ) ;
2015-07-11 17:30:16 -03:00
spinBoxFFT1End - > setValue ( 99 ) ;
2015-07-11 07:28:35 -03:00
2015-07-21 14:13:39 -03:00
horizontalLayout_3 - > addWidget ( spinBoxFFT1End ) ;
2015-07-11 07:28:35 -03:00
2015-07-21 14:13:39 -03:00
verticalLayout_3 - > addLayout ( horizontalLayout_3 ) ;
2015-07-11 07:28:35 -03:00
2015-07-27 11:36:34 -03:00
horizontalLayout_10 = new QHBoxLayout ( ) ;
horizontalLayout_10 - > setObjectName ( QString : : fromUtf8 ( " horizontalLayout_10 " ) ) ;
label_24 = new QLabel ( controlTab ) ;
label_24 - > setObjectName ( QString : : fromUtf8 ( " label_24 " ) ) ;
label_24 - > setFont ( font2 ) ;
horizontalLayout_10 - > addWidget ( label_24 ) ;
sliderNovelty = new QSlider ( controlTab ) ;
sliderNovelty - > setObjectName ( QString : : fromUtf8 ( " sliderNovelty " ) ) ;
sizePolicy . setHeightForWidth ( sliderNovelty - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
sliderNovelty - > setSizePolicy ( sizePolicy ) ;
2015-08-04 12:40:42 -03:00
sliderNovelty - > setMaximum ( 100 ) ;
2015-07-27 11:36:34 -03:00
sliderNovelty - > setValue ( 0 ) ;
sliderNovelty - > setOrientation ( Qt : : Horizontal ) ;
horizontalLayout_10 - > addWidget ( sliderNovelty ) ;
doubleSpinBoxNovelty = new QDoubleSpinBox ( controlTab ) ;
doubleSpinBoxNovelty - > setObjectName ( QString : : fromUtf8 ( " doubleSpinBoxNovelty " ) ) ;
sizePolicy1 . setHeightForWidth ( doubleSpinBoxNovelty - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
doubleSpinBoxNovelty - > setSizePolicy ( sizePolicy1 ) ;
doubleSpinBoxNovelty - > setMaximum ( 1 ) ;
doubleSpinBoxNovelty - > setSingleStep ( 0.01 ) ;
doubleSpinBoxNovelty - > setValue ( 0 ) ;
horizontalLayout_10 - > addWidget ( doubleSpinBoxNovelty ) ;
verticalLayout_3 - > addLayout ( horizontalLayout_10 ) ;
horizontalLayout_11 = new QHBoxLayout ( ) ;
horizontalLayout_11 - > setObjectName ( QString : : fromUtf8 ( " horizontalLayout_11 " ) ) ;
label_25 = new QLabel ( controlTab ) ;
label_25 - > setObjectName ( QString : : fromUtf8 ( " label_25 " ) ) ;
label_25 - > setFont ( font2 ) ;
horizontalLayout_11 - > addWidget ( label_25 ) ;
sliderBoredom = new QSlider ( controlTab ) ;
sliderBoredom - > setObjectName ( QString : : fromUtf8 ( " sliderBoredom " ) ) ;
sizePolicy . setHeightForWidth ( sliderBoredom - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
sliderBoredom - > setSizePolicy ( sizePolicy ) ;
2015-08-04 12:40:42 -03:00
sliderBoredom - > setMaximum ( 100 ) ;
2015-07-27 11:36:34 -03:00
sliderBoredom - > setValue ( 0 ) ;
sliderBoredom - > setOrientation ( Qt : : Horizontal ) ;
horizontalLayout_11 - > addWidget ( sliderBoredom ) ;
doubleSpinBoxBoredom = new QDoubleSpinBox ( controlTab ) ;
doubleSpinBoxBoredom - > setObjectName ( QString : : fromUtf8 ( " doubleSpinBoxBoredom " ) ) ;
sizePolicy1 . setHeightForWidth ( doubleSpinBoxBoredom - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
doubleSpinBoxBoredom - > setSizePolicy ( sizePolicy1 ) ;
doubleSpinBoxBoredom - > setMaximum ( 1 ) ;
doubleSpinBoxBoredom - > setSingleStep ( 0.01 ) ;
doubleSpinBoxBoredom - > setValue ( 0 ) ;
horizontalLayout_11 - > addWidget ( doubleSpinBoxBoredom ) ;
verticalLayout_3 - > addLayout ( horizontalLayout_11 ) ;
2015-09-14 07:03:12 -03:00
horizontalLayout_21 = new QHBoxLayout ( ) ;
horizontalLayout_21 - > setObjectName ( QString : : fromUtf8 ( " horizontalLayout_21 " ) ) ;
label_30 = new QLabel ( controlTab ) ;
label_30 - > setObjectName ( QString : : fromUtf8 ( " label_30 " ) ) ;
label_30 - > setFont ( font2 ) ;
horizontalLayout_21 - > addWidget ( label_30 ) ;
sliderStickyness = new QSlider ( controlTab ) ;
sliderStickyness - > setObjectName ( QString : : fromUtf8 ( " sliderStickyness " ) ) ;
sizePolicy . setHeightForWidth ( sliderStickyness - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
sliderStickyness - > setSizePolicy ( sizePolicy ) ;
sliderStickyness - > setMaximum ( 100 ) ;
sliderStickyness - > setValue ( 0 ) ;
sliderStickyness - > setOrientation ( Qt : : Horizontal ) ;
horizontalLayout_21 - > addWidget ( sliderStickyness ) ;
doubleSpinBoxStickyness = new QDoubleSpinBox ( controlTab ) ;
doubleSpinBoxStickyness - > setObjectName ( QString : : fromUtf8 ( " doubleSpinBoxStickyness " ) ) ;
sizePolicy1 . setHeightForWidth ( doubleSpinBoxStickyness - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
doubleSpinBoxStickyness - > setSizePolicy ( sizePolicy1 ) ;
doubleSpinBoxStickyness - > setMaximum ( 1 ) ;
doubleSpinBoxStickyness - > setSingleStep ( 0.01 ) ;
doubleSpinBoxStickyness - > setValue ( 0 ) ;
horizontalLayout_21 - > addWidget ( doubleSpinBoxStickyness ) ;
verticalLayout_3 - > addLayout ( horizontalLayout_21 ) ;
2015-08-06 09:39:14 -03:00
horizontalLayout_19 = new QHBoxLayout ( ) ;
horizontalLayout_19 - > setObjectName ( QString : : fromUtf8 ( " horizontalLayout_19 " ) ) ;
label_28 = new QLabel ( controlTab ) ;
label_28 - > setObjectName ( QString : : fromUtf8 ( " label_28 " ) ) ;
label_28 - > setFont ( font2 ) ;
2015-08-04 12:40:42 -03:00
2015-08-06 09:39:14 -03:00
horizontalLayout_19 - > addWidget ( label_28 ) ;
2015-08-04 12:40:42 -03:00
2015-08-06 09:39:14 -03:00
sliderSearchStretch = new QSlider ( controlTab ) ;
sliderSearchStretch - > setObjectName ( QString : : fromUtf8 ( " sliderSearchStretch " ) ) ;
sizePolicy . setHeightForWidth ( sliderSearchStretch - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
sliderSearchStretch - > setSizePolicy ( sizePolicy ) ;
sliderSearchStretch - > setMinimum ( 1 ) ;
2015-08-07 06:13:57 -03:00
sliderSearchStretch - > setMaximum ( 50 ) ;
2015-08-06 09:39:14 -03:00
sliderSearchStretch - > setValue ( 1 ) ;
sliderSearchStretch - > setOrientation ( Qt : : Horizontal ) ;
2015-08-04 12:40:42 -03:00
2015-08-06 09:39:14 -03:00
horizontalLayout_19 - > addWidget ( sliderSearchStretch ) ;
2015-08-04 12:40:42 -03:00
2015-08-06 09:39:14 -03:00
spinBoxSearchStretch = new QSpinBox ( controlTab ) ;
spinBoxSearchStretch - > setObjectName ( QString : : fromUtf8 ( " spinBoxSearchStretch " ) ) ;
sizePolicy1 . setHeightForWidth ( spinBoxSearchStretch - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
spinBoxSearchStretch - > setSizePolicy ( sizePolicy1 ) ;
spinBoxSearchStretch - > setMinimum ( 1 ) ;
2015-08-07 06:13:57 -03:00
spinBoxSearchStretch - > setMaximum ( 50 ) ;
2015-08-06 09:39:14 -03:00
spinBoxSearchStretch - > setValue ( 1 ) ;
2015-08-04 12:40:42 -03:00
2015-08-06 09:39:14 -03:00
horizontalLayout_19 - > addWidget ( spinBoxSearchStretch ) ;
2015-08-04 12:40:42 -03:00
2015-08-06 09:39:14 -03:00
verticalLayout_3 - > addLayout ( horizontalLayout_19 ) ;
2015-08-04 12:40:42 -03:00
label_27 = new QLabel ( controlTab ) ;
label_27 - > setObjectName ( QString : : fromUtf8 ( " label_27 " ) ) ;
QFont font3 ;
font3 . setFamily ( QString : : fromUtf8 ( " Comic Sans MS " ) ) ;
font3 . setPointSize ( 10 ) ;
font3 . setBold ( true ) ;
font3 . setWeight ( 75 ) ;
label_27 - > setFont ( font3 ) ;
verticalLayout_3 - > addWidget ( label_27 ) ;
horizontalLayout_18 = new QHBoxLayout ( ) ;
horizontalLayout_18 - > setObjectName ( QString : : fromUtf8 ( " horizontalLayout_18 " ) ) ;
radioButtonAlgoBasic = new QRadioButton ( controlTab ) ;
buttonGroup_3 = new QButtonGroup ( MainWindow ) ;
buttonGroup_3 - > setObjectName ( QString : : fromUtf8 ( " buttonGroup_3 " ) ) ;
buttonGroup_3 - > addButton ( radioButtonAlgoBasic ) ;
radioButtonAlgoBasic - > setObjectName ( QString : : fromUtf8 ( " radioButtonAlgoBasic " ) ) ;
radioButtonAlgoBasic - > setChecked ( true ) ;
horizontalLayout_18 - > addWidget ( radioButtonAlgoBasic ) ;
2015-07-21 18:28:48 -03:00
2015-08-04 12:40:42 -03:00
radioButtonAlgoRevBasic = new QRadioButton ( controlTab ) ;
buttonGroup_3 - > addButton ( radioButtonAlgoRevBasic ) ;
radioButtonAlgoRevBasic - > setObjectName ( QString : : fromUtf8 ( " radioButtonAlgoRevBasic " ) ) ;
2015-07-21 18:28:48 -03:00
2015-08-04 12:40:42 -03:00
horizontalLayout_18 - > addWidget ( radioButtonAlgoRevBasic ) ;
radioButtonSynaptic = new QRadioButton ( controlTab ) ;
buttonGroup_3 - > addButton ( radioButtonSynaptic ) ;
radioButtonSynaptic - > setObjectName ( QString : : fromUtf8 ( " radioButtonSynaptic " ) ) ;
radioButtonSynaptic - > setChecked ( false ) ;
horizontalLayout_18 - > addWidget ( radioButtonSynaptic ) ;
radioButtonSynapticSlide = new QRadioButton ( controlTab ) ;
buttonGroup_3 - > addButton ( radioButtonSynapticSlide ) ;
radioButtonSynapticSlide - > setObjectName ( QString : : fromUtf8 ( " radioButtonSynapticSlide " ) ) ;
2015-08-06 09:39:14 -03:00
radioButtonSynapticSlide - > setEnabled ( true ) ;
2015-08-04 12:40:42 -03:00
radioButtonSynapticSlide - > setCheckable ( true ) ;
horizontalLayout_18 - > addWidget ( radioButtonSynapticSlide ) ;
verticalLayout_3 - > addLayout ( horizontalLayout_18 ) ;
2015-08-06 09:39:14 -03:00
horizontalLayout_17 = new QHBoxLayout ( ) ;
horizontalLayout_17 - > setObjectName ( QString : : fromUtf8 ( " horizontalLayout_17 " ) ) ;
label_26 = new QLabel ( controlTab ) ;
label_26 - > setObjectName ( QString : : fromUtf8 ( " label_26 " ) ) ;
label_26 - > setFont ( font2 ) ;
2015-07-27 11:36:34 -03:00
2015-08-06 09:39:14 -03:00
horizontalLayout_17 - > addWidget ( label_26 ) ;
2015-07-27 11:36:34 -03:00
2015-08-06 09:39:14 -03:00
sliderSynapses = new QSlider ( controlTab ) ;
sliderSynapses - > setObjectName ( QString : : fromUtf8 ( " sliderSynapses " ) ) ;
sizePolicy . setHeightForWidth ( sliderSynapses - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
sliderSynapses - > setSizePolicy ( sizePolicy ) ;
sliderSynapses - > setMaximum ( 1000 ) ;
sliderSynapses - > setValue ( 20 ) ;
sliderSynapses - > setOrientation ( Qt : : Horizontal ) ;
2015-07-27 11:36:34 -03:00
2015-08-06 09:39:14 -03:00
horizontalLayout_17 - > addWidget ( sliderSynapses ) ;
spinBoxSynapses = new QSpinBox ( controlTab ) ;
spinBoxSynapses - > setObjectName ( QString : : fromUtf8 ( " spinBoxSynapses " ) ) ;
sizePolicy1 . setHeightForWidth ( spinBoxSynapses - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
spinBoxSynapses - > setSizePolicy ( sizePolicy1 ) ;
spinBoxSynapses - > setMaximum ( 1000 ) ;
spinBoxSynapses - > setValue ( 20 ) ;
horizontalLayout_17 - > addWidget ( spinBoxSynapses ) ;
verticalLayout_3 - > addLayout ( horizontalLayout_17 ) ;
horizontalLayout_20 = new QHBoxLayout ( ) ;
horizontalLayout_20 - > setObjectName ( QString : : fromUtf8 ( " horizontalLayout_20 " ) ) ;
label_29 = new QLabel ( controlTab ) ;
label_29 - > setObjectName ( QString : : fromUtf8 ( " label_29 " ) ) ;
label_29 - > setFont ( font2 ) ;
horizontalLayout_20 - > addWidget ( label_29 ) ;
sliderSlideError = new QSlider ( controlTab ) ;
sliderSlideError - > setObjectName ( QString : : fromUtf8 ( " sliderSlideError " ) ) ;
sizePolicy . setHeightForWidth ( sliderSlideError - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
sliderSlideError - > setSizePolicy ( sizePolicy ) ;
sliderSlideError - > setMaximum ( 10000 ) ;
sliderSlideError - > setSingleStep ( 100 ) ;
sliderSlideError - > setValue ( 1000 ) ;
sliderSlideError - > setOrientation ( Qt : : Horizontal ) ;
horizontalLayout_20 - > addWidget ( sliderSlideError ) ;
spinBoxSlideError = new QSpinBox ( controlTab ) ;
spinBoxSlideError - > setObjectName ( QString : : fromUtf8 ( " spinBoxSlideError " ) ) ;
sizePolicy1 . setHeightForWidth ( spinBoxSlideError - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
spinBoxSlideError - > setSizePolicy ( sizePolicy1 ) ;
spinBoxSlideError - > setMaximum ( 10000 ) ;
spinBoxSlideError - > setSingleStep ( 100 ) ;
spinBoxSlideError - > setValue ( 1000 ) ;
horizontalLayout_20 - > addWidget ( spinBoxSlideError ) ;
verticalLayout_3 - > addLayout ( horizontalLayout_20 ) ;
2015-10-16 12:23:51 -03:00
horizontalSpacer_2 = new QSpacerItem ( 21 , 20 , QSizePolicy : : Expanding , QSizePolicy : : Minimum ) ;
verticalLayout_3 - > addItem ( horizontalSpacer_2 ) ;
2015-07-11 07:28:35 -03:00
2015-08-06 09:39:14 -03:00
horizontalLayout_5 - > addLayout ( verticalLayout_3 ) ;
2015-07-11 07:28:35 -03:00
2015-07-18 20:34:56 -03:00
verticalLayout_6 = new QVBoxLayout ( ) ;
verticalLayout_6 - > setObjectName ( QString : : fromUtf8 ( " verticalLayout_6 " ) ) ;
2015-07-11 07:28:35 -03:00
label_16 = new QLabel ( controlTab ) ;
label_16 - > setObjectName ( QString : : fromUtf8 ( " label_16 " ) ) ;
2015-07-11 17:30:16 -03:00
label_16 - > setFont ( font1 ) ;
2015-07-11 07:28:35 -03:00
2015-07-18 20:34:56 -03:00
verticalLayout_6 - > addWidget ( label_16 ) ;
2015-07-11 07:28:35 -03:00
pushButtonLoadTarget = new QPushButton ( controlTab ) ;
pushButtonLoadTarget - > setObjectName ( QString : : fromUtf8 ( " pushButtonLoadTarget " ) ) ;
2015-07-11 17:30:16 -03:00
pushButtonLoadTarget - > setFont ( font ) ;
2015-07-11 07:28:35 -03:00
2015-07-18 20:34:56 -03:00
verticalLayout_6 - > addWidget ( pushButtonLoadTarget ) ;
2015-07-11 07:28:35 -03:00
horizontalLayout_13 = new QHBoxLayout ( ) ;
horizontalLayout_13 - > setObjectName ( QString : : fromUtf8 ( " horizontalLayout_13 " ) ) ;
label_17 = new QLabel ( controlTab ) ;
label_17 - > setObjectName ( QString : : fromUtf8 ( " label_17 " ) ) ;
2015-07-11 17:30:16 -03:00
label_17 - > setFont ( font ) ;
2015-07-11 07:28:35 -03:00
horizontalLayout_13 - > addWidget ( label_17 ) ;
spinBoxBlockSizeTarget = new QSpinBox ( controlTab ) ;
spinBoxBlockSizeTarget - > setObjectName ( QString : : fromUtf8 ( " spinBoxBlockSizeTarget " ) ) ;
2015-07-11 17:30:16 -03:00
spinBoxBlockSizeTarget - > setMaximum ( 99999 ) ;
spinBoxBlockSizeTarget - > setValue ( 3000 ) ;
2015-07-11 07:28:35 -03:00
horizontalLayout_13 - > addWidget ( spinBoxBlockSizeTarget ) ;
2015-07-18 20:34:56 -03:00
verticalLayout_6 - > addLayout ( horizontalLayout_13 ) ;
2015-07-11 07:28:35 -03:00
horizontalLayout_14 = new QHBoxLayout ( ) ;
horizontalLayout_14 - > setObjectName ( QString : : fromUtf8 ( " horizontalLayout_14 " ) ) ;
label_18 = new QLabel ( controlTab ) ;
label_18 - > setObjectName ( QString : : fromUtf8 ( " label_18 " ) ) ;
2015-07-11 17:30:16 -03:00
label_18 - > setFont ( font ) ;
2015-07-11 07:28:35 -03:00
horizontalLayout_14 - > addWidget ( label_18 ) ;
2015-07-11 17:30:16 -03:00
doubleSpinBoxBlockOverlapTarget = new QDoubleSpinBox ( controlTab ) ;
doubleSpinBoxBlockOverlapTarget - > setObjectName ( QString : : fromUtf8 ( " doubleSpinBoxBlockOverlapTarget " ) ) ;
doubleSpinBoxBlockOverlapTarget - > setMaximum ( 1 ) ;
doubleSpinBoxBlockOverlapTarget - > setSingleStep ( 0.01 ) ;
2015-07-22 11:32:36 -03:00
doubleSpinBoxBlockOverlapTarget - > setValue ( 0 ) ;
2015-07-11 07:28:35 -03:00
2015-07-11 17:30:16 -03:00
horizontalLayout_14 - > addWidget ( doubleSpinBoxBlockOverlapTarget ) ;
2015-07-11 07:28:35 -03:00
2015-07-18 20:34:56 -03:00
verticalLayout_6 - > addLayout ( horizontalLayout_14 ) ;
gridLayout_2 = new QGridLayout ( ) ;
gridLayout_2 - > setObjectName ( QString : : fromUtf8 ( " gridLayout_2 " ) ) ;
radioButton_bartlettTarget = new QRadioButton ( controlTab ) ;
2015-08-04 12:40:42 -03:00
buttonGroup_2 = new QButtonGroup ( MainWindow ) ;
buttonGroup_2 - > setObjectName ( QString : : fromUtf8 ( " buttonGroup_2 " ) ) ;
buttonGroup_2 - > addButton ( radioButton_bartlettTarget ) ;
2015-07-18 20:34:56 -03:00
radioButton_bartlettTarget - > setObjectName ( QString : : fromUtf8 ( " radioButton_bartlettTarget " ) ) ;
gridLayout_2 - > addWidget ( radioButton_bartlettTarget , 3 , 0 , 1 , 1 ) ;
radioButton_blackmanTarget = new QRadioButton ( controlTab ) ;
2015-08-04 12:40:42 -03:00
buttonGroup_2 - > addButton ( radioButton_blackmanTarget ) ;
2015-07-18 20:34:56 -03:00
radioButton_blackmanTarget - > setObjectName ( QString : : fromUtf8 ( " radioButton_blackmanTarget " ) ) ;
gridLayout_2 - > addWidget ( radioButton_blackmanTarget , 4 , 0 , 1 , 1 ) ;
radioButton_gaussianTarget = new QRadioButton ( controlTab ) ;
2015-08-04 12:40:42 -03:00
buttonGroup_2 - > addButton ( radioButton_gaussianTarget ) ;
2015-07-18 20:34:56 -03:00
radioButton_gaussianTarget - > setObjectName ( QString : : fromUtf8 ( " radioButton_gaussianTarget " ) ) ;
gridLayout_2 - > addWidget ( radioButton_gaussianTarget , 2 , 1 , 1 , 1 ) ;
radioButton_hammingTarget = new QRadioButton ( controlTab ) ;
2015-08-04 12:40:42 -03:00
buttonGroup_2 - > addButton ( radioButton_hammingTarget ) ;
2015-07-18 20:34:56 -03:00
radioButton_hammingTarget - > setObjectName ( QString : : fromUtf8 ( " radioButton_hammingTarget " ) ) ;
gridLayout_2 - > addWidget ( radioButton_hammingTarget , 3 , 1 , 1 , 1 ) ;
radioButton_hannTarget = new QRadioButton ( controlTab ) ;
2015-08-04 12:40:42 -03:00
buttonGroup_2 - > addButton ( radioButton_hannTarget ) ;
2015-07-18 20:34:56 -03:00
radioButton_hannTarget - > setObjectName ( QString : : fromUtf8 ( " radioButton_hannTarget " ) ) ;
gridLayout_2 - > addWidget ( radioButton_hannTarget , 4 , 1 , 1 , 1 ) ;
radioButton_flattopTarget = new QRadioButton ( controlTab ) ;
2015-08-04 12:40:42 -03:00
buttonGroup_2 - > addButton ( radioButton_flattopTarget ) ;
2015-07-18 20:34:56 -03:00
radioButton_flattopTarget - > setObjectName ( QString : : fromUtf8 ( " radioButton_flattopTarget " ) ) ;
gridLayout_2 - > addWidget ( radioButton_flattopTarget , 5 , 0 , 1 , 1 ) ;
radioButton_dodgyTarget = new QRadioButton ( controlTab ) ;
2015-08-04 12:40:42 -03:00
buttonGroup_2 - > addButton ( radioButton_dodgyTarget ) ;
2015-07-18 20:34:56 -03:00
radioButton_dodgyTarget - > setObjectName ( QString : : fromUtf8 ( " radioButton_dodgyTarget " ) ) ;
radioButton_dodgyTarget - > setChecked ( true ) ;
gridLayout_2 - > addWidget ( radioButton_dodgyTarget , 2 , 0 , 1 , 1 ) ;
radioButton_rectangleTarget = new QRadioButton ( controlTab ) ;
2015-08-04 12:40:42 -03:00
buttonGroup_2 - > addButton ( radioButton_rectangleTarget ) ;
2015-07-18 20:34:56 -03:00
radioButton_rectangleTarget - > setObjectName ( QString : : fromUtf8 ( " radioButton_rectangleTarget " ) ) ;
gridLayout_2 - > addWidget ( radioButton_rectangleTarget , 5 , 1 , 1 , 1 ) ;
label_14 = new QLabel ( controlTab ) ;
label_14 - > setObjectName ( QString : : fromUtf8 ( " label_14 " ) ) ;
gridLayout_2 - > addWidget ( label_14 , 1 , 0 , 1 , 1 ) ;
verticalLayout_6 - > addLayout ( gridLayout_2 ) ;
2015-07-11 07:28:35 -03:00
pushButtonGenerateTarget = new QPushButton ( controlTab ) ;
pushButtonGenerateTarget - > setObjectName ( QString : : fromUtf8 ( " pushButtonGenerateTarget " ) ) ;
2015-07-11 17:30:16 -03:00
pushButtonGenerateTarget - > setFont ( font ) ;
2015-07-11 07:28:35 -03:00
2015-07-18 20:34:56 -03:00
verticalLayout_6 - > addWidget ( pushButtonGenerateTarget ) ;
2015-07-11 07:28:35 -03:00
2015-09-25 05:14:01 -03:00
label_23 = new QLabel ( controlTab ) ;
label_23 - > setObjectName ( QString : : fromUtf8 ( " label_23 " ) ) ;
label_23 - > setFont ( font1 ) ;
verticalLayout_6 - > addWidget ( label_23 ) ;
horizontalLayout_22 = new QHBoxLayout ( ) ;
horizontalLayout_22 - > setObjectName ( QString : : fromUtf8 ( " horizontalLayout_22 " ) ) ;
label_31 = new QLabel ( controlTab ) ;
label_31 - > setObjectName ( QString : : fromUtf8 ( " label_31 " ) ) ;
label_31 - > setFont ( font2 ) ;
horizontalLayout_22 - > addWidget ( label_31 ) ;
sliderAutotune = new QSlider ( controlTab ) ;
sliderAutotune - > setObjectName ( QString : : fromUtf8 ( " sliderAutotune " ) ) ;
sizePolicy . setHeightForWidth ( sliderAutotune - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
sliderAutotune - > setSizePolicy ( sizePolicy ) ;
sliderAutotune - > setValue ( 0 ) ;
sliderAutotune - > setOrientation ( Qt : : Horizontal ) ;
horizontalLayout_22 - > addWidget ( sliderAutotune ) ;
doubleSpinBoxAutotune = new QDoubleSpinBox ( controlTab ) ;
doubleSpinBoxAutotune - > setObjectName ( QString : : fromUtf8 ( " doubleSpinBoxAutotune " ) ) ;
sizePolicy1 . setHeightForWidth ( doubleSpinBoxAutotune - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
doubleSpinBoxAutotune - > setSizePolicy ( sizePolicy1 ) ;
doubleSpinBoxAutotune - > setMaximum ( 1 ) ;
doubleSpinBoxAutotune - > setSingleStep ( 0.01 ) ;
doubleSpinBoxAutotune - > setValue ( 0 ) ;
horizontalLayout_22 - > addWidget ( doubleSpinBoxAutotune ) ;
verticalLayout_6 - > addLayout ( horizontalLayout_22 ) ;
horizontalLayout_8 = new QHBoxLayout ( ) ;
horizontalLayout_8 - > setObjectName ( QString : : fromUtf8 ( " horizontalLayout_8 " ) ) ;
label_21 = new QLabel ( controlTab ) ;
label_21 - > setObjectName ( QString : : fromUtf8 ( " label_21 " ) ) ;
label_21 - > setFont ( font2 ) ;
horizontalLayout_8 - > addWidget ( label_21 ) ;
sliderNMix = new QSlider ( controlTab ) ;
sliderNMix - > setObjectName ( QString : : fromUtf8 ( " sliderNMix " ) ) ;
sizePolicy . setHeightForWidth ( sliderNMix - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
sliderNMix - > setSizePolicy ( sizePolicy ) ;
sliderNMix - > setValue ( 0 ) ;
sliderNMix - > setOrientation ( Qt : : Horizontal ) ;
horizontalLayout_8 - > addWidget ( sliderNMix ) ;
doubleSpinBoxNMix = new QDoubleSpinBox ( controlTab ) ;
doubleSpinBoxNMix - > setObjectName ( QString : : fromUtf8 ( " doubleSpinBoxNMix " ) ) ;
sizePolicy1 . setHeightForWidth ( doubleSpinBoxNMix - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
doubleSpinBoxNMix - > setSizePolicy ( sizePolicy1 ) ;
doubleSpinBoxNMix - > setMaximum ( 1 ) ;
doubleSpinBoxNMix - > setSingleStep ( 0.01 ) ;
doubleSpinBoxNMix - > setValue ( 0 ) ;
horizontalLayout_8 - > addWidget ( doubleSpinBoxNMix ) ;
verticalLayout_6 - > addLayout ( horizontalLayout_8 ) ;
horizontalLayout_9 = new QHBoxLayout ( ) ;
horizontalLayout_9 - > setObjectName ( QString : : fromUtf8 ( " horizontalLayout_9 " ) ) ;
label_22 = new QLabel ( controlTab ) ;
label_22 - > setObjectName ( QString : : fromUtf8 ( " label_22 " ) ) ;
label_22 - > setFont ( font2 ) ;
horizontalLayout_9 - > addWidget ( label_22 ) ;
sliderTargetMix = new QSlider ( controlTab ) ;
sliderTargetMix - > setObjectName ( QString : : fromUtf8 ( " sliderTargetMix " ) ) ;
sizePolicy . setHeightForWidth ( sliderTargetMix - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
sliderTargetMix - > setSizePolicy ( sizePolicy ) ;
sliderTargetMix - > setValue ( 0 ) ;
sliderTargetMix - > setSliderPosition ( 0 ) ;
sliderTargetMix - > setOrientation ( Qt : : Horizontal ) ;
horizontalLayout_9 - > addWidget ( sliderTargetMix ) ;
doubleSpinBoxTargetMix = new QDoubleSpinBox ( controlTab ) ;
doubleSpinBoxTargetMix - > setObjectName ( QString : : fromUtf8 ( " doubleSpinBoxTargetMix " ) ) ;
sizePolicy1 . setHeightForWidth ( doubleSpinBoxTargetMix - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
doubleSpinBoxTargetMix - > setSizePolicy ( sizePolicy1 ) ;
doubleSpinBoxTargetMix - > setMaximum ( 1 ) ;
doubleSpinBoxTargetMix - > setSingleStep ( 0.01 ) ;
doubleSpinBoxTargetMix - > setValue ( 0 ) ;
horizontalLayout_9 - > addWidget ( doubleSpinBoxTargetMix ) ;
verticalLayout_6 - > addLayout ( horizontalLayout_9 ) ;
2016-02-03 13:45:09 -02:00
checkBoxStereo = new QCheckBox ( controlTab ) ;
checkBoxStereo - > setObjectName ( QString : : fromUtf8 ( " checkBoxStereo " ) ) ;
verticalLayout_6 - > addWidget ( checkBoxStereo ) ;
2015-07-11 07:28:35 -03:00
verticalSpacer = new QSpacerItem ( 20 , 40 , QSizePolicy : : Minimum , QSizePolicy : : Expanding ) ;
2015-07-18 20:34:56 -03:00
verticalLayout_6 - > addItem ( verticalSpacer ) ;
2015-07-11 07:28:35 -03:00
2015-08-06 09:39:14 -03:00
horizontalLayout_5 - > addLayout ( verticalLayout_6 ) ;
2015-07-11 07:28:35 -03:00
2015-10-16 12:23:51 -03:00
verticalLayout_2 = new QVBoxLayout ( ) ;
verticalLayout_2 - > setObjectName ( QString : : fromUtf8 ( " verticalLayout_2 " ) ) ;
2015-08-04 12:40:42 -03:00
label_3 = new QLabel ( controlTab ) ;
2015-07-11 07:28:35 -03:00
label_3 - > setObjectName ( QString : : fromUtf8 ( " label_3 " ) ) ;
2015-07-11 17:30:16 -03:00
label_3 - > setFont ( font1 ) ;
2015-07-11 07:28:35 -03:00
2015-10-16 12:23:51 -03:00
verticalLayout_2 - > addWidget ( label_3 ) ;
2015-09-25 05:14:01 -03:00
listWidgetSounds = new QListWidget ( controlTab ) ;
listWidgetSounds - > setObjectName ( QString : : fromUtf8 ( " listWidgetSounds " ) ) ;
2015-10-16 12:23:51 -03:00
verticalLayout_2 - > addWidget ( listWidgetSounds ) ;
2015-09-25 05:14:01 -03:00
horizontalLayout_2 = new QHBoxLayout ( ) ;
horizontalLayout_2 - > setObjectName ( QString : : fromUtf8 ( " horizontalLayout_2 " ) ) ;
pushButtonLoadSound = new QPushButton ( controlTab ) ;
pushButtonLoadSound - > setObjectName ( QString : : fromUtf8 ( " pushButtonLoadSound " ) ) ;
pushButtonLoadSound - > setFont ( font ) ;
horizontalLayout_2 - > addWidget ( pushButtonLoadSound ) ;
pushButtonDeleteSound = new QPushButton ( controlTab ) ;
pushButtonDeleteSound - > setObjectName ( QString : : fromUtf8 ( " pushButtonDeleteSound " ) ) ;
pushButtonDeleteSound - > setFont ( font ) ;
horizontalLayout_2 - > addWidget ( pushButtonDeleteSound ) ;
2015-10-16 12:23:51 -03:00
verticalLayout_2 - > addLayout ( horizontalLayout_2 ) ;
2015-09-25 05:14:01 -03:00
pushButtonClearBrain = new QPushButton ( controlTab ) ;
pushButtonClearBrain - > setObjectName ( QString : : fromUtf8 ( " pushButtonClearBrain " ) ) ;
pushButtonClearBrain - > setFont ( font ) ;
2015-10-16 12:23:51 -03:00
verticalLayout_2 - > addWidget ( pushButtonClearBrain ) ;
2015-07-11 07:28:35 -03:00
horizontalLayout_4 = new QHBoxLayout ( ) ;
horizontalLayout_4 - > setObjectName ( QString : : fromUtf8 ( " horizontalLayout_4 " ) ) ;
2015-08-04 12:40:42 -03:00
label = new QLabel ( controlTab ) ;
2015-07-11 07:28:35 -03:00
label - > setObjectName ( QString : : fromUtf8 ( " label " ) ) ;
2015-07-11 17:30:16 -03:00
label - > setFont ( font ) ;
2015-07-11 07:28:35 -03:00
horizontalLayout_4 - > addWidget ( label ) ;
2015-08-04 12:40:42 -03:00
spinBoxBlockSize = new QSpinBox ( controlTab ) ;
2015-07-11 07:28:35 -03:00
spinBoxBlockSize - > setObjectName ( QString : : fromUtf8 ( " spinBoxBlockSize " ) ) ;
2015-07-11 17:30:16 -03:00
spinBoxBlockSize - > setMaximum ( 99999 ) ;
spinBoxBlockSize - > setValue ( 3000 ) ;
2015-07-11 07:28:35 -03:00
horizontalLayout_4 - > addWidget ( spinBoxBlockSize ) ;
2015-10-16 12:23:51 -03:00
verticalLayout_2 - > addLayout ( horizontalLayout_4 ) ;
2015-07-11 07:28:35 -03:00
horizontalLayout_6 = new QHBoxLayout ( ) ;
horizontalLayout_6 - > setObjectName ( QString : : fromUtf8 ( " horizontalLayout_6 " ) ) ;
2015-08-04 12:40:42 -03:00
label_2 = new QLabel ( controlTab ) ;
2015-07-11 07:28:35 -03:00
label_2 - > setObjectName ( QString : : fromUtf8 ( " label_2 " ) ) ;
2015-07-11 17:30:16 -03:00
label_2 - > setFont ( font ) ;
2015-07-11 07:28:35 -03:00
horizontalLayout_6 - > addWidget ( label_2 ) ;
2015-08-04 12:40:42 -03:00
doubleSpinBoxBlockOverlap = new QDoubleSpinBox ( controlTab ) ;
2015-07-11 17:30:16 -03:00
doubleSpinBoxBlockOverlap - > setObjectName ( QString : : fromUtf8 ( " doubleSpinBoxBlockOverlap " ) ) ;
doubleSpinBoxBlockOverlap - > setMaximum ( 1 ) ;
doubleSpinBoxBlockOverlap - > setSingleStep ( 0.01 ) ;
2015-07-22 11:32:36 -03:00
doubleSpinBoxBlockOverlap - > setValue ( 0 ) ;
2015-07-11 07:28:35 -03:00
2015-07-11 17:30:16 -03:00
horizontalLayout_6 - > addWidget ( doubleSpinBoxBlockOverlap ) ;
2015-07-11 07:28:35 -03:00
2015-10-16 12:23:51 -03:00
verticalLayout_2 - > addLayout ( horizontalLayout_6 ) ;
2015-07-11 07:28:35 -03:00
2015-07-18 20:34:56 -03:00
gridLayout = new QGridLayout ( ) ;
gridLayout - > setObjectName ( QString : : fromUtf8 ( " gridLayout " ) ) ;
2015-10-16 12:23:51 -03:00
radioButton_gaussian = new QRadioButton ( controlTab ) ;
2015-08-04 12:40:42 -03:00
buttonGroup = new QButtonGroup ( MainWindow ) ;
buttonGroup - > setObjectName ( QString : : fromUtf8 ( " buttonGroup " ) ) ;
2015-09-25 05:14:01 -03:00
buttonGroup - > addButton ( radioButton_gaussian ) ;
radioButton_gaussian - > setObjectName ( QString : : fromUtf8 ( " radioButton_gaussian " ) ) ;
gridLayout - > addWidget ( radioButton_gaussian , 3 , 1 , 1 , 1 ) ;
2015-10-16 12:23:51 -03:00
radioButton_hamming = new QRadioButton ( controlTab ) ;
buttonGroup - > addButton ( radioButton_hamming ) ;
radioButton_hamming - > setObjectName ( QString : : fromUtf8 ( " radioButton_hamming " ) ) ;
gridLayout - > addWidget ( radioButton_hamming , 4 , 1 , 1 , 1 ) ;
2015-08-04 12:40:42 -03:00
radioButton_dodgy = new QRadioButton ( controlTab ) ;
buttonGroup - > addButton ( radioButton_dodgy ) ;
2015-07-18 20:34:56 -03:00
radioButton_dodgy - > setObjectName ( QString : : fromUtf8 ( " radioButton_dodgy " ) ) ;
radioButton_dodgy - > setChecked ( true ) ;
2015-08-04 12:40:42 -03:00
gridLayout - > addWidget ( radioButton_dodgy , 3 , 0 , 1 , 1 ) ;
2015-07-18 20:34:56 -03:00
2015-08-04 12:40:42 -03:00
radioButton_blackman = new QRadioButton ( controlTab ) ;
buttonGroup - > addButton ( radioButton_blackman ) ;
2015-07-18 20:34:56 -03:00
radioButton_blackman - > setObjectName ( QString : : fromUtf8 ( " radioButton_blackman " ) ) ;
2015-08-04 12:40:42 -03:00
gridLayout - > addWidget ( radioButton_blackman , 5 , 0 , 1 , 1 ) ;
2015-07-18 20:34:56 -03:00
2015-08-04 12:40:42 -03:00
radioButton_rectagle = new QRadioButton ( controlTab ) ;
buttonGroup - > addButton ( radioButton_rectagle ) ;
radioButton_rectagle - > setObjectName ( QString : : fromUtf8 ( " radioButton_rectagle " ) ) ;
2015-07-18 20:34:56 -03:00
2015-08-04 12:40:42 -03:00
gridLayout - > addWidget ( radioButton_rectagle , 6 , 1 , 1 , 1 ) ;
2015-07-18 20:34:56 -03:00
2015-08-04 12:40:42 -03:00
radioButton_bartlett = new QRadioButton ( controlTab ) ;
buttonGroup - > addButton ( radioButton_bartlett ) ;
radioButton_bartlett - > setObjectName ( QString : : fromUtf8 ( " radioButton_bartlett " ) ) ;
2015-07-18 20:34:56 -03:00
2015-08-04 12:40:42 -03:00
gridLayout - > addWidget ( radioButton_bartlett , 4 , 0 , 1 , 1 ) ;
2015-07-18 20:34:56 -03:00
2015-08-04 12:40:42 -03:00
radioButton_flattop = new QRadioButton ( controlTab ) ;
buttonGroup - > addButton ( radioButton_flattop ) ;
2015-07-18 20:34:56 -03:00
radioButton_flattop - > setObjectName ( QString : : fromUtf8 ( " radioButton_flattop " ) ) ;
2015-08-04 12:40:42 -03:00
gridLayout - > addWidget ( radioButton_flattop , 6 , 0 , 1 , 1 ) ;
2015-07-18 20:34:56 -03:00
2015-08-04 12:40:42 -03:00
radioButton_hann = new QRadioButton ( controlTab ) ;
buttonGroup - > addButton ( radioButton_hann ) ;
radioButton_hann - > setObjectName ( QString : : fromUtf8 ( " radioButton_hann " ) ) ;
2015-07-18 20:34:56 -03:00
2015-08-04 12:40:42 -03:00
gridLayout - > addWidget ( radioButton_hann , 5 , 1 , 1 , 1 ) ;
2015-07-18 20:34:56 -03:00
2015-08-04 12:40:42 -03:00
label_4 = new QLabel ( controlTab ) ;
2015-07-18 20:34:56 -03:00
label_4 - > setObjectName ( QString : : fromUtf8 ( " label_4 " ) ) ;
2015-07-11 07:28:35 -03:00
2015-08-04 12:40:42 -03:00
gridLayout - > addWidget ( label_4 , 2 , 0 , 1 , 1 ) ;
2015-07-11 07:28:35 -03:00
2015-10-16 12:23:51 -03:00
verticalLayout_2 - > addLayout ( gridLayout ) ;
2015-07-11 07:28:35 -03:00
2015-08-04 12:40:42 -03:00
pushButtonGenerate = new QPushButton ( controlTab ) ;
2015-07-11 07:28:35 -03:00
pushButtonGenerate - > setObjectName ( QString : : fromUtf8 ( " pushButtonGenerate " ) ) ;
2015-07-11 17:30:16 -03:00
pushButtonGenerate - > setFont ( font ) ;
2015-07-11 07:28:35 -03:00
2015-10-16 12:23:51 -03:00
verticalLayout_2 - > addWidget ( pushButtonGenerate ) ;
2015-07-11 07:28:35 -03:00
horizontalLayout_7 = new QHBoxLayout ( ) ;
horizontalLayout_7 - > setObjectName ( QString : : fromUtf8 ( " horizontalLayout_7 " ) ) ;
2015-08-04 12:40:42 -03:00
pushButtonLoadBrain = new QPushButton ( controlTab ) ;
pushButtonLoadBrain - > setObjectName ( QString : : fromUtf8 ( " pushButtonLoadBrain " ) ) ;
pushButtonLoadBrain - > setFont ( font ) ;
2015-07-11 07:28:35 -03:00
2015-08-04 12:40:42 -03:00
horizontalLayout_7 - > addWidget ( pushButtonLoadBrain ) ;
2015-07-11 07:28:35 -03:00
2015-08-04 12:40:42 -03:00
pushButtonSaveBrain = new QPushButton ( controlTab ) ;
2015-07-11 07:28:35 -03:00
pushButtonSaveBrain - > setObjectName ( QString : : fromUtf8 ( " pushButtonSaveBrain " ) ) ;
2015-07-11 17:30:16 -03:00
pushButtonSaveBrain - > setFont ( font ) ;
2015-07-11 07:28:35 -03:00
horizontalLayout_7 - > addWidget ( pushButtonSaveBrain ) ;
2015-10-16 12:23:51 -03:00
verticalLayout_2 - > addLayout ( horizontalLayout_7 ) ;
verticalSpacer_2 = new QSpacerItem ( 20 , 508 , QSizePolicy : : Minimum , QSizePolicy : : Expanding ) ;
2015-07-11 07:28:35 -03:00
2015-10-16 12:23:51 -03:00
verticalLayout_2 - > addItem ( verticalSpacer_2 ) ;
2015-07-11 07:28:35 -03:00
2015-10-16 12:23:51 -03:00
horizontalLayout_5 - > addLayout ( verticalLayout_2 ) ;
2015-07-11 07:28:35 -03:00
2015-08-04 12:40:42 -03:00
tabWidget - > addTab ( controlTab , QString ( ) ) ;
2015-07-19 08:06:22 -03:00
logTab = new QWidget ( ) ;
logTab - > setObjectName ( QString : : fromUtf8 ( " logTab " ) ) ;
horizontalLayout_15 = new QHBoxLayout ( logTab ) ;
horizontalLayout_15 - > setObjectName ( QString : : fromUtf8 ( " horizontalLayout_15 " ) ) ;
plainTextEdit = new QPlainTextEdit ( logTab ) ;
plainTextEdit - > setObjectName ( QString : : fromUtf8 ( " plainTextEdit " ) ) ;
horizontalLayout_15 - > addWidget ( plainTextEdit ) ;
tabWidget - > addTab ( logTab , QString ( ) ) ;
2015-07-22 11:32:36 -03:00
verticalLayout_4 - > addWidget ( tabWidget ) ;
2015-07-19 08:06:22 -03:00
horizontalLayout_12 = new QHBoxLayout ( ) ;
horizontalLayout_12 - > setObjectName ( QString : : fromUtf8 ( " horizontalLayout_12 " ) ) ;
pushButtonPlay = new QPushButton ( centralwidget ) ;
pushButtonPlay - > setObjectName ( QString : : fromUtf8 ( " pushButtonPlay " ) ) ;
pushButtonPlay - > setFont ( font ) ;
QIcon icon ;
icon . addFile ( QString : : fromUtf8 ( " :/images/images/play.png " ) , QSize ( ) , QIcon : : Normal , QIcon : : Off ) ;
pushButtonPlay - > setIcon ( icon ) ;
pushButtonPlay - > setIconSize ( QSize ( 64 , 64 ) ) ;
pushButtonPlay - > setFlat ( true ) ;
horizontalLayout_12 - > addWidget ( pushButtonPlay ) ;
pushButtonStop = new QPushButton ( centralwidget ) ;
pushButtonStop - > setObjectName ( QString : : fromUtf8 ( " pushButtonStop " ) ) ;
pushButtonStop - > setFont ( font ) ;
QIcon icon1 ;
icon1 . addFile ( QString : : fromUtf8 ( " :/images/images/pause.png " ) , QSize ( ) , QIcon : : Normal , QIcon : : Off ) ;
pushButtonStop - > setIcon ( icon1 ) ;
pushButtonStop - > setIconSize ( QSize ( 64 , 64 ) ) ;
pushButtonStop - > setFlat ( true ) ;
horizontalLayout_12 - > addWidget ( pushButtonStop ) ;
pushButtonRecord = new QPushButton ( centralwidget ) ;
pushButtonRecord - > setObjectName ( QString : : fromUtf8 ( " pushButtonRecord " ) ) ;
QIcon icon2 ;
icon2 . addFile ( QString : : fromUtf8 ( " :/images/images/record.png " ) , QSize ( ) , QIcon : : Normal , QIcon : : Off ) ;
pushButtonRecord - > setIcon ( icon2 ) ;
pushButtonRecord - > setIconSize ( QSize ( 64 , 64 ) ) ;
pushButtonRecord - > setFlat ( true ) ;
horizontalLayout_12 - > addWidget ( pushButtonRecord ) ;
pushButtonStopRecord = new QPushButton ( centralwidget ) ;
pushButtonStopRecord - > setObjectName ( QString : : fromUtf8 ( " pushButtonStopRecord " ) ) ;
QIcon icon3 ;
icon3 . addFile ( QString : : fromUtf8 ( " :/images/images/stop.png " ) , QSize ( ) , QIcon : : Normal , QIcon : : Off ) ;
pushButtonStopRecord - > setIcon ( icon3 ) ;
pushButtonStopRecord - > setIconSize ( QSize ( 64 , 64 ) ) ;
pushButtonStopRecord - > setFlat ( true ) ;
horizontalLayout_12 - > addWidget ( pushButtonStopRecord ) ;
dialVolume = new QDial ( centralwidget ) ;
dialVolume - > setObjectName ( QString : : fromUtf8 ( " dialVolume " ) ) ;
dialVolume - > setValue ( 99 ) ;
horizontalLayout_12 - > addWidget ( dialVolume ) ;
2015-10-16 12:23:51 -03:00
verticalLayout = new QVBoxLayout ( ) ;
verticalLayout - > setObjectName ( QString : : fromUtf8 ( " verticalLayout " ) ) ;
pushButtonLoadSession = new QPushButton ( centralwidget ) ;
pushButtonLoadSession - > setObjectName ( QString : : fromUtf8 ( " pushButtonLoadSession " ) ) ;
2015-10-16 12:28:47 -03:00
pushButtonLoadSession - > setFont ( font ) ;
2015-10-16 12:23:51 -03:00
verticalLayout - > addWidget ( pushButtonLoadSession ) ;
pushButtonSaveSession = new QPushButton ( centralwidget ) ;
pushButtonSaveSession - > setObjectName ( QString : : fromUtf8 ( " pushButtonSaveSession " ) ) ;
2015-10-16 12:28:47 -03:00
pushButtonSaveSession - > setFont ( font ) ;
2015-10-16 12:23:51 -03:00
verticalLayout - > addWidget ( pushButtonSaveSession ) ;
horizontalLayout_12 - > addLayout ( verticalLayout ) ;
2015-07-21 10:58:13 -03:00
horizontalSpacer = new QSpacerItem ( 40 , 20 , QSizePolicy : : Expanding , QSizePolicy : : Minimum ) ;
horizontalLayout_12 - > addItem ( horizontalSpacer ) ;
label_13 = new QLabel ( centralwidget ) ;
label_13 - > setObjectName ( QString : : fromUtf8 ( " label_13 " ) ) ;
label_13 - > setPixmap ( QPixmap ( QString : : fromUtf8 ( " :/images/images/at.png " ) ) ) ;
horizontalLayout_12 - > addWidget ( label_13 ) ;
2015-07-11 07:28:35 -03:00
2015-07-22 11:32:36 -03:00
verticalLayout_4 - > addLayout ( horizontalLayout_12 ) ;
2015-07-11 07:28:35 -03:00
MainWindow - > setCentralWidget ( centralwidget ) ;
statusbar = new QStatusBar ( MainWindow ) ;
statusbar - > setObjectName ( QString : : fromUtf8 ( " statusbar " ) ) ;
MainWindow - > setStatusBar ( statusbar ) ;
retranslateUi ( MainWindow ) ;
QObject : : connect ( pushButtonPlay , SIGNAL ( released ( ) ) , MainWindow , SLOT ( play_slot ( ) ) ) ;
QObject : : connect ( pushButtonStop , SIGNAL ( released ( ) ) , MainWindow , SLOT ( stop_slot ( ) ) ) ;
2015-07-21 14:13:39 -03:00
QObject : : connect ( dialVolume , SIGNAL ( sliderMoved ( int ) ) , MainWindow , SLOT ( volume_slot ( int ) ) ) ;
QObject : : connect ( pushButtonStopRecord , SIGNAL ( released ( ) ) , MainWindow , SLOT ( stop_record ( ) ) ) ;
QObject : : connect ( pushButtonRecord , SIGNAL ( released ( ) ) , MainWindow , SLOT ( record ( ) ) ) ;
2015-08-06 09:39:14 -03:00
QObject : : connect ( radioButton_dodgyTarget , SIGNAL ( toggled ( bool ) ) , MainWindow , SLOT ( window_target_dodgy ( bool ) ) ) ;
QObject : : connect ( radioButton_blackmanTarget , SIGNAL ( toggled ( bool ) ) , MainWindow , SLOT ( window_target_blackman ( bool ) ) ) ;
QObject : : connect ( spinBoxFFT1End , SIGNAL ( valueChanged ( int ) ) , MainWindow , SLOT ( fft1_end_slot ( int ) ) ) ;
QObject : : connect ( doubleSpinBoxRatio , SIGNAL ( valueChanged ( double ) ) , MainWindow , SLOT ( ratio_slot ( double ) ) ) ;
QObject : : connect ( radioButton_hannTarget , SIGNAL ( toggled ( bool ) ) , MainWindow , SLOT ( window_target_hann ( bool ) ) ) ;
QObject : : connect ( radioButton_gaussianTarget , SIGNAL ( toggled ( bool ) ) , MainWindow , SLOT ( window_target_gaussian ( bool ) ) ) ;
QObject : : connect ( sliderSynapses , SIGNAL ( valueChanged ( int ) ) , spinBoxSynapses , SLOT ( setValue ( int ) ) ) ;
QObject : : connect ( doubleSpinBoxTargetMix , SIGNAL ( valueChanged ( double ) ) , MainWindow , SLOT ( target_mix_slot ( double ) ) ) ;
2015-07-21 14:13:39 -03:00
QObject : : connect ( pushButtonGenerateTarget , SIGNAL ( released ( ) ) , MainWindow , SLOT ( generate_target_blocks ( ) ) ) ;
QObject : : connect ( spinBoxBlockSizeTarget , SIGNAL ( valueChanged ( int ) ) , MainWindow , SLOT ( target_block_size ( int ) ) ) ;
2015-08-06 09:39:14 -03:00
QObject : : connect ( pushButtonLoadTarget , SIGNAL ( released ( ) ) , MainWindow , SLOT ( load_target ( ) ) ) ;
2015-07-11 07:28:35 -03:00
QObject : : connect ( spinBoxFFT1Start , SIGNAL ( valueChanged ( int ) ) , MainWindow , SLOT ( fft1_start_slot ( int ) ) ) ;
2015-07-21 14:13:39 -03:00
QObject : : connect ( radioButton_hammingTarget , SIGNAL ( toggled ( bool ) ) , MainWindow , SLOT ( window_target_hamming ( bool ) ) ) ;
QObject : : connect ( radioButton_flattopTarget , SIGNAL ( toggled ( bool ) ) , MainWindow , SLOT ( window_target_flattop ( bool ) ) ) ;
QObject : : connect ( radioButton_bartlettTarget , SIGNAL ( toggled ( bool ) ) , MainWindow , SLOT ( window_target_bartlett ( bool ) ) ) ;
2015-08-06 09:39:14 -03:00
QObject : : connect ( doubleSpinBoxBlockOverlapTarget , SIGNAL ( valueChanged ( double ) ) , MainWindow , SLOT ( target_block_overlap ( double ) ) ) ;
QObject : : connect ( radioButton_rectangleTarget , SIGNAL ( toggled ( bool ) ) , MainWindow , SLOT ( window_target_rectangle ( bool ) ) ) ;
QObject : : connect ( spinBoxSynapses , SIGNAL ( valueChanged ( int ) ) , sliderSynapses , SLOT ( setValue ( int ) ) ) ;
QObject : : connect ( spinBoxSynapses , SIGNAL ( valueChanged ( int ) ) , MainWindow , SLOT ( synapses ( int ) ) ) ;
2015-07-19 08:06:22 -03:00
QObject : : connect ( sliderRatio , SIGNAL ( valueChanged ( int ) ) , MainWindow , SLOT ( ratio_slot ( int ) ) ) ;
2015-07-21 14:13:39 -03:00
QObject : : connect ( sliderNRatio , SIGNAL ( valueChanged ( int ) ) , MainWindow , SLOT ( n_ratio_slot ( int ) ) ) ;
QObject : : connect ( doubleSpinBoxNRatio , SIGNAL ( valueChanged ( double ) ) , MainWindow , SLOT ( n_ratio_slot ( double ) ) ) ;
2015-08-06 09:39:14 -03:00
QObject : : connect ( radioButton_dodgy , SIGNAL ( toggled ( bool ) ) , MainWindow , SLOT ( window_dodgy ( bool ) ) ) ;
2015-07-22 11:32:36 -03:00
QObject : : connect ( sliderTargetMix , SIGNAL ( valueChanged ( int ) ) , MainWindow , SLOT ( target_mix_slot ( int ) ) ) ;
2015-08-06 09:39:14 -03:00
QObject : : connect ( sliderNMix , SIGNAL ( valueChanged ( int ) ) , MainWindow , SLOT ( n_mix_slot ( int ) ) ) ;
2015-07-22 11:32:36 -03:00
QObject : : connect ( doubleSpinBoxNMix , SIGNAL ( valueChanged ( double ) ) , MainWindow , SLOT ( n_mix_slot ( double ) ) ) ;
2015-08-06 09:39:14 -03:00
QObject : : connect ( pushButtonLoadBrain , SIGNAL ( released ( ) ) , MainWindow , SLOT ( load_brain ( ) ) ) ;
QObject : : connect ( radioButtonSynaptic , SIGNAL ( toggled ( bool ) ) , MainWindow , SLOT ( algo_synaptic ( bool ) ) ) ;
2015-07-27 11:36:34 -03:00
QObject : : connect ( doubleSpinBoxBoredom , SIGNAL ( valueChanged ( double ) ) , MainWindow , SLOT ( boredom_slot ( double ) ) ) ;
QObject : : connect ( doubleSpinBoxNovelty , SIGNAL ( valueChanged ( double ) ) , MainWindow , SLOT ( novelty_slot ( double ) ) ) ;
QObject : : connect ( sliderNovelty , SIGNAL ( valueChanged ( int ) ) , MainWindow , SLOT ( novelty_slot ( int ) ) ) ;
2015-08-06 09:39:14 -03:00
QObject : : connect ( sliderBoredom , SIGNAL ( valueChanged ( int ) ) , MainWindow , SLOT ( boredom_slot ( int ) ) ) ;
QObject : : connect ( radioButton_bartlett , SIGNAL ( toggled ( bool ) ) , MainWindow , SLOT ( window_bartlett ( bool ) ) ) ;
QObject : : connect ( radioButton_blackman , SIGNAL ( toggled ( bool ) ) , MainWindow , SLOT ( window_blackman ( bool ) ) ) ;
2015-08-04 12:40:42 -03:00
QObject : : connect ( sliderSynapses , SIGNAL ( valueChanged ( int ) ) , MainWindow , SLOT ( synapses ( int ) ) ) ;
QObject : : connect ( radioButtonSynapticSlide , SIGNAL ( toggled ( bool ) ) , MainWindow , SLOT ( algo_synaptic_slide ( bool ) ) ) ;
QObject : : connect ( spinBoxBlockSize , SIGNAL ( valueChanged ( int ) ) , MainWindow , SLOT ( block_size ( int ) ) ) ;
QObject : : connect ( doubleSpinBoxBlockOverlap , SIGNAL ( valueChanged ( double ) ) , MainWindow , SLOT ( block_overlap ( double ) ) ) ;
QObject : : connect ( radioButton_gaussian , SIGNAL ( toggled ( bool ) ) , MainWindow , SLOT ( window_gaussian ( bool ) ) ) ;
2015-08-06 09:39:14 -03:00
QObject : : connect ( radioButton_flattop , SIGNAL ( toggled ( bool ) ) , MainWindow , SLOT ( window_flattop ( bool ) ) ) ;
QObject : : connect ( radioButtonAlgoBasic , SIGNAL ( toggled ( bool ) ) , MainWindow , SLOT ( algo_basic ( bool ) ) ) ;
QObject : : connect ( radioButtonAlgoRevBasic , SIGNAL ( toggled ( bool ) ) , MainWindow , SLOT ( algo_rev_basic ( bool ) ) ) ;
2015-08-04 12:40:42 -03:00
QObject : : connect ( radioButton_rectagle , SIGNAL ( toggled ( bool ) ) , MainWindow , SLOT ( window_target_rectangle ( bool ) ) ) ;
2015-08-06 09:39:14 -03:00
QObject : : connect ( radioButton_hamming , SIGNAL ( toggled ( bool ) ) , MainWindow , SLOT ( window_hamming ( bool ) ) ) ;
QObject : : connect ( pushButtonSaveBrain , SIGNAL ( released ( ) ) , MainWindow , SLOT ( save_brain ( ) ) ) ;
2015-08-04 12:40:42 -03:00
QObject : : connect ( pushButtonDeleteSound , SIGNAL ( released ( ) ) , MainWindow , SLOT ( delete_sound ( ) ) ) ;
QObject : : connect ( pushButtonClearBrain , SIGNAL ( released ( ) ) , MainWindow , SLOT ( clear_brain ( ) ) ) ;
2015-08-06 09:39:14 -03:00
QObject : : connect ( pushButtonGenerate , SIGNAL ( released ( ) ) , MainWindow , SLOT ( generate ( ) ) ) ;
QObject : : connect ( pushButtonLoadSound , SIGNAL ( released ( ) ) , MainWindow , SLOT ( load_sound ( ) ) ) ;
QObject : : connect ( radioButton_hann , SIGNAL ( toggled ( bool ) ) , MainWindow , SLOT ( window_hann ( bool ) ) ) ;
QObject : : connect ( sliderSearchStretch , SIGNAL ( valueChanged ( int ) ) , spinBoxSearchStretch , SLOT ( setValue ( int ) ) ) ;
QObject : : connect ( spinBoxSearchStretch , SIGNAL ( valueChanged ( int ) ) , sliderSearchStretch , SLOT ( setValue ( int ) ) ) ;
QObject : : connect ( sliderSearchStretch , SIGNAL ( valueChanged ( int ) ) , MainWindow , SLOT ( search_stretch ( int ) ) ) ;
QObject : : connect ( sliderSlideError , SIGNAL ( valueChanged ( int ) ) , spinBoxSlideError , SLOT ( setValue ( int ) ) ) ;
QObject : : connect ( spinBoxSlideError , SIGNAL ( valueChanged ( int ) ) , sliderSlideError , SLOT ( setValue ( int ) ) ) ;
QObject : : connect ( sliderSlideError , SIGNAL ( valueChanged ( int ) ) , MainWindow , SLOT ( slide_error ( int ) ) ) ;
2015-09-14 07:03:12 -03:00
QObject : : connect ( doubleSpinBoxStickyness , SIGNAL ( valueChanged ( double ) ) , MainWindow , SLOT ( stickyness_slot ( double ) ) ) ;
QObject : : connect ( sliderStickyness , SIGNAL ( valueChanged ( int ) ) , MainWindow , SLOT ( stickyness_slot ( int ) ) ) ;
2015-09-25 05:14:01 -03:00
QObject : : connect ( sliderAutotune , SIGNAL ( sliderMoved ( int ) ) , MainWindow , SLOT ( autotune ( int ) ) ) ;
2015-10-16 12:23:51 -03:00
QObject : : connect ( doubleSpinBoxAutotune , SIGNAL ( valueChanged ( double ) ) , MainWindow , SLOT ( autotune ( double ) ) ) ;
QObject : : connect ( pushButtonLoadSession , SIGNAL ( released ( ) ) , MainWindow , SLOT ( load_session ( ) ) ) ;
QObject : : connect ( pushButtonSaveSession , SIGNAL ( released ( ) ) , MainWindow , SLOT ( save_session ( ) ) ) ;
2016-02-03 13:45:09 -02:00
QObject : : connect ( checkBoxStereo , SIGNAL ( clicked ( bool ) ) , MainWindow , SLOT ( stereo_mode ( bool ) ) ) ;
2015-07-11 07:28:35 -03:00
2015-07-11 08:29:51 -03:00
tabWidget - > setCurrentIndex ( 0 ) ;
2015-07-11 07:28:35 -03:00
QMetaObject : : connectSlotsByName ( MainWindow ) ;
} // setupUi
void retranslateUi ( QMainWindow * MainWindow )
{
2016-02-03 13:45:09 -02:00
MainWindow - > setWindowTitle ( QApplication : : translate ( " MainWindow " , " samplebrain 0.14 " , 0 , QApplication : : UnicodeUTF8 ) ) ;
2015-07-27 11:36:34 -03:00
label_19 - > setText ( QApplication : : translate ( " MainWindow " , " brain tweaks " , 0 , QApplication : : UnicodeUTF8 ) ) ;
label_6 - > setText ( QApplication : : translate ( " MainWindow " , " fft / mfcc " , 0 , QApplication : : UnicodeUTF8 ) ) ;
# ifndef QT_NO_TOOLTIP
sliderRatio - > setToolTip ( QApplication : : translate ( " MainWindow " , " plain fft match vs mfcc values " , 0 , QApplication : : UnicodeUTF8 ) ) ;
# endif // QT_NO_TOOLTIP
2015-10-16 12:23:51 -03:00
label_20 - > setText ( QApplication : : translate ( " MainWindow " , " freq & dynamics / freq only " , 0 , QApplication : : UnicodeUTF8 ) ) ;
2015-07-27 11:36:34 -03:00
# ifndef QT_NO_TOOLTIP
sliderNRatio - > setToolTip ( QApplication : : translate ( " MainWindow " , " match original or normalised blocks " , 0 , QApplication : : UnicodeUTF8 ) ) ;
# endif // QT_NO_TOOLTIP
# ifndef QT_NO_TOOLTIP
label_7 - > setToolTip ( QString ( ) ) ;
# endif // QT_NO_TOOLTIP
2015-07-21 14:13:39 -03:00
label_7 - > setText ( QApplication : : translate ( " MainWindow " , " fft subsection " , 0 , QApplication : : UnicodeUTF8 ) ) ;
2015-07-11 07:28:35 -03:00
label_9 - > setText ( QApplication : : translate ( " MainWindow " , " Start " , 0 , QApplication : : UnicodeUTF8 ) ) ;
2015-07-27 11:36:34 -03:00
# ifndef QT_NO_TOOLTIP
spinBoxFFT1Start - > setToolTip ( QApplication : : translate ( " MainWindow " , " start frequency to use for fft match " , 0 , QApplication : : UnicodeUTF8 ) ) ;
# endif // QT_NO_TOOLTIP
2015-07-11 07:28:35 -03:00
label_10 - > setText ( QApplication : : translate ( " MainWindow " , " End " , 0 , QApplication : : UnicodeUTF8 ) ) ;
2015-07-27 11:36:34 -03:00
# ifndef QT_NO_TOOLTIP
spinBoxFFT1End - > setToolTip ( QApplication : : translate ( " MainWindow " , " end frequency to use for fft match " , 0 , QApplication : : UnicodeUTF8 ) ) ;
# endif // QT_NO_TOOLTIP
# ifndef QT_NO_TOOLTIP
label_24 - > setToolTip ( QString ( ) ) ;
# endif // QT_NO_TOOLTIP
label_24 - > setText ( QApplication : : translate ( " MainWindow " , " novelty " , 0 , QApplication : : UnicodeUTF8 ) ) ;
# ifndef QT_NO_TOOLTIP
sliderNovelty - > setToolTip ( QApplication : : translate ( " MainWindow " , " use new blocks rather than similar ones " , 0 , QApplication : : UnicodeUTF8 ) ) ;
# endif // QT_NO_TOOLTIP
# ifndef QT_NO_TOOLTIP
label_25 - > setToolTip ( QString ( ) ) ;
# endif // QT_NO_TOOLTIP
label_25 - > setText ( QApplication : : translate ( " MainWindow " , " boredom " , 0 , QApplication : : UnicodeUTF8 ) ) ;
# ifndef QT_NO_TOOLTIP
2015-08-06 09:39:14 -03:00
sliderBoredom - > setToolTip ( QApplication : : translate ( " MainWindow " , " how long it takes for the novelty to wear off " , 0 , QApplication : : UnicodeUTF8 ) ) ;
2015-07-27 11:36:34 -03:00
# endif // QT_NO_TOOLTIP
2015-09-14 07:03:12 -03:00
# ifndef QT_NO_TOOLTIP
label_30 - > setToolTip ( QString ( ) ) ;
# endif // QT_NO_TOOLTIP
label_30 - > setText ( QApplication : : translate ( " MainWindow " , " stickyness " , 0 , QApplication : : UnicodeUTF8 ) ) ;
# ifndef QT_NO_TOOLTIP
2015-10-16 12:23:51 -03:00
sliderStickyness - > setToolTip ( QApplication : : translate ( " MainWindow " , " how long it takes for the novelty to wear off " , 0 , QApplication : : UnicodeUTF8 ) ) ;
2015-09-14 07:03:12 -03:00
# endif // QT_NO_TOOLTIP
2015-07-27 11:36:34 -03:00
# ifndef QT_NO_TOOLTIP
2015-08-06 09:39:14 -03:00
label_28 - > setToolTip ( QString ( ) ) ;
2015-07-27 11:36:34 -03:00
# endif // QT_NO_TOOLTIP
2015-08-06 09:39:14 -03:00
label_28 - > setText ( QApplication : : translate ( " MainWindow " , " search stretch " , 0 , QApplication : : UnicodeUTF8 ) ) ;
2015-08-04 12:40:42 -03:00
# ifndef QT_NO_TOOLTIP
2015-08-06 09:39:14 -03:00
sliderSearchStretch - > setToolTip ( QApplication : : translate ( " MainWindow " , " repeat search (set novelty to 0 for dodgy jungle timessssstretch) " , 0 , QApplication : : UnicodeUTF8 ) ) ;
2015-08-04 12:40:42 -03:00
# endif // QT_NO_TOOLTIP
# ifndef QT_NO_TOOLTIP
2015-08-06 09:39:14 -03:00
spinBoxSearchStretch - > setToolTip ( QApplication : : translate ( " MainWindow " , " how many connections to search (ordered in closeness) " , 0 , QApplication : : UnicodeUTF8 ) ) ;
2015-08-04 12:40:42 -03:00
# endif // QT_NO_TOOLTIP
label_27 - > setText ( QApplication : : translate ( " MainWindow " , " algorithm " , 0 , QApplication : : UnicodeUTF8 ) ) ;
# ifndef QT_NO_TOOLTIP
radioButtonAlgoBasic - > setToolTip ( QApplication : : translate ( " MainWindow " , " full brain search " , 0 , QApplication : : UnicodeUTF8 ) ) ;
# endif // QT_NO_TOOLTIP
radioButtonAlgoBasic - > setText ( QApplication : : translate ( " MainWindow " , " basic " , 0 , QApplication : : UnicodeUTF8 ) ) ;
# ifndef QT_NO_TOOLTIP
radioButtonAlgoRevBasic - > setToolTip ( QApplication : : translate ( " MainWindow " , " full brain reverse search " , 0 , QApplication : : UnicodeUTF8 ) ) ;
# endif // QT_NO_TOOLTIP
2015-10-16 12:23:51 -03:00
radioButtonAlgoRevBasic - > setText ( QApplication : : translate ( " MainWindow " , " rev basic " , 0 , QApplication : : UnicodeUTF8 ) ) ;
2015-08-04 12:40:42 -03:00
# ifndef QT_NO_TOOLTIP
radioButtonSynaptic - > setToolTip ( QApplication : : translate ( " MainWindow " , " search based on synapse connections " , 0 , QApplication : : UnicodeUTF8 ) ) ;
# endif // QT_NO_TOOLTIP
radioButtonSynaptic - > setText ( QApplication : : translate ( " MainWindow " , " synaptic " , 0 , QApplication : : UnicodeUTF8 ) ) ;
# ifndef QT_NO_TOOLTIP
radioButtonSynapticSlide - > setToolTip ( QApplication : : translate ( " MainWindow " , " search based on synapses and sonify search process " , 0 , QApplication : : UnicodeUTF8 ) ) ;
# endif // QT_NO_TOOLTIP
radioButtonSynapticSlide - > setText ( QApplication : : translate ( " MainWindow " , " synaptic slide " , 0 , QApplication : : UnicodeUTF8 ) ) ;
2015-08-06 09:39:14 -03:00
# ifndef QT_NO_TOOLTIP
label_26 - > setToolTip ( QString ( ) ) ;
# endif // QT_NO_TOOLTIP
label_26 - > setText ( QApplication : : translate ( " MainWindow " , " num synpases " , 0 , QApplication : : UnicodeUTF8 ) ) ;
# ifndef QT_NO_TOOLTIP
sliderSynapses - > setToolTip ( QApplication : : translate ( " MainWindow " , " how many connections to search (ordered in closeness) " , 0 , QApplication : : UnicodeUTF8 ) ) ;
# endif // QT_NO_TOOLTIP
# ifndef QT_NO_TOOLTIP
spinBoxSynapses - > setToolTip ( QApplication : : translate ( " MainWindow " , " how many connections to search (ordered in closeness) " , 0 , QApplication : : UnicodeUTF8 ) ) ;
# endif // QT_NO_TOOLTIP
# ifndef QT_NO_TOOLTIP
label_29 - > setToolTip ( QString ( ) ) ;
# endif // QT_NO_TOOLTIP
label_29 - > setText ( QApplication : : translate ( " MainWindow " , " synaptic slide error " , 0 , QApplication : : UnicodeUTF8 ) ) ;
# ifndef QT_NO_TOOLTIP
sliderSlideError - > setToolTip ( QApplication : : translate ( " MainWindow " , " block difference higher than this causes a new search, skipping the target " , 0 , QApplication : : UnicodeUTF8 ) ) ;
# endif // QT_NO_TOOLTIP
# ifndef QT_NO_TOOLTIP
spinBoxSlideError - > setToolTip ( QApplication : : translate ( " MainWindow " , " how many connections to search (ordered in closeness) " , 0 , QApplication : : UnicodeUTF8 ) ) ;
2015-07-27 11:36:34 -03:00
# endif // QT_NO_TOOLTIP
2015-07-11 07:28:35 -03:00
label_16 - > setText ( QApplication : : translate ( " MainWindow " , " target sound " , 0 , QApplication : : UnicodeUTF8 ) ) ;
pushButtonLoadTarget - > setText ( QApplication : : translate ( " MainWindow " , " load target " , 0 , QApplication : : UnicodeUTF8 ) ) ;
label_17 - > setText ( QApplication : : translate ( " MainWindow " , " block size " , 0 , QApplication : : UnicodeUTF8 ) ) ;
label_18 - > setText ( QApplication : : translate ( " MainWindow " , " block overlap " , 0 , QApplication : : UnicodeUTF8 ) ) ;
2015-07-18 20:34:56 -03:00
radioButton_bartlettTarget - > setText ( QApplication : : translate ( " MainWindow " , " bartlett " , 0 , QApplication : : UnicodeUTF8 ) ) ;
radioButton_blackmanTarget - > setText ( QApplication : : translate ( " MainWindow " , " blackman " , 0 , QApplication : : UnicodeUTF8 ) ) ;
radioButton_gaussianTarget - > setText ( QApplication : : translate ( " MainWindow " , " gaussian " , 0 , QApplication : : UnicodeUTF8 ) ) ;
radioButton_hammingTarget - > setText ( QApplication : : translate ( " MainWindow " , " hamming " , 0 , QApplication : : UnicodeUTF8 ) ) ;
radioButton_hannTarget - > setText ( QApplication : : translate ( " MainWindow " , " hann " , 0 , QApplication : : UnicodeUTF8 ) ) ;
radioButton_flattopTarget - > setText ( QApplication : : translate ( " MainWindow " , " flat top " , 0 , QApplication : : UnicodeUTF8 ) ) ;
radioButton_dodgyTarget - > setText ( QApplication : : translate ( " MainWindow " , " dodgy " , 0 , QApplication : : UnicodeUTF8 ) ) ;
radioButton_rectangleTarget - > setText ( QApplication : : translate ( " MainWindow " , " rectangle " , 0 , QApplication : : UnicodeUTF8 ) ) ;
label_14 - > setText ( QApplication : : translate ( " MainWindow " , " window shape " , 0 , QApplication : : UnicodeUTF8 ) ) ;
2015-07-11 17:30:16 -03:00
pushButtonGenerateTarget - > setText ( QApplication : : translate ( " MainWindow " , " (re)generate blocks " , 0 , QApplication : : UnicodeUTF8 ) ) ;
2015-09-25 05:14:01 -03:00
label_23 - > setText ( QApplication : : translate ( " MainWindow " , " mix " , 0 , QApplication : : UnicodeUTF8 ) ) ;
label_31 - > setText ( QApplication : : translate ( " MainWindow " , " autotune " , 0 , QApplication : : UnicodeUTF8 ) ) ;
# ifndef QT_NO_TOOLTIP
sliderAutotune - > setToolTip ( QApplication : : translate ( " MainWindow " , " amount to match the frequency " , 0 , QApplication : : UnicodeUTF8 ) ) ;
# endif // QT_NO_TOOLTIP
label_21 - > setText ( QApplication : : translate ( " MainWindow " , " dynamic / normalised " , 0 , QApplication : : UnicodeUTF8 ) ) ;
# ifndef QT_NO_TOOLTIP
sliderNMix - > setToolTip ( QApplication : : translate ( " MainWindow " , " mix in the normalised blocks " , 0 , QApplication : : UnicodeUTF8 ) ) ;
# endif // QT_NO_TOOLTIP
label_22 - > setText ( QApplication : : translate ( " MainWindow " , " brain / target " , 0 , QApplication : : UnicodeUTF8 ) ) ;
# ifndef QT_NO_TOOLTIP
sliderTargetMix - > setToolTip ( QApplication : : translate ( " MainWindow " , " mix in the original blocks " , 0 , QApplication : : UnicodeUTF8 ) ) ;
# endif // QT_NO_TOOLTIP
2016-02-03 13:45:09 -02:00
checkBoxStereo - > setText ( QApplication : : translate ( " MainWindow " , " stereo mode " , 0 , QApplication : : UnicodeUTF8 ) ) ;
2015-09-25 05:14:01 -03:00
label_3 - > setText ( QApplication : : translate ( " MainWindow " , " brain contents " , 0 , QApplication : : UnicodeUTF8 ) ) ;
pushButtonLoadSound - > setText ( QApplication : : translate ( " MainWindow " , " load sound " , 0 , QApplication : : UnicodeUTF8 ) ) ;
pushButtonDeleteSound - > setText ( QApplication : : translate ( " MainWindow " , " delete selected " , 0 , QApplication : : UnicodeUTF8 ) ) ;
pushButtonClearBrain - > setText ( QApplication : : translate ( " MainWindow " , " clear brain " , 0 , QApplication : : UnicodeUTF8 ) ) ;
2015-07-11 07:28:35 -03:00
label - > setText ( QApplication : : translate ( " MainWindow " , " block size " , 0 , QApplication : : UnicodeUTF8 ) ) ;
label_2 - > setText ( QApplication : : translate ( " MainWindow " , " block overlap " , 0 , QApplication : : UnicodeUTF8 ) ) ;
2015-09-25 05:14:01 -03:00
radioButton_gaussian - > setText ( QApplication : : translate ( " MainWindow " , " gaussian " , 0 , QApplication : : UnicodeUTF8 ) ) ;
2015-10-16 12:23:51 -03:00
radioButton_hamming - > setText ( QApplication : : translate ( " MainWindow " , " hamming " , 0 , QApplication : : UnicodeUTF8 ) ) ;
2015-08-04 12:40:42 -03:00
radioButton_dodgy - > setText ( QApplication : : translate ( " MainWindow " , " dodgy " , 0 , QApplication : : UnicodeUTF8 ) ) ;
radioButton_blackman - > setText ( QApplication : : translate ( " MainWindow " , " blackman " , 0 , QApplication : : UnicodeUTF8 ) ) ;
2015-07-18 20:34:56 -03:00
radioButton_rectagle - > setText ( QApplication : : translate ( " MainWindow " , " rectangle " , 0 , QApplication : : UnicodeUTF8 ) ) ;
2015-08-04 12:40:42 -03:00
radioButton_bartlett - > setText ( QApplication : : translate ( " MainWindow " , " bartlett " , 0 , QApplication : : UnicodeUTF8 ) ) ;
radioButton_flattop - > setText ( QApplication : : translate ( " MainWindow " , " flat top " , 0 , QApplication : : UnicodeUTF8 ) ) ;
radioButton_hann - > setText ( QApplication : : translate ( " MainWindow " , " hann " , 0 , QApplication : : UnicodeUTF8 ) ) ;
2015-07-18 20:34:56 -03:00
label_4 - > setText ( QApplication : : translate ( " MainWindow " , " window shape " , 0 , QApplication : : UnicodeUTF8 ) ) ;
2015-08-04 12:40:42 -03:00
pushButtonGenerate - > setText ( QApplication : : translate ( " MainWindow " , " (re)generate brain " , 0 , QApplication : : UnicodeUTF8 ) ) ;
pushButtonLoadBrain - > setText ( QApplication : : translate ( " MainWindow " , " load brain " , 0 , QApplication : : UnicodeUTF8 ) ) ;
pushButtonSaveBrain - > setText ( QApplication : : translate ( " MainWindow " , " save brain " , 0 , QApplication : : UnicodeUTF8 ) ) ;
tabWidget - > setTabText ( tabWidget - > indexOf ( controlTab ) , QApplication : : translate ( " MainWindow " , " search " , 0 , QApplication : : UnicodeUTF8 ) ) ;
2015-07-19 08:06:22 -03:00
tabWidget - > setTabText ( tabWidget - > indexOf ( logTab ) , QApplication : : translate ( " MainWindow " , " log " , 0 , QApplication : : UnicodeUTF8 ) ) ;
pushButtonPlay - > setText ( QString ( ) ) ;
pushButtonStop - > setText ( QString ( ) ) ;
pushButtonRecord - > setText ( QString ( ) ) ;
pushButtonStopRecord - > setText ( QString ( ) ) ;
2015-10-16 12:23:51 -03:00
pushButtonLoadSession - > setText ( QApplication : : translate ( " MainWindow " , " load session " , 0 , QApplication : : UnicodeUTF8 ) ) ;
pushButtonSaveSession - > setText ( QApplication : : translate ( " MainWindow " , " save session " , 0 , QApplication : : UnicodeUTF8 ) ) ;
2015-07-21 10:58:13 -03:00
label_13 - > setText ( QString ( ) ) ;
2015-07-11 07:28:35 -03:00
} // retranslateUi
} ;
namespace Ui {
class MainWindow : public Ui_MainWindow { } ;
} // namespace Ui
QT_END_NAMESPACE
2016-02-03 13:45:09 -02:00
# endif // SAMPLEBRAINSM7172_H