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

#ifndef UI_ATOMPOPUP_H
#define UI_ATOMPOPUP_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDoubleSpinBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QToolBox>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "coordinatetableview.h"
#include "elementalignment.h"

QT_BEGIN_NAMESPACE

class Ui_AtomPopup
{
public:
    QVBoxLayout *verticalLayout;
    QToolBox *toolBox;
    QWidget *generalPage;
    QFormLayout *formLayout;
    QLabel *elementLabel;
    QLineEdit *element;
    QLabel *chargeLabel;
    QSpinBox *charge;
    QLabel *newmanLabel;
    QDoubleSpinBox *newmanDiameter;
    QLabel *shapeTypeLabel;
    QComboBox *shapeType;
    Molsketch::CoordinateTableView *coordinates;
    QWidget *hydrogensPage;
    QFormLayout *formLayout_2;
    QLabel *hydrogenLabel;
    QSpinBox *hydrogens;
    QLabel *hydrogenAlignmentLabel;
    Molsketch::ElementAlignment *hydrogenAlignment;
    QWidget *lonePairsPage;
    QFormLayout *formLayout_3;
    QLabel *lonePairLineWidthLabel;
    QDoubleSpinBox *lonePairLineWidth;
    QDoubleSpinBox *lonePairLength;
    QLabel *lonePairLengthLabel;
    QLabel *lonePairsLabel;
    QGridLayout *gridLayout_2;
    QCheckBox *leftLonePair;
    QCheckBox *topLeftLonePair;
    QCheckBox *topRightLonePair;
    QCheckBox *bottomLeftLonePair;
    QCheckBox *bottomRightLonePair;
    QCheckBox *topLonePair;
    QCheckBox *bottomLonePair;
    QCheckBox *rightLonePair;
    QLabel *lonePairLabel;
    QWidget *radicalsPage;
    QFormLayout *formLayout_4;
    QLabel *radicalDiameterLabel;
    QDoubleSpinBox *radicalDiameter;
    QLabel *radicalsLabel;
    QGridLayout *gridLayout;
    QCheckBox *leftRadical;
    QCheckBox *topLeftRadical;
    QCheckBox *topRightRadical;
    QCheckBox *bottomLeftRadical;
    QCheckBox *bottomRightRadical;
    QCheckBox *topRadical;
    QCheckBox *bottomRadical;
    QCheckBox *rightRadical;
    QLabel *radicalElementLabel;

