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

/********************************************************************************
** Form generated from reading UI file 'AxisScalingDialog.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_AXISSCALINGDIALOG_H
#define UI_AXISSCALINGDIALOG_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QDialog>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QDoubleSpinBox>
#include <QtGui/QGridLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>

QT_BEGIN_NAMESPACE

class Ui_AxisScalingDialog
{
public:
    QGridLayout *gridLayout;
    QCheckBox *logarithmicScaling;
    QLabel *label;
    QDoubleSpinBox *stepWidth;
    QCheckBox *automaticStepWidth;
    QLabel *label_2;
    QDoubleSpinBox *subStepWidth;
    QCheckBox *automaticSubStepWidth;
    QDialogButtonBox *buttonBox;
    QSpacerItem *spacerItem;

    void setupUi(QDialog *AxisScalingDialog)
    {
        if (AxisScalingDialog->objectName().isEmpty())
            AxisScalingDialog->setObjectName(QString::fromUtf8("AxisScalingDialog"));
        AxisScalingDialog->resize(307, 140);
        gridLayout = new QGridLayout(AxisScalingDialog);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        logarithmicScaling = new QCheckBox(AxisScalingDialog);
        logarithmicScaling->setObjectName(QString::fromUtf8("logarithmicScaling"));

        gridLayout->addWidget(logarithmicScaling, 0, 0, 1, 2);

        label = new QLabel(AxisScalingDialog);
        label->setObjectName(QString::fromUtf8("label"));
        QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
        label->setSizePolicy(sizePolicy);

        gridLayout->addWidget(label, 1, 0, 1, 1);

        stepWidth = new QDoubleSpinBox(AxisScalingDialog);
        stepWidth->setObjectName(QString::fromUtf8("stepWidth"));
        stepWidth->setEnabled(false);
        stepWidth->setValue(5);

        gridLayout->addWidget(stepWidth, 1, 1, 1, 1);

        automaticStepWidth = new QCheckBox(AxisScalingDialog);
        automaticStepWidth->setObjectName(QString::fromUtf8("automaticStepWidth"));
        automaticStepWidth->setChecked(true);

        gridLayout->addWidget(automaticStepWidth, 1, 2, 1, 1);

        label_2 = new QLabel(AxisScalingDialog);
        label_2->setObjectName(QString::fromUtf8("label_2"));
        sizePolicy.setHeightForWidth(label_2->sizePolicy().hasHeightForWidth());
        label_2->setSizePolicy(sizePolicy);

        gridLayout->addWidget(label_2, 2, 0, 1, 1);

        subStepWidth = new QDoubleSpinBox(AxisScalingDialog);
        subStepWidth->setObjectName(QString::fromUtf8("subStepWidth"));
        subStepWidth->setEnabled(false);
        subStepWidth->setSingleStep(0.25);
        subStepWidth->setValue(1);

        gridLayout->addWidget(subStepWidth, 2, 1, 1, 1);

        automaticSubStepWidth = new QCheckBox(AxisScalingDialog);
        automaticSubStepWidth->setObjectName(QString::fromUtf8("automaticSubStepWidth"));
        automaticSubStepWidth->setChecked(true);

        gridLayout->addWidget(automaticSubStepWidth, 2, 2, 1, 1);

        buttonBox = new QDialogButtonBox(AxisScalingDialog);
        buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
        buttonBox->setOrientation(Qt::Horizontal);
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);

        gridLayout->addWidget(buttonBox, 4, 0, 1, 3);

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

        gridLayout->addItem(spacerItem, 3, 0, 1, 3);


        retranslateUi(AxisScalingDialog);
        QObject::connect(buttonBox, SIGNAL(accepted()), AxisScalingDialog, SLOT(accept()));
        QObject::connect(buttonBox, SIGNAL(rejected()), AxisScalingDialog, SLOT(reject()));
        QObject::connect(automaticStepWidth, SIGNAL(toggled(bool)), stepWidth, SLOT(setDisabled(bool)));
        QObject::connect(automaticSubStepWidth, SIGNAL(toggled(bool)), subStepWidth, SLOT(setDisabled(bool)));

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

    void retranslateUi(QDialog *AxisScalingDialog)
    {
        AxisScalingDialog->setWindowTitle(tr2i18n("Dialog", 0));
        logarithmicScaling->setText(tr2i18n("Logarithmic Scaling", 0));
        label->setText(tr2i18n("Step Width:", 0));
        automaticStepWidth->setText(tr2i18n("Automatic", 0));
        label_2->setText(tr2i18n("Substep Width:", 0));
        automaticSubStepWidth->setText(tr2i18n("Automatic", 0));
    } // retranslateUi

};

namespace Ui {
    class AxisScalingDialog: public Ui_AxisScalingDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // AXISSCALINGDIALOG_H

