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

/********************************************************************************
** Form generated from reading UI file 'worldclockConfig.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_WORLDCLOCKCONFIG_H
#define UI_WORLDCLOCKCONFIG_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QComboBox>
#include <QtGui/QGridLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QRadioButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QTabWidget>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "LatLonEdit.h"
#include "ktimezonewidget.h"

QT_BEGIN_NAMESPACE

class Ui_worldclockConfig
{
public:
    QHBoxLayout *horizontalLayout_2;
    QTabWidget *tabWidget;
    QWidget *tab;
    QGridLayout *gridLayout;
    QLabel *label;
    QComboBox *projection;
    QRadioButton *longitudeButton;
    Marble::LatLonEdit *longitudeEdit;
    QRadioButton *daylightButton;
    QSpacerItem *verticalSpacer;
    QCheckBox *showdate;
    QSpacerItem *verticalSpacer_2;
    QSpacerItem *verticalSpacer_3;
    QWidget *tab_2;
    QVBoxLayout *verticalLayout;
    QCheckBox *customTz;
    KTimeZoneWidget *tzWidget;

    void setupUi(QWidget *worldclockConfig)
    {
        if (worldclockConfig->objectName().isEmpty())
            worldclockConfig->setObjectName(QString::fromUtf8("worldclockConfig"));
        worldclockConfig->setWindowModality(Qt::NonModal);
        worldclockConfig->resize(495, 275);
        QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(worldclockConfig->sizePolicy().hasHeightForWidth());
        worldclockConfig->setSizePolicy(sizePolicy);
        worldclockConfig->setMinimumSize(QSize(0, 0));
        worldclockConfig->setMaximumSize(QSize(16777215, 16777215));
        horizontalLayout_2 = new QHBoxLayout(worldclockConfig);
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        tabWidget = new QTabWidget(worldclockConfig);
        tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
        tabWidget->setTabPosition(QTabWidget::North);
        tabWidget->setTabShape(QTabWidget::Rounded);
        tab = new QWidget();
        tab->setObjectName(QString::fromUtf8("tab"));
        gridLayout = new QGridLayout(tab);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        label = new QLabel(tab);
        label->setObjectName(QString::fromUtf8("label"));
        label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        projection = new QComboBox(tab);
        QIcon icon;
        icon.addFile(QString::fromUtf8(":/icons/map-flat.png"), QSize(), QIcon::Normal, QIcon::Off);
        projection->addItem(icon, QString());
        QIcon icon1;
        icon1.addFile(QString::fromUtf8(":/icons/map-mercator.png"), QSize(), QIcon::Normal, QIcon::Off);
        projection->addItem(icon1, QString());
        projection->setObjectName(QString::fromUtf8("projection"));

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

        longitudeButton = new QRadioButton(tab);
        longitudeButton->setObjectName(QString::fromUtf8("longitudeButton"));
        QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(longitudeButton->sizePolicy().hasHeightForWidth());
        longitudeButton->setSizePolicy(sizePolicy1);
        longitudeButton->setChecked(true);

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

        longitudeEdit = new Marble::LatLonEdit(tab);
        longitudeEdit->setObjectName(QString::fromUtf8("longitudeEdit"));

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

        daylightButton = new QRadioButton(tab);
        daylightButton->setObjectName(QString::fromUtf8("daylightButton"));
        sizePolicy1.setHeightForWidth(daylightButton->sizePolicy().hasHeightForWidth());
        daylightButton->setSizePolicy(sizePolicy1);

        gridLayout->addWidget(daylightButton, 3, 0, 1, 1);

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

        gridLayout->addItem(verticalSpacer, 6, 0, 1, 1);

        showdate = new QCheckBox(tab);
        showdate->setObjectName(QString::fromUtf8("showdate"));

        gridLayout->addWidget(showdate, 5, 0, 1, 1);

        verticalSpacer_2 = new QSpacerItem(20, 8, QSizePolicy::Minimum, QSizePolicy::Fixed);

        gridLayout->addItem(verticalSpacer_2, 4, 0, 1, 1);

        verticalSpacer_3 = new QSpacerItem(20, 8, QSizePolicy::Minimum, QSizePolicy::Fixed);

        gridLayout->addItem(verticalSpacer_3, 1, 0, 1, 1);

        tabWidget->addTab(tab, QString());
        tab_2 = new QWidget();
        tab_2->setObjectName(QString::fromUtf8("tab_2"));
        verticalLayout = new QVBoxLayout(tab_2);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        customTz = new QCheckBox(tab_2);
        customTz->setObjectName(QString::fromUtf8("customTz"));
        customTz->setEnabled(true);

        verticalLayout->addWidget(customTz);

        tzWidget = new KTimeZoneWidget(tab_2);
        tzWidget->setObjectName(QString::fromUtf8("tzWidget"));
        tzWidget->setEnabled(false);

        verticalLayout->addWidget(tzWidget);

        tabWidget->addTab(tab_2, QString());

        horizontalLayout_2->addWidget(tabWidget);

        QWidget::setTabOrder(tabWidget, projection);
        QWidget::setTabOrder(projection, longitudeButton);
        QWidget::setTabOrder(longitudeButton, daylightButton);
        QWidget::setTabOrder(daylightButton, customTz);
        QWidget::setTabOrder(customTz, tzWidget);

        retranslateUi(worldclockConfig);
        QObject::connect(longitudeButton, SIGNAL(toggled(bool)), longitudeEdit, SLOT(setEnabled(bool)));
        QObject::connect(customTz, SIGNAL(toggled(bool)), tzWidget, SLOT(setEnabled(bool)));

        tabWidget->setCurrentIndex(0);


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

    void retranslateUi(QWidget *worldclockConfig)
    {
        worldclockConfig->setWindowTitle(tr2i18n("Worldclock Applet Configuration", 0));
        label->setText(tr2i18n("Projection:", 0));
        projection->setItemText(0, tr2i18n("Equirectangular", 0));
        projection->setItemText(1, tr2i18n("Mercator", 0));

        longitudeButton->setText(tr2i18n("Center map on longitude:", 0));
        daylightButton->setText(tr2i18n("Center map on daylight", 0));
        showdate->setText(tr2i18n("Show date", 0));
        tabWidget->setTabText(tabWidget->indexOf(tab), tr2i18n("Map Display", 0));
        customTz->setText(tr2i18n("Use custom timezone selection", 0));
        QTreeWidgetItem *___qtreewidgetitem = tzWidget->headerItem();
        ___qtreewidgetitem->setText(2, tr2i18n("Comment", 0));
        ___qtreewidgetitem->setText(1, tr2i18n("Region", 0));
        ___qtreewidgetitem->setText(0, tr2i18n("Area", 0));
        tabWidget->setTabText(tabWidget->indexOf(tab_2), tr2i18n("Time Zones", 0));
    } // retranslateUi

};

namespace Ui {
    class worldclockConfig: public Ui_worldclockConfig {};
} // namespace Ui

QT_END_NAMESPACE

#endif // WORLDCLOCKCONFIG_H

