This commit is contained in:
2022-08-11 12:27:25 +08:00
parent 00176f9919
commit 8f6bee1346
19 changed files with 636 additions and 75 deletions

View File

@@ -54,10 +54,12 @@ OBJECTS_DIR = ./
SOURCES = ../AXVM/main.cpp \
../AXVM/mainwindow.cpp \
../AXVM/downloadthread.cpp moc_mainwindow.cpp
../AXVM/downloadthread.cpp \
../AXVM/getipserver.cpp moc_mainwindow.cpp
OBJECTS = main.o \
mainwindow.o \
downloadthread.o \
getipserver.o \
moc_mainwindow.o
DIST = /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/spec_pre.prf \
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/common/unix.conf \
@@ -166,9 +168,11 @@ DIST = /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/spec_pre.prf \
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/yacc.prf \
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/lex.prf \
../AXVM/AXVM.pro ../AXVM/mainwindow.h \
../AXVM/downloadthread.h ../AXVM/main.cpp \
../AXVM/downloadthread.h \
../AXVM/getipserver.h ../AXVM/main.cpp \
../AXVM/mainwindow.cpp \
../AXVM/downloadthread.cpp
../AXVM/downloadthread.cpp \
../AXVM/getipserver.cpp
QMAKE_TARGET = AXVM
DESTDIR =
TARGET = AXVM
@@ -410,8 +414,8 @@ distdir: FORCE
@test -d $(DISTDIR) || mkdir -p $(DISTDIR)
$(COPY_FILE) --parents $(DIST) $(DISTDIR)/
$(COPY_FILE) --parents /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp $(DISTDIR)/
$(COPY_FILE) --parents ../AXVM/mainwindow.h ../AXVM/downloadthread.h $(DISTDIR)/
$(COPY_FILE) --parents ../AXVM/main.cpp ../AXVM/mainwindow.cpp ../AXVM/downloadthread.cpp $(DISTDIR)/
$(COPY_FILE) --parents ../AXVM/mainwindow.h ../AXVM/downloadthread.h ../AXVM/getipserver.h $(DISTDIR)/
$(COPY_FILE) --parents ../AXVM/main.cpp ../AXVM/mainwindow.cpp ../AXVM/downloadthread.cpp ../AXVM/getipserver.cpp $(DISTDIR)/
$(COPY_FILE) --parents ../AXVM/mainwindow.ui $(DISTDIR)/
@@ -486,6 +490,11 @@ mainwindow.o: ../AXVM/mainwindow.cpp ../AXVM/mainwindow.h \
downloadthread.o: ../AXVM/downloadthread.cpp ../AXVM/downloadthread.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o downloadthread.o ../AXVM/downloadthread.cpp
getipserver.o: ../AXVM/getipserver.cpp ../AXVM/getipserver.h \
../AXVM/mainwindow.h \
../AXVM/downloadthread.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o getipserver.o ../AXVM/getipserver.cpp
moc_mainwindow.o: moc_mainwindow.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp

Binary file not shown.

View File

@@ -23,7 +23,7 @@ QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_MainWindow_t {
QByteArrayData data[4];
char stringdata0[48];
char stringdata0[63];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
@@ -35,11 +35,11 @@ static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
QT_MOC_LITERAL(0, 0, 10), // "MainWindow"
QT_MOC_LITERAL(1, 11, 23), // "on_pushButton_2_clicked"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 11) // "ChangeValue"
QT_MOC_LITERAL(3, 36, 26) // "on_centralWidget_destroyed"
},
"MainWindow\0on_pushButton_2_clicked\0\0"
"ChangeValue"
"on_centralWidget_destroyed"
};
#undef QT_MOC_LITERAL
@@ -74,7 +74,7 @@ void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id,
(void)_t;
switch (_id) {
case 0: _t->on_pushButton_2_clicked(); break;
case 1: _t->ChangeValue(); break;
case 1: _t->on_centralWidget_destroyed(); break;
default: ;
}
}

View File

