#include <klocalizedstring.h>

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

#ifndef UI_LOCATIONDIALOG_H
#define UI_LOCATIONDIALOG_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QListWidget>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "widgets/dmsbox.h"
#include "widgets/mapcanvas.h"

QT_BEGIN_NAMESPACE

class Ui_LocationDialog
{
public:
    QVBoxLayout *vboxLayout;
    QGroupBox *CityGroupBox;
    QHBoxLayout *hboxLayout;
    QVBoxLayout *vboxLayout1;
    QHBoxLayout *hboxLayout1;
    MapCanvas *MapView;
    QGridLayout *gridLayout;
    QLabel *CountryFiltLabel;
    QLineEdit *ProvinceFilter;
    QLabel *CityFiltLabel;
    QLineEdit *CountryFilter;
    QLineEdit *CityFilter;
    QLabel *ProvinceFiltLabel;
    QLabel *CountLabel;
    QListWidget *GeoBox;
    QGroupBox *EditGroupBox;
    QHBoxLayout *hboxLayout2;
    QGridLayout *gridLayout1;
    QLineEdit *NewProvinceName;
    QLineEdit *NewCountryName;
    QLabel *NewCityLabel;
    QLineEdit *NewCityName;
    QLabel *NewProvinceLabel;
    QLabel *NewCountryLabel;
    QVBoxLayout *vboxLayout2;
    QHBoxLayout *hboxLayout3;
    QGridLayout *gridLayout2;
    QLabel *LongLabel;
    dmsBox *NewLong;
    QLabel *LatLabel;
    dmsBox *NewLat;
    QSpacerItem *spacerItem;
    QGridLayout *gridLayout3;
    QLabel *DSTLabel;
    QComboBox *DSTRuleBox;
    QLabel *TZLabel;
    QComboBox *TZBox;
    QHBoxLayout *hboxLayout4;
    QPushButton *ClearFieldsButton;
    QSpacerItem *spacerItem1;
    QPushButton *AddCityButton;
    QPushButton *UpdateButton;
    QPushButton *RemoveButton;
    QLabel *errorLabel;