    void setupUi(QWidget *AtomPopup)
    {
        if (AtomPopup->objectName().isEmpty())
            AtomPopup->setObjectName(QString::fromUtf8("AtomPopup"));
        AtomPopup->resize(231, 532);
        verticalLayout = new QVBoxLayout(AtomPopup);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        toolBox = new QToolBox(AtomPopup);
        toolBox->setObjectName(QString::fromUtf8("toolBox"));
        generalPage = new QWidget();
        generalPage->setObjectName(QString::fromUtf8("generalPage"));
        generalPage->setGeometry(QRect(0, 0, 219, 383));
        formLayout = new QFormLayout(generalPage);
        formLayout->setObjectName(QString::fromUtf8("formLayout"));
        elementLabel = new QLabel(generalPage);
        elementLabel->setObjectName(QString::fromUtf8("elementLabel"));

        formLayout->setWidget(0, QFormLayout::LabelRole, elementLabel);

        element = new QLineEdit(generalPage);
        element->setObjectName(QString::fromUtf8("element"));

        formLayout->setWidget(0, QFormLayout::FieldRole, element);

        chargeLabel = new QLabel(generalPage);
        chargeLabel->setObjectName(QString::fromUtf8("chargeLabel"));

        formLayout->setWidget(1, QFormLayout::LabelRole, chargeLabel);

        charge = new QSpinBox(generalPage);
        charge->setObjectName(QString::fromUtf8("charge"));
        charge->setMinimum(-20);
        charge->setMaximum(20);

        formLayout->setWidget(1, QFormLayout::FieldRole, charge);

        newmanLabel = new QLabel(generalPage);
        newmanLabel->setObjectName(QString::fromUtf8("newmanLabel"));

        formLayout->setWidget(2, QFormLayout::LabelRole, newmanLabel);

        newmanDiameter = new QDoubleSpinBox(generalPage);
        newmanDiameter->setObjectName(QString::fromUtf8("newmanDiameter"));

        formLayout->setWidget(2, QFormLayout::FieldRole, newmanDiameter);

        shapeTypeLabel = new QLabel(generalPage);
        shapeTypeLabel->setObjectName(QString::fromUtf8("shapeTypeLabel"));

        formLayout->setWidget(3, QFormLayout::LabelRole, shapeTypeLabel);

        shapeType = new QComboBox(generalPage);
        shapeType->addItem(QString());
        shapeType->addItem(QString());
        shapeType->setObjectName(QString::fromUtf8("shapeType"));

        formLayout->setWidget(3, QFormLayout::FieldRole, shapeType);

        coordinates = new Molsketch::CoordinateTableView(generalPage);
        coordinates->setObjectName(QString::fromUtf8("coordinates"));
        coordinates->setAlternatingRowColors(true);

        formLayout->setWidget(4, QFormLayout::SpanningRole, coordinates);

        toolBox->addItem(generalPage, QString::fromUtf8("General"));
        hydrogensPage = new QWidget();
        hydrogensPage->setObjectName(QString::fromUtf8("hydrogensPage"));
        hydrogensPage->setGeometry(QRect(0, 0, 219, 383));
        formLayout_2 = new QFormLayout(hydrogensPage);
        formLayout_2->setObjectName(QString::fromUtf8("formLayout_2"));
        hydrogenLabel = new QLabel(hydrogensPage);
        hydrogenLabel->setObjectName(QString::fromUtf8("hydrogenLabel"));

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

        hydrogens = new QSpinBox(hydrogensPage);
        hydrogens->setObjectName(QString::fromUtf8("hydrogens"));
        hydrogens->setMinimum(-20);
        hydrogens->setMaximum(20);

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

        hydrogenAlignmentLabel = new QLabel(hydrogensPage);
        hydrogenAlignmentLabel->setObjectName(QString::fromUtf8("hydrogenAlignmentLabel"));

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

        hydrogenAlignment = new Molsketch::ElementAlignment(hydrogensPage);
        hydrogenAlignment->setObjectName(QString::fromUtf8("hydrogenAlignment"));
        hydrogenAlignment->setMinimumSize(QSize(50, 50));

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

        toolBox->addItem(hydrogensPage, QString::fromUtf8("Hydrogens"));
        lonePairsPage = new QWidget();
        lonePairsPage->setObjectName(QString::fromUtf8("lonePairsPage"));
        lonePairsPage->setGeometry(QRect(0, 0, 219, 383));
        formLayout_3 = new QFormLayout(lonePairsPage);
        formLayout_3->setObjectName(QString::fromUtf8("formLayout_3"));
        lonePairLineWidthLabel = new QLabel(lonePairsPage);
        lonePairLineWidthLabel->setObjectName(QString::fromUtf8("lonePairLineWidthLabel"));

        formLayout_3->setWidget(2, QFormLayout::LabelRole, lonePairLineWidthLabel);

        lonePairLineWidth = new QDoubleSpinBox(lonePairsPage);
        lonePairLineWidth->setObjectName(QString::fromUtf8("lonePairLineWidth"));

        formLayout_3->setWidget(2, QFormLayout::FieldRole, lonePairLineWidth);

        lonePairLength = new QDoubleSpinBox(lonePairsPage);
        lonePairLength->setObjectName(QString::fromUtf8("lonePairLength"));

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

        lonePairLengthLabel = new QLabel(lonePairsPage);
        lonePairLengthLabel->setObjectName(QString::fromUtf8("lonePairLengthLabel"));

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

        lonePairsLabel = new QLabel(lonePairsPage);
        lonePairsLabel->setObjectName(QString::fromUtf8("lonePairsLabel"));

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

        gridLayout_2 = new QGridLayout();
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
        leftLonePair = new QCheckBox(lonePairsPage);
        leftLonePair->setObjectName(QString::fromUtf8("leftLonePair"));

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

        topLeftLonePair = new QCheckBox(lonePairsPage);
        topLeftLonePair->setObjectName(QString::fromUtf8("topLeftLonePair"));

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

        topRightLonePair = new QCheckBox(lonePairsPage);
        topRightLonePair->setObjectName(QString::fromUtf8("topRightLonePair"));

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

        bottomLeftLonePair = new QCheckBox(lonePairsPage);
        bottomLeftLonePair->setObjectName(QString::fromUtf8("bottomLeftLonePair"));

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

        bottomRightLonePair = new QCheckBox(lonePairsPage);
        bottomRightLonePair->setObjectName(QString::fromUtf8("bottomRightLonePair"));

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

        topLonePair = new QCheckBox(lonePairsPage);
        topLonePair->setObjectName(QString::fromUtf8("topLonePair"));

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

        bottomLonePair = new QCheckBox(lonePairsPage);
        bottomLonePair->setObjectName(QString::fromUtf8("bottomLonePair"));

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

        rightLonePair = new QCheckBox(lonePairsPage);
        rightLonePair->setObjectName(QString::fromUtf8("rightLonePair"));

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

        lonePairLabel = new QLabel(lonePairsPage);
        lonePairLabel->setObjectName(QString::fromUtf8("lonePairLabel"));
        lonePairLabel->setAlignment(Qt::AlignCenter);

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


        formLayout_3->setLayout(0, QFormLayout::FieldRole, gridLayout_2);

        toolBox->addItem(lonePairsPage, QString::fromUtf8("Lone Pairs"));
        radicalsPage = new QWidget();
        radicalsPage->setObjectName(QString::fromUtf8("radicalsPage"));
        radicalsPage->setGeometry(QRect(0, 0, 219, 383));
        formLayout_4 = new QFormLayout(radicalsPage);
        formLayout_4->setObjectName(QString::fromUtf8("formLayout_4"));
        radicalDiameterLabel = new QLabel(radicalsPage);
        radicalDiameterLabel->setObjectName(QString::fromUtf8("radicalDiameterLabel"));

        formLayout_4->setWidget(1, QFormLayout::LabelRole, radicalDiameterLabel);

        radicalDiameter = new QDoubleSpinBox(radicalsPage);
        radicalDiameter->setObjectName(QString::fromUtf8("radicalDiameter"));

        formLayout_4->setWidget(1, QFormLayout::FieldRole, radicalDiameter);

        radicalsLabel = new QLabel(radicalsPage);
        radicalsLabel->setObjectName(QString::fromUtf8("radicalsLabel"));

        formLayout_4->setWidget(0, QFormLayout::LabelRole, radicalsLabel);

        gridLayout = new QGridLayout();
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        leftRadical = new QCheckBox(radicalsPage);
        leftRadical->setObjectName(QString::fromUtf8("leftRadical"));

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

        topLeftRadical = new QCheckBox(radicalsPage);
        topLeftRadical->setObjectName(QString::fromUtf8("topLeftRadical"));

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

        topRightRadical = new QCheckBox(radicalsPage);
        topRightRadical->setObjectName(QString::fromUtf8("topRightRadical"));

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

        bottomLeftRadical = new QCheckBox(radicalsPage);
        bottomLeftRadical->setObjectName(QString::fromUtf8("bottomLeftRadical"));

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

        bottomRightRadical = new QCheckBox(radicalsPage);
        bottomRightRadical->setObjectName(QString::fromUtf8("bottomRightRadical"));

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

        topRadical = new QCheckBox(radicalsPage);
        topRadical->setObjectName(QString::fromUtf8("topRadical"));

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

        bottomRadical = new QCheckBox(radicalsPage);
        bottomRadical->setObjectName(QString::fromUtf8("bottomRadical"));

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

        rightRadical = new QCheckBox(radicalsPage);
        rightRadical->setObjectName(QString::fromUtf8("rightRadical"));

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

        radicalElementLabel = new QLabel(radicalsPage);
        radicalElementLabel->setObjectName(QString::fromUtf8("radicalElementLabel"));
        radicalElementLabel->setAlignment(Qt::AlignCenter);

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


        formLayout_4->setLayout(0, QFormLayout::FieldRole, gridLayout);

        toolBox->addItem(radicalsPage, QString::fromUtf8("Radical Electrons"));

        verticalLayout->addWidget(toolBox);

#if QT_CONFIG(shortcut)
        elementLabel->setBuddy(element);
#endif // QT_CONFIG(shortcut)

        retranslateUi(AtomPopup);
        QObject::connect(element, SIGNAL(textChanged(QString)), radicalElementLabel, SLOT(setText(QString)));
        QObject::connect(topLeftRadical, SIGNAL(stateChanged(int)), AtomPopup, SLOT(updateRadicals()));
        QObject::connect(topRadical, SIGNAL(stateChanged(int)), AtomPopup, SLOT(updateRadicals()));
        QObject::connect(topRightRadical, SIGNAL(stateChanged(int)), AtomPopup, SLOT(updateRadicals()));
        QObject::connect(bottomLeftRadical, SIGNAL(stateChanged(int)), AtomPopup, SLOT(updateRadicals()));
        QObject::connect(bottomRightRadical, SIGNAL(stateChanged(int)), AtomPopup, SLOT(updateRadicals()));
        QObject::connect(bottomRadical, SIGNAL(stateChanged(int)), AtomPopup, SLOT(updateRadicals()));
        QObject::connect(leftRadical, SIGNAL(stateChanged(int)), AtomPopup, SLOT(updateRadicals()));
        QObject::connect(rightRadical, SIGNAL(stateChanged(int)), AtomPopup, SLOT(updateRadicals()));
        QObject::connect(element, SIGNAL(textChanged(QString)), lonePairLabel, SLOT(setText(QString)));
        QObject::connect(bottomLonePair, SIGNAL(stateChanged(int)), AtomPopup, SLOT(updateLonePairs()));
        QObject::connect(bottomRightLonePair, SIGNAL(stateChanged(int)), AtomPopup, SLOT(updateLonePairs()));
        QObject::connect(leftLonePair, SIGNAL(stateChanged(int)), AtomPopup, SLOT(updateLonePairs()));
        QObject::connect(topRightLonePair, SIGNAL(stateChanged(int)), AtomPopup, SLOT(updateLonePairs()));
        QObject::connect(topLonePair, SIGNAL(stateChanged(int)), AtomPopup, SLOT(updateLonePairs()));
        QObject::connect(topLeftLonePair, SIGNAL(stateChanged(int)), AtomPopup, SLOT(updateLonePairs()));
        QObject::connect(rightLonePair, SIGNAL(stateChanged(int)), AtomPopup, SLOT(updateLonePairs()));
        QObject::connect(bottomLeftLonePair, SIGNAL(stateChanged(int)), AtomPopup, SLOT(updateLonePairs()));
        QObject::connect(radicalDiameter, SIGNAL(valueChanged(double)), AtomPopup, SLOT(updateRadicals()));
        QObject::connect(lonePairLineWidth, SIGNAL(valueChanged(double)), AtomPopup, SLOT(updateLonePairs()));
        QObject::connect(lonePairLength, SIGNAL(valueChanged(double)), AtomPopup, SLOT(updateLonePairs()));
        QObject::connect(hydrogenAlignment, SIGNAL(alignmentChanged(NeighborAlignment)), AtomPopup, SLOT(updateHAlignment(NeighborAlignment)));
        QObject::connect(element, SIGNAL(textChanged(QString)), hydrogenAlignment, SLOT(setElement(QString)));

        toolBox->setCurrentIndex(0);


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

    void retranslateUi(QWidget *AtomPopup)
    {
        AtomPopup->setWindowTitle(QCoreApplication::translate("AtomPopup", "Atom properties", nullptr));
        elementLabel->setText(QCoreApplication::translate("AtomPopup", "S&ymbol", nullptr));
        chargeLabel->setText(QCoreApplication::translate("AtomPopup", "Charge", nullptr));
        newmanLabel->setText(QCoreApplication::translate("AtomPopup", "Newman\n"
"diameter", nullptr));
        shapeTypeLabel->setText(QCoreApplication::translate("AtomPopup", "Shape", nullptr));
        shapeType->setItemText(0, QCoreApplication::translate("AtomPopup", "Rectangle", nullptr));
        shapeType->setItemText(1, QCoreApplication::translate("AtomPopup", "Circle", nullptr));

        toolBox->setItemText(toolBox->indexOf(generalPage), QCoreApplication::translate("AtomPopup", "General", nullptr));
        hydrogenLabel->setText(QCoreApplication::translate("AtomPopup", "Hydrogens", nullptr));
        hydrogenAlignmentLabel->setText(QCoreApplication::translate("AtomPopup", "Alignment", nullptr));
        toolBox->setItemText(toolBox->indexOf(hydrogensPage), QCoreApplication::translate("AtomPopup", "Hydrogens", nullptr));
        lonePairLineWidthLabel->setText(QCoreApplication::translate("AtomPopup", "Line width", nullptr));
        lonePairLengthLabel->setText(QCoreApplication::translate("AtomPopup", "Length", nullptr));
        lonePairsLabel->setText(QCoreApplication::translate("AtomPopup", "Lone pairs", nullptr));
        leftLonePair->setText(QString());
        topLeftLonePair->setText(QString());
        topRightLonePair->setText(QString());
        bottomLeftLonePair->setText(QString());
        bottomRightLonePair->setText(QString());
        topLonePair->setText(QString());
        bottomLonePair->setText(QString());
        rightLonePair->setText(QString());
        lonePairLabel->setText(QCoreApplication::translate("AtomPopup", "E", nullptr));
        toolBox->setItemText(toolBox->indexOf(lonePairsPage), QCoreApplication::translate("AtomPopup", "Lone Pairs", nullptr));
        radicalDiameterLabel->setText(QCoreApplication::translate("AtomPopup", "Diameter", nullptr));
        radicalsLabel->setText(QCoreApplication::translate("AtomPopup", "Radicals", nullptr));
        leftRadical->setText(QString());
        topLeftRadical->setText(QString());
        topRightRadical->setText(QString());
        bottomLeftRadical->setText(QString());
        bottomRightRadical->setText(QString());
        topRadical->setText(QString());
        bottomRadical->setText(QString());
        rightRadical->setText(QString());
        radicalElementLabel->setText(QCoreApplication::translate("AtomPopup", "E", nullptr));
        toolBox->setItemText(toolBox->indexOf(radicalsPage), QCoreApplication::translate("AtomPopup", "Radical Electrons", nullptr));
    } // retranslateUi

};

namespace Ui {
    class AtomPopup: public Ui_AtomPopup {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_ATOMPOPUP_H
