hlp:桂林国际齿轮泵代码

This commit is contained in:
kite_lucs
2026-10-09 10:25:24 +08:00
commit fd606b3c81
2447 changed files with 999531 additions and 0 deletions
@@ -0,0 +1,36 @@
/*
* FreeModbus Libary: A portable Modbus implementation for Modbus ASCII/RTU.
* Copyright (c) 2006 Christian Walter <wolti@sil.at>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. The name of the author may not be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* File: $Id: mbcrc.h,v 1.5 2006/12/07 22:10:34 wolti Exp $
*/
#ifndef _MB_CRC_H
#define _MB_CRC_H
USHORT usMBCRC16( UCHAR * pucFrame, USHORT usLen );
#endif
@@ -0,0 +1,125 @@
#ifndef SYSTEMMANAGE_H
#define SYSTEMMANAGE_H
#include <QWidget>
#include "ParaSettingUI.h"
#include "TimeSettingDialog.h"
#include <QTimer>
#include "DialogAuthorization.h"
#include "qprogressdialog.h"
#include "PrintSetting.h"
#include "dlginputaddr.h"
namespace Ui {
class SystemManage;
}
class SystemManage : public QWidget,public ParaSettingUI
{
Q_OBJECT
public:
explicit SystemManage(QWidget *parent = 0);
~SystemManage();
void updateSysStatusToUI(); //重载
void bindDlgInputAddr(DlgInputAddr *dlgInputAddr);//绑定时间权限管理对象
void getCurrentScrennType();
bool flagOfTouchScreenType;
private slots:
void on_pushButtonCompressPump_pressed();
void on_pushButtonGhost_pressed();
void on_pushButtonCycleValve_pressed();
void updateGearPumpValue(int);
void on_pushButtonGearPump_pressed();
void on_pushButtonInkValve_pressed();
void on_pushButtonMainInkPump_pressed();
void on_pushButtonMixValve_pressed();
void on_pushButtonReclaimPump_pressed();
void on_pushButtonViscosityPump_pressed();
void on_pushButtonControlByHand_pressed();
void on_pushButtonReclaimTankOpen_pressed();
void on_pushButtonReclaimTankClose_pressed();
void on_pushButtonTimeSetting_clicked();
void onTimeSettingDone(); //时间设置完成
void on_pushButtonUpdateCharLib_pressed();
void on_pushButtonFactorySetting_pressed();
void on_pushButtonScreenAdjust_pressed();
void on_pushButtonUpdateSoftware_pressed();
void on_pushButtonCleanUP_pressed();
void on_pushButtonReleaseValve_pressed();
void timerHandler();
void timerHandler2();
void autoCleanTimerHandler();
void on_pushButtonExportConfToUDisk_clicked();
void on_pushButtonImportConfFromUdisk_clicked();
void ondialogAuthorizationAccepted();
void on_pushButtonAutoClean_pressed();
void onAutoCleanStart();
void reclainTankTestHandler();
/***2019/10/22 start*****/
void inkcloseCountHandler();
/***2019/10/22 end*****/
/***2019/10/23 start*****/
void MainInkCmpSepetalHandler();
/***2019/10/23 */
//void on_pushButtonAutoClean_clicked();
void on_pushButtonFontToUdisk_pressed();
void on_pushButtonMotorTest_pressed();
void on_pushButtonPushAir_pressed();
void on_dialogTimeSetAuthorizationAccepted();//2020/1/6
void on_dialogFactorySetAuthorizationAccepted();
void on_dialogSysUpdateAuthorizationAccepted();
void on_pushButtonGearPumpOff_pressed();
void on_pushButtonChangeScreen_clicked();
Q_SIGNALS:
void configChanged();
void autoCleanStart();
void enableReclaimButton(bool flag);
private:
Ui::SystemManage *ui;
void setPumpValveBottonEnable(bool enable);
TimeSettingDialog timeDia;
QTimer *timer,*timer2,*autoCleanTimer,*reclaimTankTestTimer,*inkcloseCountTimer,*MainnkCmpSepetalTimer;
int reclainTankTestState;
int reclainTankTestCount;//测试次数
DialogAuthorization *dialogUpateMm;
DialogAuthorization *dialogTimeSetAuthorization; //2020/1/6
DialogAuthorization *dialogSysUpdateAuthorization;
DlgInputAddr *dlgInputAddr_TimeSet;//2020/1/6
QProgressDialog *dialogAutoClean;
QProgressDialog *reclainTankTestProcess;
int pushAir;// 正在排气
DialogAuthorization *dialogFactorySetAuthorization;
};
#endif // SYSTEMMANAGE_H
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