    void setupUi(QWidget *LocationDialog)
    {
        if (LocationDialog->objectName().isEmpty())
            LocationDialog->setObjectName(QStringLiteral("LocationDialog"));
        LocationDialog->resize(776, 559);
        vboxLayout = new QVBoxLayout(LocationDialog);
        vboxLayout->setSpacing(6);
        vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
        vboxLayout->setContentsMargins(8, 8, 8, 8);
        CityGroupBox = new QGroupBox(LocationDialog);
        CityGroupBox->setObjectName(QStringLiteral("CityGroupBox"));
        hboxLayout = new QHBoxLayout(CityGroupBox);
        hboxLayout->setSpacing(6);
        hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
        hboxLayout->setContentsMargins(8, 8, 8, 8);
        vboxLayout1 = new QVBoxLayout();
        vboxLayout1->setSpacing(6);
        vboxLayout1->setObjectName(QStringLiteral("vboxLayout1"));
        vboxLayout1->setContentsMargins(0, 0, 0, 0);
        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setSpacing(6);
        hboxLayout1->setObjectName(QStringLiteral("hboxLayout1"));
        hboxLayout1->setContentsMargins(0, 0, 0, 0);
        MapView = new MapCanvas(CityGroupBox);
        MapView->setObjectName(QStringLiteral("MapView"));
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(MapView->sizePolicy().hasHeightForWidth());
        MapView->setSizePolicy(sizePolicy);
        MapView->setMinimumSize(QSize(360, 180));
        MapView->setMaximumSize(QSize(360, 180));
        MapView->setFrameShape(QFrame::NoFrame);
        MapView->setFrameShadow(QFrame::Plain);

        hboxLayout1->addWidget(MapView);


        vboxLayout1->addLayout(hboxLayout1);

        gridLayout = new QGridLayout();
        gridLayout->setSpacing(6);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        gridLayout->setContentsMargins(0, 0, 0, 0);
        CountryFiltLabel = new QLabel(CityGroupBox);
        CountryFiltLabel->setObjectName(QStringLiteral("CountryFiltLabel"));

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

        ProvinceFilter = new QLineEdit(CityGroupBox);
        ProvinceFilter->setObjectName(QStringLiteral("ProvinceFilter"));

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

        CityFiltLabel = new QLabel(CityGroupBox);
        CityFiltLabel->setObjectName(QStringLiteral("CityFiltLabel"));

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

        CountryFilter = new QLineEdit(CityGroupBox);
        CountryFilter->setObjectName(QStringLiteral("CountryFilter"));

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

        CityFilter = new QLineEdit(CityGroupBox);
        CityFilter->setObjectName(QStringLiteral("CityFilter"));

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

        ProvinceFiltLabel = new QLabel(CityGroupBox);
        ProvinceFiltLabel->setObjectName(QStringLiteral("ProvinceFiltLabel"));

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


        vboxLayout1->addLayout(gridLayout);

        CountLabel = new QLabel(CityGroupBox);
        CountLabel->setObjectName(QStringLiteral("CountLabel"));

        vboxLayout1->addWidget(CountLabel);


        hboxLayout->addLayout(vboxLayout1);

        GeoBox = new QListWidget(CityGroupBox);
        GeoBox->setObjectName(QStringLiteral("GeoBox"));

        hboxLayout->addWidget(GeoBox);


        vboxLayout->addWidget(CityGroupBox);

        EditGroupBox = new QGroupBox(LocationDialog);
        EditGroupBox->setObjectName(QStringLiteral("EditGroupBox"));
        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(EditGroupBox->sizePolicy().hasHeightForWidth());
        EditGroupBox->setSizePolicy(sizePolicy1);
        hboxLayout2 = new QHBoxLayout(EditGroupBox);
        hboxLayout2->setSpacing(6);
        hboxLayout2->setObjectName(QStringLiteral("hboxLayout2"));
        hboxLayout2->setContentsMargins(8, 8, 8, 8);
        gridLayout1 = new QGridLayout();
        gridLayout1->setSpacing(6);
        gridLayout1->setObjectName(QStringLiteral("gridLayout1"));
        gridLayout1->setContentsMargins(0, 0, 0, 0);
        NewProvinceName = new QLineEdit(EditGroupBox);
        NewProvinceName->setObjectName(QStringLiteral("NewProvinceName"));
        NewProvinceName->setMinimumSize(QSize(140, 0));

        gridLayout1->addWidget(NewProvinceName, 1, 1, 1, 1);

        NewCountryName = new QLineEdit(EditGroupBox);
        NewCountryName->setObjectName(QStringLiteral("NewCountryName"));
        NewCountryName->setMinimumSize(QSize(140, 0));

        gridLayout1->addWidget(NewCountryName, 2, 1, 1, 1);

        NewCityLabel = new QLabel(EditGroupBox);
        NewCityLabel->setObjectName(QStringLiteral("NewCityLabel"));

        gridLayout1->addWidget(NewCityLabel, 0, 0, 1, 1);

        NewCityName = new QLineEdit(EditGroupBox);
        NewCityName->setObjectName(QStringLiteral("NewCityName"));
        NewCityName->setMinimumSize(QSize(140, 0));

        gridLayout1->addWidget(NewCityName, 0, 1, 1, 1);

        NewProvinceLabel = new QLabel(EditGroupBox);
        NewProvinceLabel->setObjectName(QStringLiteral("NewProvinceLabel"));

        gridLayout1->addWidget(NewProvinceLabel, 1, 0, 1, 1);

        NewCountryLabel = new QLabel(EditGroupBox);
        NewCountryLabel->setObjectName(QStringLiteral("NewCountryLabel"));

        gridLayout1->addWidget(NewCountryLabel, 2, 0, 1, 1);


        hboxLayout2->addLayout(gridLayout1);

        vboxLayout2 = new QVBoxLayout();
        vboxLayout2->setSpacing(6);
        vboxLayout2->setObjectName(QStringLiteral("vboxLayout2"));
        vboxLayout2->setContentsMargins(0, 0, 0, 0);
        hboxLayout3 = new QHBoxLayout();
        hboxLayout3->setSpacing(6);
        hboxLayout3->setObjectName(QStringLiteral("hboxLayout3"));
        hboxLayout3->setContentsMargins(0, 0, 0, 0);
        gridLayout2 = new QGridLayout();
        gridLayout2->setSpacing(6);
        gridLayout2->setObjectName(QStringLiteral("gridLayout2"));
        gridLayout2->setContentsMargins(0, 0, 0, 0);
        LongLabel = new QLabel(EditGroupBox);
        LongLabel->setObjectName(QStringLiteral("LongLabel"));

        gridLayout2->addWidget(LongLabel, 1, 0, 1, 1);

        NewLong = new dmsBox(EditGroupBox);
        NewLong->setObjectName(QStringLiteral("NewLong"));
        QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Fixed);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(NewLong->sizePolicy().hasHeightForWidth());
        NewLong->setSizePolicy(sizePolicy2);
        NewLong->setMinimumSize(QSize(100, 0));

