?? ui_setlocaltime.h
字號:
#ifndef UI_SETLOCALTIME_H#define UI_SETLOCALTIME_H#include <QtCore/QVariant>#include <QtGui/QAction>#include <QtGui/QApplication>#include <QtGui/QButtonGroup>#include <QtGui/QComboBox>#include <QtGui/QDialog>#include <QtGui/QGroupBox>#include <QtGui/QLabel>#include <QtGui/QPushButton>#include <QtGui/QTimeEdit>class Ui_SetTimeDialog{public: QGroupBox *gbSetTime; QLabel *label; QPushButton *btCancel; QPushButton *btSave; QComboBox *cbOffset; QTimeEdit *teOffset; void setupUi(QDialog *SetTimeDialog) { SetTimeDialog->setObjectName(QString::fromUtf8("SetTimeDialog")); SetTimeDialog->resize(QSize(273, 130).expandedTo(SetTimeDialog->minimumSizeHint())); gbSetTime = new QGroupBox(SetTimeDialog); gbSetTime->setObjectName(QString::fromUtf8("gbSetTime")); gbSetTime->setGeometry(QRect(10, 10, 251, 111)); QFont font; font.setFamily(QString::fromUtf8("MS Shell Dlg 2")); font.setPointSize(10); font.setBold(true); font.setItalic(false); font.setUnderline(false); font.setWeight(75); font.setStrikeOut(false); gbSetTime->setFont(font); label = new QLabel(gbSetTime); label->setObjectName(QString::fromUtf8("label")); label->setGeometry(QRect(30, 29, 56, 28)); btCancel = new QPushButton(gbSetTime); btCancel->setObjectName(QString::fromUtf8("btCancel")); btCancel->setGeometry(QRect(160, 72, 77, 26)); btSave = new QPushButton(gbSetTime); btSave->setObjectName(QString::fromUtf8("btSave")); btSave->setGeometry(QRect(64, 72, 77, 26)); cbOffset = new QComboBox(gbSetTime); cbOffset->setObjectName(QString::fromUtf8("cbOffset")); cbOffset->setGeometry(QRect(102, 30, 36, 25)); cbOffset->setMaxVisibleItems(2); cbOffset->setMaxCount(2); teOffset = new QTimeEdit(gbSetTime); teOffset->setObjectName(QString::fromUtf8("teOffset")); teOffset->setGeometry(QRect(156, 30, 84, 25)); teOffset->setTime(QTime(0, 0, 0)); QWidget::setTabOrder(cbOffset, teOffset); QWidget::setTabOrder(teOffset, btSave); QWidget::setTabOrder(btSave, btCancel); retranslateUi(SetTimeDialog); QObject::connect(btSave, SIGNAL(clicked()), SetTimeDialog, SLOT(accept())); QObject::connect(btCancel, SIGNAL(clicked()), SetTimeDialog, SLOT(reject())); QMetaObject::connectSlotsByName(SetTimeDialog); } // setupUi void retranslateUi(QDialog *SetTimeDialog) { SetTimeDialog->setWindowTitle(QApplication::translate("SetTimeDialog", "Configuration", 0, QApplication::UnicodeUTF8)); gbSetTime->setTitle(QApplication::translate("SetTimeDialog", "Set Europ Time", 0, QApplication::UnicodeUTF8)); label->setText(QApplication::translate("SetTimeDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /></head><body style=\" white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;\"><p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\"><span style=\" font-size:10pt; font-weight:600;\">PC time</span></p></body></html>", 0, QApplication::UnicodeUTF8)); btCancel->setText(QApplication::translate("SetTimeDialog", "Cancel", 0, QApplication::UnicodeUTF8)); btSave->setText(QApplication::translate("SetTimeDialog", "Save", 0, QApplication::UnicodeUTF8)); cbOffset->clear(); cbOffset->addItem(QApplication::translate("SetTimeDialog", "+", 0, QApplication::UnicodeUTF8)); cbOffset->addItem(QApplication::translate("SetTimeDialog", "-", 0, QApplication::UnicodeUTF8)); teOffset->setDisplayFormat(QApplication::translate("SetTimeDialog", "hh:mm:ss", 0, QApplication::UnicodeUTF8)); Q_UNUSED(SetTimeDialog); } // retranslateUi};namespace Ui { class SetTimeDialog: public Ui_SetTimeDialog {};} // namespace Ui#endif // UI_SETLOCALTIME_H
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -