#include <kdialog.h>
#include <klocale.h>

/********************************************************************************
** Form generated from reading UI file 'KeySignatureDialog.ui'
**
** Created by: Qt User Interface Compiler version 4.8.7
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_KEYSIGNATUREDIALOG_H
#define UI_KEYSIGNATUREDIALOG_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QRadioButton>
#include <QtGui/QScrollBar>
#include <QtGui/QSpacerItem>
#include <QtGui/QSpinBox>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "dialogs/StaffElementPreviewWidget.h"

QT_BEGIN_NAMESPACE

class Ui_KeySignatureDialog
{
public:
    QVBoxLayout *vboxLayout;
    QHBoxLayout *hboxLayout;
    QHBoxLayout *hboxLayout1;
    StaffElementPreviewWidget *preview;
    QScrollBar *accidentals;
    QSpacerItem *spacerItem;
    QGroupBox *groupBox;
    QVBoxLayout *vboxLayout1;
    QHBoxLayout *hboxLayout2;
    QRadioButton *throughBar;
    QSpinBox *startBar1;
    QLabel *label;
    QSpinBox *endBar;
    QSpacerItem *spacerItem1;
    QHBoxLayout *hboxLayout3;
    QRadioButton *throughEndOfPiece;
    QSpinBox *startBar2;
    QLabel *label_2;
    QSpacerItem *spacerItem2;
    QHBoxLayout *hboxLayout4;
    QRadioButton *toNextChange;
    QSpinBox *startBar3;
    QLabel *label_3;
    QSpacerItem *spacerItem3;
    QGroupBox *groupBox_2;
    QVBoxLayout *vboxLayout2;
    QRadioButton *allStaves;
    QRadioButton *selectedStaff;
    QSpacerItem *spacerItem4;

    void setupUi(QWidget *KeySignatureDialog)
    {
        if (KeySignatureDialog->objectName().isEmpty())
            KeySignatureDialog->setObjectName(QString::fromUtf8("KeySignatureDialog"));
        KeySignatureDialog->resize(420, 373);
        vboxLayout = new QVBoxLayout(KeySignatureDialog);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        hboxLayout = new QHBoxLayout();
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setSpacing(0);
        hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
        preview = new StaffElementPreviewWidget(KeySignatureDialog);
        preview->setObjectName(QString::fromUtf8("preview"));
        preview->setMinimumSize(QSize(100, 0));

        hboxLayout1->addWidget(preview);

        accidentals = new QScrollBar(KeySignatureDialog);
        accidentals->setObjectName(QString::fromUtf8("accidentals"));
        accidentals->setMinimum(-7);
        accidentals->setMaximum(7);
        accidentals->setOrientation(Qt::Vertical);

        hboxLayout1->addWidget(accidentals);


        hboxLayout->addLayout(hboxLayout1);

        spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout->addItem(spacerItem);


        vboxLayout->addLayout(hboxLayout);

        groupBox = new QGroupBox(KeySignatureDialog);
        groupBox->setObjectName(QString::fromUtf8("groupBox"));
        vboxLayout1 = new QVBoxLayout(groupBox);
        vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
        hboxLayout2 = new QHBoxLayout();
        hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
        throughBar = new QRadioButton(groupBox);
        throughBar->setObjectName(QString::fromUtf8("throughBar"));

        hboxLayout2->addWidget(throughBar);

        startBar1 = new QSpinBox(groupBox);
        startBar1->setObjectName(QString::fromUtf8("startBar1"));
        startBar1->setEnabled(false);
        startBar1->setMinimum(1);

        hboxLayout2->addWidget(startBar1);

        label = new QLabel(groupBox);
        label->setObjectName(QString::fromUtf8("label"));

        hboxLayout2->addWidget(label);

        endBar = new QSpinBox(groupBox);
        endBar->setObjectName(QString::fromUtf8("endBar"));
        endBar->setEnabled(false);
        endBar->setMinimum(1);

        hboxLayout2->addWidget(endBar);

        spacerItem1 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout2->addItem(spacerItem1);


        vboxLayout1->addLayout(hboxLayout2);

        hboxLayout3 = new QHBoxLayout();
        hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
        throughEndOfPiece = new QRadioButton(groupBox);
        throughEndOfPiece->setObjectName(QString::fromUtf8("throughEndOfPiece"));

        hboxLayout3->addWidget(throughEndOfPiece);

        startBar2 = new QSpinBox(groupBox);
        startBar2->setObjectName(QString::fromUtf8("startBar2"));
        startBar2->setEnabled(false);
        startBar2->setMinimum(1);

        hboxLayout3->addWidget(startBar2);

        label_2 = new QLabel(groupBox);
        label_2->setObjectName(QString::fromUtf8("label_2"));

        hboxLayout3->addWidget(label_2);

        spacerItem2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout3->addItem(spacerItem2);


        vboxLayout1->addLayout(hboxLayout3);

        hboxLayout4 = new QHBoxLayout();
        hboxLayout4->setObjectName(QString::fromUtf8("hboxLayout4"));
        toNextChange = new QRadioButton(groupBox);
        toNextChange->setObjectName(QString::fromUtf8("toNextChange"));
        toNextChange->setChecked(true);

        hboxLayout4->addWidget(toNextChange);

        startBar3 = new QSpinBox(groupBox);
        startBar3->setObjectName(QString::fromUtf8("startBar3"));
        startBar3->setMinimum(1);

        hboxLayout4->addWidget(startBar3);

        label_3 = new QLabel(groupBox);
        label_3->setObjectName(QString::fromUtf8("label_3"));

        hboxLayout4->addWidget(label_3);

        spacerItem3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout4->addItem(spacerItem3);


        vboxLayout1->addLayout(hboxLayout4);


        vboxLayout->addWidget(groupBox);

        groupBox_2 = new QGroupBox(KeySignatureDialog);
        groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
        vboxLayout2 = new QVBoxLayout(groupBox_2);
        vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
        allStaves = new QRadioButton(groupBox_2);
        allStaves->setObjectName(QString::fromUtf8("allStaves"));
        allStaves->setChecked(true);

        vboxLayout2->addWidget(allStaves);

        selectedStaff = new QRadioButton(groupBox_2);
        selectedStaff->setObjectName(QString::fromUtf8("selectedStaff"));

        vboxLayout2->addWidget(selectedStaff);


        vboxLayout->addWidget(groupBox_2);

        spacerItem4 = new QSpacerItem(20, 31, QSizePolicy::Minimum, QSizePolicy::Expanding);

        vboxLayout->addItem(spacerItem4);


        retranslateUi(KeySignatureDialog);
        QObject::connect(throughBar, SIGNAL(toggled(bool)), startBar1, SLOT(setEnabled(bool)));
        QObject::connect(throughBar, SIGNAL(toggled(bool)), endBar, SLOT(setEnabled(bool)));
        QObject::connect(throughEndOfPiece, SIGNAL(toggled(bool)), startBar2, SLOT(setEnabled(bool)));
        QObject::connect(toNextChange, SIGNAL(toggled(bool)), startBar3, SLOT(setEnabled(bool)));

        QMetaObject::connectSlotsByName(KeySignatureDialog);
    } // setupUi

    void retranslateUi(QWidget *KeySignatureDialog)
    {
        groupBox->setTitle(tr2i18n("Region", 0));
        throughBar->setText(tr2i18n("Measure", 0));
        label->setText(tr2i18n("through", 0));
        throughEndOfPiece->setText(tr2i18n("Measure", 0));
        label_2->setText(tr2i18n("through end of piece", 0));
        toNextChange->setText(tr2i18n("Measure", 0));
        label_3->setText(tr2i18n("to next key change", 0));
        groupBox_2->setTitle(tr2i18n("Staves", 0));
        allStaves->setText(tr2i18n("Update all staves", 0));
        selectedStaff->setText(tr2i18n("Only update selected staff", 0));
        Q_UNUSED(KeySignatureDialog);
    } // retranslateUi

};

namespace Ui {
    class KeySignatureDialog: public Ui_KeySignatureDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KEYSIGNATUREDIALOG_H