        gridLayout2->addWidget(NewLong, 1, 1, 1, 1);

        LatLabel = new QLabel(EditGroupBox);
        LatLabel->setObjectName(QStringLiteral("LatLabel"));

        gridLayout2->addWidget(LatLabel, 0, 0, 1, 1);

        NewLat = new dmsBox(EditGroupBox);
        NewLat->setObjectName(QStringLiteral("NewLat"));
        sizePolicy2.setHeightForWidth(NewLat->sizePolicy().hasHeightForWidth());
        NewLat->setSizePolicy(sizePolicy2);
        NewLat->setMinimumSize(QSize(100, 0));

        gridLayout2->addWidget(NewLat, 0, 1, 1, 1);


        hboxLayout3->addLayout(gridLayout2);

        spacerItem = new QSpacerItem(16, 21, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout3->addItem(spacerItem);

        gridLayout3 = new QGridLayout();
        gridLayout3->setSpacing(6);
        gridLayout3->setObjectName(QStringLiteral("gridLayout3"));
        gridLayout3->setContentsMargins(0, 0, 0, 0);
        DSTLabel = new QLabel(EditGroupBox);
        DSTLabel->setObjectName(QStringLiteral("DSTLabel"));
        sizePolicy1.setHeightForWidth(DSTLabel->sizePolicy().hasHeightForWidth());
        DSTLabel->setSizePolicy(sizePolicy1);
        QFont font;
        font.setFamily(QStringLiteral("Sans Serif"));
        font.setPointSize(9);
        font.setBold(true);
        font.setItalic(false);
        font.setUnderline(true);
        font.setWeight(75);
        font.setStrikeOut(false);
        DSTLabel->setFont(font);

        gridLayout3->addWidget(DSTLabel, 1, 0, 1, 1);

        DSTRuleBox = new QComboBox(EditGroupBox);
        DSTRuleBox->setObjectName(QStringLiteral("DSTRuleBox"));

        gridLayout3->addWidget(DSTRuleBox, 1, 1, 1, 1);

        TZLabel = new QLabel(EditGroupBox);
        TZLabel->setObjectName(QStringLiteral("TZLabel"));

        gridLayout3->addWidget(TZLabel, 0, 0, 1, 1);

        TZBox = new QComboBox(EditGroupBox);
        TZBox->setObjectName(QStringLiteral("TZBox"));
        TZBox->setEditable(true);

        gridLayout3->addWidget(TZBox, 0, 1, 1, 1);


        hboxLayout3->addLayout(gridLayout3);


        vboxLayout2->addLayout(hboxLayout3);

        hboxLayout4 = new QHBoxLayout();
        hboxLayout4->setSpacing(6);
        hboxLayout4->setObjectName(QStringLiteral("hboxLayout4"));
        hboxLayout4->setContentsMargins(0, 0, 0, 0);
        ClearFieldsButton = new QPushButton(EditGroupBox);
        ClearFieldsButton->setObjectName(QStringLiteral("ClearFieldsButton"));

        hboxLayout4->addWidget(ClearFieldsButton);

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

        hboxLayout4->addItem(spacerItem1);

        AddCityButton = new QPushButton(EditGroupBox);
        AddCityButton->setObjectName(QStringLiteral("AddCityButton"));
        AddCityButton->setEnabled(false);
        AddCityButton->setMinimumSize(QSize(16, 16));

        hboxLayout4->addWidget(AddCityButton);

        UpdateButton = new QPushButton(EditGroupBox);
        UpdateButton->setObjectName(QStringLiteral("UpdateButton"));
        UpdateButton->setEnabled(false);
        UpdateButton->setMinimumSize(QSize(16, 16));

        hboxLayout4->addWidget(UpdateButton);

        RemoveButton = new QPushButton(EditGroupBox);
        RemoveButton->setObjectName(QStringLiteral("RemoveButton"));
        RemoveButton->setEnabled(false);
        RemoveButton->setMinimumSize(QSize(16, 16));

        hboxLayout4->addWidget(RemoveButton);


        vboxLayout2->addLayout(hboxLayout4);

        errorLabel = new QLabel(EditGroupBox);
        errorLabel->setObjectName(QStringLiteral("errorLabel"));
        QPalette palette;
        QBrush brush(QColor(255, 0, 0, 255));
        brush.setStyle(Qt::SolidPattern);
        palette.setBrush(QPalette::Active, QPalette::WindowText, brush);
        QBrush brush1(QColor(0, 0, 0, 255));
        brush1.setStyle(Qt::SolidPattern);
        palette.setBrush(QPalette::Active, QPalette::Text, brush1);
        palette.setBrush(QPalette::Inactive, QPalette::WindowText, brush);
        palette.setBrush(QPalette::Inactive, QPalette::Text, brush1);
        QBrush brush2(QColor(190, 190, 190, 255));
        brush2.setStyle(Qt::SolidPattern);
        palette.setBrush(QPalette::Disabled, QPalette::WindowText, brush2);
        palette.setBrush(QPalette::Disabled, QPalette::Text, brush2);
        errorLabel->setPalette(palette);
        QFont font1;
        font1.setBold(true);
        font1.setWeight(75);
        errorLabel->setFont(font1);

        vboxLayout2->addWidget(errorLabel);


        hboxLayout2->addLayout(vboxLayout2);


        vboxLayout->addWidget(EditGroupBox);

        QWidget::setTabOrder(CityFilter, ProvinceFilter);
        QWidget::setTabOrder(ProvinceFilter, CountryFilter);
        QWidget::setTabOrder(CountryFilter, GeoBox);
        QWidget::setTabOrder(GeoBox, NewCityName);
        QWidget::setTabOrder(NewCityName, NewProvinceName);
        QWidget::setTabOrder(NewProvinceName, NewCountryName);
        QWidget::setTabOrder(NewCountryName, NewLat);
        QWidget::setTabOrder(NewLat, NewLong);
        QWidget::setTabOrder(NewLong, TZBox);
        QWidget::setTabOrder(TZBox, DSTRuleBox);
        QWidget::setTabOrder(DSTRuleBox, AddCityButton);
        QWidget::setTabOrder(AddCityButton, UpdateButton);
        QWidget::setTabOrder(UpdateButton, RemoveButton);
        QWidget::setTabOrder(RemoveButton, ClearFieldsButton);

        retranslateUi(LocationDialog);

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

    void retranslateUi(QWidget *LocationDialog)
    {
        CityGroupBox->setTitle(tr2i18n("Choose City", 0));
        CountryFiltLabel->setText(tr2i18n("Country filter:", 0));
        CityFiltLabel->setText(tr2i18n("City filter:", 0));
        ProvinceFiltLabel->setText(tr2i18n("Province filter:", 0));
        CountLabel->setText(tr2i18n("0 cities match search criteria", 0));
        EditGroupBox->setTitle(tr2i18n("View/Edit Location Data", 0));
        NewCityLabel->setText(tr2i18n("City:", 0));
        NewProvinceLabel->setText(tr2i18n("Province:", 0));
        NewCountryLabel->setText(tr2i18n("Country:", 0));
        LongLabel->setText(tr2i18n("Longitude:", 0));
        LatLabel->setText(tr2i18n("Latitude:", 0));
        DSTLabel->setText(tr2i18n("DST rule:", 0));
        TZLabel->setText(tr2i18n("UT offset:", 0));
        ClearFieldsButton->setText(tr2i18n("&Clear Fields", 0));
#ifndef UI_QT_NO_TOOLTIP
        AddCityButton->setToolTip(tr2i18n("Add City", 0));
#endif // QT_NO_TOOLTIP
        AddCityButton->setText(QString());
#ifndef UI_QT_NO_TOOLTIP
        UpdateButton->setToolTip(tr2i18n("Update City", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_STATUSTIP
        UpdateButton->setStatusTip(QString());
#endif // QT_NO_STATUSTIP
        UpdateButton->setText(QString());
#ifndef UI_QT_NO_TOOLTIP
        RemoveButton->setToolTip(tr2i18n("Remove City", 0));
#endif // QT_NO_TOOLTIP
        RemoveButton->setText(QString());
        errorLabel->setText(QString());
        Q_UNUSED(LocationDialog);
    } // retranslateUi

};

namespace Ui {
    class LocationDialog: public Ui_LocationDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // LOCATIONDIALOG_H

