hlp:桂林国际齿轮泵代码
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>DlgSelectInputLanguage</class>
|
||||
<widget class="QDialog" name="DlgSelectInputLanguage">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>291</width>
|
||||
<height>162</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::StrongFocus</enum>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Dialog</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="gridLayoutWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>10</y>
|
||||
<width>241</width>
|
||||
<height>131</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="0" column="0">
|
||||
<widget class="QRadioButton" name="radioButtonChinese">
|
||||
<property name="text">
|
||||
<string>汉语(Chinese)</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QRadioButton" name="radioButtonEnglish">
|
||||
<property name="text">
|
||||
<string>英语(English)</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QRadioButton" name="radioButtonVietnam">
|
||||
<property name="text">
|
||||
<string>越南语(Vietnam)</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
@@ -0,0 +1,56 @@
|
||||
#ifndef PRINT_NET_H
|
||||
#define PRINT_NET_H
|
||||
|
||||
#include <QObject>
|
||||
|
||||
#include <QtCore>
|
||||
#include <QtNetwork/QNetworkAccessManager>
|
||||
#include <QtNetwork/QNetworkRequest>
|
||||
#include <QtNetwork/QNetworkReply>
|
||||
#include <QtNetwork/QSslConfiguration>
|
||||
|
||||
#include "qjsonexport.h"
|
||||
#include "qjsonobject.h"
|
||||
#include "qjsonvalue.h"
|
||||
#include "qjsondocument.h"
|
||||
#include "qjsonarray.h"
|
||||
#include "../SysPara.h"
|
||||
|
||||
|
||||
class PrintNet : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
QNetworkAccessManager *manager;
|
||||
private slots:
|
||||
void replyFinished(QNetworkReply *);
|
||||
void postPrintFinished(QNetworkReply *);
|
||||
void postGetShortUrlFinished(QNetworkReply *);
|
||||
// void sslErrors(QNetworkReply *reply,const QList<QSslError> &);
|
||||
|
||||
Q_SIGNALS:
|
||||
void receiveJSONDatafinish();
|
||||
void json_server_error();
|
||||
void showMessege();
|
||||
public:
|
||||
PrintNet();
|
||||
~PrintNet();
|
||||
void PrintNetGetData(QString url, const QString& equip_code);
|
||||
void PrintNetPostFinish(QString url);
|
||||
void PrintNetPostState(QString url);
|
||||
void traversJson(QJsonObject json_obj);
|
||||
void getJson_data(JSON_DATA *json_data);
|
||||
QString getMessege();
|
||||
void FromBaiDuGetShortUrl(QString longUrl);
|
||||
|
||||
JSON_DATA Json_get_data;
|
||||
bool m_bShortNet;
|
||||
private:
|
||||
QNetworkAccessManager *getManager;
|
||||
QNetworkAccessManager *postManager;
|
||||
QNetworkAccessManager *m_postmanager;
|
||||
QString EquipmentCode;
|
||||
QString save_messege;
|
||||
|
||||
};
|
||||
|
||||
#endif // PRINT_NET_H
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 8.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
@@ -0,0 +1,49 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'mywebview.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 4.8.5
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_MYWEBVIEW_H
|
||||
#define UI_MYWEBVIEW_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QHeaderView>
|
||||
#include <QtGui/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_MyWebView
|
||||
{
|
||||
public:
|
||||
|
||||
void setupUi(QWidget *MyWebView)
|
||||
{
|
||||
if (MyWebView->objectName().isEmpty())
|
||||
MyWebView->setObjectName(QString::fromUtf8("MyWebView"));
|
||||
MyWebView->resize(789, 462);
|
||||
|
||||
retranslateUi(MyWebView);
|
||||
|
||||
QMetaObject::connectSlotsByName(MyWebView);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QWidget *MyWebView)
|
||||
{
|
||||
MyWebView->setWindowTitle(QApplication::translate("MyWebView", "Form", 0, QApplication::UnicodeUTF8));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class MyWebView: public Ui_MyWebView {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_MYWEBVIEW_H
|
||||
Reference in New Issue
Block a user