@@ -0,0 +1,236 @@
/********************************************************************************
** Form generated from reading UI file 'digitalinput.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_DIGITALINPUT_H
#define UI_DIGITALINPUT_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QGridLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QPushButton>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class Ui_DigitalInput
{
public:
QWidget *horizontalLayoutWidget;
QHBoxLayout *horizontalLayout;
QGridLayout *gridLayout;
QPushButton *Key_9;
QPushButton *Key_3;
QPushButton *Key_8;
QPushButton *Key_pluse;
QPushButton *Key_backspace;
QPushButton *Key_1;
QPushButton *Key_4;
QPushButton *Key_0;
QPushButton *Key_5;
QPushButton *Key_7;
QPushButton *Key_2;
QPushButton *Key_6;
QVBoxLayout *verticalLayout_2;
QPushButton *Key_up;
QPushButton *Key_down;
QPushButton *Key_selectAll;
void setupUi(QWidget *DigitalInput)
{
if (DigitalInput->objectName().isEmpty())
DigitalInput->setObjectName(QString::fromUtf8("DigitalInput"));
DigitalInput->resize(203, 213);
QPalette palette;
QBrush brush(QColor(255, 255, 255, 255));
brush.setStyle(Qt::SolidPattern);
palette.setBrush(QPalette::Active, QPalette::Base, brush);
QBrush brush1(QColor(202, 201, 201, 255));
brush1.setStyle(Qt::SolidPattern);
palette.setBrush(QPalette::Active, QPalette::Window, brush1);
palette.setBrush(QPalette::Inactive, QPalette::Base, brush);
palette.setBrush(QPalette::Inactive, QPalette::Window, brush1);
palette.setBrush(QPalette::Disabled, QPalette::Base, brush1);
palette.setBrush(QPalette::Disabled, QPalette::Window, brush1);
DigitalInput->setPalette(palette);
horizontalLayoutWidget = new QWidget(DigitalInput);
horizontalLayoutWidget->setObjectName(QString::fromUtf8("horizontalLayoutWidget"));
horizontalLayoutWidget->setGeometry(QRect(0, 0, 201, 211));
horizontalLayout = new QHBoxLayout(horizontalLayoutWidget);
horizontalLayout->setSpacing(3);
horizontalLayout->setContentsMargins(3, 3, 3, 3);
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
horizontalLayout->setContentsMargins(0, 0, 0, 0);
gridLayout = new QGridLayout();
gridLayout->setSpacing(1);
#ifndef Q_OS_MAC
gridLayout->setContentsMargins(0, 0, 0, 0);
#endif
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
Key_9 = new QPushButton(horizontalLayoutWidget);
Key_9->setObjectName(QString::fromUtf8("Key_9"));
Key_9->setMinimumSize(QSize(50, 50));
Key_9->setMaximumSize(QSize(50, 50));
gridLayout->addWidget(Key_9, 0, 2, 1, 1);
Key_3 = new QPushButton(horizontalLayoutWidget);
Key_3->setObjectName(QString::fromUtf8("Key_3"));
Key_3->setMinimumSize(QSize(50, 50));
Key_3->setMaximumSize(QSize(50, 50));
gridLayout->addWidget(Key_3, 2, 2, 1, 1);
Key_8 = new QPushButton(horizontalLayoutWidget);
Key_8->setObjectName(QString::fromUtf8("Key_8"));
Key_8->setMinimumSize(QSize(50, 50));
Key_8->setMaximumSize(QSize(50, 50));
gridLayout->addWidget(Key_8, 0, 1, 1, 1);
Key_pluse = new QPushButton(horizontalLayoutWidget);
Key_pluse->setObjectName(QString::fromUtf8("Key_pluse"));
Key_pluse->setMinimumSize(QSize(50, 50));
Key_pluse->setMaximumSize(QSize(50, 50));
gridLayout->addWidget(Key_pluse, 3, 1, 1, 1);
Key_backspace = new QPushButton(horizontalLayoutWidget);
Key_backspace->setObjectName(QString::fromUtf8("Key_backspace"));
Key_backspace->setMinimumSize(QSize(50, 50));
Key_backspace->setMaximumSize(QSize(50, 50));
QIcon icon;
icon.addFile(QString::fromUtf8(":/icon/keyleft.png"), QSize(), QIcon::Normal, QIcon::Off);
Key_backspace->setIcon(icon);
gridLayout->addWidget(Key_backspace, 3, 2, 1, 1);
Key_1 = new QPushButton(horizontalLayoutWidget);
Key_1->setObjectName(QString::fromUtf8("Key_1"));
Key_1->setMinimumSize(QSize(50, 50));
Key_1->setMaximumSize(QSize(50, 50));
gridLayout->addWidget(Key_1, 2, 0, 1, 1);
Key_4 = new QPushButton(horizontalLayoutWidget);
Key_4->setObjectName(QString::fromUtf8("Key_4"));
Key_4->setMinimumSize(QSize(50, 50));
Key_4->setMaximumSize(QSize(50, 50));
gridLayout->addWidget(Key_4, 1, 0, 1, 1);
Key_0 = new QPushButton(horizontalLayoutWidget);
Key_0->setObjectName(QString::fromUtf8("Key_0"));
Key_0->setMinimumSize(QSize(50, 50));
Key_0->setMaximumSize(QSize(50, 50));
gridLayout->addWidget(Key_0, 3, 0, 1, 1);
Key_5 = new QPushButton(horizontalLayoutWidget);
Key_5->setObjectName(QString::fromUtf8("Key_5"));
Key_5->setMinimumSize(QSize(50, 50));
Key_5->setMaximumSize(QSize(50, 50));
gridLayout->addWidget(Key_5, 1, 1, 1, 1);
Key_7 = new QPushButton(horizontalLayoutWidget);
Key_7->setObjectName(QString::fromUtf8("Key_7"));
Key_7->setMinimumSize(QSize(50, 50));
Key_7->setMaximumSize(QSize(50, 50));
gridLayout->addWidget(Key_7, 0, 0, 1, 1);
Key_2 = new QPushButton(horizontalLayoutWidget);
Key_2->setObjectName(QString::fromUtf8("Key_2"));
Key_2->setMinimumSize(QSize(50, 50));
Key_2->setMaximumSize(QSize(50, 50));
gridLayout->addWidget(Key_2, 2, 1, 1, 1);
Key_6 = new QPushButton(horizontalLayoutWidget);
Key_6->setObjectName(QString::fromUtf8("Key_6"));
Key_6->setMinimumSize(QSize(50, 50));
Key_6->setMaximumSize(QSize(50, 50));
gridLayout->addWidget(Key_6, 1, 2, 1, 1);
horizontalLayout->addLayout(gridLayout);
verticalLayout_2 = new QVBoxLayout();
verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
verticalLayout_2->setContentsMargins(-1, 0, -1, 0);
Key_up = new QPushButton(horizontalLayoutWidget);
Key_up->setObjectName(QString::fromUtf8("Key_up"));
Key_up->setMinimumSize(QSize(50, 75));
Key_up->setMaximumSize(QSize(50, 75));
QIcon icon1;
icon1.addFile(QString::fromUtf8(":/icon/keyup.png"), QSize(), QIcon::Normal, QIcon::Off);
Key_up->setIcon(icon1);
verticalLayout_2->addWidget(Key_up);
Key_down = new QPushButton(horizontalLayoutWidget);
Key_down->setObjectName(QString::fromUtf8("Key_down"));
Key_down->setMinimumSize(QSize(50, 75));
Key_down->setMaximumSize(QSize(50, 75));
QIcon icon2;
icon2.addFile(QString::fromUtf8(":/icon/keydown.png"), QSize(), QIcon::Normal, QIcon::Off);
Key_down->setIcon(icon2);
verticalLayout_2->addWidget(Key_down);
Key_selectAll = new QPushButton(horizontalLayoutWidget);
Key_selectAll->setObjectName(QString::fromUtf8("Key_selectAll"));
Key_selectAll->setMinimumSize(QSize(50, 60));
Key_selectAll->setMaximumSize(QSize(50, 60));
verticalLayout_2->addWidget(Key_selectAll);
horizontalLayout->addLayout(verticalLayout_2);
retranslateUi(DigitalInput);
QMetaObject::connectSlotsByName(DigitalInput);
} // setupUi
void retranslateUi(QWidget *DigitalInput)
{
DigitalInput->setWindowTitle(QApplication::translate("DigitalInput", "Form", 0, QApplication::UnicodeUTF8));
Key_9->setText(QApplication::translate("DigitalInput", "9", 0, QApplication::UnicodeUTF8));
Key_3->setText(QApplication::translate("DigitalInput", "3", 0, QApplication::UnicodeUTF8));
Key_8->setText(QApplication::translate("DigitalInput", "8", 0, QApplication::UnicodeUTF8));
Key_pluse->setText(QApplication::translate("DigitalInput", "-", 0, QApplication::UnicodeUTF8));
Key_backspace->setText(QApplication::translate("DigitalInput", "\351\200\200\346\240\274", 0, QApplication::UnicodeUTF8));
Key_1->setText(QApplication::translate("DigitalInput", "1", 0, QApplication::UnicodeUTF8));
Key_4->setText(QApplication::translate("DigitalInput", "4", 0, QApplication::UnicodeUTF8));
Key_0->setText(QApplication::translate("DigitalInput", "0", 0, QApplication::UnicodeUTF8));
Key_5->setText(QApplication::translate("DigitalInput", "5", 0, QApplication::UnicodeUTF8));
Key_7->setText(QApplication::translate("DigitalInput", "7", 0, QApplication::UnicodeUTF8));
Key_2->setText(QApplication::translate("DigitalInput", "2", 0, QApplication::UnicodeUTF8));
Key_6->setText(QApplication::translate("DigitalInput", "6", 0, QApplication::UnicodeUTF8));
Key_up->setText(QString());
Key_down->setText(QString());
Key_selectAll->setText(QApplication::translate("DigitalInput", "\345\205\250\351\200\211", 0, QApplication::UnicodeUTF8));
} // retranslateUi
};
namespace Ui {
class DigitalInput: public Ui_DigitalInput {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_DIGITALINPUT_H
@@ -0,0 +1,215 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by Qt Creator 2.4.1, 2015-09-14T20:40:14. -->
<qtcreator>
<data>
<variable>ProjectExplorer.Project.ActiveTarget</variable>
<value type="int">0</value>
</data>
<data>
<variable>ProjectExplorer.Project.EditorSettings</variable>
<valuemap type="QVariantMap">
<value type="bool" key="EditorConfiguration.AutoIndent">true</value>
<value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
<valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
<value type="QString" key="language">Cpp</value>
<valuemap type="QVariantMap" key="value">
<value type="QString" key="CurrentPreferences">CppGlobal</value>
</valuemap>
</valuemap>
<valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
<value type="QString" key="language">QmlJS</value>
<valuemap type="QVariantMap" key="value">
<value type="QString" key="CurrentPreferences">QmlJSGlobal</value>
</valuemap>
</valuemap>
<value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
<value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value>
<value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
<value type="int" key="EditorConfiguration.IndentSize">4</value>
<value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
<value type="int" key="EditorConfiguration.PaddingMode">1</value>
<value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
<value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
<value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
<value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
<value type="int" key="EditorConfiguration.TabSize">8</value>
<value type="bool" key="EditorConfiguration.UseGlobal">true</value>
<value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
<value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
<value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
<value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
<value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
</valuemap>
</data>
<data>
<variable>ProjectExplorer.Project.PluginSettings</variable>
<valuemap type="QVariantMap"/>
</data>
<data>
<variable>ProjectExplorer.Project.Target.0</variable>
<valuemap type="QVariantMap">
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">桌面</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">桌面</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Target.DesktopTarget</value>
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
<value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
<value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
<value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Mingw:D:/QtSDK/mingw/bin/mingw32-g++.exe.x86-windows-msys-pe-32bit.D:/QtSDK/pythongdb/python_2.7based/gdb-i686-pc-mingw32.exe</value>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">构建</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">清理</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.1 for Desktop - MinGW (Qt SDK) 调试</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
<value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">E:/MyProjects/121-build-desktop-Qt_4_8_1_for_Desktop_-_MinGW__Qt_SDK____</value>
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">4</value>
<value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
</valuemap>
<value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">1</value>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">部署</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">当前无部署</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
</valuemap>
<value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
<value type="bool" key="Analyzer.Project.UseGlobal">true</value>
<value type="bool" key="Analyzer.Project.UseGlobal">true</value>
<valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
<valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
<value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
<value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
<value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
<value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
<value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
<value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
<value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
<value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
<valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
<valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
<value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
<value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
<value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
<value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
<valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
<value type="int">0</value>
<value type="int">1</value>
<value type="int">2</value>
<value type="int">3</value>
<value type="int">4</value>
<value type="int">5</value>
<value type="int">6</value>
<value type="int">7</value>
<value type="int">8</value>
<value type="int">9</value>
<value type="int">10</value>
<value type="int">11</value>
<value type="int">12</value>
<value type="int">13</value>
<value type="int">14</value>
</valuelist>
<valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
<value type="int">0</value>
<value type="int">1</value>
<value type="int">2</value>
<value type="int">3</value>
<value type="int">4</value>
<value type="int">5</value>
<value type="int">6</value>
<value type="int">7</value>
<value type="int">8</value>
<value type="int">9</value>
<value type="int">10</value>
<value type="int">11</value>
<value type="int">12</value>
<value type="int">13</value>
<value type="int">14</value>
</valuelist>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">121</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration</value>
<value type="int" key="Qt4ProjectManager.Qt4RunConfiguration.BaseEnvironmentBase">2</value>
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">121.pro</value>
<value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
<value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value>
<valuelist type="QVariantList" key="Qt4ProjectManager.Qt4RunConfiguration.UserEnvironmentChanges"/>
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
<value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
<value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value>
</valuemap>
<value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
</valuemap>
</data>
<data>
<variable>ProjectExplorer.Project.TargetCount</variable>
<value type="int">1</value>
</data>
<data>
<variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
<value type="QString">{bccdfaf3-7182-418b-bcf0-6f26b8be131f}</value>
</data>
<data>
<variable>ProjectExplorer.Project.Updater.FileVersion</variable>
<value type="int">10</value>
</data>
</qtcreator>
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

@@ -0,0 +1,8 @@
#include "sceneviewwidget.h"
#include <QGraphicsScene>
SceneViewWidget::SceneViewWidget(QWidget *parent) :
QWidget(parent)
{
}