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