#include <klocalizedstring.h>

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

#ifndef UI_ADDDEEPSKYOBJECT_H
#define UI_ADDDEEPSKYOBJECT_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QDoubleSpinBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QFrame>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QVBoxLayout>
#include "widgets/dmsbox.h"

QT_BEGIN_NAMESPACE

class Ui_AddDeepSkyObject
{
public:
    QVBoxLayout *verticalLayout;
    QGroupBox *groupBox;
    QFrame *gridFrame;
    QGridLayout *gridLayout;
    QLineEdit *longNameEdit;
    QLabel *label_3;
    QLabel *label_2;
    QSpinBox *catalogIDInput;
    QFrame *line;
    QLabel *label_5;
    QLineEdit *catalogNameEdit;
    QGridLayout *gridLayout_3;
    QGroupBox *groupBox_2;
    QFormLayout *formLayout_3;
    QLabel *label;
    dmsBox *raInput;
    QLabel *label_6;
    dmsBox *decInput;
    QGroupBox *groupBox_4;
    QGridLayout *gridLayout_4;
    QLabel *label_8;
    QDoubleSpinBox *visualMagnitudeInput;
    QLabel *label_7;
    QDoubleSpinBox *blueMagnitudeInput;
    QSpacerItem *horizontalSpacer_3;
    QGroupBox *groupBox_5;
    QFormLayout *formLayout_2;
    QLabel *label_9;
    QLineEdit *actualTypeDisplay;
    QLabel *label_10;
    QComboBox *typeComboBox;
    QGroupBox *groupBox_3;
    QGridLayout *gridLayout_2;
    QSpacerItem *horizontalSpacer;
    QDoubleSpinBox *positionAngleInput;
    QLabel *label_17;
    QLabel *label_13;
    QLabel *label_14;
    QLabel *label_12;
    QDoubleSpinBox *minorAxisInput;
    QLabel *label_16;
    QDoubleSpinBox *majorAxisInput;
    QLabel *label_4;
    QFrame *line_3;
    QHBoxLayout *horizontalLayout_3;
    QPushButton *fillFromTextButton;
    QSpacerItem *horizontalSpacer_2;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *AddDeepSkyObject)
    {
        if (AddDeepSkyObject->objectName().isEmpty())
            AddDeepSkyObject->setObjectName(QStringLiteral("AddDeepSkyObject"));
        AddDeepSkyObject->resize(748, 394);
        verticalLayout = new QVBoxLayout(AddDeepSkyObject);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        groupBox = new QGroupBox(AddDeepSkyObject);
        groupBox->setObjectName(QStringLiteral("groupBox"));
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(groupBox->sizePolicy().hasHeightForWidth());
        groupBox->setSizePolicy(sizePolicy);
        groupBox->setMinimumSize(QSize(0, 115));
        gridFrame = new QFrame(groupBox);
        gridFrame->setObjectName(QStringLiteral("gridFrame"));
        gridFrame->setGeometry(QRect(10, 30, 661, 61));
        gridLayout = new QGridLayout(gridFrame);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        gridLayout->setVerticalSpacing(0);
        gridLayout->setContentsMargins(-1, 3, -1, 3);
        longNameEdit = new QLineEdit(gridFrame);
        longNameEdit->setObjectName(QStringLiteral("longNameEdit"));

        gridLayout->addWidget(longNameEdit, 3, 3, 1, 3);

        label_3 = new QLabel(gridFrame);
        label_3->setObjectName(QStringLiteral("label_3"));
        QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Preferred);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(label_3->sizePolicy().hasHeightForWidth());
        label_3->setSizePolicy(sizePolicy1);
        label_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout->addWidget(label_3, 1, 4, 1, 1);

        label_2 = new QLabel(gridFrame);
        label_2->setObjectName(QStringLiteral("label_2"));
        sizePolicy1.setHeightForWidth(label_2->sizePolicy().hasHeightForWidth());
        label_2->setSizePolicy(sizePolicy1);
        label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        catalogIDInput = new QSpinBox(gridFrame);
        catalogIDInput->setObjectName(QStringLiteral("catalogIDInput"));
        catalogIDInput->setEnabled(false);
        catalogIDInput->setMinimum(-1);
        catalogIDInput->setMaximum(99999999);
        catalogIDInput->setValue(-1);

        gridLayout->addWidget(catalogIDInput, 1, 5, 1, 1);

        line = new QFrame(gridFrame);
        line->setObjectName(QStringLiteral("line"));
        line->setFrameShadow(QFrame::Sunken);
        line->setMidLineWidth(0);
        line->setFrameShape(QFrame::HLine);

        gridLayout->addWidget(line, 2, 2, 1, 4);

        label_5 = new QLabel(gridFrame);
        label_5->setObjectName(QStringLiteral("label_5"));
        QSizePolicy sizePolicy2(QSizePolicy::Maximum, QSizePolicy::Preferred);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(label_5->sizePolicy().hasHeightForWidth());
        label_5->setSizePolicy(sizePolicy2);
        label_5->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout->addWidget(label_5, 3, 2, 1, 1);

        catalogNameEdit = new QLineEdit(gridFrame);
        catalogNameEdit->setObjectName(QStringLiteral("catalogNameEdit"));
        catalogNameEdit->setEnabled(false);
        sizePolicy.setHeightForWidth(catalogNameEdit->sizePolicy().hasHeightForWidth());
        catalogNameEdit->setSizePolicy(sizePolicy);

        gridLayout->addWidget(catalogNameEdit, 1, 3, 1, 1);


        verticalLayout->addWidget(groupBox);

        gridLayout_3 = new QGridLayout();
        gridLayout_3->setObjectName(QStringLiteral("gridLayout_3"));
        groupBox_2 = new QGroupBox(AddDeepSkyObject);
        groupBox_2->setObjectName(QStringLiteral("groupBox_2"));
        formLayout_3 = new QFormLayout(groupBox_2);
        formLayout_3->setObjectName(QStringLiteral("formLayout_3"));
        label = new QLabel(groupBox_2);
        label->setObjectName(QStringLiteral("label"));
        QSizePolicy sizePolicy3(QSizePolicy::Fixed, QSizePolicy::Preferred);
        sizePolicy3.setHorizontalStretch(0);
        sizePolicy3.setVerticalStretch(0);
        sizePolicy3.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
        label->setSizePolicy(sizePolicy3);

        formLayout_3->setWidget(0, QFormLayout::LabelRole, label);

        raInput = new dmsBox(groupBox_2);
        raInput->setObjectName(QStringLiteral("raInput"));

        formLayout_3->setWidget(0, QFormLayout::FieldRole, raInput);

        label_6 = new QLabel(groupBox_2);
        label_6->setObjectName(QStringLiteral("label_6"));
        sizePolicy1.setHeightForWidth(label_6->sizePolicy().hasHeightForWidth());
        label_6->setSizePolicy(sizePolicy1);
        label_6->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        formLayout_3->setWidget(1, QFormLayout::LabelRole, label_6);

        decInput = new dmsBox(groupBox_2);
        decInput->setObjectName(QStringLiteral("decInput"));

        formLayout_3->setWidget(1, QFormLayout::FieldRole, decInput);


        gridLayout_3->addWidget(groupBox_2, 0, 0, 1, 1);

        groupBox_4 = new QGroupBox(AddDeepSkyObject);
        groupBox_4->setObjectName(QStringLiteral("groupBox_4"));
        gridLayout_4 = new QGridLayout(groupBox_4);
        gridLayout_4->setObjectName(QStringLiteral("gridLayout_4"));
        label_8 = new QLabel(groupBox_4);
        label_8->setObjectName(QStringLiteral("label_8"));

        gridLayout_4->addWidget(label_8, 1, 0, 1, 1);

        visualMagnitudeInput = new QDoubleSpinBox(groupBox_4);
        visualMagnitudeInput->setObjectName(QStringLiteral("visualMagnitudeInput"));
        QSizePolicy sizePolicy4(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
        sizePolicy4.setHorizontalStretch(0);
        sizePolicy4.setVerticalStretch(0);
        sizePolicy4.setHeightForWidth(visualMagnitudeInput->sizePolicy().hasHeightForWidth());
        visualMagnitudeInput->setSizePolicy(sizePolicy4);
        visualMagnitudeInput->setMinimum(-10);
        visualMagnitudeInput->setValue(99.99);

        gridLayout_4->addWidget(visualMagnitudeInput, 1, 1, 1, 1);

        label_7 = new QLabel(groupBox_4);
        label_7->setObjectName(QStringLiteral("label_7"));

        gridLayout_4->addWidget(label_7, 0, 0, 1, 1);

        blueMagnitudeInput = new QDoubleSpinBox(groupBox_4);
        blueMagnitudeInput->setObjectName(QStringLiteral("blueMagnitudeInput"));
        sizePolicy4.setHeightForWidth(blueMagnitudeInput->sizePolicy().hasHeightForWidth());
        blueMagnitudeInput->setSizePolicy(sizePolicy4);
        blueMagnitudeInput->setMinimum(-10);
        blueMagnitudeInput->setSingleStep(0.1);
        blueMagnitudeInput->setValue(99.99);

        gridLayout_4->addWidget(blueMagnitudeInput, 0, 1, 1, 1);

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

        gridLayout_4->addItem(horizontalSpacer_3, 0, 2, 1, 1);


        gridLayout_3->addWidget(groupBox_4, 0, 1, 1, 1);

        groupBox_5 = new QGroupBox(AddDeepSkyObject);
        groupBox_5->setObjectName(QStringLiteral("groupBox_5"));
        formLayout_2 = new QFormLayout(groupBox_5);
        formLayout_2->setObjectName(QStringLiteral("formLayout_2"));
        label_9 = new QLabel(groupBox_5);
        label_9->setObjectName(QStringLiteral("label_9"));

        formLayout_2->setWidget(0, QFormLayout::LabelRole, label_9);

        actualTypeDisplay = new QLineEdit(groupBox_5);
        actualTypeDisplay->setObjectName(QStringLiteral("actualTypeDisplay"));
        actualTypeDisplay->setEnabled(false);
        actualTypeDisplay->setReadOnly(true);

        formLayout_2->setWidget(0, QFormLayout::FieldRole, actualTypeDisplay);

        label_10 = new QLabel(groupBox_5);
        label_10->setObjectName(QStringLiteral("label_10"));

        formLayout_2->setWidget(1, QFormLayout::LabelRole, label_10);

        typeComboBox = new QComboBox(groupBox_5);
        typeComboBox->setObjectName(QStringLiteral("typeComboBox"));
        sizePolicy4.setHeightForWidth(typeComboBox->sizePolicy().hasHeightForWidth());
        typeComboBox->setSizePolicy(sizePolicy4);

        formLayout_2->setWidget(1, QFormLayout::FieldRole, typeComboBox);


        gridLayout_3->addWidget(groupBox_5, 1, 0, 1, 1);

        groupBox_3 = new QGroupBox(AddDeepSkyObject);
        groupBox_3->setObjectName(QStringLiteral("groupBox_3"));
        gridLayout_2 = new QGridLayout(groupBox_3);
        gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
        horizontalSpacer = new QSpacerItem(181, 20, QSizePolicy::MinimumExpanding, QSizePolicy::Minimum);

        gridLayout_2->addItem(horizontalSpacer, 0, 4, 1, 3);

        positionAngleInput = new QDoubleSpinBox(groupBox_3);
        positionAngleInput->setObjectName(QStringLiteral("positionAngleInput"));
        sizePolicy4.setHeightForWidth(positionAngleInput->sizePolicy().hasHeightForWidth());
        positionAngleInput->setSizePolicy(sizePolicy4);
        positionAngleInput->setMaximum(359.99);

        gridLayout_2->addWidget(positionAngleInput, 1, 5, 1, 1);

        label_17 = new QLabel(groupBox_3);
        label_17->setObjectName(QStringLiteral("label_17"));

        gridLayout_2->addWidget(label_17, 1, 6, 1, 1);

        label_13 = new QLabel(groupBox_3);
        label_13->setObjectName(QStringLiteral("label_13"));

        gridLayout_2->addWidget(label_13, 0, 0, 1, 1);

        label_14 = new QLabel(groupBox_3);
        label_14->setObjectName(QStringLiteral("label_14"));

        gridLayout_2->addWidget(label_14, 1, 0, 1, 1);

        label_12 = new QLabel(groupBox_3);
        label_12->setObjectName(QStringLiteral("label_12"));

        gridLayout_2->addWidget(label_12, 1, 4, 1, 1);

        minorAxisInput = new QDoubleSpinBox(groupBox_3);
        minorAxisInput->setObjectName(QStringLiteral("minorAxisInput"));
        sizePolicy4.setHeightForWidth(minorAxisInput->sizePolicy().hasHeightForWidth());
        minorAxisInput->setSizePolicy(sizePolicy4);
        minorAxisInput->setMaximum(600);
        minorAxisInput->setSingleStep(10);

        gridLayout_2->addWidget(minorAxisInput, 1, 1, 1, 1);

        label_16 = new QLabel(groupBox_3);
        label_16->setObjectName(QStringLiteral("label_16"));

        gridLayout_2->addWidget(label_16, 1, 2, 1, 1);

        majorAxisInput = new QDoubleSpinBox(groupBox_3);
        majorAxisInput->setObjectName(QStringLiteral("majorAxisInput"));
        sizePolicy4.setHeightForWidth(majorAxisInput->sizePolicy().hasHeightForWidth());
        majorAxisInput->setSizePolicy(sizePolicy4);
        majorAxisInput->setMaximum(600);
        majorAxisInput->setSingleStep(10);

        gridLayout_2->addWidget(majorAxisInput, 0, 1, 1, 1);

        label_4 = new QLabel(groupBox_3);
        label_4->setObjectName(QStringLiteral("label_4"));

        gridLayout_2->addWidget(label_4, 0, 2, 1, 1);

        line_3 = new QFrame(groupBox_3);
        line_3->setObjectName(QStringLiteral("line_3"));
        line_3->setFrameShape(QFrame::VLine);
        line_3->setFrameShadow(QFrame::Sunken);

        gridLayout_2->addWidget(line_3, 1, 3, 1, 1);


        gridLayout_3->addWidget(groupBox_3, 1, 1, 1, 1);


        verticalLayout->addLayout(gridLayout_3);

        horizontalLayout_3 = new QHBoxLayout();
        horizontalLayout_3->setObjectName(QStringLiteral("horizontalLayout_3"));
        fillFromTextButton = new QPushButton(AddDeepSkyObject);
        fillFromTextButton->setObjectName(QStringLiteral("fillFromTextButton"));

        horizontalLayout_3->addWidget(fillFromTextButton);

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

        horizontalLayout_3->addItem(horizontalSpacer_2);

        buttonBox = new QDialogButtonBox(AddDeepSkyObject);
        buttonBox->setObjectName(QStringLiteral("buttonBox"));
        buttonBox->setOrientation(Qt::Horizontal);
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::Reset);
        buttonBox->setCenterButtons(false);

        horizontalLayout_3->addWidget(buttonBox);


        verticalLayout->addLayout(horizontalLayout_3);


        retranslateUi(AddDeepSkyObject);
        QObject::connect(buttonBox, SIGNAL(accepted()), AddDeepSkyObject, SLOT(accept()));
        QObject::connect(buttonBox, SIGNAL(rejected()), AddDeepSkyObject, SLOT(reject()));

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

    void retranslateUi(QDialog *AddDeepSkyObject)
    {
        AddDeepSkyObject->setWindowTitle(tr2i18n("Add/Edit Deep Sky Object", Q_NULLPTR));
        groupBox->setTitle(tr2i18n("Designation", Q_NULLPTR));
        label_3->setText(tr2i18n("Numeric ID:", Q_NULLPTR));
        label_2->setText(tr2i18n("Catalog:", Q_NULLPTR));
        label_5->setText(tr2i18n("Long Name:", Q_NULLPTR));
        groupBox_2->setTitle(tr2i18n("Coordinates (J2000 / ICRS)", Q_NULLPTR));
        label->setText(tr2i18n("RA:", Q_NULLPTR));
        label_6->setText(tr2i18n("Dec:", Q_NULLPTR));
        groupBox_4->setTitle(tr2i18n("Magnitudes", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        label_8->setToolTip(tr2i18n("Object's magnitude in visual band. If unknown, leave magnitude at 99.99", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        label_8->setText(tr2i18n("Visual:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        label_7->setToolTip(tr2i18n("Object's magnitude in Blue band. If unknown, leave magnitude at 99.99", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        label_7->setText(tr2i18n("Blue:", Q_NULLPTR));
        groupBox_5->setTitle(tr2i18n("Object Type", Q_NULLPTR));
        label_9->setText(tr2i18n("Actual Type:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        label_10->setToolTip(tr2i18n("The <b>Actual Type</b> may be shown as a guideline to choose the <b>Generic Type</b>. The generic type is what KStars understands. The actual type has no consequence as of this version. Choose the generic type that best approximates the actual type.", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        label_10->setText(tr2i18n("Generic Type:", Q_NULLPTR));
        groupBox_3->setTitle(tr2i18n("Dimensions", Q_NULLPTR));
        label_17->setText(tr2i18n("\302\260 E of N", Q_NULLPTR));
        label_13->setText(tr2i18n("Major Axis:", Q_NULLPTR));
        label_14->setText(tr2i18n("Minor Axis:", Q_NULLPTR));
        label_12->setText(tr2i18n("Position Angle:", Q_NULLPTR));
        label_16->setText(tr2i18n("arcmin", Q_NULLPTR));
        label_4->setText(tr2i18n("arcmin", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        fillFromTextButton->setToolTip(tr2i18n("Guess object parameters from a body of text that contains all the object info", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        fillFromTextButton->setText(tr2i18n("Guess from &Text", Q_NULLPTR));
    } // retranslateUi

};

namespace Ui {
    class AddDeepSkyObject: public Ui_AddDeepSkyObject {};
} // namespace Ui

QT_END_NAMESPACE

#endif // ADDDEEPSKYOBJECT_H

