-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui_dialog.h
155 lines (143 loc) · 7.35 KB
/
ui_dialog.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
/********************************************************************************
** Form generated from reading UI file 'dialog.ui'
**
** Created: Fri Jun 29 18:07:22 2012
** by: Qt User Interface Compiler version 4.7.4
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef UI_DIALOG_H
#define UI_DIALOG_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QDialog>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QListView>
#include <QtGui/QPlainTextEdit>
#include <QtGui/QPushButton>
QT_BEGIN_NAMESPACE
class Ui_Dialog
{
public:
QListView *listView;
QLineEdit *lineEdit;
QPushButton *pushButton;
QPlainTextEdit *plainTextEdit;
QPushButton *pushButton_con;
QLineEdit *lineEdit_subnet;
QLabel *label;
QCheckBox *checkBox_nobroadcast;
QLineEdit *lineEdit_netmask;
QLabel *label_2;
QLineEdit *lineEdit_nickname;
QPushButton *pushButton_discon;
QLabel *label_3;
void setupUi(QDialog *Dialog)
{
if (Dialog->objectName().isEmpty())
Dialog->setObjectName(QString::fromUtf8("Dialog"));
Dialog->setWindowModality(Qt::ApplicationModal);
Dialog->resize(499, 358);
QSizePolicy sizePolicy(QSizePolicy::Ignored, QSizePolicy::Ignored);
sizePolicy.setHorizontalStretch(0);
sizePolicy.setVerticalStretch(0);
sizePolicy.setHeightForWidth(Dialog->sizePolicy().hasHeightForWidth());
Dialog->setSizePolicy(sizePolicy);
Dialog->setMinimumSize(QSize(499, 358));
Dialog->setMaximumSize(QSize(499, 358));
Dialog->setSizeGripEnabled(false);
Dialog->setModal(true);
listView = new QListView(Dialog);
listView->setObjectName(QString::fromUtf8("listView"));
listView->setGeometry(QRect(10, 10, 101, 251));
listView->setEditTriggers(QAbstractItemView::NoEditTriggers);
lineEdit = new QLineEdit(Dialog);
lineEdit->setObjectName(QString::fromUtf8("lineEdit"));
lineEdit->setGeometry(QRect(10, 270, 381, 21));
pushButton = new QPushButton(Dialog);
pushButton->setObjectName(QString::fromUtf8("pushButton"));
pushButton->setGeometry(QRect(400, 270, 75, 23));
pushButton->setAutoDefault(false);
pushButton->setDefault(true);
plainTextEdit = new QPlainTextEdit(Dialog);
plainTextEdit->setObjectName(QString::fromUtf8("plainTextEdit"));
plainTextEdit->setGeometry(QRect(120, 10, 351, 251));
plainTextEdit->setFocusPolicy(Qt::NoFocus);
plainTextEdit->setReadOnly(true);
plainTextEdit->setBackgroundVisible(false);
pushButton_con = new QPushButton(Dialog);
pushButton_con->setObjectName(QString::fromUtf8("pushButton_con"));
pushButton_con->setGeometry(QRect(320, 330, 71, 23));
pushButton_con->setAutoDefault(false);
lineEdit_subnet = new QLineEdit(Dialog);
lineEdit_subnet->setObjectName(QString::fromUtf8("lineEdit_subnet"));
lineEdit_subnet->setGeometry(QRect(230, 300, 101, 21));
QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Fixed);
sizePolicy1.setHorizontalStretch(0);
sizePolicy1.setVerticalStretch(0);
sizePolicy1.setHeightForWidth(lineEdit_subnet->sizePolicy().hasHeightForWidth());
lineEdit_subnet->setSizePolicy(sizePolicy1);
label = new QLabel(Dialog);
label->setObjectName(QString::fromUtf8("label"));
label->setGeometry(QRect(190, 300, 41, 20));
checkBox_nobroadcast = new QCheckBox(Dialog);
checkBox_nobroadcast->setObjectName(QString::fromUtf8("checkBox_nobroadcast"));
checkBox_nobroadcast->setGeometry(QRect(10, 300, 161, 17));
lineEdit_netmask = new QLineEdit(Dialog);
lineEdit_netmask->setObjectName(QString::fromUtf8("lineEdit_netmask"));
lineEdit_netmask->setGeometry(QRect(350, 300, 31, 20));
sizePolicy1.setHeightForWidth(lineEdit_netmask->sizePolicy().hasHeightForWidth());
lineEdit_netmask->setSizePolicy(sizePolicy1);
lineEdit_netmask->setAcceptDrops(true);
label_2 = new QLabel(Dialog);
label_2->setObjectName(QString::fromUtf8("label_2"));
label_2->setGeometry(QRect(340, 302, 16, 16));
lineEdit_nickname = new QLineEdit(Dialog);
lineEdit_nickname->setObjectName(QString::fromUtf8("lineEdit_nickname"));
lineEdit_nickname->setGeometry(QRect(70, 330, 113, 20));
pushButton_discon = new QPushButton(Dialog);
pushButton_discon->setObjectName(QString::fromUtf8("pushButton_discon"));
pushButton_discon->setGeometry(QRect(400, 330, 71, 23));
label_3 = new QLabel(Dialog);
label_3->setObjectName(QString::fromUtf8("label_3"));
label_3->setGeometry(QRect(10, 330, 51, 20));
QWidget::setTabOrder(lineEdit_nickname, lineEdit_subnet);
QWidget::setTabOrder(lineEdit_subnet, lineEdit_netmask);
QWidget::setTabOrder(lineEdit_netmask, pushButton_con);
QWidget::setTabOrder(pushButton_con, lineEdit);
QWidget::setTabOrder(lineEdit, pushButton);
QWidget::setTabOrder(pushButton, checkBox_nobroadcast);
QWidget::setTabOrder(checkBox_nobroadcast, listView);
QWidget::setTabOrder(listView, plainTextEdit);
QWidget::setTabOrder(plainTextEdit, pushButton_discon);
retranslateUi(Dialog);
QObject::connect(pushButton, SIGNAL(pressed()), Dialog, SLOT(OnSend()));
QObject::connect(pushButton_con, SIGNAL(pressed()), Dialog, SLOT(OnConnect()));
QObject::connect(pushButton_discon, SIGNAL(pressed()), Dialog, SLOT(OnDisconnect()));
QMetaObject::connectSlotsByName(Dialog);
} // setupUi
void retranslateUi(QDialog *Dialog)
{
Dialog->setWindowTitle(QApplication::translate("Dialog", "LANchat", 0, QApplication::UnicodeUTF8));
pushButton->setText(QApplication::translate("Dialog", "Send", 0, QApplication::UnicodeUTF8));
pushButton_con->setText(QApplication::translate("Dialog", "Connect", 0, QApplication::UnicodeUTF8));
lineEdit_subnet->setInputMask(QApplication::translate("Dialog", "000.000.000.000;_", 0, QApplication::UnicodeUTF8));
label->setText(QApplication::translate("Dialog", "Subnet:", 0, QApplication::UnicodeUTF8));
checkBox_nobroadcast->setText(QApplication::translate("Dialog", "Do not send broadcast", 0, QApplication::UnicodeUTF8));
lineEdit_netmask->setInputMask(QApplication::translate("Dialog", "00;_", 0, QApplication::UnicodeUTF8));
label_2->setText(QApplication::translate("Dialog", "/", 0, QApplication::UnicodeUTF8));
lineEdit_nickname->setText(QApplication::translate("Dialog", "LANchatter", 0, QApplication::UnicodeUTF8));
pushButton_discon->setText(QApplication::translate("Dialog", "Disconnect", 0, QApplication::UnicodeUTF8));
label_3->setText(QApplication::translate("Dialog", "Nickname:", 0, QApplication::UnicodeUTF8));
} // retranslateUi
};
namespace Ui {
class Dialog: public Ui_Dialog {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_DIALOG_H