@@ -11,6 +11,7 @@
#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
@@ -34,12 +35,29 @@ public:
QTabWidget *tabWidget;
QWidget *tab;
QGridLayout *gridLayout;
QHBoxLayout *horizontalLayout_2;
QLabel *label_2;
QHBoxLayout *horizontalLayout_5;
QLabel *label_3;
QComboBox *comboBox;
QPushButton *pushButton_7;
QHBoxLayout *horizontalLayout_3;
QLabel *label;
QLineEdit *lineEdit;
QPushButton *pushButton_3;
QGridLayout *gridLayout_2;
QPushButton *pushButton_11;
QPushButton *pushButton_8;
QPushButton *pushButton_10;
QSpacerItem *horizontalSpacer;
QPushButton *pushButton_9;
QPushButton *pushButton_12;
QHBoxLayout *horizontalLayout_4;
QLabel *label_2;
QLineEdit *lineEdit_2;
QPushButton *pushButton_6;
QPushButton *pushButton_5;
QPushButton *pushButton_4;
QHBoxLayout *horizontalLayout_2;
QLabel *localIP;
QSpacerItem *verticalSpacer;
QWidget *tab_2;
QHBoxLayout *horizontalLayout;
@@ -51,6 +69,7 @@ public:
QSpacerItem *verticalSpacer_2;
QListView *urlImageList;
QWidget *tab_3;
QLabel *label_4;
QStatusBar *statusBar;
void setupUi(QMainWindow *MainWindow)
@@ -74,16 +93,33 @@ public:
gridLayout->setSpacing(6);
gridLayout->setContentsMargins(11, 11, 11, 11);
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
horizontalLayout_2 = new QHBoxLayout();
horizontalLayout_2->setSpacing(6);
horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
label_2 = new QLabel(tab);
label_2->setObjectName(QString::fromUtf8("label_2"));
horizontalLayout_5 = new QHBoxLayout();
horizontalLayout_5->setSpacing(6);
horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5"));
label_3 = new QLabel(tab);
label_3->setObjectName(QString::fromUtf8("label_3"));
QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
sizePolicy.setHorizontalStretch(0);
sizePolicy.setVerticalStretch(0);
sizePolicy.setHeightForWidth(label_3->sizePolicy().hasHeightForWidth());
label_3->setSizePolicy(sizePolicy);
horizontalLayout_2->addWidget(label_2);
horizontalLayout_5->addWidget(label_3);
comboBox = new QComboBox(tab);
comboBox->setObjectName(QString::fromUtf8("comboBox"));
horizontalLayout_5->addWidget(comboBox);
pushButton_7 = new QPushButton(tab);
pushButton_7->setObjectName(QString::fromUtf8("pushButton_7"));
sizePolicy.setHeightForWidth(pushButton_7->sizePolicy().hasHeightForWidth());
pushButton_7->setSizePolicy(sizePolicy);
horizontalLayout_5->addWidget(pushButton_7);
gridLayout->addLayout(horizontalLayout_2, 1, 0, 1, 1);
gridLayout->addLayout(horizontalLayout_5, 3, 0, 1, 1);
horizontalLayout_3 = new QHBoxLayout();
horizontalLayout_3->setSpacing(6);
@@ -106,9 +142,86 @@ public:
gridLayout->addLayout(horizontalLayout_3, 0, 0, 1, 1);
gridLayout_2 = new QGridLayout();
gridLayout_2->setSpacing(6);
gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
pushButton_11 = new QPushButton(tab);
pushButton_11->setObjectName(QString::fromUtf8("pushButton_11"));
gridLayout_2->addWidget(pushButton_11, 0, 4, 1, 1);
pushButton_8 = new QPushButton(tab);
pushButton_8->setObjectName(QString::fromUtf8("pushButton_8"));
gridLayout_2->addWidget(pushButton_8, 0, 0, 1, 1);
pushButton_10 = new QPushButton(tab);
pushButton_10->setObjectName(QString::fromUtf8("pushButton_10"));
gridLayout_2->addWidget(pushButton_10, 0, 2, 1, 1);
horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
gridLayout_2->addItem(horizontalSpacer, 0, 5, 1, 1);
pushButton_9 = new QPushButton(tab);
pushButton_9->setObjectName(QString::fromUtf8("pushButton_9"));
gridLayout_2->addWidget(pushButton_9, 0, 1, 1, 1);
pushButton_12 = new QPushButton(tab);
pushButton_12->setObjectName(QString::fromUtf8("pushButton_12"));
gridLayout_2->addWidget(pushButton_12, 0, 3, 1, 1);
gridLayout->addLayout(gridLayout_2, 4, 0, 1, 1);
horizontalLayout_4 = new QHBoxLayout();
horizontalLayout_4->setSpacing(6);
horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
label_2 = new QLabel(tab);
label_2->setObjectName(QString::fromUtf8("label_2"));
horizontalLayout_4->addWidget(label_2);
lineEdit_2 = new QLineEdit(tab);
lineEdit_2->setObjectName(QString::fromUtf8("lineEdit_2"));
horizontalLayout_4->addWidget(lineEdit_2);
pushButton_6 = new QPushButton(tab);
pushButton_6->setObjectName(QString::fromUtf8("pushButton_6"));
horizontalLayout_4->addWidget(pushButton_6);
pushButton_5 = new QPushButton(tab);
pushButton_5->setObjectName(QString::fromUtf8("pushButton_5"));
horizontalLayout_4->addWidget(pushButton_5);
pushButton_4 = new QPushButton(tab);
pushButton_4->setObjectName(QString::fromUtf8("pushButton_4"));
horizontalLayout_4->addWidget(pushButton_4);
gridLayout->addLayout(horizontalLayout_4, 2, 0, 1, 1);
horizontalLayout_2 = new QHBoxLayout();
horizontalLayout_2->setSpacing(6);
horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
localIP = new QLabel(tab);
localIP->setObjectName(QString::fromUtf8("localIP"));
horizontalLayout_2->addWidget(localIP);
gridLayout->addLayout(horizontalLayout_2, 1, 0, 1, 1);
verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
gridLayout->addItem(verticalSpacer, 2, 0, 1, 1);
gridLayout->addItem(verticalSpacer, 5, 0, 1, 1);
tabWidget->addTab(tab, QString());
tab_2 = new QWidget();
@@ -158,6 +271,11 @@ public:
verticalLayout_2->addWidget(tabWidget);
label_4 = new QLabel(centralWidget);
label_4->setObjectName(QString::fromUtf8("label_4"));
verticalLayout_2->addWidget(label_4);
MainWindow->setCentralWidget(centralWidget);
statusBar = new QStatusBar(MainWindow);
statusBar->setObjectName(QString::fromUtf8("statusBar"));
@@ -165,7 +283,7 @@ public:
retranslateUi(MainWindow);
tabWidget->setCurrentIndex(1);
tabWidget->setCurrentIndex(0);
QMetaObject::connectSlotsByName(MainWindow);
@@ -174,14 +292,26 @@ public:
void retranslateUi(QMainWindow *MainWindow)
{
MainWindow->setWindowTitle(QCoreApplication::translate("MainWindow", "MainWindow", nullptr));
label_2->setText(QCoreApplication::translate("MainWindow", "TextLabel", nullptr));
label->setText(QCoreApplication::translate("MainWindow", "TextLabel", nullptr));
pushButton_3->setText(QCoreApplication::translate("MainWindow", "PushButton", nullptr));
label_3->setText(QCoreApplication::translate("MainWindow", "\351\200\211\346\213\251\350\231\232\346\213\237\346\234\272\357\274\232", nullptr));
pushButton_7->setText(QCoreApplication::translate("MainWindow", "PushButton", nullptr));
label->setText(QCoreApplication::translate("MainWindow", "IP\345\234\260\345\235\200\357\274\232", nullptr));
pushButton_3->setText(QCoreApplication::translate("MainWindow", "\350\277\236\346\216\245", nullptr));
pushButton_11->setText(QCoreApplication::translate("MainWindow", "\351\207\215\347\275\256\350\231\232\346\213\237\346\234\272", nullptr));
pushButton_8->setText(QCoreApplication::translate("MainWindow", "\345\274\200\345\220\257\350\231\232\346\213\237\346\234\272", nullptr));
pushButton_10->setText(QCoreApplication::translate("MainWindow", "\350\256\276\347\275\256\350\231\232\346\213\237\346\234\272", nullptr));
pushButton_9->setText(QCoreApplication::translate("MainWindow", "\345\205\263\351\227\255\350\231\232\346\213\237\346\234\272", nullptr));
pushButton_12->setText(QCoreApplication::translate("MainWindow", "\351\207\215\347\275\256\350\231\232\346\213\237\346\234\272\351\205\215\347\275\256", nullptr));
label_2->setText(QCoreApplication::translate("MainWindow", "\345\256\211\350\243\205/\345\215\270\350\275\275\345\272\224\347\224\250\357\274\232", nullptr));
pushButton_6->setText(QCoreApplication::translate("MainWindow", "\345\256\211\350\243\205", nullptr));
pushButton_5->setText(QCoreApplication::translate("MainWindow", "\346\265\217\350\247\210", nullptr));
pushButton_4->setText(QCoreApplication::translate("MainWindow", "\345\215\270\350\275\275", nullptr));
localIP->setText(QCoreApplication::translate("MainWindow", "\350\256\277\351\227\256\357\274\232http://127.0.0.1:30201 \350\277\236\346\216\245", nullptr));
tabWidget->setTabText(tabWidget->indexOf(tab), QCoreApplication::translate("MainWindow", "\346\223\215\344\275\234", nullptr));
pushButton_2->setText(QCoreApplication::translate("MainWindow", "<<", nullptr));
pushButton->setText(QCoreApplication::translate("MainWindow", ">>", nullptr));
tabWidget->setTabText(tabWidget->indexOf(tab_2), QCoreApplication::translate("MainWindow", "\346\226\260\345\273\272\346\250\241\346\213\237\345\231\250", nullptr));
tabWidget->setTabText(tabWidget->indexOf(tab_3), QCoreApplication::translate("MainWindow", "\345\205\263\344\272\216", nullptr));
label_4->setText(QCoreApplication::translate("MainWindow", "\302\2512022~Now\357\274\214gfdgd xi\343\200\201\344\270\272\344\273\200\344\271\210\346\202\250\344\270\215\345\226\234\346\254\242\347\206\212\345\207\272\346\262\241\345\222\214\351\230\277\345\270\203\345\221\242", nullptr));
} // retranslateUi
};