📄 ui_worldtimer.h
字号:
#ifndef UI_WORLDTIMER_H#define UI_WORLDTIMER_H#include <QtCore/QVariant>#include <QtGui/QAction>#include <QtGui/QApplication>#include <QtGui/QButtonGroup>#include <QtGui/QCheckBox>#include <QtGui/QDialog>#include <QtGui/QFrame>#include <QtGui/QGroupBox>#include <QtGui/QLabel>#include <QtGui/QPushButton>#include <QtGui/QSlider>#include <QtGui/QTimeEdit>class Ui_WorldTimer{public: QGroupBox *groupBox_3; QCheckBox *cbSychron; QSlider *slideTimerStopWatch; QLabel *label_5; QFrame *frameTimer; QLabel *lbIndicateTimer; QGroupBox *groupBox; QSlider *sliderWorldTimer; QLabel *lbShanghai; QLabel *lbEurope; QLabel *lbUsa; QTimeEdit *timeEditConfigue; QPushButton *btSetLocalTime; void setupUi(QDialog *WorldTimer) { WorldTimer->setObjectName(QString::fromUtf8("WorldTimer")); WorldTimer->resize(QSize(400, 304).expandedTo(WorldTimer->minimumSizeHint())); groupBox_3 = new QGroupBox(WorldTimer); groupBox_3->setObjectName(QString::fromUtf8("groupBox_3")); groupBox_3->setGeometry(QRect(300, 10, 81, 151)); cbSychron = new QCheckBox(groupBox_3); cbSychron->setObjectName(QString::fromUtf8("cbSychron")); cbSychron->setGeometry(QRect(10, 130, 70, 19)); QFont font; font.setFamily(QString::fromUtf8("MS Shell Dlg 2")); font.setPointSize(8); font.setBold(true); font.setItalic(false); font.setUnderline(false); font.setWeight(75); font.setStrikeOut(false); cbSychron->setFont(font); slideTimerStopWatch = new QSlider(groupBox_3); slideTimerStopWatch->setObjectName(QString::fromUtf8("slideTimerStopWatch")); slideTimerStopWatch->setGeometry(QRect(30, 40, 20, 81)); slideTimerStopWatch->setMaximum(1); slideTimerStopWatch->setValue(1); slideTimerStopWatch->setOrientation(Qt::Vertical); label_5 = new QLabel(groupBox_3); label_5->setObjectName(QString::fromUtf8("label_5")); label_5->setGeometry(QRect(10, 10, 62, 21)); QFont font1; font1.setFamily(QString::fromUtf8("MS Shell Dlg 2")); font1.setPointSize(8); font1.setBold(true); font1.setItalic(false); font1.setUnderline(false); font1.setWeight(75); font1.setStrikeOut(false); label_5->setFont(font1); frameTimer = new QFrame(WorldTimer); frameTimer->setObjectName(QString::fromUtf8("frameTimer")); frameTimer->setGeometry(QRect(50, 10, 151, 151)); frameTimer->setFrameShape(QFrame::NoFrame); frameTimer->setFrameShadow(QFrame::Plain); lbIndicateTimer = new QLabel(frameTimer); lbIndicateTimer->setObjectName(QString::fromUtf8("lbIndicateTimer")); lbIndicateTimer->setGeometry(QRect(70, 110, 20, 21)); QFont font2; font2.setFamily(QString::fromUtf8("MS Shell Dlg 2")); font2.setPointSize(8); font2.setBold(true); font2.setItalic(false); font2.setUnderline(false); font2.setWeight(75); font2.setStrikeOut(false); lbIndicateTimer->setFont(font2); groupBox = new QGroupBox(WorldTimer); groupBox->setObjectName(QString::fromUtf8("groupBox")); groupBox->setGeometry(QRect(10, 170, 381, 131)); QFont font3; font3.setFamily(QString::fromUtf8("MS Shell Dlg 2")); font3.setPointSize(10); font3.setBold(true); font3.setItalic(false); font3.setUnderline(false); font3.setWeight(75); font3.setStrikeOut(false); groupBox->setFont(font3); sliderWorldTimer = new QSlider(groupBox); sliderWorldTimer->setObjectName(QString::fromUtf8("sliderWorldTimer")); sliderWorldTimer->setGeometry(QRect(30, 60, 301, 16)); sliderWorldTimer->setAutoFillBackground(true); sliderWorldTimer->setMaximum(2); sliderWorldTimer->setValue(1); sliderWorldTimer->setSliderPosition(1); sliderWorldTimer->setTracking(true); sliderWorldTimer->setOrientation(Qt::Horizontal); sliderWorldTimer->setInvertedAppearance(false); sliderWorldTimer->setInvertedControls(false); sliderWorldTimer->setTickPosition(QSlider::NoTicks); sliderWorldTimer->setTickInterval(0); lbShanghai = new QLabel(groupBox); lbShanghai->setObjectName(QString::fromUtf8("lbShanghai")); lbShanghai->setGeometry(QRect(20, 30, 61, 20)); QFont font4; font4.setFamily(QString::fromUtf8("MS Shell Dlg 2")); font4.setPointSize(12); font4.setBold(true); font4.setItalic(false); font4.setUnderline(false); font4.setWeight(75); font4.setStrikeOut(false); lbShanghai->setFont(font4); lbEurope = new QLabel(groupBox); lbEurope->setObjectName(QString::fromUtf8("lbEurope")); lbEurope->setGeometry(QRect(160, 30, 71, 20)); QFont font5; font5.setFamily(QString::fromUtf8("MS Shell Dlg 2")); font5.setPointSize(12); font5.setBold(true); font5.setItalic(false); font5.setUnderline(false); font5.setWeight(75); font5.setStrikeOut(false); lbEurope->setFont(font5); lbUsa = new QLabel(groupBox); lbUsa->setObjectName(QString::fromUtf8("lbUsa")); lbUsa->setGeometry(QRect(320, 30, 41, 20)); QFont font6; font6.setFamily(QString::fromUtf8("MS Shell Dlg 2")); font6.setPointSize(12); font6.setBold(true); font6.setItalic(false); font6.setUnderline(false); font6.setWeight(75); font6.setStrikeOut(false); lbUsa->setFont(font6); timeEditConfigue = new QTimeEdit(groupBox); timeEditConfigue->setObjectName(QString::fromUtf8("timeEditConfigue")); timeEditConfigue->setGeometry(QRect(30, 90, 117, 25)); btSetLocalTime = new QPushButton(groupBox); btSetLocalTime->setObjectName(QString::fromUtf8("btSetLocalTime")); btSetLocalTime->setGeometry(QRect(220, 90, 111, 24)); QWidget::setTabOrder(slideTimerStopWatch, sliderWorldTimer); QWidget::setTabOrder(sliderWorldTimer, timeEditConfigue); retranslateUi(WorldTimer); QMetaObject::connectSlotsByName(WorldTimer); } // setupUi void retranslateUi(QDialog *WorldTimer) { WorldTimer->setWindowTitle(QApplication::translate("WorldTimer", "World Timer and Stopwatch", 0, QApplication::UnicodeUTF8)); WorldTimer->setWhatsThis(QApplication::translate("WorldTimer", "World Timer and Stop Watch-- version 1.0028", "hello", QApplication::UnicodeUTF8)); groupBox_3->setTitle(QApplication::translate("WorldTimer", "", 0, QApplication::UnicodeUTF8)); cbSychron->setText(QApplication::translate("WorldTimer", "Synchro", 0, QApplication::UnicodeUTF8)); slideTimerStopWatch->setToolTip(QApplication::translate("WorldTimer", "Push, get a Stopwatch", 0, QApplication::UnicodeUTF8)); label_5->setText(QApplication::translate("WorldTimer", "StopWatch", 0, QApplication::UnicodeUTF8)); lbIndicateTimer->setText(QApplication::translate("WorldTimer", "AM", 0, QApplication::UnicodeUTF8)); groupBox->setTitle(QApplication::translate("WorldTimer", "Control Panel", 0, QApplication::UnicodeUTF8)); sliderWorldTimer->setToolTip(QApplication::translate("WorldTimer", "change timer zone", 0, QApplication::UnicodeUTF8)); lbShanghai->setToolTip(QApplication::translate("WorldTimer", "ShangHai,BeiJing", 0, QApplication::UnicodeUTF8)); lbShanghai->setText(QApplication::translate("WorldTimer", "CHINA", 0, QApplication::UnicodeUTF8)); lbEurope->setToolTip(QApplication::translate("WorldTimer", "Berlin,Paris", 0, QApplication::UnicodeUTF8)); lbEurope->setText(QApplication::translate("WorldTimer", "EUROPE", 0, QApplication::UnicodeUTF8)); lbUsa->setToolTip(QApplication::translate("WorldTimer", "Not define, Welcome To:weichun.yang@siemens.com", 0, QApplication::UnicodeUTF8)); lbUsa->setText(QApplication::translate("WorldTimer", "USA", 0, QApplication::UnicodeUTF8)); btSetLocalTime->setToolTip(QApplication::translate("WorldTimer", "set local timer of China, Europe and Usa", 0, QApplication::UnicodeUTF8)); btSetLocalTime->setText(QApplication::translate("WorldTimer", "Set World Time", 0, QApplication::UnicodeUTF8)); Q_UNUSED(WorldTimer); } // retranslateUi};namespace Ui { class WorldTimer: public Ui_WorldTimer {};} // namespace Ui#endif // UI_WORLDTIMER_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -