Exemplo n.º 1
0
menuPage_assign3::menuPage_assign3(QWidget *parent)
    : menuPage(parent)
{
    setLSB("01", "32");
    editDetails()->patchPos(404, 38, "01", "32");    //sysx file offset and data length of parameters x 2.
    setEditPages();
}
Exemplo n.º 2
0
menuPage_assign::menuPage_assign(QWidget *parent)
    : menuPage(parent)
{
  //this->setImage(":/images/assigns_pushbutton.png");
  setLSB("0B", "00");
  editDetails()->patchPos(3048, 284, "0B", "20"); 
	setEditPages();
};
Exemplo n.º 3
0
DevicesPage::DevicesPage(QWidget *p)
    : SinglePageWidget(p)
{
    copyAction = new Action(Icons::self()->downloadIcon, i18n("Copy To Library"), this);
    ToolButton *copyToLibraryButton=new ToolButton(this);
    copyToLibraryButton->setDefaultAction(copyAction);
    #ifdef ENABLE_REMOTE_DEVICES
    forgetDeviceAction=new Action(Icon("list-remove"), i18n("Forget Device"), this);
    connect(forgetDeviceAction, SIGNAL(triggered()), this, SLOT(forgetRemoteDevice()));
    #endif
    connect(DevicesModel::self()->connectAct(), SIGNAL(triggered()), this, SLOT(toggleDevice()));
    connect(DevicesModel::self()->disconnectAct(), SIGNAL(triggered()), this, SLOT(toggleDevice()));
    connect(DevicesModel::self(), SIGNAL(updated(QModelIndex)), this, SLOT(updated(QModelIndex)));
    connect(view, SIGNAL(doubleClicked(const QModelIndex &)), this, SLOT(itemDoubleClicked(const QModelIndex &)));
    connect(view, SIGNAL(searchItems()), this, SLOT(searchItems()));
    connect(view, SIGNAL(itemsSelected(bool)), SLOT(controlActions()));
    connect(copyAction, SIGNAL(triggered()), this, SLOT(copyToLibrary()));
    connect(DevicesModel::self()->configureAct(), SIGNAL(triggered()), this, SLOT(configureDevice()));
    connect(DevicesModel::self()->refreshAct(), SIGNAL(triggered()), this, SLOT(refreshDevice()));
    #if defined CDDB_FOUND || defined MUSICBRAINZ5_FOUND
    connect(DevicesModel::self()->editAct(), SIGNAL(triggered()), this, SLOT(editDetails()));
    connect(DevicesModel::self(), SIGNAL(matches(const QString &, const QList<CdAlbum> &)),
            SLOT(cdMatches(const QString &, const QList<CdAlbum> &)));
    #endif
    proxy.setSourceModel(DevicesModel::self());
    view->setModel(&proxy);
    view->setRootIsDecorated(false);
    view->setSearchResetLevel(1);
    Configuration config(metaObject()->className());
    view->load(config);
    MenuButton *menu=new MenuButton(this);
    menu->addAction(createViewMenu(QList<ItemView::Mode>() << ItemView::Mode_BasicTree << ItemView::Mode_SimpleTree
                                                           << ItemView::Mode_DetailedTree << ItemView::Mode_List));
    menu->addSeparator();
    menu->addAction(DevicesModel::self()->configureAct());
    menu->addAction(DevicesModel::self()->refreshAct());
    #ifdef ENABLE_REMOTE_DEVICES
    menu->addSeparator();
    Action *addRemote=new Action(Icon("network-server"), i18n("Add Device"), this);
    connect(addRemote, SIGNAL(triggered()), this, SLOT(addRemoteDevice()));
    menu->addAction(addRemote);
    menu->addAction(forgetDeviceAction);
    #endif
    init(ReplacePlayQueue|AppendToPlayQueue, QList<QWidget *>() << menu, QList<QWidget *>() << copyToLibraryButton);

    view->addAction(copyAction);
    view->addAction(StdActions::self()->organiseFilesAction);
    view->addAction(StdActions::self()->editTagsAction);
    #ifdef ENABLE_REPLAYGAIN_SUPPORT
    view->addAction(StdActions::self()->replaygainAction);
    #endif
    #ifdef ENABLE_REMOTE_DEVICES
    view->addSeparator();
    view->addAction(forgetDeviceAction);
    #endif
    view->addSeparator();
    view->addAction(StdActions::self()->deleteSongsAction);
}
Exemplo n.º 4
0
stompbox_mfx::stompbox_mfx(QWidget *parent)
    : stompBox(parent)
{
    /* MFX */
    setImage(":/images/mfx.png");
    setLSB("03", "04");
    setComboBox("03", "00", "05");
    setSwitch("03", "00", "04");
    setKnob1("03", "CENTER", "06");
    editDetails()->patchPos(776, 530, "03", "04"); //correct
    setEditPages();
}
Exemplo n.º 5
0
stompbox_mod::stompbox_mod(QWidget *parent)
    : stompBox(parent)
{
    /* MOD */
    setImage(":/images/mod.png");
    setLSB("07", "15");
    setComboBox("07", "00", "16");
    setKnob1("07", "CENTER", "17");
    setSwitch("07", "00", "15");
    editDetails()->patchPos(1522, 138, "07", "15"); //correct
    setEditPages();
}
Exemplo n.º 6
0
stompbox_amp::stompbox_amp(QWidget *parent)
    : stompBox(parent)
{
    /* AMP */
    setImage(":/images/amp.png");
    setLSB("07", "00");
    setKnob1("07", "00", "02");
    setKnob2("07", "00", "03");
    setComboBox("07", "00", "01");
    setSwitch("07", "00", "00");
    editDetails()->patchPos(1480, 34, "07", "00");  //correct
    setEditPages();
}
Exemplo n.º 7
0
stompbox_cs::stompbox_cs(QWidget *parent)
    : stompBox(parent)
{
	/* COMP */
	setImage(":/images/cs.png");
	setLSB("00", "00");
	setKnob1("00", "00", "42");
	setKnob2("00", "00", "47");
	setComboBox("00", "00", "41");
	setButton("00", "00", "40");
	editDetails()->patchPos(150, 16, "00", "40"); 
	setEditPages();
};
Exemplo n.º 8
0
stompbox_dd::stompbox_dd(QWidget *parent)
    : stompBox(parent)
{
    /* DELAY */
    setImage(":/images/dd.png");
    setLSB("06", "05");
    setKnob1("06", "00", "0B");
    setKnob2("06", "00", "0A");
    setComboBox("06", "00", "06");
    setSwitch("06", "00", "05");
    editDetails()->patchPos(1404, 14, "06", "05"); //correct
    setEditPages();
}
Exemplo n.º 9
0
stompbox_eq::stompbox_eq(QWidget *parent)
    : stompBox(parent)
{
    /* EQ */
    setImage(":/images/eq.png");
    setLSB("06", "11");
    setSlider1("06", "00", "13");
    setSlider2("06", "00", "16");
    setSlider3("06", "00", "19");
    setSlider4("06", "00", "1B");
    setSlider5("06", "00", "1C");
    setComboBox("06", "00", "1D");
    setSwitch("06", "00", "11");
    editDetails()->patchPos(1428, 26, "06", "11"); //correct
    setEditPages();
}
Exemplo n.º 10
0
void stompbox_eq::setEditPages()
{
    /*editDetails()->page()->newGroupBox("Effect", Qt::AlignTop | Qt::AlignHCenter);
    editDetails()->page()->addSwitch(0, 0, 1, 1, "06", "00", "11", "middle", Qt::AlignCenter);
    editDetails()->page()->addParaEQ(0, 1, 2, 4, "06", "00", "12");
    editDetails()->page()->addGroupBox(0, 0, 2, 4);*/

    editDetails()->page()->newGroupBox("Effect", Qt::AlignTop | Qt::AlignHCenter);
    editDetails()->page()->addSwitch(0, 0, 1, 1, "06", "00", "11", "middle", Qt::AlignCenter);
    editDetails()->page()->addParaEQ(0, 1, 2, 4, "06", "00", "12");
    editDetails()->page()->addKnob(0, 6, 1, 1, "06", "00", "1D"); //character
    editDetails()->page()->addGroupBox(0, 0, 1, 1);
/*
    editDetails()->page()->newGroupBox("Equalizer");
    editDetails()->page()->newGroupBox("Low");
    editDetails()->page()->addKnob(0, 0, 1, 1, "06", "00", "12");
    editDetails()->page()->addKnob(0, 1, 1, 1, "06", "00", "13");
    editDetails()->page()->addGroupBox(0, 0, 1, 1);

    editDetails()->page()->newGroupBox("Low-Middle");
    editDetails()->page()->addKnob(0, 0, 1, 1, "06", "00", "16");
    editDetails()->page()->addKnob(1, 0, 1, 1, "06", "00", "14");
    editDetails()->page()->addKnob(2, 0, 1, 1, "06", "00", "15");
    editDetails()->page()->addGroupBox(0, 1, 1, 1);

    editDetails()->page()->newGroupBox("High-Middle");
    editDetails()->page()->addKnob(0, 0, 1, 1, "06", "00", "19");
    editDetails()->page()->addKnob(1, 0, 1, 1, "06", "00", "17");
    editDetails()->page()->addKnob(2, 0, 1, 1, "06", "00", "18");
    editDetails()->page()->addGroupBox(0, 2, 1, 1);

    editDetails()->page()->newGroupBox("High");
    editDetails()->page()->addKnob(0, 0, 1, 1, "06", "00", "1B");
    editDetails()->page()->addKnob(0, 1, 1, 1, "06", "00", "1A");
    editDetails()->page()->addGroupBox(0, 3, 1, 1);
    editDetails()->page()->addGroupBox(0, 1, 1, 1);

    editDetails()->page()->newGroupBox("Level");
    editDetails()->page()->addKnob(0, 0, 1, 1, "06", "00", "1C");
    editDetails()->page()->addKnob(2, 0, 1, 1, "06", "00", "1D");
    editDetails()->page()->addGroupBox(0, 2, 1, 1);
    */
    editDetails()->addPage();
}
Exemplo n.º 11
0
void stompbox_mod::setEditPages()
{
    editDetails()->page()->newGroupBox("MOD");
    editDetails()->page()->addSwitch(0, 0, 1, 1, "07", "00", "15", "middle", Qt::AlignCenter);
    editDetails()->page()->newStackControl(0);
    editDetails()->page()->addComboBox(1, 0, 1, 1, "07", "00", "16", "large"); //type
    editDetails()->page()->addStackControl();
    editDetails()->page()->addKnob(2, 0, 1, 1, "07", "00", "17");   //pan
    editDetails()->page()->addGroupBox(0, 0, 2, 1);
    editDetails()->page()->insertStackField(0, 0, 1, 3, 1);

    // ODDS
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Distortion");
    editDetails()->page()->addComboBox(0, 0, 1, 1, "07", "00", "18");
    editDetails()->page()->addKnob(0, 1, 1, 1, "07", "00", "19", "turbo");
    editDetails()->page()->addKnob(0, 2, 1, 1, "07", "00", "1A");
    editDetails()->page()->addKnob(0, 3, 1, 1, "07", "00", "1B");
    editDetails()->page()->addGroupBox(1, 2, 1, 1);
    editDetails()->page()->addStackField();

    // WAH
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Wah");
    editDetails()->page()->newStackControl(1);
    editDetails()->page()->addComboBox(0, 0, 1, 1, "07", "00", "1C");
    editDetails()->page()->addStackControl();
    editDetails()->page()->insertStackField(1, 0, 1, 1, 1);
    editDetails()->page()->addGroupBox(0, 1, 1, 1);
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(1);
    editDetails()->page()->addComboBox(0, 0, 1, 1, "07", "00", "1D"); //type
    editDetails()->page()->addKnob(0, 1, 1, 1, "07", "00", "1E");     //position
    editDetails()->page()->addKnob(0, 2, 1, 1, "07", "00", "22");     //level
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(1);
    editDetails()->page()->addKnob(0, 2, 1, 1, "07", "00", "1F");     //sens
    editDetails()->page()->addKnob(0, 3, 1, 1, "07", "00", "20");     //freq
    editDetails()->page()->addKnob(0, 4, 1, 1, "07", "00", "21");     //peak
    editDetails()->page()->addKnob(0, 5, 1, 1, "07", "00", "22");     //level
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(1);
    editDetails()->page()->addKnob(0, 2, 1, 1, "07", "00", "1F");     //sens
    editDetails()->page()->addKnob(0, 3, 1, 1, "07", "00", "20");     //freq
    editDetails()->page()->addKnob(0, 4, 1, 1, "07", "00", "21");     //peak
    editDetails()->page()->addKnob(0, 5, 1, 1, "07", "00", "22");     //level
    editDetails()->page()->addStackField();

    // Compressor
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Compressor");
    editDetails()->page()->addKnob(0, 0, 1, 1, "07", "00", "23");
    editDetails()->page()->addKnob(0, 1, 1, 1, "07", "00", "24");
    editDetails()->page()->addKnob(0, 2, 1, 1, "07", "00", "25");
    editDetails()->page()->addGroupBox(0, 1, 1, 1);
    editDetails()->page()->addStackField();

    // Limiter
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Limitter");
    editDetails()->page()->addKnob(0, 0, 1, 1, "07", "00", "26");
    editDetails()->page()->addKnob(0, 1, 1, 1, "07", "00", "27");
    editDetails()->page()->addKnob(0, 2, 1, 1, "07", "00", "28");
    editDetails()->page()->addGroupBox(0, 1, 1, 1);
    editDetails()->page()->addStackField();

    // Octave
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Octave");
    editDetails()->page()->addKnob(0, 0, 1, 1, "07", "00", "29");
    editDetails()->page()->addKnob(0, 1, 1, 1, "07", "00", "2A");
    editDetails()->page()->addGroupBox(0, 1, 1, 1);
    editDetails()->page()->addStackField();

    // Phaser
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Phaser");
    editDetails()->page()->addComboBox(0, 0, 1, 1, "07", "00", "2B");
    editDetails()->page()->addKnob(0, 1, 1, 1, "07", "00", "2C", "normal","right", 120);
    editDetails()->page()->addKnob(0, 2, 1, 1, "07", "00", "2D");
    editDetails()->page()->addKnob(0, 3, 1, 1, "07", "00", "2E");
    editDetails()->page()->addKnob(0, 4, 1, 1, "07", "00", "2F");
    editDetails()->page()->addGroupBox(0, 1, 1, 1);
    editDetails()->page()->addStackField();

    // Flanger
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Flanger");
    editDetails()->page()->addKnob(0, 0, 1, 1, "07", "00", "30", "normal","right", 120);
    editDetails()->page()->addKnob(0, 1, 1, 1, "07", "00", "31");
    editDetails()->page()->addKnob(0, 2, 1, 1, "07", "00", "32");
    editDetails()->page()->addKnob(0, 3, 1, 1, "07", "00", "33");
    editDetails()->page()->addKnob(0, 4, 1, 1, "07", "00", "34");
    editDetails()->page()->addGroupBox(0, 1, 1, 1);
    editDetails()->page()->addStackField();


    // Tremolo
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Tremolo");
    editDetails()->page()->addKnob(0, 0, 1, 1, "07", "00", "35", "normal","right", 120);
    editDetails()->page()->addKnob(0, 1, 1, 1, "07", "00", "36");
    editDetails()->page()->addKnob(0, 2, 1, 1, "07", "00", "37");
    editDetails()->page()->addKnob(0, 3, 1, 1, "07", "00", "38");
    editDetails()->page()->addGroupBox(0, 1, 1, 1);
    editDetails()->page()->addStackField();

    // Rotary
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Rotary");
    editDetails()->page()->addKnob(0, 0, 1, 1, "07", "00", "39", "normal","right", 120);
    editDetails()->page()->addKnob(1, 0, 1, 1, "07", "00", "3A", "normal","right", 120);
    editDetails()->page()->addKnob(0, 2, 1, 1, "07", "00", "3B");
    editDetails()->page()->addComboBox(0, 3, 1, 1, "07", "00", "3C");
    editDetails()->page()->addKnob(0, 4, 1, 1, "07", "00", "3D");
    editDetails()->page()->addGroupBox(0, 1, 1, 1);
    editDetails()->page()->addStackField();

    // Uni V
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Uni-Vibe");
    editDetails()->page()->addKnob(0, 0, 1, 1, "07", "00", "3E", "normal","right", 120);
    editDetails()->page()->addKnob(0, 1, 1, 1, "07", "00", "3F");
    editDetails()->page()->addKnob(0, 2, 1, 1, "07", "00", "40");
    editDetails()->page()->addGroupBox(0, 1, 1, 1);
    editDetails()->page()->addStackField();


    // Panner
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Panner");
    editDetails()->page()->addKnob(0, 0, 1, 1, "07", "00", "41", "normal","right", 120);
    editDetails()->page()->addKnob(0, 1, 1, 1, "07", "00", "42");
    editDetails()->page()->addKnob(0, 2, 1, 1, "07", "00", "43");
    editDetails()->page()->addKnob(0, 3, 1, 1, "07", "00", "44");
    editDetails()->page()->addGroupBox(0, 1, 1, 1);
    editDetails()->page()->addStackField();


    // Delay
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Delay");
    editDetails()->page()->addComboBox(0, 0, 1, 1, "07", "00", "45"); //type
    editDetails()->page()->addDataKnob(0, 1, 1, 1, "07", "00", "46", "DELAY3400","right", 120);       //time
    editDetails()->page()->addKnob(0, 2, 1, 1, "07", "00", "49");       //feedback
    editDetails()->page()->addKnob(0, 3, 1, 1, "07", "00", "4A");       //level
    editDetails()->page()->addGroupBox(0, 1, 1, 1);
    editDetails()->page()->addStackField();

    // Chorus
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Chorus");
    editDetails()->page()->addComboBox(0, 0, 1, 1, "07", "00", "4B");;
    editDetails()->page()->addKnob(0, 1, 1, 1, "07", "00", "4C", "normal","right", 120);
    editDetails()->page()->addKnob(0, 2, 1, 1, "07", "00", "4D");
    editDetails()->page()->addKnob(0, 3, 1, 1, "07", "00", "4E");
    editDetails()->page()->addGroupBox(0, 1, 1, 1);
    editDetails()->page()->addStackField();

    // Equalizer
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Equalizer");
    editDetails()->page()->addParaEQ(0, 1, 2, 4, "07", "00", "4F", "MOD");
    editDetails()->page()->addGroupBox(0, 1, 1, 1);
    /* editDetails()->page()->newGroupBox("Low");
    editDetails()->page()->addKnob(0, 0, 1, 1, "07", "00", "4F");
    editDetails()->page()->addKnob(0, 1, 1, 1, "07", "00", "50");
    editDetails()->page()->addGroupBox(0, 0, 1, 1);

    editDetails()->page()->newGroupBox("Low-Middle");
    editDetails()->page()->addKnob(0, 0, 1, 1, "07", "00", "53");
    editDetails()->page()->addKnob(1, 0, 1, 1, "07", "00", "51");
    editDetails()->page()->addKnob(2, 0, 1, 1, "07", "00", "52");
    editDetails()->page()->addGroupBox(0, 1, 1, 1);

    editDetails()->page()->newGroupBox("High-Middle");
    editDetails()->page()->addKnob(0, 0, 1, 1, "07", "00", "56");
    editDetails()->page()->addKnob(1, 0, 1, 1, "07", "00", "54");
    editDetails()->page()->addKnob(2, 0, 1, 1, "07", "00", "55");
    editDetails()->page()->addGroupBox(0, 2, 1, 1);

    editDetails()->page()->newGroupBox("High");
    editDetails()->page()->addKnob(0, 0, 1, 1, "07", "00", "58");
    editDetails()->page()->addKnob(0, 1, 1, 1, "07", "00", "57");
    editDetails()->page()->addGroupBox(0, 3, 1, 1);
    editDetails()->page()->addGroupBox(0, 1, 1, 1);

    editDetails()->page()->newGroupBox("Level");
    editDetails()->page()->addKnob(0, 0, 1, 1, "07", "00", "59");
    editDetails()->page()->addGroupBox(0, 2, 1, 1);*/
    editDetails()->page()->addStackField();

    editDetails()->addPage();
}
Exemplo n.º 12
0
void menuPage_assign3::setEditPages()
{
    editDetails()->page()->newGroupBox(tr("Assign 3"));
    editDetails()->page()->newGroupBox(tr(""));
    editDetails()->page()->addSwitch(0, 0, 1, 1, "01", "00", "32", "middle", Qt::AlignCenter);
    editDetails()->page()->addGroupBox(0, 0, 1, 1);
    editDetails()->page()->newGroupBox("Assign 3 Target");
    editDetails()->page()->addTarget(0, 0, 1, 3, "01", "00", "33", "target","target", 120); // Target
    editDetails()->page()->addGroupBox(0, 1, 1, 1);
    editDetails()->page()->newGroupBox("Assign 3 Source");
    editDetails()->page()->newStackControl(0);
    editDetails()->page()->addComboBox(1, 0, 1, 1, "01", "00", "3C");                    // Source
    editDetails()->page()->addStackControl();
    editDetails()->page()->addComboBox(1, 1, 1, 1, "01", "00", "3D");                    // Source Mode
    editDetails()->page()->addRange(1, 2, 1, 2, "01", "00", "3E", "Structure");         // min/max range widget
    editDetails()->page()->addGroupBox(1, 0, 1, 2);
    editDetails()->page()->insertStackField(0, 2, 0, 1, 2);
    editDetails()->page()->addGroupBox(0, 0, 2, 1);

    editDetails()->addPage();


    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Assign 3 Internal Pedal");
    editDetails()->page()->addComboBox(0, 0, 1, 1, "01", "00", "40");                    // Internal Pedal Trigger
    editDetails()->page()->addKnob(0, 1, 1, 1, "01", "00", "41", "normal", "right", 60); // Internal Pedal Time
    editDetails()->page()->addComboBox(0, 2, 1, 1, "01", "00", "42");                    // Internal Pedal Curve
    editDetails()->page()->addGroupBox(0, 0, 1, 1);
    editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Assign 3 Wave Pedal");
    editDetails()->page()->addKnob(1, 0, 1, 1, "01", "00", "43", "normal","right", 120); // Wave Form Rate
    editDetails()->page()->addComboBox(1, 1, 1, 1, "01", "00", "44");                    // Wave Form
    editDetails()->page()->addGroupBox(0, 0, 1, 1);
    editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(0);editDetails()->page()->addStackField();
}
Exemplo n.º 13
0
void stompbox_cs::setEditPages()
{
	editDetails()->page()->newGroupBox("Effect");
	editDetails()->page()->addSwitch(0, 0, 1, 1, "00", "00", "40", "middle", Qt::AlignCenter);
	editDetails()->page()->newStackControl(0);
	editDetails()->page()->addComboBox(1, 0, 1, 1, "00", "00", "41");
	editDetails()->page()->addStackControl();
	editDetails()->page()->addGroupBox(0, 0, 1, 1);

	// COMPRESSOR 
	editDetails()->page()->insertStackField(0, 0, 1, 1, 1);
	editDetails()->page()->newStackField(0);
	editDetails()->page()->newGroupBox("Compressor");
	editDetails()->page()->addKnob(0, 0, 1, 1, "00", "00", "42");
	editDetails()->page()->addKnob(0, 1, 1, 1, "00", "00", "43");
	//editDetails()->page()->addKnob(0, 2, 1, 1, "00", "00", "44");
	editDetails()->page()->addKnob(0, 2, 1, 1, "00", "00", "46");
	editDetails()->page()->addGroupBox(0, 0, 1, 1);

	editDetails()->page()->newGroupBox("Effect");
	editDetails()->page()->addKnob(0, 0, 1, 1, "00", "00", "47");
	editDetails()->page()->addGroupBox(0, 1, 1, 1);
	editDetails()->page()->addStackField();

	// LIMITER 
	editDetails()->page()->newStackField(0);
	editDetails()->page()->newGroupBox("Limiter");
	editDetails()->page()->addKnob(0, 0, 1, 1, "00", "00", "44");
	editDetails()->page()->addKnob(0, 1, 1, 1, "00", "00", "45");
	//editDetails()->page()->addKnob(0, 2, 1, 1, "00", "00", "43");
	editDetails()->page()->addKnob(0, 2, 1, 1, "00", "00", "46");
	editDetails()->page()->addGroupBox(0, 0, 1, 1);

	editDetails()->page()->newGroupBox("Effect");
	editDetails()->page()->addKnob(0, 0, 1, 1, "00", "00", "47");
	editDetails()->page()->addGroupBox(0, 1, 1, 1);
	editDetails()->page()->addStackField();

	editDetails()->addPage();
};
Exemplo n.º 14
0
void stompbox_mfx::setEditPages()
{
    editDetails()->page()->newGroupBox("Select");
    editDetails()->page()->addSwitch(0, 0, 1, 1, "03", "00", "04", "middle", Qt::AlignCenter);
    editDetails()->page()->newStackControl(0);
    editDetails()->page()->addComboBox(1, 0, 1, 1, "03", "00", "05", "large");  //type
    editDetails()->page()->addStackControl();
    editDetails()->page()->addKnob(2, 0, 1, 1, "03", "00", "06");   // pan
    editDetails()->page()->addGroupBox(0, 0, 2, 1);
    editDetails()->page()->insertStackField(0, 0, 1, 3, 2);

    // EQ
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Equalizer");
    editDetails()->page()->addParaEQ(0, 1, 2, 4, "03", "00", "07", "MFX");
    editDetails()->page()->addGroupBox(0, 1, 1, 1);
    /* editDetails()->page()->newGroupBox("Low");
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "07");
    editDetails()->page()->addKnob(0, 1, 1, 1, "03", "00", "08");
    editDetails()->page()->addGroupBox(0, 0, 1, 1);

    editDetails()->page()->newGroupBox("Middle 1");
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "0A");
    editDetails()->page()->addKnob(1, 0, 1, 1, "03", "00", "09");
    editDetails()->page()->addKnob(2, 0, 1, 1, "03", "00", "0B");
    editDetails()->page()->addGroupBox(0, 1, 1, 1);

    editDetails()->page()->newGroupBox("Middle 2");
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "0D");
    editDetails()->page()->addKnob(1, 0, 1, 1, "03", "00", "0C");
    editDetails()->page()->addKnob(2, 0, 1, 1, "03", "00", "0E");
    editDetails()->page()->addGroupBox(0, 2, 1, 1);

    editDetails()->page()->newGroupBox("High");
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "10");
    editDetails()->page()->addKnob(0, 1, 1, 1, "03", "00", "0F");
    editDetails()->page()->addGroupBox(0, 3, 1, 1);
    editDetails()->page()->addGroupBox(0, 1, 1, 1);

    editDetails()->page()->newGroupBox("Level");
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "11");
    editDetails()->page()->addGroupBox(0, 2, 1, 1);*/
    editDetails()->page()->addStackField();

    // Filter
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Super Filter");
    editDetails()->page()->addComboBox(0, 0, 1, 1, "03", "00", "12");  // type
    editDetails()->page()->addComboBox(1, 0, 1, 1, "03", "00", "13");  // slope
    editDetails()->page()->addKnob(0, 1, 1, 1, "03", "00", "14");       //cutoff
    editDetails()->page()->addKnob(0, 2, 1, 1, "03", "00", "15");       //resonance
    editDetails()->page()->addKnob(0, 3, 1, 1, "03", "00", "16");        // gain
    editDetails()->page()->addComboBox(0, 4, 1, 1, "03", "00", "17");  // modulation
    editDetails()->page()->addComboBox(1, 4, 1, 1, "03", "00", "18");  // mod wave
    editDetails()->page()->addGroupBox(0, 0, 1, 1);

    editDetails()->page()->newGroupBox("Super Filter");
    editDetails()->page()->newStackControl(1);
    editDetails()->page()->addComboBox(0, 0, 1, 1, "03", "00", "19");  //Rate type
    editDetails()->page()->addStackControl();
    editDetails()->page()->insertStackField(1, 0, 1, 1, 1);
    editDetails()->page()->addKnob(0, 2, 1, 1, "03", "00", "1C");  //depth
    editDetails()->page()->addKnob(0, 3, 1, 1, "03", "00", "1D");  // attack
    editDetails()->page()->addKnob(0, 4, 1, 1, "03", "00", "1E");   // level
    editDetails()->page()->addGroupBox(1, 0, 1, 1);
    editDetails()->page()->addStackField();


    editDetails()->page()->newStackField(1);
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "1A", "normal","right", 120);   // rate
    editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(1);
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "1B", "normal","right", 120);   // rate
    editDetails()->page()->addStackField();

    // Phaser
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Phaser");
    editDetails()->page()->addComboBox(0, 0, 1, 1, "03", "00", "1F", "bottom", Qt::AlignRight);//mode
    editDetails()->page()->addKnob(0, 1, 1, 1, "03", "00", "20");   //manual
    editDetails()->page()->newStackControl(2);
    editDetails()->page()->addComboBox(0, 2, 1, 1, "03", "00", "21");  //Rate type
    editDetails()->page()->addStackControl();
    editDetails()->page()->insertStackField(2, 0, 3, 1, 1);
    editDetails()->page()->addKnob(0, 4, 1, 1, "03", "00", "24");    //depth
    editDetails()->page()->addGroupBox(0, 0, 1, 2);

    editDetails()->page()->newGroupBox("Phaser");
    editDetails()->page()->addComboBox(0, 0, 1, 1, "03", "00", "25", "bottom", Qt::AlignRight);//polarity
    editDetails()->page()->addKnob(0, 1, 1, 1, "03", "00", "26");    //reso
    editDetails()->page()->addKnob(0, 2, 1, 1, "03", "00", "27");   //cross fb
    editDetails()->page()->addKnob(0, 3, 1, 1, "03", "00", "28");     //mix
    editDetails()->page()->addGroupBox(1, 0, 1, 1);

    editDetails()->page()->newGroupBox("Level");
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "29");     // low gain
    editDetails()->page()->addKnob(0, 1, 1, 1, "03", "00", "2A");     //high gain
    editDetails()->page()->addKnob(0, 2, 1, 1, "03", "00", "2B");     //level
    editDetails()->page()->addGroupBox(1, 1, 1, 1);
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(2);
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "22", "normal","right", 120);   // rate
    editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(2);
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "23", "normal","right", 120);   // rate
    editDetails()->page()->addStackField();

    // Step Phaser
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Step Phaser");
    editDetails()->page()->addComboBox(0, 0, 1, 1, "03", "00", "2C", "bottom", Qt::AlignRight);//mode
    editDetails()->page()->addKnob(0, 1, 1, 1, "03", "00", "2D");   //manual
    editDetails()->page()->newStackControl(3);
    editDetails()->page()->addComboBox(0, 2, 1, 1, "03", "00", "2E");  //Rate type
    editDetails()->page()->addStackControl();
    editDetails()->page()->insertStackField(3, 0, 3, 1, 1);
    editDetails()->page()->addKnob(0, 4, 1, 1, "03", "00", "31");    //depth
    editDetails()->page()->addGroupBox(0, 0, 1, 2);

    editDetails()->page()->newGroupBox("Step Phaser");
    editDetails()->page()->addComboBox(0, 0, 1, 1, "03", "00", "32", "bottom", Qt::AlignRight);//polarity
    editDetails()->page()->addKnob(0, 1, 1, 1, "03", "00", "33");    //reso
    editDetails()->page()->addKnob(0, 2, 1, 1, "03", "00", "34");   //cross fb
    editDetails()->page()->newStackControl(4);
    editDetails()->page()->addComboBox(0, 3, 1, 1, "03", "00", "35");  //Rate type
    editDetails()->page()->addStackControl();
    editDetails()->page()->insertStackField(4, 0, 4, 1, 1);
    editDetails()->page()->addKnob(0, 5, 1, 1, "03", "00", "38");     //mix
    editDetails()->page()->addGroupBox(1, 0, 1, 1);

    editDetails()->page()->newGroupBox("Level");
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "39");     // low gain
    editDetails()->page()->addKnob(0, 1, 1, 1, "03", "00", "3A");     //high gain
    editDetails()->page()->addKnob(0, 2, 1, 1, "03", "00", "3B");     //level
    editDetails()->page()->addGroupBox(1, 1, 1, 1);
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(3);
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "2F", "normal","right", 120);   // rate
    editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(3);
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "30", "normal","right", 120);   // rate
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(4);
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "36", "normal","right", 120);   // rate
    editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(4);
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "37", "normal","right", 120);   // rate
    editDetails()->page()->addStackField();

    // Ring Modulator
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Ring Modulator");
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "3C");    // freq
    editDetails()->page()->addKnob(0, 1, 1, 1, "03", "00", "3D");    //sens
    editDetails()->page()->addComboBox(0, 3, 1, 1, "03", "00", "3E");  //polarity
    editDetails()->page()->addGroupBox(0, 0, 1, 1);

    editDetails()->page()->newGroupBox("Level");
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "3F");  //lo gain
    editDetails()->page()->addKnob(0, 1, 1, 1, "03", "00", "40");    //hi gain
    editDetails()->page()->addKnob(0, 2, 1, 1, "03", "00", "41");    //balance
    editDetails()->page()->addKnob(0, 3, 1, 1, "03", "00", "42");    //level
    editDetails()->page()->addGroupBox(0, 1, 1, 1);
    editDetails()->page()->addStackField();

    // Tremolo
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Tremolo");
    editDetails()->page()->addComboBox(0, 0, 1, 1, "03", "00", "43", "bottom", Qt::AlignRight);//mod wave
    editDetails()->page()->newStackControl(5);
    editDetails()->page()->addComboBox(0, 1, 1, 1, "03", "00", "44");  //Rate type
    editDetails()->page()->addStackControl();
    editDetails()->page()->insertStackField(5, 0, 2, 1, 1);
    editDetails()->page()->addKnob(0, 3, 1, 1, "03", "00", "47");    //depth
    editDetails()->page()->addGroupBox(0, 0, 1, 1);

    editDetails()->page()->newGroupBox("Level");
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "48");  //lo gain
    editDetails()->page()->addKnob(0, 1, 1, 1, "03", "00", "49");    //hi gain
    editDetails()->page()->addKnob(0, 2, 1, 1, "03", "00", "4A");    //level
    editDetails()->page()->addGroupBox(0, 1, 1, 1);
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(5);
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "45", "normal","right", 120);   // rate
    editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(5);
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "46", "normal","right", 120);   // rate
    editDetails()->page()->addStackField();


    // Auto Pan
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Auto Pan");
    editDetails()->page()->addComboBox(0, 0, 1, 1, "03", "00", "4B", "bottom", Qt::AlignRight);//mod wave
    editDetails()->page()->newStackControl(6);
    editDetails()->page()->addComboBox(0, 1, 1, 1, "03", "00", "4C");  //Rate type
    editDetails()->page()->addStackControl();
    editDetails()->page()->insertStackField(6, 0, 2, 1, 1);
    editDetails()->page()->addKnob(0, 3, 1, 1, "03", "00", "4F");    //depth
    editDetails()->page()->addGroupBox(0, 0, 1, 1);

    editDetails()->page()->newGroupBox("Level");
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "50");  //lo gain
    editDetails()->page()->addKnob(0, 1, 1, 1, "03", "00", "51");    //hi gain
    editDetails()->page()->addKnob(0, 2, 1, 1, "03", "00", "52");    //level
    editDetails()->page()->addGroupBox(0, 1, 1, 1);
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(6);
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "4D", "normal","right", 120);   // rate
    editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(6);
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "4E", "normal","right", 120);   // rate
    editDetails()->page()->addStackField();

    // Slicer
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Slicer");
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "53", "normal","right", 105);    //pattern
    editDetails()->page()->newStackControl(7);
    editDetails()->page()->addComboBox(0, 1, 1, 1, "03", "00", "54");  //Rate type
    editDetails()->page()->addStackControl();
    editDetails()->page()->insertStackField(7, 0, 2, 1, 1);
    editDetails()->page()->addGroupBox(0, 0, 1, 1);

    editDetails()->page()->newGroupBox("Slicer");
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "57");  //attack
    editDetails()->page()->addKnob(0, 1, 1, 1, "03", "00", "58");    //input sync
    editDetails()->page()->addKnob(0, 2, 1, 1, "03", "00", "59");    //sync thresh
    editDetails()->page()->addKnob(0, 3, 1, 1, "03", "00", "5A");    //level
    editDetails()->page()->addGroupBox(0, 1, 1, 1);
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(7);
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "55", "normal","right", 120);   // rate
    editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(7);
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "56", "normal","right", 120);   // rate
    editDetails()->page()->addStackField();

    // VK Rotary
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("VK Rotary");
    editDetails()->page()->addComboBox(0, 0, 1, 1, "03", "00", "5B");  //speed
    editDetails()->page()->addComboBox(1, 0, 1, 1, "03", "00", "5C");  //brake
    editDetails()->page()->addGroupBox(0, 0, 2, 1);

    editDetails()->page()->newGroupBox("Wooofer");
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "5D");  //
    editDetails()->page()->addKnob(0, 1, 1, 1, "03", "00", "5E");    //
    editDetails()->page()->addKnob(0, 2, 1, 1, "03", "00", "5F");    //
    editDetails()->page()->addKnob(0, 3, 1, 1, "03", "00", "60");    //
    editDetails()->page()->addKnob(0, 4, 1, 1, "03", "00", "61");    //
    editDetails()->page()->addGroupBox(1, 1, 1, 1);

    editDetails()->page()->newGroupBox("Tweeter");
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "62");  //
    editDetails()->page()->addKnob(0, 1, 1, 1, "03", "00", "63");    //
    editDetails()->page()->addKnob(0, 2, 1, 1, "03", "00", "64");    //
    editDetails()->page()->addKnob(0, 3, 1, 1, "03", "00", "65");    //
    editDetails()->page()->addKnob(0, 4, 1, 1, "03", "00", "66");    //
    editDetails()->page()->addGroupBox(0, 1, 1, 1);

    editDetails()->page()->newGroupBox("VK Rotary");
    editDetails()->page()->addKnob(0, 1, 1, 1, "03", "00", "67");  //spread
    editDetails()->page()->addKnob(1, 0, 1, 1, "03", "00", "68");    //
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "69");    //
    editDetails()->page()->addKnob(1, 1, 1, 1, "03", "00", "6A");    //level
    editDetails()->page()->addGroupBox(0, 3, 2, 1);
    editDetails()->page()->addStackField();

    // Hexa chorus
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Hexa-Chorus");
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "6B", "normal","right", 60);    //predelay
    editDetails()->page()->newStackControl(8);
    editDetails()->page()->addComboBox(0, 1, 1, 1, "03", "00", "6C");  //Rate type
    editDetails()->page()->addStackControl();
    editDetails()->page()->insertStackField(8, 0, 2, 1, 1);
    editDetails()->page()->addKnob(0, 3, 1, 1, "03", "00", "6F");  //depth
    editDetails()->page()->addGroupBox(0, 0, 1, 2);

    editDetails()->page()->newGroupBox("Deviation");
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "70", "normal","right", 60);    //pre del dev
    editDetails()->page()->addKnob(0, 1, 1, 1, "03", "00", "71");    //depth dev
    editDetails()->page()->addKnob(0, 2, 1, 1, "03", "00", "72");    //pan dev
    editDetails()->page()->addGroupBox(1, 0, 1, 1);

    editDetails()->page()->newGroupBox("Output");
    editDetails()->page()->addKnob(0, 1, 1, 1, "03", "00", "73");    //balance
    editDetails()->page()->addKnob(0, 2, 1, 1, "03", "00", "74");    //output
    editDetails()->page()->addGroupBox(1, 1, 1, 1);
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(8);
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "6D", "normal","right", 120);   // rate
    editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(8);
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "6E", "normal","right", 120);   // rate
    editDetails()->page()->addStackField();

    // Space-D
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Space-D");
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "75", "normal","right", 60);    //predelay
    editDetails()->page()->newStackControl(9);
    editDetails()->page()->addComboBox(0, 1, 1, 1, "03", "00", "76");  //Rate type
    editDetails()->page()->addStackControl();
    editDetails()->page()->insertStackField(9, 0, 2, 1, 1);
    editDetails()->page()->addKnob(0, 3, 1, 1, "03", "00", "79");  //depth
    editDetails()->page()->addKnob(0, 4, 1, 1, "03", "00", "7A");  //phase
    editDetails()->page()->addGroupBox(0, 0, 1, 1);

    editDetails()->page()->newGroupBox("Output");
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "7B");    //low gain
    editDetails()->page()->addKnob(0, 1, 1, 1, "03", "00", "7C");    //high gain
    editDetails()->page()->addKnob(0, 2, 1, 1, "03", "00", "7D");    //balance
    editDetails()->page()->addKnob(0, 3, 1, 1, "03", "00", "7E");    //level
    editDetails()->page()->addGroupBox(1, 0, 1, 1);
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(9);
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "77", "normal","right", 120);   // rate
    editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(9);
    editDetails()->page()->addKnob(0, 0, 1, 1, "03", "00", "78", "normal","right", 120);   // rate
    editDetails()->page()->addStackField();


    // Flanger
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Flanger");
    editDetails()->page()->addComboBox(0, 0, 1, 1, "03", "00", "7F");// filter type
    editDetails()->page()->addKnob(1, 0, 1, 1, "04", "00", "00");  // cutoff freq
    editDetails()->page()->addKnob(0, 1, 1, 1, "04", "00", "01", "normal","right", 60);    //predelay
    editDetails()->page()->newStackControl(10);
    editDetails()->page()->addComboBox(0, 2, 1, 1, "04", "00", "02");  //Rate type
    editDetails()->page()->addStackControl();
    editDetails()->page()->insertStackField(10, 0, 3, 1, 1);
    editDetails()->page()->addKnob(1, 1, 1, 1, "04", "00", "05");
    editDetails()->page()->addKnob(1, 2, 1, 1, "04", "00", "06");
    editDetails()->page()->addKnob(1, 3, 1, 1, "04", "00", "07");
    editDetails()->page()->addGroupBox(0, 0, 1, 1);

    editDetails()->page()->newGroupBox("Level");
    editDetails()->page()->addKnob(1, 0, 1, 1, "04", "00", "08");
    editDetails()->page()->addKnob(0, 0, 1, 1, "04", "00", "09");
    editDetails()->page()->addKnob(0, 1, 1, 1, "04", "00", "0A");
    editDetails()->page()->addKnob(1, 1, 1, 1, "04", "00", "0B");
    editDetails()->page()->addGroupBox(0, 1, 1, 1);
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(10);
    editDetails()->page()->addKnob(0, 0, 1, 1, "04", "00", "03", "normal","right", 120);   // rate
    editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(10);
    editDetails()->page()->addKnob(0, 0, 1, 1, "04", "00", "04", "normal","right", 120);   // rate
    editDetails()->page()->addStackField();

    // Step Flanger
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Step Flanger");
    editDetails()->page()->addComboBox(0, 0, 1, 1, "04", "00", "0C");// filter type
    editDetails()->page()->addKnob(1, 0, 1, 1, "04", "00", "0D");  // cutoff freq
    editDetails()->page()->addKnob(0, 1, 1, 1, "04", "00", "0E", "normal","right", 60);    //predelay
    editDetails()->page()->newStackControl(11);
    editDetails()->page()->addComboBox(0, 2, 1, 1, "04", "00", "0F");  //Rate type
    editDetails()->page()->addStackControl();
    editDetails()->page()->insertStackField(11, 0, 3, 1, 1);
    editDetails()->page()->addKnob(1, 1, 1, 1, "04", "00", "12"); //depth
    editDetails()->page()->addKnob(0, 4, 1, 1, "04", "00", "13"); //phase
    editDetails()->page()->addKnob(1, 4, 1, 1, "04", "00", "14"); //feedback
    editDetails()->page()->newStackControl(12);
    editDetails()->page()->addComboBox(1, 2, 1, 1, "04", "00", "15");  //step Rate type
    editDetails()->page()->addStackControl();
    editDetails()->page()->insertStackField(12, 1, 3, 1, 1);
    editDetails()->page()->addGroupBox(0, 0, 1, 1);

    editDetails()->page()->newGroupBox("Level");
    editDetails()->page()->addKnob(1, 0, 1, 1, "04", "00", "18");
    editDetails()->page()->addKnob(0, 0, 1, 1, "04", "00", "19");
    editDetails()->page()->addKnob(0, 1, 1, 1, "04", "00", "1A");
    editDetails()->page()->addKnob(1, 1, 1, 1, "04", "00", "1B");
    editDetails()->page()->addGroupBox(0, 2, 1, 1);
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(11);
    editDetails()->page()->addKnob(0, 0, 1, 1, "04", "00", "10", "normal","right", 120);   // rate
    editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(11);
    editDetails()->page()->addKnob(0, 0, 1, 1, "04", "00", "11", "normal","right", 120);   // rate
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(12);
    editDetails()->page()->addKnob(0, 0, 1, 1, "04", "00", "16", "normal","right", 120);   // rate
    editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(12);
    editDetails()->page()->addKnob(0, 0, 1, 1, "04", "00", "17", "normal","right", 120);   // rate
    editDetails()->page()->addStackField();


    // Amp Spkr
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Amp", Qt::AlignTop | Qt::AlignHCenter);
    editDetails()->page()->addSwitch(0, 0, 1, 1, "04", "00", "1C", "middle", Qt::AlignCenter); //sw
    editDetails()->page()->newStackControl(13);
    editDetails()->page()->addComboBox(1, 0, 1, 1, "04", "00", "1D");// type
    editDetails()->page()->addStackControl();
    editDetails()->page()->addKnob(0, 1, 1, 1, "04", "00", "1E");   //pre vol
    editDetails()->page()->addKnob(0, 2, 1, 1, "04", "00", "1F");   // pre master
    editDetails()->page()->addKnob(0, 3, 1, 1, "04", "00", "20");   //gain
    editDetails()->page()->addKnob(0, 4, 1, 1, "04", "00", "21");   //bass
    editDetails()->page()->addKnob(0, 5, 1, 1, "04", "00", "22");    //middle
    editDetails()->page()->addKnob(0, 6, 1, 1, "04", "00", "23");    //treble
    editDetails()->page()->addKnob(0, 7, 1, 1, "04", "00", "24");    //presence
    editDetails()->page()->insertStackField(13, 0, 8, 1, 1);
    editDetails()->page()->addGroupBox(0, 0, 1, 1);

    editDetails()->page()->newGroupBox("Speaker", Qt::AlignTop | Qt::AlignHCenter);
    editDetails()->page()->addSwitch(0, 0, 1, 1, "04", "00", "26", "middle", Qt::AlignCenter); //sw
    editDetails()->page()->addComboBox(1, 0, 1, 1, "04", "00", "27");// type
    editDetails()->page()->addKnob(0, 1, 1, 1, "04", "00", "28");   //mic setting
    editDetails()->page()->addKnob(0, 2, 1, 1, "04", "00", "29");   //mic level
    editDetails()->page()->addKnob(0, 3, 1, 1, "04", "00", "2A");   // direct
    editDetails()->page()->addKnob(0, 4, 1, 1, "04", "00", "2B");   //pan
    editDetails()->page()->addKnob(0, 5, 1, 1, "04", "00", "2C");   //level
    editDetails()->page()->addGroupBox(1, 0, 1, 1);
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(13);
    editDetails()->page()->addSwitch(0, 8, 1, 1, "04", "00", "25", "middle", Qt::AlignCenter); //bright sw
    editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(13);
    editDetails()->page()->addSwitch(0, 8, 1, 1, "04", "00", "25", "middle", Qt::AlignCenter); //bright sw
    editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(13);
    editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(13);
    editDetails()->page()->addSwitch(0, 8, 1, 1, "04", "00", "25", "middle", Qt::AlignCenter); //bright sw
    editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(13);
    editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(13);
    editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(13);
    editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(13);
    editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(13);
    editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(13);
    editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(13);
    editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(13);
    editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(13);
    editDetails()->page()->addStackField();
    editDetails()->page()->newStackField(13);
    editDetails()->page()->addStackField();


    // Compressor
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Compressor", Qt::AlignTop | Qt::AlignHCenter);
    editDetails()->page()->addKnob(0, 0, 1, 1, "04", "00", "2D");   //attack
    editDetails()->page()->addKnob(0, 1, 1, 1, "04", "00", "2E");   //threshold
    editDetails()->page()->addKnob(0, 2, 1, 1, "04", "00", "2F");   //post gain
    editDetails()->page()->addKnob(0, 3, 1, 1, "04", "00", "30");   //low gain
    editDetails()->page()->addKnob(0, 4, 1, 1, "04", "00", "31");    //high gain
    editDetails()->page()->addKnob(0, 5, 1, 1, "04", "00", "32");    //level
    editDetails()->page()->addGroupBox(0, 0, 1, 1);
    editDetails()->page()->addStackField();

    // Limiter
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Limiter", Qt::AlignTop | Qt::AlignHCenter);
    editDetails()->page()->addKnob(0, 0, 1, 1, "04", "00", "33");   //attack
    editDetails()->page()->addKnob(0, 1, 1, 1, "04", "00", "34");   //threshold
    editDetails()->page()->addKnob(0, 2, 1, 1, "04", "00", "35");   //ratio
    editDetails()->page()->addKnob(0, 3, 1, 1, "04", "00", "36");   //post gain
    editDetails()->page()->addKnob(0, 4, 1, 1, "04", "00", "37");    //low gain
    editDetails()->page()->addKnob(0, 5, 1, 1, "04", "00", "38");    //high gain
    editDetails()->page()->addKnob(0, 6, 1, 1, "04", "00", "39");    //level
    editDetails()->page()->addGroupBox(0, 0, 1, 1);
    editDetails()->page()->addStackField();

    // 3Tap pan delay
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("3Tap Pan Delay Left", Qt::AlignTop | Qt::AlignHCenter);
    editDetails()->page()->newStackControl(14);
    editDetails()->page()->addComboBox(0, 0, 1, 1, "04", "00", "3A");// left type
    editDetails()->page()->addStackControl();
    editDetails()->page()->insertStackField(14, 1, 0, 1, 1);
    editDetails()->page()->addKnob(3, 0, 1, 1, "04", "00", "4B");   //left level
    editDetails()->page()->addGroupBox(0, 0, 1, 1);
    editDetails()->page()->newGroupBox("3Tap Pan Delay Center", Qt::AlignTop | Qt::AlignHCenter);
    editDetails()->page()->newStackControl(15);
    editDetails()->page()->addComboBox(0, 0, 1, 1, "04", "00", "44");// center type
    editDetails()->page()->addStackControl();
    editDetails()->page()->insertStackField(15, 1, 0, 1, 1);
    editDetails()->page()->addKnob(2, 0, 1, 1, "04", "00", "49");   //center fback
    editDetails()->page()->addKnob(3, 0, 1, 1, "04", "00", "4D");   //center level
    editDetails()->page()->addGroupBox(0, 1, 1, 1);
    editDetails()->page()->newGroupBox("3Tap Pan Delay Right", Qt::AlignTop | Qt::AlignHCenter);
    editDetails()->page()->newStackControl(16);
    editDetails()->page()->addComboBox(0, 0, 1, 1, "04", "00", "3F");// right type
    editDetails()->page()->addStackControl();
    editDetails()->page()->insertStackField(16, 1, 0, 1, 1);
    editDetails()->page()->addKnob(3, 0, 1, 1, "04", "00", "4C");    //right level
    editDetails()->page()->addGroupBox(0, 2, 1, 1);
    editDetails()->page()->newGroupBox("Level");
    editDetails()->page()->addKnob(0, 0, 1, 1, "04", "00", "4A");   //hf damp
    editDetails()->page()->addKnob(0, 1, 1, 1, "04", "00", "4E");   // low gain
    editDetails()->page()->addKnob(0, 2, 1, 1, "04", "00", "4F");   // high gain
    editDetails()->page()->addKnob(0, 3, 1, 1, "04", "00", "50");   //balance
    editDetails()->page()->addKnob(0, 4, 1, 1, "04", "00", "51");   //level
    editDetails()->page()->addGroupBox(1, 0, 1, 3);
    editDetails()->page()->addStackField();


    editDetails()->page()->newStackField(14);
    editDetails()->page()->addDataKnob(0, 0, 1, 1, "04", "00", "3B", "DELAY2600", "right", 120); // left time
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(14);
    editDetails()->page()->addKnob(0, 0, 1, 1, "04", "00", "3E", "normal", "right", 120);   // left Rate
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(15);
    editDetails()->page()->addDataKnob(0, 0, 1, 1, "04", "00", "45", "DELAY2600", "right", 120); // center time
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(15);
    editDetails()->page()->addKnob(0, 0, 1, 1, "04", "00", "48", "normal", "right", 120);   // center Rate
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(16);
    editDetails()->page()->addDataKnob(0, 0, 1, 1, "04", "00", "40", "DELAY2600", "right", 120); // right time
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(16);
    editDetails()->page()->addKnob(0, 0, 1, 1, "04", "00", "43", "normal", "right", 120);   // right Rate
    editDetails()->page()->addStackField();

    // Time CTRL delay
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Time Based Delay", Qt::AlignTop | Qt::AlignHCenter);
    editDetails()->page()->newStackControl(17);
    editDetails()->page()->addComboBox(0, 0, 1, 1, "04", "00", "52");// time type
    editDetails()->page()->addStackControl();
    editDetails()->page()->insertStackField(17, 0, 1, 1, 1);
    editDetails()->page()->addKnob(0, 2, 1, 1, "04", "00", "57");   //acceleration
    editDetails()->page()->addKnob(0, 3, 1, 1, "04", "00", "58");   //feedback
    editDetails()->page()->addKnob(0, 4, 1, 1, "04", "00", "59");   //hf damp
    editDetails()->page()->addGroupBox(0, 0, 1, 1);
    editDetails()->page()->newGroupBox("Level");
    editDetails()->page()->addKnob(0, 0, 1, 1, "04", "00", "5A");   // low gain
    editDetails()->page()->addKnob(0, 1, 1, 1, "04", "00", "5B");   // high gain
    editDetails()->page()->addKnob(0, 2, 1, 1, "04", "00", "5C");   //balance
    editDetails()->page()->addKnob(0, 3, 1, 1, "04", "00", "5D");   //level
    editDetails()->page()->addGroupBox(1, 0, 1, 1);
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(17);
    editDetails()->page()->addDataKnob(0, 0, 1, 1, "04", "00", "53", "DELAY1300", "right", 120); // time
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(17);
    editDetails()->page()->addKnob(0, 0, 1, 1, "04", "00", "56", "normal", "right", 120);   // Rate
    editDetails()->page()->addStackField();

    // LoFi Compressor
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("LoFi Compressor", Qt::AlignTop | Qt::AlignHCenter);
    editDetails()->page()->addKnob(0, 0, 1, 1, "04", "00", "5E");   //pre filt type
    editDetails()->page()->addKnob(0, 1, 1, 1, "04", "00", "5F");   //lofi type
    editDetails()->page()->addKnob(0, 2, 1, 1, "04", "00", "60", "normal","right", 105);   //filter type
    editDetails()->page()->addKnob(0, 3, 1, 1, "04", "00", "61");   //post filter cut
    editDetails()->page()->addGroupBox(0, 0, 1, 1);
    editDetails()->page()->newGroupBox("Level");
    editDetails()->page()->addKnob(0, 0, 1, 1, "04", "00", "62");   // low gain
    editDetails()->page()->addKnob(0, 1, 1, 1, "04", "00", "63");   // high gain
    editDetails()->page()->addKnob(0, 2, 1, 1, "04", "00", "64");   //balance
    editDetails()->page()->addKnob(0, 3, 1, 1, "04", "00", "65");   //level
    editDetails()->page()->addGroupBox(1, 0, 1, 1);
    editDetails()->page()->addStackField();

    // Pitch Shifter
    editDetails()->page()->newStackField(0);
    editDetails()->page()->newGroupBox("Pitch Shifter", Qt::AlignTop | Qt::AlignHCenter);
    editDetails()->page()->addKnob(0, 0, 1, 1, "04", "00", "66", "normal", "right", 120);   //pitch coarse
    editDetails()->page()->addKnob(0, 1, 1, 1, "04", "00", "67", "normal", "right", 120);   //pitch fine
    editDetails()->page()->newStackControl(18);
    editDetails()->page()->addComboBox(0, 2, 1, 1, "04", "00", "68");// time type
    editDetails()->page()->addStackControl();
    editDetails()->page()->insertStackField(18, 0, 3, 1, 1);
    editDetails()->page()->addKnob(0, 4, 1, 1, "04", "00", "6D");   //feedback
    editDetails()->page()->addGroupBox(0, 0, 1, 1);
    editDetails()->page()->newGroupBox("Level");
    editDetails()->page()->addKnob(0, 0, 1, 1, "04", "00", "6E");   // low gain
    editDetails()->page()->addKnob(0, 1, 1, 1, "04", "00", "6F");   // high gain
    editDetails()->page()->addKnob(0, 2, 1, 1, "04", "00", "70");   //balance
    editDetails()->page()->addKnob(0, 3, 1, 1, "04", "00", "71");   //level
    editDetails()->page()->addGroupBox(1, 0, 1, 1);
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(18);
    editDetails()->page()->addDataKnob(0, 0, 1, 1, "04", "00", "69", "DELAY1300", "right", 120); // time
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(18);
    editDetails()->page()->addKnob(0, 0, 1, 1, "04", "00", "6C", "normal", "right", 120);   // Rate
    editDetails()->page()->addStackField();


    editDetails()->addPage();
}
Exemplo n.º 15
0
void stompbox_amp::setEditPages()
{
    editDetails()->page()->newGroupBox("Effect");
    editDetails()->page()->addSwitch(0, 0, 1, 1, "07", "00", "00");   // off/on effect
    editDetails()->page()->addGroupBox(0, 0, 2, 1);

    editDetails()->page()->newGroupBox(tr("PreAmp"));
    editDetails()->page()->newStackControl(0);
    editDetails()->page()->addComboBox(0, 0, 1, 1, "07", "00", "01", "large");        //pre type
    editDetails()->page()->addStackControl();
    editDetails()->page()->addComboBox(0, 1, 1, 1, "07", "00", "04", "bottom", Qt::AlignLeft); //gain sw
    editDetails()->page()->addKnob(0, 2, 1, 1, "07", "00", "02", "turbo");   // gain
    editDetails()->page()->addKnob(0, 3, 1, 1, "07", "00", "07");            //bass
    editDetails()->page()->addKnob(0, 4, 1, 1, "07", "00", "08");            // mid
    editDetails()->page()->addKnob(0, 5, 1, 1, "07", "00", "09");            // treble
    editDetails()->page()->addKnob(0, 6, 1, 1, "07", "00", "0A");            // presence
    editDetails()->page()->addKnob(0, 7, 1, 1, "07", "00", "03");            // effect level
    editDetails()->page()->insertStackField(0, 0, 8, 1, 1);                 // bright button
    editDetails()->page()->addGroupBox(0, 1, 1, 1);


    editDetails()->page()->newGroupBox(tr("Speaker"));
    editDetails()->page()->addComboBox(0, 0, 1, 1, "07", "00", "0C", "large");       //spkr type
    editDetails()->page()->addComboBox(0, 1, 1, 1, "07", "00", "0D", "bottom", Qt::AlignRight); //mic type
    editDetails()->page()->addComboBox(0, 2, 1, 1, "07", "00", "0E");       //mic distance
    editDetails()->page()->addKnob(0, 3, 1, 1, "07", "00", "0F");           //mic position
    editDetails()->page()->addKnob(0, 4, 1, 1, "07", "00", "10");           // mic level
    editDetails()->page()->addGroupBox(1, 1, 1, 1);

    editDetails()->page()->newGroupBox(tr("Solo"));
    editDetails()->page()->addSwitch(0, 0, 1, 1, "07", "00", "05", "middle", Qt::AlignLeft | Qt::AlignTop);  //solo sw
    editDetails()->page()->addKnob(1, 0, 1, 1, "07", "00", "06");           // solo level
    editDetails()->page()->addGroupBox(0, 2, 2, 1);


    // Bright Button stack fields
    editDetails()->page()->newStackField(0);  //Boss clean
    editDetails()->page()->addSwitch(0, 0, 1, 1, "07", "00", "0B", "middle", Qt::AlignCenter);
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); // jc-120
    editDetails()->page()->addSwitch(0, 0, 1, 1, "07", "00", "0B", "middle", Qt::AlignCenter);
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0);  //jazz combo
    editDetails()->page()->addSwitch(0, 0, 1, 1, "07", "00", "0B", "middle", Qt::AlignCenter);
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); // full range
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); //clean twin
    editDetails()->page()->addSwitch(0, 0, 1, 1, "07", "00", "0B", "middle", Qt::AlignCenter);
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); // pro crunch
    editDetails()->page()->addSwitch(0, 0, 1, 1, "07", "00", "0B", "middle", Qt::AlignCenter);
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); // tweed
    editDetails()->page()->addSwitch(0, 0, 1, 1, "07", "00", "0B", "middle", Qt::AlignCenter);
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); //delux crunch
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); //Boss crunch
    editDetails()->page()->addSwitch(0, 0, 1, 1, "07", "00", "0B", "middle", Qt::AlignCenter);
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0);  //blues
    editDetails()->page()->addSwitch(0, 0, 1, 1, "07", "00", "0B", "middle", Qt::AlignCenter);
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); //wild crunch
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); //stack crunch
    editDetails()->page()->addSwitch(0, 0, 1, 1, "07", "00", "0B", "middle", Qt::AlignCenter);
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); //VO drive
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); //VO lead
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); // VO clean
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0);  // match drive
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0);  //fat match
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0);  // match lead
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); // bg lead
    editDetails()->page()->addSwitch(0, 0, 1, 1, "07", "00", "0B", "middle", Qt::AlignCenter);
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); // bg drive
    editDetails()->page()->addSwitch(0, 0, 1, 1, "07", "00", "0B", "middle", Qt::AlignCenter);
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0);  // bg rhythm
    editDetails()->page()->addSwitch(0, 0, 1, 1, "07", "00", "0B", "middle", Qt::AlignCenter);
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); // ms1959 I
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); // ms1959 II
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); // MS hi gain
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0);  // ms scoop
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); // r-fier vint
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); // r-fier mdn
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0);  // r-fier cln
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); // t-amp lead
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); // t-amp crunch
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); // t-amp clean
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); // Boss drive
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0);  //SLDN
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0);  // lead stack
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); // heavy lead
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0);  // Boss metal
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); // 5150 drive
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); // metal lead
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); // edge lead
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); // Bass Clean
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); // Bass Crunch
    editDetails()->page()->addStackField();

    editDetails()->page()->newStackField(0); // Bass HiGain
    editDetails()->page()->addStackField();



    editDetails()->addPage();
}
Exemplo n.º 16
0
DevicesPage::DevicesPage(QWidget *p)
    : QWidget(p)
{
    setupUi(this);
    copyAction = ActionCollection::get()->createAction("copytolibrary", i18n("Copy To Library"), Icons::self()->importIcon);
    copyToLibraryButton->setDefaultAction(copyAction);
    syncAction = ActionCollection::get()->createAction("syncdevice", i18n("Sync"), "folder-sync");
    searchButton->setDefaultAction(StdActions::self()->searchAction);
    connect(syncAction, SIGNAL(triggered()), this, SLOT(sync()));
    #ifdef ENABLE_REMOTE_DEVICES
    forgetDeviceAction=ActionCollection::get()->createAction("forgetdevice", i18n("Forget Device"), "list-remove");
    connect(forgetDeviceAction, SIGNAL(triggered()), this, SLOT(forgetRemoteDevice()));
    #endif
    connect(DevicesModel::self()->connectAct(), SIGNAL(triggered()), this, SLOT(toggleDevice()));
    connect(DevicesModel::self()->disconnectAct(), SIGNAL(triggered()), this, SLOT(toggleDevice()));
    copyToLibraryButton->setEnabled(false);
    syncAction->setEnabled(false);
    view->addAction(copyAction);
    view->addAction(syncAction);
    view->addAction(StdActions::self()->organiseFilesAction);
    view->addAction(StdActions::self()->editTagsAction);
    #ifdef ENABLE_REPLAYGAIN_SUPPORT
    view->addAction(StdActions::self()->replaygainAction);
    #endif
    #ifdef ENABLE_REMOTE_DEVICES
    QAction *sepA=new QAction(this);
    sepA->setSeparator(true);
    view->addAction(sepA);
    view->addAction(forgetDeviceAction);
    #endif
    QAction *sep=new QAction(this);
    sep->setSeparator(true);
    view->addAction(sep);
    view->addAction(StdActions::self()->deleteSongsAction);
    connect(this, SIGNAL(add(const QStringList &, bool, quint8)), MPDConnection::self(), SLOT(add(const QStringList &, bool, quint8)));
    connect(this, SIGNAL(addSongsToPlaylist(const QString &, const QStringList &)), MPDConnection::self(), SLOT(addToPlaylist(const QString &, const QStringList &)));
    connect(genreCombo, SIGNAL(currentIndexChanged(int)), this, SLOT(searchItems()));
    connect(DevicesModel::self(), SIGNAL(updateGenres(const QSet<QString> &)), genreCombo, SLOT(update(const QSet<QString> &)));
    connect(DevicesModel::self(), SIGNAL(updated(QModelIndex)), this, SLOT(updated(QModelIndex)));
    connect(view, SIGNAL(doubleClicked(const QModelIndex &)), this, SLOT(itemDoubleClicked(const QModelIndex &)));
    connect(view, SIGNAL(searchItems()), this, SLOT(searchItems()));
    connect(view, SIGNAL(itemsSelected(bool)), SLOT(controlActions()));
    connect(view, SIGNAL(rootIndexSet(QModelIndex)), this, SLOT(updateGenres(QModelIndex)));
    connect(copyAction, SIGNAL(triggered()), this, SLOT(copyToLibrary()));
    connect(DevicesModel::self()->configureAct(), SIGNAL(triggered()), this, SLOT(configureDevice()));
    connect(DevicesModel::self()->refreshAct(), SIGNAL(triggered()), this, SLOT(refreshDevice()));
    #if defined CDDB_FOUND || defined MUSICBRAINZ5_FOUND
    connect(DevicesModel::self()->editAct(), SIGNAL(triggered()), this, SLOT(editDetails()));
    connect(DevicesModel::self(), SIGNAL(matches(const QString &, const QList<CdAlbum> &)),
            SLOT(cdMatches(const QString &, const QList<CdAlbum> &)));
    #endif
    QMenu *menu=new QMenu(this);
    #ifdef ENABLE_REMOTE_DEVICES
    Action *addRemote=ActionCollection::get()->createAction("adddevice", i18n("Add Device"), "network-server");
    connect(addRemote, SIGNAL(triggered()), this, SLOT(addRemoteDevice()));
    menu->addAction(addRemote);
    menu->addAction(forgetDeviceAction);
    menu->addSeparator();
    #endif
    menu->addAction(DevicesModel::self()->configureAct());
    menu->addAction(DevicesModel::self()->refreshAct());
    menu->addSeparator();
    menu->addAction(StdActions::self()->organiseFilesAction);
    menu->addAction(StdActions::self()->editTagsAction);
    #ifdef ENABLE_REPLAYGAIN_SUPPORT
    menu->addAction(StdActions::self()->replaygainAction);
    #endif
    menuButton->setMenu(menu);
    proxy.setSourceModel(DevicesModel::self());
    view->setModel(&proxy);
    view->setRootIsDecorated(false);
}
Exemplo n.º 17
0
void menuPage_assign::setEditPages()
{
	editDetails()->page()->newGroupBox(tr("Assigns"));
	editDetails()->page()->newGroupBox(tr("Assign 1-8"));
	editDetails()->page()->newStackControl(0);
	editDetails()->page()->addComboBox(0, 0, 1, 1, "0C", "00", "23");	
	editDetails()->page()->addStackControl();
	editDetails()->page()->addGroupBox(0, 0, 1, 1);
	editDetails()->page()->newGroupBox("Assign 1");
	editDetails()->page()->addSwitch(0, 0, 1, 1, "0B", "00", "20", "middle", Qt::AlignCenter);
	editDetails()->page()->addGroupBox(0, 1, 1, 1);
	editDetails()->page()->newGroupBox("Assign 2");
	editDetails()->page()->addSwitch(0, 0, 1, 1, "0B", "00", "30", "middle", Qt::AlignCenter);
	editDetails()->page()->addGroupBox(0, 2, 1, 1);
	editDetails()->page()->newGroupBox("Assign 3");
	editDetails()->page()->addSwitch(0, 0, 1, 1, "0B", "00", "40", "middle", Qt::AlignCenter);
	editDetails()->page()->addGroupBox(0, 3, 1, 1);
	editDetails()->page()->newGroupBox("Assign 4");
	editDetails()->page()->addSwitch(0, 0, 1, 1, "0B", "00", "50", "middle", Qt::AlignCenter);
	editDetails()->page()->addGroupBox(0, 4, 1, 1);
	editDetails()->page()->newGroupBox("Assign 5");
	editDetails()->page()->addSwitch(0, 0, 1, 1, "0B", "00", "60", "middle", Qt::AlignCenter);
	editDetails()->page()->addGroupBox(0, 5, 1, 1);
	editDetails()->page()->newGroupBox("Assign 6");
	editDetails()->page()->addSwitch(0, 0, 1, 1, "0B", "00", "70", "middle", Qt::AlignCenter);
	editDetails()->page()->addGroupBox(0, 6, 1, 1);
	editDetails()->page()->newGroupBox("Assign 7");
	editDetails()->page()->addSwitch(0, 0, 1, 1, "0C", "00", "00", "middle", Qt::AlignCenter);
	editDetails()->page()->addGroupBox(0, 7, 1, 1);
	editDetails()->page()->newGroupBox("Assign 8");
	editDetails()->page()->addSwitch(0, 0, 1, 1, "0C", "00", "10", "middle", Qt::AlignCenter);
	editDetails()->page()->addGroupBox(0, 8, 1, 1);
	
	editDetails()->page()->addGroupBox(0, 0, 1, 1);
	//editDetails()->page()->newGroupBox("");
	editDetails()->page()->insertStackField(0, 1, 0, 1, 1);
	//editDetails()->page()->addGroupBox(1, 0, 1, 1);	
	editDetails()->addPage();
  
 
  editDetails()->page()->newStackField(0);
  editDetails()->page()->newGroupBox("Assign 1 Target");
	editDetails()->page()->addTarget(0, 0, 1, 3, "0B", "00", "21", "target","target", 120); // Target
	editDetails()->page()->addGroupBox(0, 0, 1, 1);
	editDetails()->page()->newGroupBox("Assign 1 Source");
	editDetails()->page()->newStackControl(1);
	editDetails()->page()->addComboBox(1, 0, 1, 1, "0B", "00", "27");                    // Source
	editDetails()->page()->addStackControl();
  editDetails()->page()->addComboBox(1, 1, 1, 1, "0B", "00", "28");                    // Source Mode
  editDetails()->page()->addRange(1, 2, 1, 2, "0B", "00", "29", "Structure");         // min/max range widget
	//editDetails()->page()->addKnob(1, 2, 1, 1, "0B", "00", "29");                        // Active Range High
	//editDetails()->page()->addKnob(1, 3, 1, 1, "0B", "00", "2A");                        // Active Range Low
  editDetails()->page()->addGroupBox(0, 1, 1, 1);
  editDetails()->page()->insertStackField(1, 1, 0, 1, 2);
	editDetails()->page()->addStackField();
	
	editDetails()->page()->newStackField(1);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(1);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(1);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(1);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(1);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(1);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(1);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(1);
  editDetails()->page()->newGroupBox("Assign 1 Internal Pedal");
	editDetails()->page()->addComboBox(0, 0, 1, 1, "0B", "00", "2B");                    // Internal Pedal Trigger
  editDetails()->page()->addKnob(0, 1, 1, 1, "0B", "00", "2C");                        // Internal Pedal Time
	editDetails()->page()->addComboBox(0, 2, 1, 1, "0B", "00", "2D");                    // Internal Pedal Curve
	editDetails()->page()->addGroupBox(0, 0, 1, 1);
  editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(1);
  editDetails()->page()->newGroupBox("Assign 1 Wave Pedal");
	editDetails()->page()->addKnob(1, 0, 1, 1, "0B", "00", "2E", "normal","right", 105);// Wave Form Rate
	editDetails()->page()->addComboBox(1, 1, 1, 1, "0B", "00", "2F");                    // Wave Form
	editDetails()->page()->addGroupBox(0, 0, 1, 1);
  editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(1);
  editDetails()->page()->newGroupBox("Input");
	editDetails()->page()->addKnob(0, 0, 1, 1, "0C", "00", "20", "normal","right", 85);
	editDetails()->page()->addGroupBox(0, 0, 1, 1);	
  editDetails()->page()->addStackField();
	
	
	
	editDetails()->page()->newStackField(0);
	editDetails()->page()->newGroupBox("Assign 2 Target");
	editDetails()->page()->addTarget(0, 0, 1, 3, "0B", "00", "31", "target","target", 120); // Target
	editDetails()->page()->addGroupBox(0, 0, 1, 1);
	editDetails()->page()->newGroupBox("Assign 2 Source");
	editDetails()->page()->newStackControl(2);
	editDetails()->page()->addComboBox(1, 0, 1, 1, "0B", "00", "37");                    // Source
	editDetails()->page()->addStackControl();
  editDetails()->page()->addComboBox(1, 1, 1, 1, "0B", "00", "38");                    // Source Mode
  editDetails()->page()->addRange(1, 2, 1, 2, "0B", "00", "39", "Structure");         // min/max range widget
	//editDetails()->page()->addKnob(1, 2, 1, 1, "0B", "00", "39");                        // Active Range High
	//editDetails()->page()->addKnob(1, 3, 1, 1, "0B", "00", "3A");                        // Active Range Low
  editDetails()->page()->addGroupBox(0, 1, 1, 1);
  editDetails()->page()->insertStackField(2, 1, 0, 1, 2);
	editDetails()->page()->addStackField();
	
	editDetails()->page()->newStackField(2);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(2);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(2);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(2);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(2);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(2);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(2);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(2);
  editDetails()->page()->newGroupBox("Assign 2 Internal Pedal");
	editDetails()->page()->addComboBox(0, 0, 1, 1, "0B", "00", "3B");                    // Internal Pedal Trigger
  editDetails()->page()->addKnob(0, 1, 1, 1, "0B", "00", "3C");                        // Internal Pedal Time
	editDetails()->page()->addComboBox(0, 2, 1, 1, "0B", "00", "3D");                    // Internal Pedal Curve
	editDetails()->page()->addGroupBox(0, 0, 1, 1);
  editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(2);
  editDetails()->page()->newGroupBox("Assign 2 Wave Pedal");
	editDetails()->page()->addKnob(1, 0, 1, 1, "0B", "00", "3E", "normal","right", 105);// Wave Form Rate
	editDetails()->page()->addComboBox(1, 1, 1, 1, "0B", "00", "3F");                    // Wave Form
	editDetails()->page()->addGroupBox(0, 0, 1, 1);
  editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(2);
  editDetails()->page()->newGroupBox("Input");
	editDetails()->page()->addKnob(0, 0, 1, 1, "0C", "00", "20", "normal","right", 85);
	editDetails()->page()->addGroupBox(0, 0, 1, 1);	
  editDetails()->page()->addStackField();
  
	
	editDetails()->page()->newStackField(0);
	editDetails()->page()->newGroupBox("Assign 3 Target");
	editDetails()->page()->addTarget(0, 0, 1, 3, "0B", "00", "41", "target","target", 120); // Target
	editDetails()->page()->addGroupBox(0, 0, 1, 1);
	editDetails()->page()->newGroupBox("Assign 3 Source");
	editDetails()->page()->newStackControl(3);
	editDetails()->page()->addComboBox(1, 0, 1, 1, "0B", "00", "47");                    // Source
	editDetails()->page()->addStackControl();
  editDetails()->page()->addComboBox(1, 1, 1, 1, "0B", "00", "48");                    // Source Mode
  editDetails()->page()->addRange(1, 2, 1, 2, "0B", "00", "49", "Structure");         // min/max range widget
	//editDetails()->page()->addKnob(1, 2, 1, 1, "0B", "00", "49");                        // Active Range High
	//editDetails()->page()->addKnob(1, 3, 1, 1, "0B", "00", "4A");                        // Active Range Low
  editDetails()->page()->addGroupBox(0, 1, 1, 1);
  editDetails()->page()->insertStackField(3, 1, 0, 1, 2);
	editDetails()->page()->addStackField();
	
	editDetails()->page()->newStackField(3);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(3);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(3);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(3);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(3);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(3);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(3);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(3);
  editDetails()->page()->newGroupBox("Assign 3 Internal Pedal");
	editDetails()->page()->addComboBox(0, 0, 1, 1, "0B", "00", "4B");                    // Internal Pedal Trigger
  editDetails()->page()->addKnob(0, 1, 1, 1, "0B", "00", "4C");                        // Internal Pedal Time
	editDetails()->page()->addComboBox(0, 2, 1, 1, "0B", "00", "4D");                    // Internal Pedal Curve
	editDetails()->page()->addGroupBox(0, 0, 1, 1);
  editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(3);
  editDetails()->page()->newGroupBox("Assign 3 Wave Pedal");
	editDetails()->page()->addKnob(1, 0, 1, 1, "0B", "00", "4E", "normal","right", 105);// Wave Form Rate
	editDetails()->page()->addComboBox(1, 1, 1, 1, "0B", "00", "4F");                    // Wave Form
	editDetails()->page()->addGroupBox(0, 0, 1, 1);
  editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(3);
  editDetails()->page()->newGroupBox("Input");
	editDetails()->page()->addKnob(0, 0, 1, 1, "0C", "00", "20", "normal","right", 85);
	editDetails()->page()->addGroupBox(0, 0, 1, 1);	
  editDetails()->page()->addStackField();
  
	
	editDetails()->page()->newStackField(0);
	editDetails()->page()->newGroupBox("Assign 4 Target");
	editDetails()->page()->addTarget(0, 0, 1, 3, "0B", "00", "51", "target","target", 120); // Target
	editDetails()->page()->addGroupBox(0, 0, 1, 1);
	editDetails()->page()->newGroupBox("Assign 4 Source");
	editDetails()->page()->newStackControl(4);
	editDetails()->page()->addComboBox(1, 0, 1, 1, "0B", "00", "57");                    // Source
	editDetails()->page()->addStackControl();
  editDetails()->page()->addComboBox(1, 1, 1, 1, "0B", "00", "58");                    // Source Mode
  editDetails()->page()->addRange(1, 2, 1, 2, "0B", "00", "59", "Structure");         // min/max range widget
	//editDetails()->page()->addKnob(1, 2, 1, 1, "0B", "00", "59");                        // Active Range High
	//editDetails()->page()->addKnob(1, 3, 1, 1, "0B", "00", "5A");                        // Active Range Low
  editDetails()->page()->addGroupBox(0, 1, 1, 1);
  editDetails()->page()->insertStackField(4, 1, 0, 1, 2);
	editDetails()->page()->addStackField();
	
	editDetails()->page()->newStackField(4);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(4);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(4);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(4);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(4);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(4);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(4);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(4);
  editDetails()->page()->newGroupBox("Assign 4 Internal Pedal");
	editDetails()->page()->addComboBox(0, 0, 1, 1, "0B", "00", "5B");                    // Internal Pedal Trigger
  editDetails()->page()->addKnob(0, 1, 1, 1, "0B", "00", "5C");                        // Internal Pedal Time
	editDetails()->page()->addComboBox(0, 2, 1, 1, "0B", "00", "5D");                    // Internal Pedal Curve
	editDetails()->page()->addGroupBox(0, 0, 1, 1);
  editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(4);
  editDetails()->page()->newGroupBox("Assign 4 Wave Pedal");
	editDetails()->page()->addKnob(1, 0, 1, 1, "0B", "00", "5E", "normal","right", 105);// Wave Form Rate
	editDetails()->page()->addComboBox(1, 1, 1, 1, "0B", "00", "5F");                    // Wave Form
	editDetails()->page()->addGroupBox(0, 0, 1, 1);
  editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(4);
  editDetails()->page()->newGroupBox("Input");
	editDetails()->page()->addKnob(0, 0, 1, 1, "0C", "00", "20", "normal","right", 85);
	editDetails()->page()->addGroupBox(0, 0, 1, 1);	
  editDetails()->page()->addStackField();
	
	editDetails()->page()->newStackField(0);
	editDetails()->page()->newGroupBox("Assign 5 Target");
	editDetails()->page()->addTarget(0, 0, 1, 3, "0B", "00", "61", "target","target", 120); // Target
	editDetails()->page()->addGroupBox(0, 0, 1, 1);
	editDetails()->page()->newGroupBox("Assign 5 Source");
	editDetails()->page()->newStackControl(5);
	editDetails()->page()->addComboBox(1, 0, 1, 1, "0B", "00", "67");                    // Source
	editDetails()->page()->addStackControl();
  editDetails()->page()->addComboBox(1, 1, 1, 1, "0B", "00", "68");                    // Source Mode
  editDetails()->page()->addRange(1, 2, 1, 2, "0B", "00", "69", "Structure");         // min/max range widget
	//editDetails()->page()->addKnob(1, 2, 1, 1, "0B", "00", "69");                        // Active Range High
	//editDetails()->page()->addKnob(1, 3, 1, 1, "0B", "00", "6A");                        // Active Range Low
  editDetails()->page()->addGroupBox(0, 1, 1, 1);
  editDetails()->page()->insertStackField(5, 1, 0, 1, 2);
	editDetails()->page()->addStackField();
	
	editDetails()->page()->newStackField(5);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(5);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(5);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(5);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(5);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(5);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(5);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(5);
  editDetails()->page()->newGroupBox("Assign 5 Internal Pedal");
	editDetails()->page()->addComboBox(0, 0, 1, 1, "0B", "00", "6B");                    // Internal Pedal Trigger
  editDetails()->page()->addKnob(0, 1, 1, 1, "0B", "00", "6C");                        // Internal Pedal Time
	editDetails()->page()->addComboBox(0, 2, 1, 1, "0B", "00", "6D");                    // Internal Pedal Curve
	editDetails()->page()->addGroupBox(0, 0, 1, 1);
  editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(5);
  editDetails()->page()->newGroupBox("Assign 5 Wave Pedal");
	editDetails()->page()->addKnob(1, 0, 1, 1, "0B", "00", "6E", "normal","right", 105);// Wave Form Rate
	editDetails()->page()->addComboBox(1, 1, 1, 1, "0B", "00", "6F");                    // Wave Form
	editDetails()->page()->addGroupBox(0, 0, 1, 1);
  editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(5);
  editDetails()->page()->newGroupBox("Input");
	editDetails()->page()->addKnob(0, 0, 1, 1, "0C", "00", "20", "normal","right", 85);
	editDetails()->page()->addGroupBox(0, 0, 1, 1);	
  editDetails()->page()->addStackField();
  
	
	editDetails()->page()->newStackField(0);
	editDetails()->page()->newGroupBox("Assign 6 Target");
	editDetails()->page()->addTarget(0, 0, 1, 3, "0B", "00", "71", "target","target", 120); // Target
	editDetails()->page()->addGroupBox(0, 0, 1, 1);
	editDetails()->page()->newGroupBox("Assign 6 Source");
	editDetails()->page()->newStackControl(6);
	editDetails()->page()->addComboBox(1, 0, 1, 1, "0B", "00", "77");                    // Source
	editDetails()->page()->addStackControl();
  editDetails()->page()->addComboBox(1, 1, 1, 1, "0B", "00", "78");                    // Source Mode
  editDetails()->page()->addRange(1, 2, 1, 2, "0B", "00", "79", "Structure");         // min/max range widget
	//editDetails()->page()->addKnob(1, 2, 1, 1, "0B", "00", "79");                        // Active Range High
	//editDetails()->page()->addKnob(1, 3, 1, 1, "0B", "00", "7A");                        // Active Range Low
  editDetails()->page()->addGroupBox(0, 1, 1, 1);
  editDetails()->page()->insertStackField(6, 1, 0, 1, 2);
	editDetails()->page()->addStackField();
	
	editDetails()->page()->newStackField(6);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(6);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(6);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(6);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(6);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(6);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(6);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(6);
  editDetails()->page()->newGroupBox("Assign 6 Internal Pedal");
	editDetails()->page()->addComboBox(0, 0, 1, 1, "0B", "00", "7B");                    // Internal Pedal Trigger
  editDetails()->page()->addKnob(0, 1, 1, 1, "0B", "00", "7C");                        // Internal Pedal Time
	editDetails()->page()->addComboBox(0, 2, 1, 1, "0B", "00", "7D");                    // Internal Pedal Curve
	editDetails()->page()->addGroupBox(0, 0, 1, 1);
  editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(6);
  editDetails()->page()->newGroupBox("Assign 6 Wave Pedal");
	editDetails()->page()->addKnob(1, 0, 1, 1, "0B", "00", "7E", "normal","right", 105);// Wave Form Rate
	editDetails()->page()->addComboBox(1, 1, 1, 1, "0B", "00", "7F");                    // Wave Form
	editDetails()->page()->addGroupBox(0, 0, 1, 1);
  editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(6);
  editDetails()->page()->newGroupBox("Input");
	editDetails()->page()->addKnob(0, 0, 1, 1, "0C", "00", "20", "normal","right", 85);
	editDetails()->page()->addGroupBox(0, 0, 1, 1);	
  editDetails()->page()->addStackField();
  

	editDetails()->page()->newStackField(0);
	editDetails()->page()->newGroupBox("Assign 7 Target");
	editDetails()->page()->addTarget(0, 0, 1, 3, "0C", "00", "01", "target","target", 120); // Target
	editDetails()->page()->addGroupBox(0, 0, 1, 1);
	editDetails()->page()->newGroupBox("Assign 7 Source");
	editDetails()->page()->newStackControl(7);
	editDetails()->page()->addComboBox(1, 0, 1, 1, "0C", "00", "07");                    // Source
	editDetails()->page()->addStackControl();
  editDetails()->page()->addComboBox(1, 1, 1, 1, "0C", "00", "08");                    // Source Mode
  editDetails()->page()->addRange(1, 2, 1, 2, "0C", "00", "09", "Structure");         // min/max range widget
	//editDetails()->page()->addKnob(1, 2, 1, 1, "0C", "00", "09");                        // Active Range High
	//editDetails()->page()->addKnob(1, 3, 1, 1, "0C", "00", "0A");                        // Active Range Low
  editDetails()->page()->addGroupBox(0, 1, 1, 1);
  editDetails()->page()->insertStackField(7, 1, 0, 1, 2);
	editDetails()->page()->addStackField();
	
	editDetails()->page()->newStackField(7);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(7);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(7);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(7);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(7);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(7);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(7);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(7);
  editDetails()->page()->newGroupBox("Assign 7 Internal Pedal");
	editDetails()->page()->addComboBox(0, 0, 1, 1, "0C", "00", "0B");                    // Internal Pedal Trigger
  editDetails()->page()->addKnob(0, 1, 1, 1, "0C", "00", "0C");                        // Internal Pedal Time
	editDetails()->page()->addComboBox(0, 2, 1, 1, "0C", "00", "0D");                    // Internal Pedal Curve
	editDetails()->page()->addGroupBox(0, 0, 1, 1);
  editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(7);
  editDetails()->page()->newGroupBox("Assign 7 Wave Pedal");
	editDetails()->page()->addKnob(1, 0, 1, 1, "0C", "00", "0E", "normal","right", 105);// Wave Form Rate
	editDetails()->page()->addComboBox(1, 1, 1, 1, "0C", "00", "0F");                    // Wave Form
	editDetails()->page()->addGroupBox(0, 0, 1, 1);
  editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(7);
  editDetails()->page()->newGroupBox("Input");
	editDetails()->page()->addKnob(0, 0, 1, 1, "0C", "00", "20", "normal","right", 85);
	editDetails()->page()->addGroupBox(0, 0, 1, 1);	
  editDetails()->page()->addStackField();
  
	
	
	editDetails()->page()->newStackField(0);
	editDetails()->page()->newGroupBox("Assign 8 Target");
	editDetails()->page()->addTarget(0, 0, 1, 3, "0C", "00", "11", "target","target", 120); // Target
	editDetails()->page()->addGroupBox(0, 0, 1, 1);
	editDetails()->page()->newGroupBox("Assign 8 Source");
	editDetails()->page()->newStackControl(8);
	editDetails()->page()->addComboBox(1, 0, 1, 1, "0C", "00", "17");                    // Source
	editDetails()->page()->addStackControl();
  editDetails()->page()->addComboBox(1, 1, 1, 1, "0C", "00", "18");                    // Source Mode
  editDetails()->page()->addRange(1, 2, 1, 2, "0C", "00", "19", "Structure");         // min/max range widget
	//editDetails()->page()->addKnob(1, 2, 1, 1, "0C", "00", "19");                        // Active Range High
	//editDetails()->page()->addKnob(1, 3, 1, 1, "0C", "00", "1A");                        // Active Range Low
  editDetails()->page()->addGroupBox(0, 1, 1, 1);
  editDetails()->page()->insertStackField(8, 1, 0, 1, 2);
  editDetails()->page()->addStackField();
  
  editDetails()->page()->newStackField(8);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(8);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(8);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(8);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(8);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(8);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(8);editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(8);
  editDetails()->page()->newGroupBox("Assign 8 Internal Pedal");
	editDetails()->page()->addComboBox(0, 0, 1, 1, "0C", "00", "1B");                    // Internal Pedal Trigger
  editDetails()->page()->addKnob(0, 1, 1, 1, "0C", "00", "1C");                        // Internal Pedal Time
	editDetails()->page()->addComboBox(0, 2, 1, 1, "0C", "00", "1D");                    // Internal Pedal Curve
	editDetails()->page()->addGroupBox(0, 0, 1, 1);
  editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(8);
  editDetails()->page()->newGroupBox("Assign 8 Wave Pedal");
	editDetails()->page()->addKnob(1, 0, 1, 1, "0C", "00", "1E", "normal","right", 105);// Wave Form Rate
	editDetails()->page()->addComboBox(1, 1, 1, 1, "0C", "00", "1F");                    // Wave Form
	editDetails()->page()->addGroupBox(0, 0, 1, 1);
  editDetails()->page()->addStackField();
	editDetails()->page()->newStackField(8);
  editDetails()->page()->newGroupBox("Input");
	editDetails()->page()->addKnob(0, 0, 1, 1, "0C", "00", "20", "normal","right", 85);
	editDetails()->page()->addGroupBox(0, 0, 1, 1);	
  editDetails()->page()->addStackField();
  

};
Exemplo n.º 18
0
void stompbox_dd::setEditPages()
{
    editDetails()->page()->newGroupBox("Effect");
    editDetails()->page()->addSwitch(0, 0, 1, 1, "06", "00", "05", "middle", Qt::AlignCenter); //sw
    editDetails()->page()->addComboBox(1, 0, 1, 1, "06", "00", "06"); //type
    editDetails()->page()->addGroupBox(0, 0, 1, 1);

    editDetails()->page()->newGroupBox("Delay");
    editDetails()->page()->addDataKnob(0, 0, 1, 1, "06", "00", "07", "DELAY3400", "right", 120); // 3 byte time
    editDetails()->page()->addKnob(0, 1, 1, 1, "06", "00", "0A");  //feedback
    editDetails()->page()->addGroupBox(0, 1, 1, 1);

    editDetails()->page()->newGroupBox("Level");
    editDetails()->page()->addKnob(0, 0, 1, 1, "06", "00", "0B", "turbo"); //level
    editDetails()->page()->addGroupBox(0, 2, 1, 1);

    editDetails()->page()->newGroupBox(tr("Send Levels"));
    editDetails()->page()->addKnob(0, 0, 1, 1, "07", "00", "12");           //MOD
    editDetails()->page()->addKnob(0, 1, 1, 1, "03", "00", "01");           //MFX
    editDetails()->page()->addKnob(0, 2, 1, 1, "02", "00", "3F");           //bypass
    editDetails()->page()->addGroupBox(2, 0, 1, 4);

    editDetails()->addPage();
}