241 lines
14 KiB
C++
241 lines
14 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'mainwindow.ui'
|
|
**
|
|
** Created: Sat 25. Aug 20:45:30 2012
|
|
** by: Qt User Interface Compiler version 4.8.1
|
|
**
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
********************************************************************************/
|
|
|
|
#ifndef UI_MAINWINDOW_H
|
|
#define UI_MAINWINDOW_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtGui/QAction>
|
|
#include <QtGui/QApplication>
|
|
#include <QtGui/QButtonGroup>
|
|
#include <QtGui/QComboBox>
|
|
#include <QtGui/QDoubleSpinBox>
|
|
#include <QtGui/QHeaderView>
|
|
#include <QtGui/QLabel>
|
|
#include <QtGui/QLineEdit>
|
|
#include <QtGui/QMainWindow>
|
|
#include <QtGui/QMenuBar>
|
|
#include <QtGui/QPushButton>
|
|
#include <QtGui/QSpinBox>
|
|
#include <QtGui/QStatusBar>
|
|
#include <QtGui/QTextEdit>
|
|
#include <QtGui/QToolBar>
|
|
#include <QtGui/QWidget>
|
|
#include <QtWebKit/QWebView>
|
|
#include "custombutton.h"
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class Ui_MainWindow
|
|
{
|
|
public:
|
|
QWidget *centralWidget;
|
|
TCustomButton *ConnectButton;
|
|
QLineEdit *AddressField;
|
|
QLineEdit *LastNameField;
|
|
QLabel *label;
|
|
QLabel *label_2;
|
|
QLineEdit *FirstNameField;
|
|
QLabel *label_3;
|
|
QLineEdit *MiddleNameField;
|
|
QLabel *label_4;
|
|
QLineEdit *PhoneNumberField;
|
|
QSpinBox *UikSpinBox;
|
|
QLabel *label_5;
|
|
QComboBox *StatusComboBox;
|
|
QLabel *label_6;
|
|
TCustomButton *UpdateDataButton;
|
|
QWebView *webView;
|
|
QDoubleSpinBox *PosXSpinBox;
|
|
QDoubleSpinBox *PosYSpinBox;
|
|
QLabel *label_7;
|
|
QLabel *label_8;
|
|
QComboBox *MapStateComboBox;
|
|
QPushButton *AlarmButton;
|
|
QLineEdit *PortField;
|
|
TCustomButton *DisconnectButton;
|
|
TCustomButton *MapTypeButton;
|
|
QComboBox *MapTypeComboBox;
|
|
QTextEdit *ChatList;
|
|
QLineEdit *ChatTextLine;
|
|
TCustomButton *ChatSendButton;
|
|
QMenuBar *menuBar;
|
|
QToolBar *mainToolBar;
|
|
QStatusBar *statusBar;
|
|
|
|
void setupUi(QMainWindow *MainWindow)
|
|
{
|
|
if (MainWindow->objectName().isEmpty())
|
|
MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
|
|
MainWindow->resize(646, 543);
|
|
centralWidget = new QWidget(MainWindow);
|
|
centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
|
|
ConnectButton = new TCustomButton(centralWidget);
|
|
ConnectButton->setObjectName(QString::fromUtf8("ConnectButton"));
|
|
ConnectButton->setGeometry(QRect(10, 30, 91, 23));
|
|
AddressField = new QLineEdit(centralWidget);
|
|
AddressField->setObjectName(QString::fromUtf8("AddressField"));
|
|
AddressField->setGeometry(QRect(10, 10, 111, 20));
|
|
LastNameField = new QLineEdit(centralWidget);
|
|
LastNameField->setObjectName(QString::fromUtf8("LastNameField"));
|
|
LastNameField->setGeometry(QRect(10, 110, 113, 20));
|
|
label = new QLabel(centralWidget);
|
|
label->setObjectName(QString::fromUtf8("label"));
|
|
label->setGeometry(QRect(10, 90, 46, 13));
|
|
label_2 = new QLabel(centralWidget);
|
|
label_2->setObjectName(QString::fromUtf8("label_2"));
|
|
label_2->setGeometry(QRect(10, 140, 46, 13));
|
|
FirstNameField = new QLineEdit(centralWidget);
|
|
FirstNameField->setObjectName(QString::fromUtf8("FirstNameField"));
|
|
FirstNameField->setGeometry(QRect(10, 160, 113, 20));
|
|
label_3 = new QLabel(centralWidget);
|
|
label_3->setObjectName(QString::fromUtf8("label_3"));
|
|
label_3->setGeometry(QRect(10, 190, 71, 16));
|
|
MiddleNameField = new QLineEdit(centralWidget);
|
|
MiddleNameField->setObjectName(QString::fromUtf8("MiddleNameField"));
|
|
MiddleNameField->setGeometry(QRect(10, 210, 113, 20));
|
|
label_4 = new QLabel(centralWidget);
|
|
label_4->setObjectName(QString::fromUtf8("label_4"));
|
|
label_4->setGeometry(QRect(10, 240, 121, 16));
|
|
PhoneNumberField = new QLineEdit(centralWidget);
|
|
PhoneNumberField->setObjectName(QString::fromUtf8("PhoneNumberField"));
|
|
PhoneNumberField->setGeometry(QRect(10, 260, 113, 20));
|
|
UikSpinBox = new QSpinBox(centralWidget);
|
|
UikSpinBox->setObjectName(QString::fromUtf8("UikSpinBox"));
|
|
UikSpinBox->setGeometry(QRect(10, 310, 111, 22));
|
|
label_5 = new QLabel(centralWidget);
|
|
label_5->setObjectName(QString::fromUtf8("label_5"));
|
|
label_5->setGeometry(QRect(10, 290, 121, 16));
|
|
StatusComboBox = new QComboBox(centralWidget);
|
|
StatusComboBox->setObjectName(QString::fromUtf8("StatusComboBox"));
|
|
StatusComboBox->setGeometry(QRect(10, 360, 131, 22));
|
|
label_6 = new QLabel(centralWidget);
|
|
label_6->setObjectName(QString::fromUtf8("label_6"));
|
|
label_6->setGeometry(QRect(10, 340, 121, 16));
|
|
UpdateDataButton = new TCustomButton(centralWidget);
|
|
UpdateDataButton->setObjectName(QString::fromUtf8("UpdateDataButton"));
|
|
UpdateDataButton->setGeometry(QRect(10, 390, 131, 23));
|
|
webView = new QWebView(centralWidget);
|
|
webView->setObjectName(QString::fromUtf8("webView"));
|
|
webView->setGeometry(QRect(220, 10, 401, 251));
|
|
webView->setUrl(QUrl(QString::fromUtf8("about:blank")));
|
|
PosXSpinBox = new QDoubleSpinBox(centralWidget);
|
|
PosXSpinBox->setObjectName(QString::fromUtf8("PosXSpinBox"));
|
|
PosXSpinBox->setGeometry(QRect(262, 270, 81, 22));
|
|
PosXSpinBox->setDecimals(6);
|
|
PosXSpinBox->setSingleStep(0.001);
|
|
PosXSpinBox->setValue(37.4432);
|
|
PosYSpinBox = new QDoubleSpinBox(centralWidget);
|
|
PosYSpinBox->setObjectName(QString::fromUtf8("PosYSpinBox"));
|
|
PosYSpinBox->setGeometry(QRect(372, 270, 81, 22));
|
|
PosYSpinBox->setDecimals(6);
|
|
PosYSpinBox->setSingleStep(0.01);
|
|
PosYSpinBox->setValue(55.8889);
|
|
label_7 = new QLabel(centralWidget);
|
|
label_7->setObjectName(QString::fromUtf8("label_7"));
|
|
label_7->setGeometry(QRect(242, 270, 16, 16));
|
|
label_8 = new QLabel(centralWidget);
|
|
label_8->setObjectName(QString::fromUtf8("label_8"));
|
|
label_8->setGeometry(QRect(352, 270, 16, 16));
|
|
MapStateComboBox = new QComboBox(centralWidget);
|
|
MapStateComboBox->setObjectName(QString::fromUtf8("MapStateComboBox"));
|
|
MapStateComboBox->setGeometry(QRect(462, 270, 151, 22));
|
|
AlarmButton = new QPushButton(centralWidget);
|
|
AlarmButton->setObjectName(QString::fromUtf8("AlarmButton"));
|
|
AlarmButton->setGeometry(QRect(432, 310, 181, 23));
|
|
PortField = new QLineEdit(centralWidget);
|
|
PortField->setObjectName(QString::fromUtf8("PortField"));
|
|
PortField->setGeometry(QRect(130, 10, 61, 20));
|
|
DisconnectButton = new TCustomButton(centralWidget);
|
|
DisconnectButton->setObjectName(QString::fromUtf8("DisconnectButton"));
|
|
DisconnectButton->setGeometry(QRect(110, 30, 75, 23));
|
|
MapTypeButton = new TCustomButton(centralWidget);
|
|
MapTypeButton->setObjectName(QString::fromUtf8("MapTypeButton"));
|
|
MapTypeButton->setGeometry(QRect(332, 300, 75, 23));
|
|
MapTypeComboBox = new QComboBox(centralWidget);
|
|
MapTypeComboBox->setObjectName(QString::fromUtf8("MapTypeComboBox"));
|
|
MapTypeComboBox->setGeometry(QRect(230, 300, 91, 22));
|
|
ChatList = new QTextEdit(centralWidget);
|
|
ChatList->setObjectName(QString::fromUtf8("ChatList"));
|
|
ChatList->setGeometry(QRect(230, 340, 381, 111));
|
|
ChatList->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
|
|
ChatList->setReadOnly(true);
|
|
ChatTextLine = new QLineEdit(centralWidget);
|
|
ChatTextLine->setObjectName(QString::fromUtf8("ChatTextLine"));
|
|
ChatTextLine->setGeometry(QRect(230, 460, 301, 20));
|
|
ChatSendButton = new TCustomButton(centralWidget);
|
|
ChatSendButton->setObjectName(QString::fromUtf8("ChatSendButton"));
|
|
ChatSendButton->setGeometry(QRect(540, 460, 75, 23));
|
|
MainWindow->setCentralWidget(centralWidget);
|
|
menuBar = new QMenuBar(MainWindow);
|
|
menuBar->setObjectName(QString::fromUtf8("menuBar"));
|
|
menuBar->setGeometry(QRect(0, 0, 646, 21));
|
|
MainWindow->setMenuBar(menuBar);
|
|
mainToolBar = new QToolBar(MainWindow);
|
|
mainToolBar->setObjectName(QString::fromUtf8("mainToolBar"));
|
|
MainWindow->addToolBar(Qt::TopToolBarArea, mainToolBar);
|
|
statusBar = new QStatusBar(MainWindow);
|
|
statusBar->setObjectName(QString::fromUtf8("statusBar"));
|
|
MainWindow->setStatusBar(statusBar);
|
|
|
|
retranslateUi(MainWindow);
|
|
|
|
QMetaObject::connectSlotsByName(MainWindow);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QMainWindow *MainWindow)
|
|
{
|
|
MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", 0, QApplication::UnicodeUTF8));
|
|
ConnectButton->setText(QApplication::translate("MainWindow", "\320\237\320\276\320\264\320\272\320\273\321\216\321\207\320\270\321\202\321\214\321\201\321\217", 0, QApplication::UnicodeUTF8));
|
|
AddressField->setText(QApplication::translate("MainWindow", "127.0.0.1", 0, QApplication::UnicodeUTF8));
|
|
LastNameField->setText(QApplication::translate("MainWindow", "\320\230\320\262\320\260\320\275\320\276\320\262", 0, QApplication::UnicodeUTF8));
|
|
label->setText(QApplication::translate("MainWindow", "\320\244\320\260\320\274\320\270\320\273\320\270\321\217:", 0, QApplication::UnicodeUTF8));
|
|
label_2->setText(QApplication::translate("MainWindow", "\320\230\320\274\321\217:", 0, QApplication::UnicodeUTF8));
|
|
FirstNameField->setText(QApplication::translate("MainWindow", "\320\230\320\262\320\260\320\275", 0, QApplication::UnicodeUTF8));
|
|
label_3->setText(QApplication::translate("MainWindow", "\320\236\321\202\321\207\320\265\321\201\321\202\320\262\320\276:", 0, QApplication::UnicodeUTF8));
|
|
MiddleNameField->setText(QApplication::translate("MainWindow", "\320\230\320\262\320\260\320\275\320\276\320\262\320\270\321\207", 0, QApplication::UnicodeUTF8));
|
|
label_4->setText(QApplication::translate("MainWindow", "\320\232\320\276\320\275\321\202\320\260\320\272\321\202\320\275\321\213\320\271 \321\202\320\265\320\273\320\265\321\204\320\276\320\275:", 0, QApplication::UnicodeUTF8));
|
|
PhoneNumberField->setText(QApplication::translate("MainWindow", "1111", 0, QApplication::UnicodeUTF8));
|
|
label_5->setText(QApplication::translate("MainWindow", "\320\235\320\276\320\274\320\265\321\200 \320\243\320\230\320\232:", 0, QApplication::UnicodeUTF8));
|
|
StatusComboBox->clear();
|
|
StatusComboBox->insertItems(0, QStringList()
|
|
<< QApplication::translate("MainWindow", "\320\235\320\260\320\261\320\273\321\216\320\264\320\260\321\202\320\265\320\273\321\214", 0, QApplication::UnicodeUTF8)
|
|
<< QApplication::translate("MainWindow", "\320\234\320\276\320\261\320\270\320\273\321\214\320\275\320\260\321\217 \320\263\321\200\321\203\320\277\320\277\320\260", 0, QApplication::UnicodeUTF8)
|
|
);
|
|
label_6->setText(QApplication::translate("MainWindow", "\320\241\321\202\320\260\321\202\321\203\321\201:", 0, QApplication::UnicodeUTF8));
|
|
UpdateDataButton->setText(QApplication::translate("MainWindow", "\320\236\320\261\320\275\320\276\320\262\320\270\321\202\321\214 \320\270\320\275\321\204\320\276\321\200\320\274\320\260\321\206\320\270\321\216", 0, QApplication::UnicodeUTF8));
|
|
label_7->setText(QApplication::translate("MainWindow", "X:", 0, QApplication::UnicodeUTF8));
|
|
label_8->setText(QApplication::translate("MainWindow", "Y:", 0, QApplication::UnicodeUTF8));
|
|
MapStateComboBox->clear();
|
|
MapStateComboBox->insertItems(0, QStringList()
|
|
<< QApplication::translate("MainWindow", "\320\241\320\276\321\201\321\202\320\276\321\217\320\275\320\270\320\265 \320\275\320\276\321\200\320\274", 0, QApplication::UnicodeUTF8)
|
|
<< QApplication::translate("MainWindow", "\320\241\320\276\321\201\321\202\320\276\321\217\320\275\320\270\320\265 \321\202\321\200\320\265\320\262\320\276\320\263\320\260", 0, QApplication::UnicodeUTF8)
|
|
);
|
|
AlarmButton->setText(QApplication::translate("MainWindow", "\320\237\320\276\321\201\320\273\320\260\321\202\321\214 \321\201\320\270\320\263\320\275\320\260\320\273 \321\202\321\200\320\265\320\262\320\276\320\263\320\270", 0, QApplication::UnicodeUTF8));
|
|
PortField->setText(QApplication::translate("MainWindow", "1984", 0, QApplication::UnicodeUTF8));
|
|
DisconnectButton->setText(QApplication::translate("MainWindow", "PushButton", 0, QApplication::UnicodeUTF8));
|
|
MapTypeButton->setText(QApplication::translate("MainWindow", "\320\222\321\213\320\261\321\200\320\260\321\202\321\214", 0, QApplication::UnicodeUTF8));
|
|
MapTypeComboBox->clear();
|
|
MapTypeComboBox->insertItems(0, QStringList()
|
|
<< QApplication::translate("MainWindow", "\320\236\320\261\321\211\320\260\321\217 \320\272\320\260\321\200\321\202\320\260", 0, QApplication::UnicodeUTF8)
|
|
<< QApplication::translate("MainWindow", "\320\232\320\260\321\200\321\202\320\260 \321\202\321\200\320\265\320\262\320\276\320\263\320\270", 0, QApplication::UnicodeUTF8)
|
|
);
|
|
ChatSendButton->setText(QApplication::translate("MainWindow", "\320\236\321\202\320\277\321\200\320\260\320\262\320\270\321\202\321\214", 0, QApplication::UnicodeUTF8));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class MainWindow: public Ui_MainWindow {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // UI_MAINWINDOW_H
|