tests/auto/uic/baseline/form.ui.h
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 /********************************************************************************
       
     2 ** Form generated from reading UI file 'form.ui'
       
     3 **
       
     4 ** Created: Fri Sep 4 10:17:13 2009
       
     5 **      by: Qt User Interface Compiler version 4.6.0
       
     6 **
       
     7 ** WARNING! All changes made in this file will be lost when recompiling UI file!
       
     8 ********************************************************************************/
       
     9 
       
    10 #ifndef FORM_H
       
    11 #define FORM_H
       
    12 
       
    13 #include <QtCore/QVariant>
       
    14 #include <QtGui/QAction>
       
    15 #include <QtGui/QApplication>
       
    16 #include <QtGui/QButtonGroup>
       
    17 #include <QtGui/QHBoxLayout>
       
    18 #include <QtGui/QHeaderView>
       
    19 #include <QtGui/QLabel>
       
    20 #include <QtGui/QSpacerItem>
       
    21 #include <QtGui/QSpinBox>
       
    22 #include <QtGui/QTimeEdit>
       
    23 #include <QtGui/QVBoxLayout>
       
    24 #include <QtGui/QWidget>
       
    25 #include "worldtimeclock.h"
       
    26 
       
    27 QT_BEGIN_NAMESPACE
       
    28 
       
    29 class Ui_WorldTimeForm
       
    30 {
       
    31 public:
       
    32     QHBoxLayout *hboxLayout;
       
    33     WorldTimeClock *worldTimeClock;
       
    34     QVBoxLayout *vboxLayout;
       
    35     QSpacerItem *spacerItem;
       
    36     QHBoxLayout *hboxLayout1;
       
    37     QLabel *label;
       
    38     QTimeEdit *timeEdit;
       
    39     QHBoxLayout *hboxLayout2;
       
    40     QLabel *label_2;
       
    41     QSpinBox *spinBox;
       
    42     QSpacerItem *spacerItem1;
       
    43 
       
    44     void setupUi(QWidget *WorldTimeForm)
       
    45     {
       
    46         if (WorldTimeForm->objectName().isEmpty())
       
    47             WorldTimeForm->setObjectName(QString::fromUtf8("WorldTimeForm"));
       
    48         WorldTimeForm->resize(400, 300);
       
    49         hboxLayout = new QHBoxLayout(WorldTimeForm);
       
    50 #ifndef Q_OS_MAC
       
    51         hboxLayout->setSpacing(6);
       
    52 #endif
       
    53 #ifndef Q_OS_MAC
       
    54         hboxLayout->setContentsMargins(9, 9, 9, 9);
       
    55 #endif
       
    56         hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
       
    57         worldTimeClock = new WorldTimeClock(WorldTimeForm);
       
    58         worldTimeClock->setObjectName(QString::fromUtf8("worldTimeClock"));
       
    59 
       
    60         hboxLayout->addWidget(worldTimeClock);
       
    61 
       
    62         vboxLayout = new QVBoxLayout();
       
    63 #ifndef Q_OS_MAC
       
    64         vboxLayout->setSpacing(6);
       
    65 #endif
       
    66         vboxLayout->setContentsMargins(1, 1, 1, 1);
       
    67         vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
       
    68         spacerItem = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
       
    69 
       
    70         vboxLayout->addItem(spacerItem);
       
    71 
       
    72         hboxLayout1 = new QHBoxLayout();
       
    73 #ifndef Q_OS_MAC
       
    74         hboxLayout1->setSpacing(6);
       
    75 #endif
       
    76         hboxLayout1->setContentsMargins(1, 1, 1, 1);
       
    77         hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
       
    78         label = new QLabel(WorldTimeForm);
       
    79         label->setObjectName(QString::fromUtf8("label"));
       
    80 
       
    81         hboxLayout1->addWidget(label);
       
    82 
       
    83         timeEdit = new QTimeEdit(WorldTimeForm);
       
    84         timeEdit->setObjectName(QString::fromUtf8("timeEdit"));
       
    85         timeEdit->setReadOnly(true);
       
    86 
       
    87         hboxLayout1->addWidget(timeEdit);
       
    88 
       
    89 
       
    90         vboxLayout->addLayout(hboxLayout1);
       
    91 
       
    92         hboxLayout2 = new QHBoxLayout();
       
    93 #ifndef Q_OS_MAC
       
    94         hboxLayout2->setSpacing(6);
       
    95 #endif
       
    96         hboxLayout2->setContentsMargins(1, 1, 1, 1);
       
    97         hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
       
    98         label_2 = new QLabel(WorldTimeForm);
       
    99         label_2->setObjectName(QString::fromUtf8("label_2"));
       
   100 
       
   101         hboxLayout2->addWidget(label_2);
       
   102 
       
   103         spinBox = new QSpinBox(WorldTimeForm);
       
   104         spinBox->setObjectName(QString::fromUtf8("spinBox"));
       
   105         spinBox->setMaximum(12);
       
   106         spinBox->setMinimum(-12);
       
   107 
       
   108         hboxLayout2->addWidget(spinBox);
       
   109 
       
   110 
       
   111         vboxLayout->addLayout(hboxLayout2);
       
   112 
       
   113         spacerItem1 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
       
   114 
       
   115         vboxLayout->addItem(spacerItem1);
       
   116 
       
   117 
       
   118         hboxLayout->addLayout(vboxLayout);
       
   119 
       
   120 
       
   121         retranslateUi(WorldTimeForm);
       
   122         QObject::connect(spinBox, SIGNAL(valueChanged(int)), worldTimeClock, SLOT(setTimeZone(int)));
       
   123         QObject::connect(worldTimeClock, SIGNAL(updated(QTime)), timeEdit, SLOT(setTime(QTime)));
       
   124 
       
   125         QMetaObject::connectSlotsByName(WorldTimeForm);
       
   126     } // setupUi
       
   127 
       
   128     void retranslateUi(QWidget *WorldTimeForm)
       
   129     {
       
   130         WorldTimeForm->setWindowTitle(QApplication::translate("WorldTimeForm", "World Time Clock", 0, QApplication::UnicodeUTF8));
       
   131         label->setText(QApplication::translate("WorldTimeForm", "Current time:", 0, QApplication::UnicodeUTF8));
       
   132         label_2->setText(QApplication::translate("WorldTimeForm", "Set time zone:", 0, QApplication::UnicodeUTF8));
       
   133     } // retranslateUi
       
   134 
       
   135 };
       
   136 
       
   137 namespace Ui {
       
   138     class WorldTimeForm: public Ui_WorldTimeForm {};
       
   139 } // namespace Ui
       
   140 
       
   141 QT_END_NAMESPACE
       
   142 
       
   143 #endif // FORM_H