提交 35a46bef 作者: zhangyl

添加新门禁

上级 692e1171
QMAKE_CXX.QT_COMPILER_STDCXX = 201402L
QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 7
QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 3
QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 0
QMAKE_CXX.COMPILER_MACROS = \
QT_COMPILER_STDCXX \
QMAKE_GCC_MAJOR_VERSION \
QMAKE_GCC_MINOR_VERSION \
QMAKE_GCC_PATCH_VERSION
QMAKE_CXX.INCDIRS = \
C:/Qt/Qt5.13.2/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++ \
C:/Qt/Qt5.13.2/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/i686-w64-mingw32 \
C:/Qt/Qt5.13.2/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/backward \
C:/Qt/Qt5.13.2/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include \
C:/Qt/Qt5.13.2/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include-fixed \
C:/Qt/Qt5.13.2/Tools/mingw730_32/i686-w64-mingw32/include
QMAKE_CXX.LIBDIRS = \
C:/Qt/Qt5.13.2/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0 \
C:/Qt/Qt5.13.2/Tools/mingw730_32/lib/gcc \
C:/Qt/Qt5.13.2/Tools/mingw730_32/i686-w64-mingw32/lib \
C:/Qt/Qt5.13.2/Tools/mingw730_32/lib
#############################################################################
# Makefile for building: QUI_MVC
# Generated by qmake (3.1) (Qt 5.13.2)
# Project: QUI_MVC.pro
# Template: app
# Command: C:\Qt\Qt5.13.2\5.13.2\mingw73_32\bin\qmake.exe -o Makefile QUI_MVC.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
#############################################################################
MAKEFILE = Makefile
EQ = =
first: debug
install: debug-install
uninstall: debug-uninstall
QMAKE = C:\Qt\Qt5.13.2\5.13.2\mingw73_32\bin\qmake.exe
DEL_FILE = del
CHK_DIR_EXISTS= if not exist
MKDIR = mkdir
COPY = copy /y
COPY_FILE = copy /y
COPY_DIR = xcopy /s /q /y /i
INSTALL_FILE = copy /y
INSTALL_PROGRAM = copy /y
INSTALL_DIR = xcopy /s /q /y /i
QINSTALL = C:\Qt\Qt5.13.2\5.13.2\mingw73_32\bin\qmake.exe -install qinstall
QINSTALL_PROGRAM = C:\Qt\Qt5.13.2\5.13.2\mingw73_32\bin\qmake.exe -install qinstall -exe
DEL_FILE = del
SYMLINK = $(QMAKE) -install ln -f -s
DEL_DIR = rmdir
MOVE = move
SUBTARGETS = \
debug \
release
debug: FORCE
$(MAKE) -f $(MAKEFILE).Debug
debug-make_first: FORCE
$(MAKE) -f $(MAKEFILE).Debug
debug-all: FORCE
$(MAKE) -f $(MAKEFILE).Debug all
debug-clean: FORCE
$(MAKE) -f $(MAKEFILE).Debug clean
debug-distclean: FORCE
$(MAKE) -f $(MAKEFILE).Debug distclean
debug-install: FORCE
$(MAKE) -f $(MAKEFILE).Debug install
debug-uninstall: FORCE
$(MAKE) -f $(MAKEFILE).Debug uninstall
release: FORCE
$(MAKE) -f $(MAKEFILE).Release
release-make_first: FORCE
$(MAKE) -f $(MAKEFILE).Release
release-all: FORCE
$(MAKE) -f $(MAKEFILE).Release all
release-clean: FORCE
$(MAKE) -f $(MAKEFILE).Release clean
release-distclean: FORCE
$(MAKE) -f $(MAKEFILE).Release distclean
release-install: FORCE
$(MAKE) -f $(MAKEFILE).Release install
release-uninstall: FORCE
$(MAKE) -f $(MAKEFILE).Release uninstall
Makefile: QUI_MVC.pro C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/win32-g++/qmake.conf C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/spec_pre.prf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/qdevice.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/device_config.prf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/common/sanitize.conf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/common/gcc-base.conf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/common/g++-base.conf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/common/angle.conf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/win32/windows_vulkan_sdk.prf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/common/windows-vulkan.conf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/common/g++-win32.conf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/common/windows-desktop.conf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/qconfig.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3danimation.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3danimation_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dcore.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dcore_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dextras.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dextras_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dinput.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dinput_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dlogic.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dlogic_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dquick.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dquick_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dquickanimation.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dquickanimation_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dquickextras.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dquickextras_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dquickinput.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dquickinput_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dquickrender.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dquickrender_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dquickscene2d.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dquickscene2d_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3drender.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3drender_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_accessibility_support_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_axbase.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_axbase_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_axcontainer.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_axcontainer_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_axserver.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_axserver_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_bluetooth.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_bluetooth_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_bodymovin_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_bootstrap_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_charts.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_charts_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_concurrent.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_concurrent_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_core.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_core_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_datavisualization.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_datavisualization_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_dbus.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_dbus_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_designer.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_designer_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_designercomponents_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_devicediscovery_support_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_edid_support_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_egl_support_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_eventdispatcher_support_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_fb_support_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_fontdatabase_support_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_gamepad.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_gamepad_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_gui.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_gui_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_help.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_help_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_location.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_location_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_multimedia.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_multimedia_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_multimediawidgets.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_multimediawidgets_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_network.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_network_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_networkauth.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_networkauth_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_nfc.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_nfc_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_opengl.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_opengl_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_openglextensions.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_openglextensions_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_packetprotocol_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_platformcompositor_support_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_positioning.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_positioning_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_positioningquick.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_positioningquick_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_printsupport.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_printsupport_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_purchasing.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_purchasing_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_qml.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_qml_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_qmldebug_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_qmldevtools_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_qmltest.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_qmltest_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_qtmultimediaquicktools_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_quick.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_quick_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_quickcontrols2.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_quickcontrols2_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_quickparticles_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_quickshapes_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_quicktemplates2.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_quicktemplates2_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_quickwidgets.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_quickwidgets_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_remoteobjects.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_remoteobjects_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_repparser.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_repparser_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_script.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_script_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_scripttools.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_scripttools_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_scxml.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_scxml_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_sensors.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_sensors_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_serialbus.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_serialbus_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_serialport.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_serialport_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_sql.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_sql_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_svg.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_svg_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_testlib.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_testlib_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_texttospeech.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_texttospeech_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_theme_support_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_uiplugin.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_uitools.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_uitools_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_virtualkeyboard.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_virtualkeyboard_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_webchannel.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_webchannel_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_websockets.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_websockets_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_widgets.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_widgets_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_windowsuiautomation_support_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_winextras.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_winextras_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_xml.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_xml_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_xmlpatterns.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_xmlpatterns_private.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/qt_functions.prf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/qt_config.prf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/win32-g++/qmake.conf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/spec_post.prf \
.qmake.stash \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/exclusive_builds.prf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/toolchain.prf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/default_pre.prf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/win32/default_pre.prf \
modeller_applog/applogmodel.pri \
sqliteassistant/sqliteassistant.pri \
scanCode_control/scanCode_control.pri \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/resolve_config.prf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/exclusive_builds_post.prf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/default_post.prf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/qml_debug.prf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/precompile_header.prf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/warn_on.prf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/qt.prf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/resources.prf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/moc.prf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/win32/opengl.prf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/uic.prf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/qmake_use.prf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/file_copies.prf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/win32/windows.prf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/testcase_targets.prf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/exceptions.prf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/yacc.prf \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/lex.prf \
QUI_MVC.pro \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/lib/Qt5Widgets.prl \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/lib/Qt5Gui.prl \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/lib/Qt5Sql.prl \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/lib/Qt5SerialPort.prl \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/lib/Qt5Core.prl \
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/lib/qtmain.prl
$(QMAKE) -o Makefile QUI_MVC.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/spec_pre.prf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/qdevice.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/device_config.prf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/common/sanitize.conf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/common/gcc-base.conf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/common/g++-base.conf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/common/angle.conf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/win32/windows_vulkan_sdk.prf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/common/windows-vulkan.conf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/common/g++-win32.conf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/common/windows-desktop.conf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/qconfig.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3danimation.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3danimation_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dcore.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dcore_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dextras.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dextras_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dinput.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dinput_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dlogic.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dlogic_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dquick.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dquick_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dquickanimation.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dquickanimation_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dquickextras.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dquickextras_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dquickinput.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dquickinput_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dquickrender.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dquickrender_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dquickscene2d.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3dquickscene2d_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3drender.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_3drender_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_accessibility_support_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_axbase.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_axbase_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_axcontainer.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_axcontainer_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_axserver.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_axserver_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_bluetooth.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_bluetooth_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_bodymovin_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_bootstrap_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_charts.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_charts_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_concurrent.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_concurrent_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_core.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_core_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_datavisualization.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_datavisualization_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_dbus.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_dbus_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_designer.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_designer_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_designercomponents_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_devicediscovery_support_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_edid_support_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_egl_support_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_eventdispatcher_support_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_fb_support_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_fontdatabase_support_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_gamepad.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_gamepad_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_gui.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_gui_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_help.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_help_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_location.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_location_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_multimedia.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_multimedia_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_multimediawidgets.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_multimediawidgets_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_network.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_network_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_networkauth.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_networkauth_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_nfc.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_nfc_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_opengl.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_opengl_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_openglextensions.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_openglextensions_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_packetprotocol_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_platformcompositor_support_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_positioning.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_positioning_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_positioningquick.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_positioningquick_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_printsupport.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_printsupport_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_purchasing.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_purchasing_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_qml.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_qml_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_qmldebug_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_qmldevtools_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_qmltest.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_qmltest_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_qtmultimediaquicktools_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_quick.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_quick_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_quickcontrols2.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_quickcontrols2_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_quickparticles_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_quickshapes_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_quicktemplates2.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_quicktemplates2_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_quickwidgets.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_quickwidgets_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_remoteobjects.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_remoteobjects_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_repparser.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_repparser_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_script.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_script_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_scripttools.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_scripttools_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_scxml.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_scxml_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_sensors.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_sensors_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_serialbus.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_serialbus_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_serialport.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_serialport_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_sql.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_sql_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_svg.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_svg_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_testlib.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_testlib_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_texttospeech.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_texttospeech_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_theme_support_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_uiplugin.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_uitools.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_uitools_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_virtualkeyboard.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_virtualkeyboard_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_webchannel.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_webchannel_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_websockets.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_websockets_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_widgets.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_widgets_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_windowsuiautomation_support_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_winextras.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_winextras_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_xml.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_xml_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_xmlpatterns.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/modules/qt_lib_xmlpatterns_private.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/qt_functions.prf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/qt_config.prf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/win32-g++/qmake.conf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/spec_post.prf:
.qmake.stash:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/exclusive_builds.prf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/toolchain.prf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/default_pre.prf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/win32/default_pre.prf:
modeller_applog/applogmodel.pri:
sqliteassistant/sqliteassistant.pri:
scanCode_control/scanCode_control.pri:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/resolve_config.prf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/exclusive_builds_post.prf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/default_post.prf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/qml_debug.prf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/precompile_header.prf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/warn_on.prf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/qt.prf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/resources.prf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/moc.prf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/win32/opengl.prf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/uic.prf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/qmake_use.prf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/file_copies.prf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/win32/windows.prf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/testcase_targets.prf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/exceptions.prf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/yacc.prf:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/lex.prf:
QUI_MVC.pro:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/lib/Qt5Widgets.prl:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/lib/Qt5Gui.prl:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/lib/Qt5Sql.prl:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/lib/Qt5SerialPort.prl:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/lib/Qt5Core.prl:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/lib/qtmain.prl:
qmake: FORCE
@$(QMAKE) -o Makefile QUI_MVC.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
qmake_all: FORCE
make_first: debug-make_first release-make_first FORCE
all: debug-all release-all FORCE
clean: debug-clean release-clean FORCE
distclean: debug-distclean release-distclean FORCE
-$(DEL_FILE) Makefile
-$(DEL_FILE) .qmake.stash
debug-mocclean:
$(MAKE) -f $(MAKEFILE).Debug mocclean
release-mocclean:
$(MAKE) -f $(MAKEFILE).Release mocclean
mocclean: debug-mocclean release-mocclean
debug-mocables:
$(MAKE) -f $(MAKEFILE).Debug mocables
release-mocables:
$(MAKE) -f $(MAKEFILE).Release mocables
mocables: debug-mocables release-mocables
check: first
benchmark: first
FORCE:
$(MAKEFILE).Debug: Makefile
$(MAKEFILE).Release: Makefile
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
QT += core gui sql serialport
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++11
# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
#自定Pro结构文件
MOC_DIR = temp/moc
RCC_DIR = temp/rcc
UI_DIR = temp/ui
OBJECTS_DIR = temp/obj
#这样只有exe文件在bin文件夹
DESTDIR = bin
#为了使日志在 Release 模式下也可输出文件名和代码行数
DEFINES += QT_MESSAGELOGCONTEXT
# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \
bridge.cpp \
frmmessagebox.cpp \
iconhelper.cpp \
logindlg.cpp \
main.cpp \
mainwindow.cpp \
sqlitehandle.cpp
HEADERS += \
bridge.h \
frmmessagebox.h \
iconhelper.h \
logindlg.h \
mainwindow.h \
myhelper.h \
sqlitehandle.h
FORMS += \
frmmessagebox.ui \
logindlg.ui \
mainwindow.ui
#添加日志
include(modeller_applog/applogmodel.pri)
#添加数据库助手
include(sqliteassistant/sqliteassistant.pri)
#添加扫码模块
include(scanCode_control/scanCode_control.pri)
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
RESOURCES += \
image.qrc
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.10.1, 2022-02-11T17:26:34. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>
<value type="QByteArray">{fb040c31-5908-42ea-80bc-ef2cb0f6dd7e}</value>
</data>
<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>
<value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
<valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
<value type="QString" key="language">Cpp</value>
<valuemap type="QVariantMap" key="value">
<value type="QByteArray" 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="QByteArray" 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.KeyboardTooltips">false</value>
<value type="int" key="EditorConfiguration.MarginColumn">80</value>
<value type="bool" key="EditorConfiguration.MouseHiding">true</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="bool" key="EditorConfiguration.ShowMargin">false</value>
<value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
<value type="bool" key="EditorConfiguration.SmartSelectionChanging">true</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">0</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">
<valuelist type="QVariantList" key="ClangCodeModel.CustomCommandLineKey">
<value type="QString">-fno-delayed-template-parsing</value>
</valuelist>
<value type="bool" key="ClangCodeModel.UseGlobalConfig">true</value>
</valuemap>
</data>
<data>
<variable>ProjectExplorer.Project.Target.0</variable>
<valuemap type="QVariantMap">
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.13.2 MinGW 32-bit</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.13.2 MinGW 32-bit</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.qt5.5132.win32_mingw73_kit</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.BuildDirectory">E:/ZYL_JM/GitLab/Git_JM_ACS/JM_PRO/QUI_MVC</value>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<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">true</value>
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<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>
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/>
<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>
<value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</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="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<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>
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/>
<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>
<value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</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">Debug</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Debug</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
<value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">E:/ZYL_QT/Qt_Test/build-QUI_MVC-Desktop_Qt_5_13_2_MinGW_32_bit-Release</value>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<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="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">true</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<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>
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/>
<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>
<value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</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="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<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>
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/>
<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>
<value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</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">Release</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Release</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
<value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.2">
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">E:/ZYL_QT/Qt_Test/build-QUI_MVC-Desktop_Qt_5_13_2_MinGW_32_bit-Profile</value>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<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">true</value>
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">true</value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">true</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<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>
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/>
<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>
<value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</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="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<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>
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/>
<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>
<value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</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">Profile</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Profile</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
<value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
</valuemap>
<value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">3</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">Deploy Configuration</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.PluginSettings"/>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
<value type="QString" key="Analyzer.Perf.CallgraphMode">dwarf</value>
<valuelist type="QVariantList" key="Analyzer.Perf.Events">
<value type="QString">cpu-cycles</value>
</valuelist>
<valuelist type="QVariantList" key="Analyzer.Perf.ExtraArguments"/>
<value type="int" key="Analyzer.Perf.Frequency">250</value>
<value type="QString" key="Analyzer.Perf.SampleMode">-F</value>
<value type="bool" key="Analyzer.Perf.Settings.UseGlobalSettings">true</value>
<value type="int" key="Analyzer.Perf.StackSize">4096</value>
<value type="bool" key="Analyzer.QmlProfiler.AggregateTraces">false</value>
<value type="bool" key="Analyzer.QmlProfiler.FlushEnabled">false</value>
<value type="uint" key="Analyzer.QmlProfiler.FlushInterval">1000</value>
<value type="QString" key="Analyzer.QmlProfiler.LastTraceFile"></value>
<value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value>
<valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
<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.EnableBranchSim">false</value>
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</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.VisualisationMinimumCostRatio">10</value>
<value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
<value type="QString" key="Analyzer.Valgrind.KCachegrindExecutable">kcachegrind</value>
<value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
<value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
<valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
<value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
<value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
<value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
<value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</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>
<value type="int" key="PE.EnvironmentAspect.Base">2</value>
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">QUI_MVC</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">QUI_MVC2</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:E:/ZYL_JM/GitLab/Git_JM_ACS/JM_PRO/QUI_MVC/QUI_MVC.pro</value>
<value type="QString" key="RunConfiguration.Arguments"></value>
<value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
<value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
<value type="bool" key="RunConfiguration.UseLibrarySearchPath">true</value>
<value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
<value type="QString" key="RunConfiguration.WorkingDirectory"></value>
<value type="QString" key="RunConfiguration.WorkingDirectory.default">E:/ZYL_JM/GitLab/Git_JM_ACS/JM_PRO/QUI_MVC/bin</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.FileVersion</variable>
<value type="int">22</value>
</data>
<data>
<variable>Version</variable>
<value type="int">22</value>
</data>
</qtcreator>
File added
File:(sqliteassistant\sqliteassistant.cpp) Line:(30) Function:long int SqliteAssistant::connectSql() Succeed to connect database. (2022-02-14 15:05:44 周一)
File:(main.cpp) Line:(26) Function:int qMain(int, char**) connectSql ok (2022-02-14 15:05:44 周一)
File:(mainwindow.cpp) Line:(164) Function:void MainWindow::SoftStart() 软件启动时间: "2022-02-14 15:05:44" (2022-02-14 15:05:44 周一)
File:(mainwindow.cpp) Line:(191) Function:void MainWindow::SoftClose() 软件关闭时间: "2022-02-14 15:27:05" (2022-02-14 15:27:05 周一)
#include "bridge.h"
#include <QDebug>
#include "myhelper.h"
/*全局参数*/
//修改称重启动条件
//extern bool is_carPlnum; //false:无车牌 true:有车牌 缺省值:false;
//extern bool is_weight; //地磅是否达到条件
//extern bool is_carStop; //光栅是否正常;
//extern vector <QString> m_VoiceList; // 语音列表
int PicNum = 0; //计数抓拍,
extern QString serialName = "com8" ;
extern long baudRate = 9600;
extern int dataBits;
extern int parity;
extern int stopBits;
extern QString ServerHost;
extern int ServerPort;
extern QString m_poundNo;
extern QString m_siteCode;
extern QString m_userName;
//结构体中的数据
static string m_busNum;//业务流水号
static string m_plateNum;//车牌号
static string m_interTime;//入场时间
static string m_outTime;//入场时间
static string m_weightTime;//称重时间
static string m_platePic;//车牌图
static string m_frontPic;//车头图
static string m_lSidePic; //左侧抓拍
static string m_rSidePic; //右侧抓拍
static double m_weightdata; //稳定重量
static int m_ErrorNo = 1;
//LCD
//extern screenArea screenText;
//extern screenArea screenPic;
int colorId = 1;
Bridge* Bridge::m_instance = nullptr;
QMutex Bridge::m_mutex;
Bridge::Bridge()
{
// m_TcpControl = TcpControl::GetInstance();
// m_MeterModel = MeterModel::GetInstance();
// m_EqptControl = EqptControl::GetInstance();
// m_EqptModel = new EqptModel;
// m_CameraControl = new CameraControl();
// m_RightCarmeraControl = new RightCarmeraControl();
// m_LeftCarmeraControl = new LeftCarmeraControl();
// m_PicToBase64Model = new PicToBase64Model();
// m_PicToBase64Model_LeftPic = new PicToBase64Model_LeftPic();
// m_PicToBase64Model_CarPic = new PicToBase64Model_CarPic();
// m_PicToBase64Model_CarPlnumPic = new PicToBase64Model_CarPlnumPic();
// m_SqliteControl = new SqliteControl();
m_ScanCodeControl = new ScanCodeControl();
// m_TcpToolsControl = new TcpToolsControl();
// m_TcpToolsModel = new TcpToolsModel();
// m_yangbangScreen = new yangbangScreen();
m_Headtimer = new QTimer();
m_Headtimer2 = new QTimer();
m_Lasttimer = new QTimer();
m_Lasttimer2 = new QTimer();
// m_TcpControl_Thread = new QThread;
// m_TcpControl->moveToThread(m_TcpControl_Thread);
// m_TcpControl_Thread->start();
// m_EqptControl_Thread = new QThread;
// m_EqptControl->moveToThread(m_EqptControl_Thread);
// m_EqptControl_Thread->start();
// m_CameraControl_Thread = new QThread;
// m_CameraControl->moveToThread(m_CameraControl_Thread);
// m_CameraControl_Thread->start();
// m_RightCarmeraControl_Thread = new QThread;
// m_RightCarmeraControl->moveToThread(m_RightCarmeraControl_Thread);
// m_RightCarmeraControl_Thread->start();
// m_LeftCarmeraControl_Thread = new QThread;
// m_LeftCarmeraControl->moveToThread(m_LeftCarmeraControl_Thread);
// m_LeftCarmeraControl_Thread->start();
// m_PicToBase64Model_Thread = new QThread;
// m_PicToBase64Model->moveToThread(m_PicToBase64Model_Thread);
// m_PicToBase64Model_Thread->start();
// m_PicToBase64Model_LeftPic_Thread = new QThread;
// m_PicToBase64Model_LeftPic->moveToThread(m_PicToBase64Model_LeftPic_Thread);
// m_PicToBase64Model_LeftPic_Thread->start();
// m_PicToBase64Model_CarPic_Thread = new QThread;
// m_PicToBase64Model_CarPic->moveToThread(m_PicToBase64Model_CarPic_Thread);
// m_PicToBase64Model_CarPic_Thread->start();
// m_PicToBase64Model_CarPlnumPic_Thread= new QThread;
// m_PicToBase64Model_CarPlnumPic->moveToThread(m_PicToBase64Model_CarPlnumPic_Thread);
// m_PicToBase64Model_CarPlnumPic_Thread->start();
// // m_SqliteControl_Thread= new QThread;
// // m_SqliteControl->moveToThread(m_SqliteControl_Thread);
// // m_SqliteControl_Thread->start();
// m_TcpToolsControl_Thread= new QThread;
// m_TcpToolsControl->moveToThread(m_TcpToolsControl_Thread);
// m_TcpToolsControl_Thread->start();
m_ScanCodeControl_Thread= new QThread;
m_ScanCodeControl->moveToThread(m_ScanCodeControl_Thread);
m_ScanCodeControl_Thread->start();
BridgeToTcpControl_connect();
BridgeToEqptControl_connect();
BridgeToEqptModel_connect();
BridgeToCameraControl_connect();
BridgeToRightCarmeraControl_connect();
BridgeToLeftCarmeraControl_connect();
BridgeToPicToBase64Model_connect();
BridgeToSqliteControl_connect();
BridgeToScanCodeControl_connect();
BridgeToTcpToolsControl_connect();
BridgeToTcpToolsModel_connect();
BridgeToyangbangScreen_connect();
}
void Bridge::BridgeToTcpControl_connect()
{
// connect(this,&Bridge::SendToTcpControl_threadStart,m_TcpControl,[=](){
// TcpControl::GetInstance()->Tcp_start();
// });
// connect(m_TcpControl,&TcpControl::SendToBridge_data,this,[=](QByteArray data){
// //qDebug()<<"m_TcpControl:"<<data;
// m_WeighingData_timely = m_MeterModel->MeterData(data);
// if(m_WeighingData_timely.toDouble() < 4.0 ||m_WeighingData_timely.toDouble() > 200.0){
// //qDebug()<<"地磅重量小于5kg,或者>100kg,不启动稳定判断";
// is_weight = false;
// }
// if(m_WeighingData_timely.toDouble() > 4.0 && m_WeighingData_timely.toDouble()< 200.0){
// //qDebug()<<"地磅重量大于5kg,小于100Kg,启动稳定判断";
// is_weight = true;
// }
// });
// connect(m_TcpControl,&TcpControl::SendToBridge_data,this,[=](QByteArray data){
// if(is_startCheck){
// m_MeterModel->RecvFromBridgeData_Weightdata(data);
// }else{
// return ;
// }
// });
// connect(m_MeterModel,&MeterModel::SendToBridge_Sqlweight,this,[=](double data){
// qDebug()<<"稳定数据:"<<data;
// m_weightdata = data;
// QString str;
// QString name_1 = "重量:";
// QString name_11 = "KG";
// QString name_2 = "过磅完成";
// str = QString("\n%1%2%3\n%4").arg(name_1).arg(m_weightdata).arg(name_11).arg(name_2);
// wstring wstr = str.toStdWString();
// m_yangbangScreen->yangbangShowText(wstr.c_str(),colorId);
// });
}
void Bridge::BridgeToEqptControl_connect()
{
// connect(m_Headtimer,&QTimer::timeout,this,[=](){
// m_Headtimer->stop();
// m_EqptControl->SendToEqptControl_HeadGreen();
// });
// connect(m_Headtimer2,&QTimer::timeout,this,[=](){
// m_Headtimer2->stop();
// m_EqptControl->SendToEqptControl_HeadRed();
// });
// connect(m_Lasttimer,&QTimer::timeout,this,[=](){
// m_Lasttimer->stop();
// m_EqptControl->SendToEqptControl_LastGreen();
// });
// connect(m_Lasttimer2,&QTimer::timeout,this,[=](){
// m_Lasttimer2->stop();
// m_EqptControl->SendToEqptControl_LastRed();
// });
// connect(this,&Bridge::SendToEqptControl_threadStart,m_EqptControl,[=](){
// EqptControl::GetInstance()->Tcp_start();
// });
// connect(this,&Bridge::SendToEqptControl_HeadGreen,m_EqptControl,[=](){
// emit EqptControl::GetInstance()->SendToEqptControl_HeadGreen();
// });
// connect(this,&Bridge::SendToEqptControl_HeadRed,m_EqptControl,[=](){
// emit EqptControl::GetInstance()->SendToEqptControl_HeadRed();
// });
// connect(this,&Bridge::SendToEqptControl_HeadTrunkUp,m_EqptControl,[=](){
// emit EqptControl::GetInstance()->SendToEqptControl_HeadTrunkUp();
// });
// connect(this,&Bridge::SendToEqptControl_HeadTrunkUpRelease,m_EqptControl,[=](){
// emit EqptControl::GetInstance()->SendToEqptControl_HeadTrunkUpRelease();
// });
// connect(this,&Bridge::SendToEqptControl_HeadTrunkLock,m_EqptControl,[=](){
// emit EqptControl::GetInstance()->SendToEqptControl_HeadTrunkLock();
// });
// connect(this,&Bridge::SendToEqptControl_HeadTrunkUnLock,m_EqptControl,[=](){
// emit EqptControl::GetInstance()->SendToEqptControl_HeadTrunkUnLock();
// });
// connect(this,&Bridge::SendToEqptControl_HeadTrunkDown,m_EqptControl,[=](){
// emit EqptControl::GetInstance()->SendToEqptControl_HeadTrunkDown();
// });
// connect(this,&Bridge::SendToEqptControl_HeadTrunkDownRelease,m_EqptControl,[=](){
// emit EqptControl::GetInstance()->SendToEqptControl_HeadTrunkDownRelease();
// });
// connect(this,&Bridge::SendToEqptControl_LastTrunkUp,m_EqptControl,[=](){
// emit EqptControl::GetInstance()->SendToEqptControl_LastTrunkUp();
// });
// connect(this,&Bridge::SendToEqptControl_LastTrunkLock,m_EqptControl,[=](){
// emit EqptControl::GetInstance()->SendToEqptControl_LastTrunkLock();
// });
// connect(this,&Bridge::SendToEqptControl_LastTrunkUnLock,m_EqptControl,[=](){
// emit EqptControl::GetInstance()->SendToEqptControl_LastTrunkUnLock();
// });
// connect(this,&Bridge::SendToEqptControl_LastTrunkUpRelease,m_EqptControl,[=](){
// emit EqptControl::GetInstance()->SendToEqptControl_LastTrunkUpRelease();
// });
// connect(this,&Bridge::SendToEqptControl_LastTrunkDown,m_EqptControl,[=](){
// emit EqptControl::GetInstance()->SendToEqptControl_LastTrunkDown();
// });
// connect(this,&Bridge::SendToEqptControl_LastTrunkDownRelease,m_EqptControl,[=](){
// emit EqptControl::GetInstance()->SendToEqptControl_LastTrunkDownRelease();
// });
// connect(this,&Bridge::SendToEqptControl_LastGreen,m_EqptControl,[=](){
// emit EqptControl::GetInstance()->SendToEqptControl_LastGreen();
// });
// connect(this,&Bridge::SendToEqptControl_LastRed,m_EqptControl,[=](){
// emit EqptControl::GetInstance()->SendToEqptControl_LastRed();
// });
// connect(this,&Bridge::SendToEqptControl_CartchPic,m_EqptControl,[=](){
// emit EqptControl::GetInstance()->SendToEqptControl_CartchPic();
// });
// connect(m_EqptControl,&EqptControl::SendToBridge_data,this,[=](QString data){
// qDebug()<<"m_EqptControl:"<<data;
// m_EqptModel->RecvFromBridge_EqptData(data);
// });
// connect(m_EqptModel,&EqptModel::CoilStatus,this,[=](QString data){
// qDebug()<<data;
// });
}
void Bridge::BridgeToEqptModel_connect()
{
// connect(m_EqptModel,&EqptModel::SendToBridge_HeadTrunk_Status,this,[=](int data){
// if(data == 1){
// m_Headtimer->start(1000);
// }else{
// m_Headtimer2->start(500);
// //m_EqptControl->SendToEqptControl_HeadRed();
// }
// });
// connect(m_EqptModel,&EqptModel::SendToBridge_LastTrunk_Status,this,[=](int data){
// if(data == 1){
// m_Lasttimer->start(1000);
// }else{
// m_Lasttimer2->start(500);
// //m_EqptControl->SendToEqptControl_LastRed();
// }
// });
// connect(m_EqptModel,&EqptModel::SendToBridge_StartCheck,this,[=](){
// if(!m_subnum.isNull() && is_weight){
// qDebug()<<"订单不为空,切承台有重量,启稳定判断";
// is_startCheck = true;
// emit SendToUi_ScanCodeWeightStart();
// //m_VoiceForm->sayVoice("称众正在进行中,请稍后");
// }
// if(m_subnum.isNull() ||!is_weight){
// qDebug()<<"订单为空,或者重量太小,不启稳定判断";
// is_startCheck = false;
// }
// });
}
void Bridge::BridgeToCameraControl_connect()
{
// connect(this,&Bridge::SendToCameraControl_Login,m_CameraControl,&CameraControl::OnClickedLogin);
// connect(m_CameraControl,&CameraControl::SendToBridge_LoginOk,this,[=](){
// qDebug()<<"抓拍机回复登陆成功信号";
// });
// connect(m_CameraControl,&CameraControl::SendToBridge_CarPic,this,
// [=](QString data1,QString data2,QString data3){
// if(data3.isNull()){
// //无车牌
// qDebug()<<"无车牌";
// //is_carPlnum = false;
// }
// if(!data3.isNull()){
// //有车牌
// qDebug()<<"有车牌";
// //is_carPlnum = true;
// qDebug()<<data3;
// m_plateNum = data3.toStdString();
// }
// });
}
void Bridge::BridgeToRightCarmeraControl_connect()
{
// connect(this,&Bridge::SendToRightCarmeraControl_Login,m_RightCarmeraControl,&RightCarmeraControl::OnClickedLogin);
// connect(this,&Bridge::SendToRightCarmeraControl_CatchRightpic,m_RightCarmeraControl,&RightCarmeraControl::OnClickedCapture);
}
void Bridge::BridgeToLeftCarmeraControl_connect()
{
// connect(this,&Bridge::SendToLeftCarmeraControl_Login,m_LeftCarmeraControl,&LeftCarmeraControl::OnClickedLogin);
// connect(this,&Bridge::SendToLeftCarmeraControl_CatchLeftpic,m_LeftCarmeraControl,&LeftCarmeraControl::OnClickedCapture);
}
void Bridge::BridgeToPicToBase64Model_connect()
{//右视图
// connect(m_RightCarmeraControl,&RightCarmeraControl::SendToBridge_Rightpic,this,[=](QString data){
// if(data.isEmpty()){
// qDebug()<<"转换图片路径错误";
// return;
// }
// emit SendToPicToBase64Model_Strat(data);
// });
// connect(this,&Bridge::SendToPicToBase64Model_Strat,
// m_PicToBase64Model,&PicToBase64Model::RecvFromBridge_picPath);
// connect(m_PicToBase64Model,&PicToBase64Model::SendToBridge_Base64data,this,[=](QByteArray data){
// if(data.isEmpty()){
// myHelper::ShowMessageBoxError("右视图转换异常!");
// }else{
// m_rSidePic = QByteToCStr(data);
// PicNum =PicNum+1;
// if(PicNum>1){
// qDebug()<<"开始发送重量";
// emit SendToTcpToolsModel_ScanCodeWeight();
// PicNum = 0;
// }
// }
// });
// //左视图
// connect(m_LeftCarmeraControl,&LeftCarmeraControl::SendToBridge_Leftpic,this,[=](QString data){
// if(data.isEmpty()){
// qDebug()<<"转换图片路径错误";
// return;
// }
// emit SendToPicToBase64Model_LeftPic_Strat(data);
// });
// connect(this,&Bridge::SendToPicToBase64Model_LeftPic_Strat,
// m_PicToBase64Model_LeftPic,&PicToBase64Model_LeftPic::RecvFromBridge_picPath);
// connect(m_PicToBase64Model_LeftPic,&PicToBase64Model_LeftPic::SendToBridge_Base64data,this,[=](QByteArray data){
// if(data.isEmpty()){
// myHelper::ShowMessageBoxError("左视图转换异常!");
// }else{
// m_lSidePic = QByteToCStr(data);
// PicNum =PicNum+1;
// if(PicNum>1){
// qDebug()<<"开始发送重量"<<"写数据到数据库";
// emit SendToTcpToolsModel_ScanCodeWeight();
// PicNum = 0;
// }
// }
// });
//前抓拍
// connect(m_CameraControl,&CameraControl::SendToBridge_CarPic,this,[=](QString data1,QString data2,QString data3){
// if(data3.isEmpty()){
// qDebug()<<"车牌识别失败,请重试";
// return;
// }
// plateNum = data3;
// picPath = data1;
// emit SendToPicToBase64Model_CarPic_Strat(data1);
// emit SendToPicToBase64Model_CarPlnumPic_Strat(data2);
// });
// connect(this,&Bridge::SendToPicToBase64Model_CarPic_Strat,
// m_PicToBase64Model_CarPic,&PicToBase64Model_CarPic::RecvFromBridge_picPath);
// connect(this,&Bridge::SendToPicToBase64Model_CarPlnumPic_Strat,
// m_PicToBase64Model_CarPlnumPic,&PicToBase64Model_CarPlnumPic::RecvFromBridge_picPath);
// connect(m_PicToBase64Model_CarPic,&PicToBase64Model_CarPic::SendToBridge_Base64data,this,[=](QByteArray data){
// //车头图
// if(data.isEmpty()){
// myHelper::ShowMessageBoxError("钱抓拍视图转换异常!");
// }else{
// m_frontPic = QByteToCStr(data);
// }
// });
// connect(m_PicToBase64Model_CarPlnumPic,&PicToBase64Model_CarPlnumPic::SendToBridge_Base64data,this,[=](QByteArray data){
// //车牌图
// if(data.isEmpty()){
// myHelper::ShowMessageBoxError("钱抓拍视图转换异常!");
// }else{
// m_platePic = QByteToCStr(data);
// }
// });
}
void Bridge::BridgeToSqliteControl_connect()
{
// connect(this,&Bridge::SendToSqliteControl_OpenDB,m_SqliteControl,&SqliteControl::OpenDB);
}
void Bridge::BridgeToScanCodeControl_connect()
{
// connect(this,&Bridge::SendToScanCodeControl_Start,m_ScanCodeControl,[=](){
// m_ScanCodeControl->setComm(serialName,baudRate);
// });
connect(m_ScanCodeControl,&ScanCodeControl::SendToBridge_ScanCodeData,this,[=](QString data){
if(!data.isNull()){
if(m_subnum != data){
m_busNum = data.toStdString();
m_subnum = data;
}
if(m_subnum == data){
return;
}
}
});
}
void Bridge::BridgeToTcpToolsControl_connect()
{
// connect(this,&Bridge::SendToTcpToolsControl_Connect,m_TcpToolsControl,[=](){
// m_TcpToolsControl->setHostAndePort(ServerHost,ServerPort);
// });
// connect(m_TcpToolsControl,&TcpToolsControl::TCPSocketIsConnected,this,[=](){
// qDebug()<<"服务器已连接";
// });
// connect(m_TcpToolsControl,&TcpToolsControl::SendToBridge_RecvData,this,[=](QByteArray data){
// qDebug()<<"处理接受服务器的数据结果:"<<m_TcpToolsModel->RecvFromBridge_ServerData(data);
// });
// connect(this,SIGNAL(SendToTcpToolsControl_Register(QByteArray)),m_TcpToolsControl,SIGNAL(RecvFromBridge_Register(QByteArray)));
// connect(this,SIGNAL(SendToTcpToolsControl_Enter1(QByteArray)),m_TcpToolsControl,SIGNAL(RecvFromBridge_Enter1(QByteArray)));
// connect(this,SIGNAL(SendToTcpToolsControl_ScanEnter(QByteArray)),m_TcpToolsControl,SIGNAL(RecvFromBridge_ScanEnter(QByteArray)));
// connect(this,SIGNAL(SendToTcpToolsControl_ScanCodeStart(QByteArray)),m_TcpToolsControl,SIGNAL(RecvFromBridge_ScanCodeStart(QByteArray)));
// connect(this,SIGNAL(SendToTcpToolsControl_Enter2(QByteArray)),m_TcpToolsControl,SIGNAL(RecvFromBridge_Enter2(QByteArray)));
// connect(this,SIGNAL(SendToTcpToolsControl_HeadTrunk(QByteArray)),m_TcpToolsControl,SIGNAL(RecvFromBridge_Enter2(QByteArray)));
// connect(this,SIGNAL(SendToTcpToolsControl_Out(QByteArray)),m_TcpToolsControl,SIGNAL(RecvFromBridge_CarOut(QByteArray)));
// connect(this,SIGNAL(SendToTcpToolsControl_ScanOut(QByteArray)),m_TcpToolsControl,SIGNAL(RecvFromBridge_CarScanOut(QByteArray)));
// connect(this,SIGNAL(SendToTcpToolsControl_Weight(QByteArray)),m_TcpToolsControl,SIGNAL(RecvFromBridge_Weight(QByteArray)));
// connect(this,SIGNAL(SendToTcpToolsControl_ScanCodeWeight(QByteArray)),m_TcpToolsControl,SIGNAL(RecvFromBridge_Weight(QByteArray)));
// connect(this,SIGNAL(SendToTcpToolsControl_Error(QByteArray)),m_TcpToolsControl,SIGNAL(RecvFromBridge_Error(QByteArray)));
}
void Bridge::BridgeToTcpToolsModel_connect()
{
// connect(this,&Bridge::SendToTcpToolsModel_Register,m_TcpToolsModel,[=](){
// //注册
// RegisterForm from;
// from.poundNo = m_poundNo.toStdString();
// from.stationCode = m_siteCode.toStdString();
// from.userName = m_userName.toStdString();
// QByteArray data = m_TcpToolsModel->SendToBridge_Register(from);
// emit SendToTcpToolsControl_Register(data);
// });
// connect(this,&Bridge::SendToTcpToolsModel_Enter1,m_TcpToolsModel,[=](){
// //模式1入场
// m_interTime = strTime();
// qDebug()<<"入场时间:"<<QString::fromStdString(m_interTime);
// qDebug()<<"入场车牌:"<<QString::fromStdString(m_plateNum);
// CarInForm from;
// from.stationCode = m_poundNo.toStdString();
// from.plateNum = m_plateNum;
// from.interTime = m_interTime;
// from.platePic = m_platePic;
// from.frontPic = m_frontPic;
// QByteArray data = m_TcpToolsModel->SendToBridge_Enter1(from);
// emit SendToTcpToolsControl_Enter1(data);
// });
// connect(this,&Bridge::SendToTcpToolsModel_ScanEnter,m_TcpToolsModel,[=](){
// //扫码入场
// m_interTime = strTime();
// qDebug()<<"入场时间:"<<QString::fromStdString(m_interTime);
// qDebug()<<"入场车牌:"<<QString::fromStdString(m_plateNum);
// CarInForm from;
// from.interTime = m_interTime;
// from.busNum = m_busNum;
// from.frontPic = m_frontPic;
// QByteArray data = m_TcpToolsModel->SendToBridge_ScanEnter(from);
// emit SendToTcpToolsControl_Enter1(data);
// });
// connect(this,&Bridge::SendToTcpToolsModel_ScanCodeStart,m_TcpToolsModel,[=](){
// //发送业务号
// WeightForm from;
// from.busNum = m_busNum;
// QByteArray data = m_TcpToolsModel->SendToBridge_ScanCodeStrat(from);
// emit SendToTcpToolsControl_ScanCodeStart(data);
// });
// connect(this,&Bridge::SendToTcpToolsModel_Enter2,m_TcpToolsModel,[=](){
// //模式2入场
// CarInForm from;
// from.stationCode = m_poundNo.toStdString();
// from.plateNum = m_plateNum;
// from.interTime = m_interTime;
// from.platePic = m_platePic;
// from.frontPic = m_frontPic;
// QByteArray data = m_TcpToolsModel->SendToBridge_Enter1(from);
// emit SendToTcpToolsControl_Enter2(data);
// });
// connect(this,&Bridge::SendToTcpToolsModel_ScanCodeWeight,m_TcpToolsModel,[=](){
// //扫码称重
// m_interTime = strTime();
// WeightForm from;
// from.busNum = m_busNum;
// from.poundNo = "001";
// from.lSidePic = m_lSidePic;
// from.rSidePic = m_rSidePic;
// from.weightTime = m_interTime;
// from.sumWeight = m_weightdata * 100;
// QByteArray data = m_TcpToolsModel->SendToBridge_ScanCodeWeight(from);
// emit SendToTcpToolsControl_ScanCodeWeight(data);
// });
// connect(this,&Bridge::SendToTcpToolsModel_HeadTrunk,m_TcpToolsModel,[=](){
// //扫码称重发送
// WeightForm from;
// from.plateNum = m_plateNum;
// from.plateNum = m_plateNum;
// from.plateNum = m_plateNum;
// //QByteArray data = m_TcpToolsModel->SendToBridge_ScanCodeWeight(from);
// // emit SendToTcpToolsControl_HeadTrunk(data);
// });
// connect(this,&Bridge::SendToTcpToolsModel_Out,m_TcpToolsModel,[=](){
// //出场
// m_outTime = strTime();
// qDebug()<<"出场时间:"<<QString::fromStdString(m_outTime);
// qDebug()<<"出场车牌:"<<QString::fromStdString(m_plateNum);
// CarOutForm from;
// from.stationCode = m_poundNo.toStdString();
// from.plateNum = m_plateNum;
// from.outTime = m_outTime;
// from.platePic = m_platePic;
// from.frontPic = m_frontPic;
// QByteArray data = m_TcpToolsModel->SendToBridge_Out(from);
// emit SendToTcpToolsControl_Out(data);
// });
// connect(this,&Bridge::SendToTcpToolsModel_ScanOut,m_TcpToolsModel,[=](){
// //扫码出场
// m_outTime = strTime();
// qDebug()<<"出场时间:"<<QString::fromStdString(m_outTime);
// qDebug()<<"出场车牌:"<<QString::fromStdString(m_plateNum);
// CarOutForm from;
// from.busNum = m_busNum;
// from.outTime = m_outTime;
// from.frontPic = m_frontPic;
// QByteArray data = m_TcpToolsModel->SendToBridge_ScanOut(from);
// emit SendToTcpToolsControl_ScanOut(data);
// });
// connect(this,&Bridge::SendToTcpToolsModel_Weight,m_TcpToolsModel,[=](){
// //重量
// m_weightTime = strTime();
// WeightForm from;
// from.poundNo = m_poundNo.toStdString();
// from.plateNum = m_plateNum;
// from.weightTime = m_weightTime;
// from.platePic = m_platePic;
// from.frontPic = m_frontPic;
// from.lSidePic = m_lSidePic;
// from.rSidePic = m_rSidePic;
// QByteArray data = m_TcpToolsModel->SendToBridge_Weight(from);
// emit SendToTcpToolsControl_Weight(data);
// });
// connect(this,&Bridge::SendToTcpToolsModel_Error,m_TcpToolsModel,[=](){
// //异常
// ErrorForm from;
// from.weightTime = m_poundNo.toStdString();
// from.errorNo = m_ErrorNo;
// QByteArray data = m_TcpToolsModel->SendToBridge_Error1(from);
// emit SendToTcpToolsControl_Error(data);
// });
//服务器返回状态
// connect(m_TcpToolsModel,&TcpToolsModel::SendToBridge_RegisterReply,this,[=](int data){
// qDebug()<<"注册回应状态:"<<data;
// if(data == 1){
// myHelper::ShowMessageBoxInfo("站点注册成功!");
// }else{
// myHelper::ShowMessageBoxError("站点注册失败!");
// }
// });
// connect(m_TcpToolsModel,&TcpToolsModel::SendToBridge_Enter1Reply,this,[=](int data){
// qDebug()<<"入场回应状态:"<<data;
// if(data == 1){
// //myHelper::ShowMessageBoxInfo("站点注册成功!");
// }else{
// myHelper::ShowMessageBoxError("入场失败!");
// }
// });
// connect(m_TcpToolsModel,&TcpToolsModel::SendToBridge_OutReply,this,[=](int data){
// qDebug()<<"出场回应状态:"<<data;
// if(data == 1){
// //myHelper::ShowMessageBoxInfo("站点注册成功!");
// }else{
// myHelper::ShowMessageBoxError("出场失败!");
// }
// });
// connect(m_TcpToolsModel,&TcpToolsModel::SendToBridge_WeightReply,this,[=](int data){
// qDebug()<<"称重回应状态:"<<data;
// if(data == 1){
// //myHelper::ShowMessageBoxInfo("站点注册成功!");
// }else{
// myHelper::ShowMessageBoxError("称重失败!");
// }
// });
// connect(m_TcpToolsModel,&TcpToolsModel::SendToBridge_HeadTrunkReply,this,[=](int data){
// qDebug()<<"道闸回应状态:"<<data;
// if(data == 1){
// //myHelper::ShowMessageBoxInfo("站点注册成功!");
// }else{
// myHelper::ShowMessageBoxError("道闸失败!");
// }
// });
// connect(m_TcpToolsModel,&TcpToolsModel::SendToBridge_Error1Reply,this,[=](int data){
// qDebug()<<"异常回应状态:"<<data;
// if(data == 1){
// //myHelper::ShowMessageBoxInfo("站点注册成功!");
// }else{
// myHelper::ShowMessageBoxError("异常失败!");
// }
// });
// connect(m_TcpToolsModel,&TcpToolsModel::SendToBridge_ScanEnterReply,this,[=](int data){
// qDebug()<<"扫码入场回应状态:"<<data;
// if(data == 1){
// //myHelper::ShowMessageBoxInfo("扫码入场成功!");
// emit m_EqptControl->SendToEqptControl_HeadTrunkUp();
// }else{
// //myHelper::ShowMessageBoxError("扫码入场失败!");
// }
// });
// connect(m_TcpToolsModel,&TcpToolsModel::SendToBridge_ScanCodeStartReply,this,[=](int data){
// qDebug()<<"业务流水号回应状态:"<<data;
// if(data == 1){
// emit m_EqptControl->SendToEqptControl_HeadTrunkUp();
// emit SendToUi_ScanCodeReplay();
// }else{
// emit SendToUi_ScanCodeReplayError();
// //myHelper::ShowMessageBoxError("扫码入场失败!");
// }
// });
// connect(m_TcpToolsModel,&TcpToolsModel::SendToBridge_ScanCodeWeightReply,this,[=](int data){
// qDebug()<<"称重回应状态:"<<data;
// if(data == 1){
// emit m_EqptControl->SendToEqptControl_LastTrunkUp();
// }else{
// myHelper::ShowMessageBoxError("称重失败失败!请重来");
// }
// });
}
void Bridge::BridgeToyangbangScreen_connect()
{
// connect(this,&Bridge::SendToyangbangScreen_Login,this,[=](){
// m_yangbangScreen->InitScreen(screenText.ip,screenText.prot);
// });
}
string Bridge::QByteToCStr(QByteArray data)
{
qDebug()<<"图片格式转换";
return QString(data).toStdString();
}
string Bridge::strTime()
{
QDateTime currentDateTime = QDateTime::currentDateTime();
QString tim = currentDateTime.toString("yyyy-MM-dd hh:mm:ss");
return tim.toStdString();
}
Bridge::~Bridge()
{
}
Bridge *Bridge::GetInstance()
{
if (m_instance == nullptr)
{
QMutexLocker locker(&m_mutex);
if (m_instance == nullptr)
{
m_instance = new Bridge();
}
}
return m_instance;
}
void Bridge::CD_is_startCheck()
{
is_startCheck = false;
}
QString Bridge::UpDataUi_WeighingData()
{
return m_WeighingData_timely;
}
QString Bridge::UpDataUi_carInTime()
{
return QString::fromStdString(m_interTime);
}
QString Bridge::UpDataUi_carOutTime()
{
return QString::fromStdString(m_outTime);
}
#ifndef BRIDGE_H
#define BRIDGE_H
#include <QMutex>
#include <QObject>
#include <QThread>
#include <windows.h>
//#include "getPcInfo_model/globalapiclass.h" //获取电脑信息
//#include "meter_control/tcpcontrol.h" // 仪表控制--TCP链接
//#include "meter_model/metermodel.h" // 仪表数据处理
//#include "eqpt_control/eqptcontrol.h" // 外围设备控制
//#include "eqpt_model/eqptmodel.h"
//#include "hkCapture_control/cameracontrol.h" // 抓拍机控制模块
//#include "rightCarmera_control/rightcarmeracontrol.h" // 右侧相机控制
//#include "leftCarmera_control/leftcarmeracontrol.h" // 左侧相机控制
//#include "picToBase64_model/pictobase64model.h" //图片转换控制
////#include "sqlite_control/sqlitecontrol.h" //数据库管理模块
////#include "voice_view/voiceview.h" // 语音管理模块
#include "scanCode_control/scancodecontrol.h" //扫码模块
//#include "tcpTools_control/tcptoolscontrol.h" //TCP控制模块
//#include "tcpTools_model/tcptoolsmodel.h" //TCP数据管理模块
//#include "led_model/yangbangscreen.h"
//#include "weightinfo.h"
using namespace std;
class Bridge : public QObject
{
Q_OBJECT
public:
~Bridge();
//单例模式
static Bridge* GetInstance();
//声明模块
//TcpControl *m_TcpControl;
//MeterModel *m_MeterModel;
QString m_subnum; //缓存业务流水号
//EqptControl *m_EqptControl;
//EqptModel *m_EqptModel;
//CameraControl *m_CameraControl;
//RightCarmeraControl *m_RightCarmeraControl;
// LeftCarmeraControl *m_LeftCarmeraControl;
// PicToBase64Model *m_PicToBase64Model;
// PicToBase64Model_LeftPic *m_PicToBase64Model_LeftPic;
// PicToBase64Model_CarPic *m_PicToBase64Model_CarPic;
// PicToBase64Model_CarPlnumPic *m_PicToBase64Model_CarPlnumPic;
// SqliteControl *m_SqliteControl;
ScanCodeControl *m_ScanCodeControl;
// TcpToolsControl *m_TcpToolsControl;
// TcpToolsModel *m_TcpToolsModel;
// yangbangScreen *m_yangbangScreen;
public:
//更改状态
void CD_is_startCheck();
//通过回调函数,更新Ui界面数据;
QString UpDataUi_WeighingData();
QString UpDataUi_carInTime();
QString UpDataUi_carOutTime();
signals:
//仪表线程启动信号
void SendToTcpControl_threadStart();
//外围设备线程启动信号
void SendToEqptControl_threadStart();
//通过界面绿灯
void SendToEqptControl_HeadGreen();
void SendToEqptControl_HeadRed();
void SendToEqptControl_HeadTrunkUp();
void SendToEqptControl_HeadTrunkUpRelease();
void SendToEqptControl_HeadTrunkLock();
void SendToEqptControl_HeadTrunkUnLock();
void SendToEqptControl_HeadTrunkDown();
void SendToEqptControl_HeadTrunkDownRelease();
void SendToEqptControl_LastTrunkUp();
void SendToEqptControl_LastTrunkLock();
void SendToEqptControl_LastTrunkUnLock();
void SendToEqptControl_LastTrunkUpRelease();
void SendToEqptControl_LastTrunkDown();
void SendToEqptControl_LastTrunkDownRelease();
void SendToEqptControl_LastGreen();
void SendToEqptControl_LastRed();
void SendToEqptControl_CartchPic();
//抓拍机控制
void SendToCameraControl_Login();
void SendToCameraControl_Catchpic();
// //右侧相机
void SendToRightCarmeraControl_Login();
void SendToRightCarmeraControl_CatchRightpic();
// //左侧相机
void SendToLeftCarmeraControl_Login();
void SendToLeftCarmeraControl_CatchLeftpic();
//图片转换
void SendToPicToBase64Model_Strat(QString data);
void SendToPicToBase64Model_LeftPic_Strat(QString data);
void SendToPicToBase64Model_CarPic_Strat(QString data);
void SendToPicToBase64Model_CarPlnumPic_Strat(QString data);
// 数据库
void SendToSqliteControl_OpenDB(); //打开数据库
// void SendToSqliteControl_InsertDB(Vehicle_info &info); //插入数据库
void SendToSqliteControl_DeletDB(); //删除数据库
void SendToSqliteControl_UpDataDB(); //更新数据库
void SendToSqliteControl_SelectDB(); //查询数据库
//扫码
void SendToScanCodeControl_Start();
//TCP
void SendToTcpToolsControl_Connect(); //连接服务器
void SendToTcpToolsControl_Register(QByteArray data); //连接服务器
void SendToTcpToolsControl_Enter1(QByteArray data); //模式一入场
void SendToTcpToolsControl_ScanCodeStart(QByteArray data); //发送扫码数据
void SendToTcpToolsControl_ScanEnter(QByteArray data); //扫码入场
void SendToTcpToolsControl_Enter2(QByteArray data); //模式二入场
void SendToTcpToolsControl_HeadTrunk(QByteArray data); //前道闸
void SendToTcpToolsControl_Out(QByteArray data); //出场
void SendToTcpToolsControl_ScanOut(QByteArray data); //出场
void SendToTcpToolsControl_Weight(QByteArray data); //称重
void SendToTcpToolsControl_ScanCodeWeight(QByteArray data); //扫码称重
void SendToTcpToolsControl_Error(QByteArray data); //异常
//TCP_MODEL
void SendToTcpToolsModel_Register(); //站点注册
void SendToTcpToolsModel_Enter1(); //模式一入场
void SendToTcpToolsModel_ScanEnter(); //扫码入场
void SendToTcpToolsModel_ScanCodeStart(); //扫码开始称重
void SendToTcpToolsModel_Enter2(); //模式二入场
void SendToTcpToolsModel_HeadTrunk(); //前道闸
void SendToTcpToolsModel_ScanCodeWeight(); //扫码称重
void SendToTcpToolsModel_Out(); //出场
void SendToTcpToolsModel_ScanOut(); //出场
void SendToTcpToolsModel_Weight(); //称重
void SendToTcpToolsModel_Error(); //异常
//LCD 显示屏
void SendToyangbangScreen_Login(); //登陆
//发送给界面提示称重开始
void SendToUi_ScanCodeWeightStart();
void SendToUi_ScanCodeReplay();
void SendToUi_ScanCodeReplayError();
public slots:
private:
Bridge();
static Bridge *m_instance;
static QMutex m_mutex;
QThread *m_TcpControl_Thread;
QThread *m_EqptControl_Thread;
QThread *m_CameraControl_Thread;
QThread *m_RightCarmeraControl_Thread;
QThread *m_LeftCarmeraControl_Thread;
QThread *m_PicToBase64Model_Thread;
QThread *m_PicToBase64Model_LeftPic_Thread;
QThread *m_PicToBase64Model_CarPic_Thread;
QThread *m_PicToBase64Model_CarPlnumPic_Thread;
QThread *m_SqliteControl_Thread;
QThread *m_ScanCodeControl_Thread;
QThread *m_TcpToolsControl_Thread;
void BridgeToTcpControl_connect(); // 桥和仪表之间的通讯
void BridgeToEqptControl_connect(); // 桥和外围设备之间的通讯
void BridgeToEqptModel_connect(); // 桥和外围处理设备之间的通讯
void BridgeToCameraControl_connect(); // 桥和抓拍机之间的通讯
void BridgeToRightCarmeraControl_connect(); // 桥和右侧相机之间的通讯
void BridgeToLeftCarmeraControl_connect(); // 桥和左侧相机之间的通讯
void BridgeToPicToBase64Model_connect(); // 桥和图片转换器之间的通讯
void BridgeToSqliteControl_connect(); // 桥和数据库之间的通讯
void BridgeToScanCodeControl_connect(); // 桥和扫码模块之间的通讯
void BridgeToTcpToolsControl_connect(); // 桥和TCP控制模块之间的通讯
void BridgeToTcpToolsModel_connect(); // 桥和TCP控制模块之间的通讯
void BridgeToyangbangScreen_connect(); // 桥和LCD控制模块之间的通讯
string QByteToCStr(QByteArray data);
string strTime();
private:
//实时称重
QString m_WeighingData_timely; //实时称重数据
QString plateNum = "";
QString picPath = "";
bool is_weight = false;
bool is_startCheck = false;
QTimer *m_Headtimer;
QTimer *m_Headtimer2;
QTimer *m_Lasttimer;
QTimer *m_Lasttimer2;
};
#endif // BRIDGE_H
#include "frmmessagebox.h"
#include "ui_frmmessagebox.h"
#include "iconhelper.h"
#include "myhelper.h"
frmMessageBox::frmMessageBox(QWidget *parent) :
QDialog(parent),
ui(new Ui::frmMessageBox)
{
ui->setupUi(this);
this->mousePressed = false;
//设置窗体标题栏隐藏
this->setWindowFlags(Qt::FramelessWindowHint);
//设置窗体关闭时自动释放内存
this->setAttribute(Qt::WA_DeleteOnClose);
//设置图形字体
IconHelper::Instance()->SetIcon(ui->lab_Ico, QChar(0xf015), 12);
IconHelper::Instance()->SetIcon(ui->btnMenu_Close, QChar(0xf00d), 10);
//关联关闭按钮
connect(ui->btnMenu_Close, SIGNAL(clicked()), this, SLOT(close()));
connect(ui->btnCancel, SIGNAL(clicked()), this, SLOT(close()));
//窗体居中显示
myHelper::FormInCenter(this);
}
frmMessageBox::~frmMessageBox()
{
delete ui;
}
void frmMessageBox::SetMessage(const QString &msg, int type)
{
if (type == 0) {
ui->labIcoMain->setStyleSheet("border-image: url(:/image/info.png);");
ui->btnCancel->setVisible(false);
ui->lab_Title->setText("提示");
} else if (type == 1) {
ui->labIcoMain->setStyleSheet("border-image: url(:/image/question.png);");
ui->lab_Title->setText("询问");
} else if (type == 2) {
ui->labIcoMain->setStyleSheet("border-image: url(:/image/error.png);");
ui->btnCancel->setVisible(false);
ui->lab_Title->setText("错误");
}
ui->labInfo->setText(msg);
}
void frmMessageBox::on_btnOk_clicked()
{
done(1);
this->close();
}
void frmMessageBox::mouseMoveEvent(QMouseEvent *e)
{
if (mousePressed && (e->buttons() && Qt::LeftButton)) {
this->move(e->globalPos() - mousePoint);
e->accept();
}
}
void frmMessageBox::mousePressEvent(QMouseEvent *e)
{
if (e->button() == Qt::LeftButton) {
mousePressed = true;
mousePoint = e->globalPos() - this->pos();
e->accept();
}
}
void frmMessageBox::mouseReleaseEvent(QMouseEvent *)
{
mousePressed = false;
}
#ifndef FRMMESSAGEBOX_H
#define FRMMESSAGEBOX_H
#include <QDialog>
#include <QMouseEvent>
namespace Ui {
class frmMessageBox;
}
class frmMessageBox : public QDialog
{
Q_OBJECT
public:
explicit frmMessageBox(QWidget *parent = 0);
~frmMessageBox();
void SetMessage(const QString &msg, int type);
protected:
void mouseMoveEvent(QMouseEvent *e);
void mousePressEvent(QMouseEvent *e);
void mouseReleaseEvent(QMouseEvent *);
private slots:
void on_btnOk_clicked();
private:
Ui::frmMessageBox *ui;
QPoint mousePoint; //鼠标拖动自定义标题栏时的坐标
bool mousePressed; //鼠标是否按下
};
#endif // FRMMESSAGEBOX_H
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>frmMessageBox</class>
<widget class="QDialog" name="frmMessageBox">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>303</width>
<height>143</height>
</rect>
</property>
<property name="windowTitle">
<string>提示</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QWidget" name="widget_title" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>100</width>
<height>28</height>
</size>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="lab_Ico">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>31</width>
<height>0</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lab_Title">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">font: 10pt &quot;微软雅黑&quot;;</string>
</property>
<property name="text">
<string>提示</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QWidget" name="widget_menu" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QPushButton" name="btnMenu_Close">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
<property name="cursor">
<cursorShape>ArrowCursor</cursorShape>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="toolTip">
<string>关闭</string>
</property>
<property name="text">
<string/>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QWidget" name="widget_main" native="true">
<property name="styleSheet">
<string notr="true">font: 11pt &quot;微软雅黑&quot;;</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="spacing">
<number>5</number>
</property>
<property name="leftMargin">
<number>5</number>
</property>
<property name="topMargin">
<number>5</number>
</property>
<property name="rightMargin">
<number>5</number>
</property>
<property name="bottomMargin">
<number>5</number>
</property>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string/>
</property>
<widget class="QLabel" name="labIcoMain">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>45</width>
<height>45</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border-image: url(:/image/info.png);</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="labInfo">
<property name="geometry">
<rect>
<x>70</x>
<y>10</y>
<width>211</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string>确定要删除吗?</string>
</property>
<property name="scaledContents">
<bool>false</bool>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>60</y>
<width>271</width>
<height>34</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="btnOk">
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="focusPolicy">
<enum>Qt::StrongFocus</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>确定(&amp;O)</string>
</property>
<property name="icon">
<iconset resource="image.qrc">
<normaloff>:/image/ok.png</normaloff>:/image/ok.png</iconset>
</property>
<property name="iconSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnCancel">
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="focusPolicy">
<enum>Qt::StrongFocus</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>取消(&amp;C)</string>
</property>
<property name="icon">
<iconset resource="image.qrc">
<normaloff>:/image/delete.png</normaloff>:/image/delete.png</iconset>
</property>
<property name="iconSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources>
<include location="image.qrc"/>
</resources>
<connections/>
</ui>
#include "iconhelper.h"
IconHelper* IconHelper::_instance = 0;
IconHelper::IconHelper(QObject*):
QObject(qApp)
{
int fontId = QFontDatabase::addApplicationFont(":/image/fontawesome-webfont.ttf");
QString fontName = QFontDatabase::applicationFontFamilies(fontId).at(0);
iconFont = QFont(fontName);
}
void IconHelper::SetIcon(QLabel* lab, QChar c, int size)
{
iconFont.setPointSize(size);
lab->setFont(iconFont);
lab->setText(c);
}
void IconHelper::SetIcon(QPushButton* btn, QChar c, int size)
{
iconFont.setPointSize(size);
btn->setFont(iconFont);
btn->setText(c);
}
#ifndef ICONHELPER_H
#define ICONHELPER_H
#include <QObject>
#include <QFont>
#include <QFontDatabase>
#include <QMutex>
#include <QLabel>
#include <QPushButton>
#include <QApplication>
class IconHelper : public QObject
{
private:
explicit IconHelper(QObject *parent = 0);
QFont iconFont;
static IconHelper* _instance;
public:
static IconHelper* Instance()
{
static QMutex mutex;
if (!_instance) {
QMutexLocker locker(&mutex);
if (!_instance) {
_instance = new IconHelper;
}
}
return _instance;
}
void SetIcon(QLabel* lab, QChar c, int size = 10);
void SetIcon(QPushButton* btn, QChar c, int size = 10);
};
#endif // ICONHELPER_H
<RCC>
<qresource prefix="/">
<file>image/2008060216255190.jpg</file>
<file>image/add.png</file>
<file>image/add-line_horizontal.png</file>
<file>image/add-line_vertical.png</file>
<file>image/array_down.png</file>
<file>image/black.css</file>
<file>image/blue.css</file>
<file>image/checkbox_checked.png</file>
<file>image/checkbox_unchecked.png</file>
<file>image/clean.png</file>
<file>image/Close_0.png</file>
<file>image/Close_1.png</file>
<file>image/db_admin_0.png</file>
<file>image/db_admin_1.png</file>
<file>image/db_cdPwd_0.png</file>
<file>image/db_cdPwd_1.png</file>
<file>image/db_cdUser_0.png</file>
<file>image/db_cdUser_1.png</file>
<file>image/db_close_0.png</file>
<file>image/db_close_1.png</file>
<file>image/db_select_0.png</file>
<file>image/db_select_1.png</file>
<file>image/db_setting_0.png</file>
<file>image/db_setting_1.png</file>
<file>image/debug.jpg</file>
<file>image/delete.png</file>
<file>image/down.png</file>
<file>image/downLoad.png</file>
<file>image/downloadPic.png</file>
<file>image/error.png</file>
<file>image/firewareUpdate.jpg</file>
<file>image/Font Awesome Cheatsheet.png</file>
<file>image/fontawesome-webfont.ttf</file>
<file>image/gray.css</file>
<file>image/header.png</file>
<file>image/ic_launcher_wallpaper.png</file>
<file>image/info.png</file>
<file>image/jinmai_icon.png</file>
<file>image/jinmai_logo.png</file>
<file>image/Login_Dialog.qss</file>
<file>image/main.png</file>
<file>image/Min_0.png</file>
<file>image/Min_1.png</file>
<file>image/navy.css</file>
<file>image/off.ico</file>
<file>image/ok.png</file>
<file>image/on.ico</file>
<file>image/open.png</file>
<file>image/qt_zh_CN.qm</file>
<file>image/question.png</file>
<file>image/radio_normal.png</file>
<file>image/radio_selected.png</file>
<file>image/save.png</file>
<file>image/send.png</file>
<file>image/setting.png</file>
<file>image/sub-line_horizontal.png</file>
<file>image/sub-line_vertical.png</file>
<file>image/up.png</file>
<file>image/update.png</file>
</qresource>
</RCC>
*{
font-family:Microsoft YaHei;
}
QWidget#wid_main{
background-color: #1B89CA;
border: 1px solid #1B89CA;
border-radius: 10px;
}
QWidget#widget_sec{
background-color: rgb(255,255,255);
border: 1px solid rgb(255,255,255);
border-bottom-left-radius:10px;
border-bottom-right-radius:10px;
}
QLabel{
background: transparent;
border: 1px solid transparent;
color:rgb(0,0,0);
font-weight: bold;
font: 25 15pt "Microsoft YaHei";
padding: 1px;
}
QLabel#lab_title{
color:rgb(255,255,255);
font: 50 10pt "Microsoft YaHei";
}
QLabel#lab_name{
font: 50 20pt "Microsoft YaHei";
}
QLabel#lab_user{
font: 25 12pt "Microsoft YaHei";
}
QLabel#lab_pwd{
font: 25 12pt "Microsoft YaHei";
}
QLabel#lab_logo{
border-image: url(:/image/jinmai_icon.png);
}
/*密码框*/
QLineEdit#lineEdit_pwd,#lineEdit_user
{
border: 1px solid rgb(209 , 209 , 209);
border-right:transparent;
border-left:transparent;
border-top:transparent;
}
QLineEdit#lineEdit_pwd,#lineEdit_user:hover
{
padding-top:0px ;
border-top:transparent;
border-left:transparent;
border-right:transparent;
}
QPushButton {
background-color: #1B89CA;
border: 1px solid transparent;
font-weight: bold;
font: 25 15pt "Microsoft YaHei";
padding: 1px 4px;
}
QPushButton:hover{
}
QPushButton:pressed
{
}
/*登陆按钮*/
QPushButton#pbn_login
{
color:#e6e6e6;
font-weight: bold;
background-color:#1B89CA;
border-radius:5px;
}
QPushButton#pbn_login:hover
{
color:white;
background-color:#5CACEE;
}
QPushButton#pbn_login:pressed
{
color:#e6e6e6;
background-color:#1B89CA;
padding-left:3px;
padding-top:3px;
}
/*最小化窗口*/
QPushButton#pbn_min{
border-image: url(:/image/Min_0.png);
}
QPushButton#pbn_min:hover{
border-image: url(:/image/Min_1.png);
}
QPushButton#pbn_min:pressed{
border-image: url(:/image/Min_0.png);
}
/*关闭窗口*/
QPushButton#pbn_close{
border-image: url(:/image/Close_0.png);
}
QPushButton#pbn_close:hover{
border-image: url(:/image/Close_1.png);
}
QPushButton#pbn_close:pressed{
border-image: url(:/image/Close_0.png);
}
QWidget#frmLogin,QWidget#frmPopup,QWidget#frmHostInfo,QWidget#frmLogout,QWidget#frmConfig,QWidget#frmData,QWidget#frmDefence,QWidget#frmHost,QWidget#frmMain,QWidget#frmPwd,QWidget#frmSelect,QWidget#frmMessageBox{
border:1px solid #4D4D4D;
border-radius:0px;
}
.QFrame{
border:1px solid #636363;
border-radius:5px;
}
QWidget#widget_title{
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #4D4D4D, stop:1 #292929);
}
QLabel#lab_Ico,QLabel#lab_Title{
border-radius:0px;
color: #F0F0F0;
background-color:rgba(0,0,0,0);
border-style:none;
}
QLineEdit {
border: 1px solid #636363;
border-radius: 5px;
padding: 2px;
background: none;
selection-background-color: #4D4D4D;
}
QLineEdit[echoMode="2"] {
lineedit-password-character: 9679;
}
.QGroupBox{
border: 1px solid #636363;
border-radius: 5px;
}
.QPushButton{
border-style: none;
border: 0px;
color: #F0F0F0;
padding: 5px;
min-height: 20px;
border-radius:5px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #4D4D4D, stop:1 #292929);
}
.QPushButton[focusPolicy="0"] {
border-style: none;
border: 0px;
color: #F0F0F0;
padding: 0px;
min-height: 10px;
border-radius:3px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #4D4D4D, stop:1 #292929);
}
.QPushButton:hover{
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #636363, stop:1 #575757);
}
.QPushButton:pressed{
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #4D4D4D, stop:1 #292929);
}
QPushButton#btnMenu,QPushButton#btnMenu_Min,QPushButton#btnMenu_Max,QPushButton#btnMenu_Close{
border-radius:0px;
color: #F0F0F0;
background-color:rgba(0,0,0,0);
border-style:none;
}
QPushButton#btnMenu:hover,QPushButton#btnMenu_Min:hover,QPushButton#btnMenu_Max:hover{
background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(25, 134, 199, 0), stop:1 #636363);
}
QPushButton#btnMenu_Close:hover{
background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(238, 0, 0, 128), stop:1 rgba(238, 44, 44, 255));
}
QCheckBox {
spacing: 2px;
}
QCheckBox::indicator {
width: 20px;
height: 20px;
}
QCheckBox::indicator:unchecked {
image: url(:/image/checkbox_unchecked.png);
}
QCheckBox::indicator:checked {
image: url(:/image/checkbox_checked.png);
}
QRadioButton {
spacing: 2px;
}
QRadioButton::indicator {
width: 15px;
height: 15px;
}
QRadioButton::indicator::unchecked {
image: url(:/image/radio_normal.png);
}
QRadioButton::indicator::checked {
image: url(:/image/radio_selected.png);
}
QComboBox,QDateEdit{
border-radius: 3px;
padding: 1px 10px 1px 5px;
border: 1px solid #636363;
}
QComboBox::drop-down,QDateEdit::drop-down {
subcontrol-origin: padding;
subcontrol-position: top right;
width: 15px;
border-left-width: 1px;
border-left-style: solid;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
border-left-color: #636363;
}
QComboBox::down-arrow,QDateEdit::down-arrow {
image: url(:/image/array_down.png);
}
QMenu {
background-color:#F0F0F0;
margin: 2px;
}
QMenu::item {
padding: 2px 12px 2px 12px;
}
QMenu::indicator {
width: 13px;
height: 13px;
}
QMenu::item:selected {
color: #F0F0F0;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #4D4D4D, stop:1 #292929);
}
QMenu::separator {
height: 1px;
background: #636363;
}
QProgressBar {
border-radius: 5px;
text-align: center;
border: 1px solid #636363;
}
QProgressBar::chunk {
width: 5px;
margin: 0.5px;
background-color: #4D4D4D;
}
QSlider::groove:horizontal,QSlider::add-page:horizontal {
background: #808080;
height: 8px;
border-radius: 3px;
}
QSlider::sub-page:horizontal {
height: 8px;
border-radius: 3px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #4D4D4D, stop:1 #292929);
}
QSlider::handle:horizontal {
width: 13px;
margin-top: -3px;
margin-bottom: -3px;
border-radius: 6px;
background: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5,stop:0.6 #F0F0F0, stop:0.778409 #636363);
}
QSlider::handle:horizontal:hover {
background: qradialgradient(spread: pad, cx: 0.5, cy: 0.5, radius: 0.5, fx: 0.5, fy: 0.5, stop: 0.6 #F0F0F0,stop:0.778409 #4D4D4D);
}
QSlider::groove:vertical,QSlider::sub-page:vertical {
background:#808080;
width: 8px;
border-radius: 3px;
}
QSlider::add-page:vertical {
width: 8px;
border-radius: 3px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #4D4D4D, stop:1 #292929);
}
QSlider::handle:vertical {
height: 14px;
margin-left: -3px;
margin-right: -3px;
border-radius: 6px;
background: qradialgradient(spread: pad, cx: 0.5, cy: 0.5, radius: 0.5, fx: 0.5, fy: 0.5, stop: 0.6 #F0F0F0, stop:0.778409 #636363);
}
QSlider::handle:vertical:hover {
background: qradialgradient(spread: pad, cx: 0.5, cy: 0.5, radius: 0.5, fx: 0.5, fy: 0.5, stop: 0.6 #F0F0F0,stop:0.778409 #4D4D4D);
}
QScrollBar:vertical {
width:10px;
background-color:rgba(0,0,0,0%);
padding-top:10px;
padding-bottom:10px;
}
QScrollBar:horizontal {
height:10px;
background-color:rgba(0,0,0,0%);
padding-left:10px; padding-right:10px;
}
QScrollBar::handle:vertical {
width:10px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #636363, stop:1 #575757);
}
QScrollBar::handle:horizontal {
height:10px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #636363, stop:1 #575757);
}
QScrollBar::handle:vertical:hover {
width:10px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #4D4D4D, stop:1 #292929);
}
QScrollBar::handle:horizontal:hover {
height:10px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #4D4D4D, stop:1 #292929);
}
QScrollBar::add-line:vertical {
height:10px;
width:10px;
subcontrol-position: bottom;
subcontrol-origin: margin;
border-image:url(:/image/add-line_vertical.png);
}
QScrollBar::add-line:horizontal {
height:10px;
width:10px;
subcontrol-position: right;
subcontrol-origin: margin;
border-image:url(:/image/add-line_horizontal.png);
}
QScrollBar::sub-line:vertical {
height:10px;
width:10px;
subcontrol-position: top;
subcontrol-origin: margin;
border-image:url(:/image/sub-line_vertical.png);
}
QScrollBar::sub-line:horizontal {
height:10px;
width:10px;
subcontrol-position: left;
subcontrol-origin: margin;
border-image:url(:/image/sub-line_horizontal.png);
}
QScrollBar::add-page:vertical,QScrollBar::sub-page:vertical {
width:10px;
background: #C0C0C0;
}
QScrollBar::add-page:horizontal,QScrollBar::sub-page:horizontal {
height:10px;
background: #C0C0C0;
}
QScrollArea {
border: 0px ;
}
QTreeView,QListView,QTableView{
border: 1px solid #636363;
selection-background-color: #4D4D4D;
selection-color: #F0F0F0;
}
QTableView::item:selected, QListView::item:selected, QTreeView::item:selected {
color: #F0F0F0;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #4D4D4D, stop:1 #292929);
}
QTableView::item:hover, QListView::item:hover, QTreeView::item:hover {
color: #F0F0F0;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #636363, stop:1 #575757);
}
QTableView::item, QListView::item, QTreeView::item {
padding: 5px;
margin: 0px;
}
QHeaderView::section {
padding:3px;
margin:0px;
color:#F0F0F0;
border: 1px solid #F0F0F0;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #636363, stop:1 #575757);
}
QTabBar::tab {
border-bottom-left-radius:0px;
border-bottom-right-radius:0px;
color: #F0F0F0;
min-width: 60px;
min-height: 20px;
padding: 3px 8px 3px 8px;
margin:1px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #636363, stop:1 #575757);
}
QTabBar::tab:selected, QTabBar::tab:hover {
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #4D4D4D, stop:1 #292929);
}
QStatusBar::item {
border: 1px solid #636363;
border-radius: 3px;
}
\ No newline at end of file
QWidget#frmLogin,QWidget#frmPopup,QWidget#frmHostInfo,QWidget#frmLogout,QWidget#frmConfig,QWidget#frmData,QWidget#frmDefence,QWidget#frmHost,QWidget#frmMain,QWidget#frmPwd,QWidget#frmSelect,QWidget#frmMessageBox{
border:1px solid #1B89CA;
border-radius:0px;
}
.QFrame{
border:1px solid #5CACEE;
border-radius:5px;
}
QWidget#widget_title{
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5);
}
QLabel#lab_Ico,QLabel#lab_Title{
border-radius:0px;
color: #F0F0F0;
background-color:rgba(0,0,0,0);
border-style:none;
}
QLineEdit {
border: 1px solid #5CACEE;
border-radius: 5px;
padding: 2px;
background: none;
selection-background-color: #1B89CA;
}
QLineEdit[echoMode="2"] {
lineedit-password-character: 9679;
}
.QGroupBox{
border: 1px solid #5CACEE;
border-radius: 5px;
}
.QPushButton{
border-style: none;
border: 0px;
color: #F0F0F0;
padding: 5px;
min-height: 20px;
border-radius:5px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5);
}
.QPushButton[focusPolicy="0"] {
border-style: none;
border: 0px;
color: #F0F0F0;
padding: 0px;
min-height: 10px;
border-radius:3px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5);
}
.QPushButton:hover{
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #5CACEE, stop:1 #4F94CD);
}
.QPushButton:pressed{
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5);
}
QPushButton#btnMenu,QPushButton#btnMenu_Min,QPushButton#btnMenu_Max,QPushButton#btnMenu_Close{
border-radius:0px;
color: #F0F0F0;
background-color:rgba(0,0,0,0);
border-style:none;
}
QPushButton#btnMenu:hover,QPushButton#btnMenu_Min:hover,QPushButton#btnMenu_Max:hover{
background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(25, 134, 199, 0), stop:1 #5CACEE);
}
QPushButton#btnMenu_Close:hover{
background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(238, 0, 0, 128), stop:1 rgba(238, 44, 44, 255));
}
QCheckBox {
spacing: 2px;
}
QCheckBox::indicator {
width: 20px;
height: 20px;
}
QCheckBox::indicator:unchecked {
image: url(:/image/checkbox_unchecked.png);
}
QCheckBox::indicator:checked {
image: url(:/image/checkbox_checked.png);
}
QRadioButton {
spacing: 2px;
}
QRadioButton::indicator {
width: 15px;
height: 15px;
}
QRadioButton::indicator::unchecked {
image: url(:/image/radio_normal.png);
}
QRadioButton::indicator::checked {
image: url(:/image/radio_selected.png);
}
QComboBox,QDateEdit{
border-radius: 3px;
padding: 1px 10px 1px 5px;
border: 1px solid #5CACEE;
}
QComboBox::drop-down,QDateEdit::drop-down {
subcontrol-origin: padding;
subcontrol-position: top right;
width: 15px;
border-left-width: 1px;
border-left-style: solid;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
border-left-color: #5CACEE;
}
QComboBox::down-arrow,QDateEdit::down-arrow {
image: url(:/image/array_down.png);
}
QMenu {
background-color:#F0F0F0;
margin: 2px;
}
QMenu::item {
padding: 2px 12px 2px 12px;
}
QMenu::indicator {
width: 13px;
height: 13px;
}
QMenu::item:selected {
color: #FFFFFF;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5);
}
QMenu::separator {
height: 1px;
background: #5CACEE;
}
QProgressBar {
border-radius: 5px;
text-align: center;
border: 1px solid #5CACEE;
}
QProgressBar::chunk {
width: 5px;
margin: 0.5px;
background-color: #1B89CA;
}
QSlider::groove:horizontal,QSlider::add-page:horizontal {
background: #808080;
height: 8px;
border-radius: 3px;
}
QSlider::sub-page:horizontal {
height: 8px;
border-radius: 3px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5);
}
QSlider::handle:horizontal {
width: 13px;
margin-top: -3px;
margin-bottom: -3px;
border-radius: 6px;
background: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5,stop:0.6 #F0F0F0, stop:0.778409 #5CACEE);
}
QSlider::handle:horizontal:hover {
background: qradialgradient(spread: pad, cx: 0.5, cy: 0.5, radius: 0.5, fx: 0.5, fy: 0.5, stop: 0.6 #F0F0F0,stop:0.778409 #1B89CA);
}
QSlider::groove:vertical,QSlider::sub-page:vertical {
background:#808080;
width: 8px;
border-radius: 3px;
}
QSlider::add-page:vertical {
width: 8px;
border-radius: 3px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5);
}
QSlider::handle:vertical {
height: 14px;
margin-left: -3px;
margin-right: -3px;
border-radius: 6px;
background: qradialgradient(spread: pad, cx: 0.5, cy: 0.5, radius: 0.5, fx: 0.5, fy: 0.5, stop: 0.6 #F0F0F0, stop:0.778409 #5CACEE);
}
QSlider::handle:vertical:hover {
background: qradialgradient(spread: pad, cx: 0.5, cy: 0.5, radius: 0.5, fx: 0.5, fy: 0.5, stop: 0.6 #F0F0F0,stop:0.778409 #1B89CA);
}
QScrollBar:vertical {
width:10px;
background-color:rgba(0,0,0,0%);
padding-top:10px;
padding-bottom:10px;
}
QScrollBar:horizontal {
height:10px;
background-color:rgba(0,0,0,0%);
padding-left:10px; padding-right:10px;
}
QScrollBar::handle:vertical {
width:10px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #5CACEE, stop:1 #4F94CD);
}
QScrollBar::handle:horizontal {
height:10px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #5CACEE, stop:1 #4F94CD);
}
QScrollBar::handle:vertical:hover {
width:10px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5);
}
QScrollBar::handle:horizontal:hover {
height:10px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5);
}
QScrollBar::add-line:vertical {
height:10px;
width:10px;
subcontrol-position: bottom;
subcontrol-origin: margin;
border-image:url(:/image/add-line_vertical.png);
}
QScrollBar::add-line:horizontal {
height:10px;
width:10px;
subcontrol-position: right;
subcontrol-origin: margin;
border-image:url(:/image/add-line_horizontal.png);
}
QScrollBar::sub-line:vertical {
height:10px;
width:10px;
subcontrol-position: top;
subcontrol-origin: margin;
border-image:url(:/image/sub-line_vertical.png);
}
QScrollBar::sub-line:horizontal {
height:10px;
width:10px;
subcontrol-position: left;
subcontrol-origin: margin;
border-image:url(:/image/sub-line_horizontal.png);
}
QScrollBar::add-page:vertical,QScrollBar::sub-page:vertical {
width:10px;
background: #C0C0C0;
}
QScrollBar::add-page:horizontal,QScrollBar::sub-page:horizontal {
height:10px;
background: #C0C0C0;
}
QScrollArea {
border: 0px ;
}
QTreeView,QListView,QTableView{
border: 1px solid #5CACEE;
selection-background-color: #1B89CA;
selection-color: #F0F0F0;
}
QTableView::item:selected, QListView::item:selected, QTreeView::item:selected {
color: #F0F0F0;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5);
}
QTableView::item:hover, QListView::item:hover, QTreeView::item:hover {
color: #F0F0F0;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #5CACEE, stop:1 #4F94CD);
}
QTableView::item, QListView::item, QTreeView::item {
padding: 5px;
margin: 0px;
}
QHeaderView::section {
padding:3px;
margin:0px;
color:#F0F0F0;
border: 1px solid #F0F0F0;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #5CACEE, stop:1 #4F94CD);
}
QTabBar::tab {
border-bottom-left-radius:0px;
border-bottom-right-radius:0px;
color: #F0F0F0;
min-width: 60px;
min-height: 20px;
padding: 3px 8px 3px 8px;
margin:1px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #5CACEE, stop:1 #4F94CD);
}
QTabBar::tab:selected, QTabBar::tab:hover {
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5);
}
QStatusBar::item {
border: 1px solid #5CACEE;
border-radius: 3px;
}
\ No newline at end of file
QWidget#frmLogin,QWidget#frmPopup,QWidget#frmHostInfo,QWidget#frmLogout,QWidget#frmConfig,QWidget#frmData,QWidget#frmDefence,QWidget#frmHost,QWidget#frmMain,QWidget#frmPwd,QWidget#frmSelect,QWidget#frmMessageBox{
border:1px solid #454648;
border-radius:0px;
}
.QFrame{
border:1px solid #B8B8B8;
border-radius:5px;
}
QWidget#widget_title{
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #454648, stop:1 #7A7A7A);
}
QLabel#lab_Ico,QLabel#lab_Title{
border-radius:0px;
color: #F0F0F0;
background-color:rgba(0,0,0,0);
border-style:none;
}
QLineEdit {
border: 1px solid #B8B8B8;
border-radius: 5px;
padding: 2px;
background: none;
selection-background-color: #454648;
}
QLineEdit[echoMode="2"] {
lineedit-password-character: 9679;
}
.QGroupBox{
border: 1px solid #B8B8B8;
border-radius: 5px;
}
.QPushButton{
border-style: none;
border: 0px;
color: #F0F0F0;
padding: 5px;
min-height: 20px;
border-radius:5px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #454648, stop:1 #7A7A7A);
}
.QPushButton[focusPolicy="0"] {
border-style: none;
border: 0px;
color: #F0F0F0;
padding: 0px;
min-height: 10px;
border-radius:3px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #454648, stop:1 #7A7A7A);
}
.QPushButton:hover{
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #B8B8B8, stop:1 #D6D6D6);
}
.QPushButton:pressed{
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #454648, stop:1 #7A7A7A);
}
QPushButton#btnMenu,QPushButton#btnMenu_Min,QPushButton#btnMenu_Max,QPushButton#btnMenu_Close{
border-radius:0px;
color: #F0F0F0;
background-color:rgba(0,0,0,0);
border-style:none;
}
QPushButton#btnMenu:hover,QPushButton#btnMenu_Min:hover,QPushButton#btnMenu_Max:hover{
background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(25, 134, 199, 0), stop:1 #B8B8B8);
}
QPushButton#btnMenu_Close:hover{
background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(238, 0, 0, 128), stop:1 rgba(238, 44, 44, 255));
}
QCheckBox {
spacing: 2px;
}
QCheckBox::indicator {
width: 20px;
height: 20px;
}
QCheckBox::indicator:unchecked {
image: url(:/image/checkbox_unchecked.png);
}
QCheckBox::indicator:checked {
image: url(:/image/checkbox_checked.png);
}
QRadioButton {
spacing: 2px;
}
QRadioButton::indicator {
width: 15px;
height: 15px;
}
QRadioButton::indicator::unchecked {
image: url(:/image/radio_normal.png);
}
QRadioButton::indicator::checked {
image: url(:/image/radio_selected.png);
}
QComboBox,QDateEdit{
border-radius: 3px;
padding: 1px 10px 1px 5px;
border: 1px solid #B8B8B8;
}
QComboBox::drop-down,QDateEdit::drop-down {
subcontrol-origin: padding;
subcontrol-position: top right;
width: 15px;
border-left-width: 1px;
border-left-style: solid;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
border-left-color: #B8B8B8;
}
QComboBox::down-arrow,QDateEdit::down-arrow {
image: url(:/image/array_down.png);
}
QMenu {
background-color:#F0F0F0;
margin: 2px;
}
QMenu::item {
padding: 2px 12px 2px 12px;
}
QMenu::indicator {
width: 13px;
height: 13px;
}
QMenu::item:selected {
color: #F0F0F0;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #454648, stop:1 #7A7A7A);
}
QMenu::separator {
height: 1px;
background: #B8B8B8;
}
QProgressBar {
border-radius: 5px;
text-align: center;
border: 1px solid #B8B8B8;
}
QProgressBar::chunk {
width: 5px;
margin: 0.5px;
background-color: #454648;
}
QSlider::groove:horizontal,QSlider::add-page:horizontal {
background: #808080;
height: 8px;
border-radius: 3px;
}
QSlider::sub-page:horizontal {
height: 8px;
border-radius: 3px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #454648, stop:1 #7A7A7A);
}
QSlider::handle:horizontal {
width: 13px;
margin-top: -3px;
margin-bottom: -3px;
border-radius: 6px;
background: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5,stop:0.6 #F0F0F0, stop:0.778409 #B8B8B8);
}
QSlider::handle:horizontal:hover {
background: qradialgradient(spread: pad, cx: 0.5, cy: 0.5, radius: 0.5, fx: 0.5, fy: 0.5, stop: 0.6 #F0F0F0,stop:0.778409 #454648);
}
QSlider::groove:vertical,QSlider::sub-page:vertical {
background:#808080;
width: 8px;
border-radius: 3px;
}
QSlider::add-page:vertical {
width: 8px;
border-radius: 3px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #454648, stop:1 #7A7A7A);
}
QSlider::handle:vertical {
height: 14px;
margin-left: -3px;
margin-right: -3px;
border-radius: 6px;
background: qradialgradient(spread: pad, cx: 0.5, cy: 0.5, radius: 0.5, fx: 0.5, fy: 0.5, stop: 0.6 #F0F0F0, stop:0.778409 #B8B8B8);
}
QSlider::handle:vertical:hover {
background: qradialgradient(spread: pad, cx: 0.5, cy: 0.5, radius: 0.5, fx: 0.5, fy: 0.5, stop: 0.6 #F0F0F0,stop:0.778409 #454648);
}
QScrollBar:vertical {
width:10px;
background-color:rgba(0,0,0,0%);
padding-top:10px;
padding-bottom:10px;
}
QScrollBar:horizontal {
height:10px;
background-color:rgba(0,0,0,0%);
padding-left:10px; padding-right:10px;
}
QScrollBar::handle:vertical {
width:10px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #B8B8B8, stop:1 #D6D6D6);
}
QScrollBar::handle:horizontal {
height:10px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #B8B8B8, stop:1 #D6D6D6);
}
QScrollBar::handle:vertical:hover {
width:10px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #454648, stop:1 #7A7A7A);
}
QScrollBar::handle:horizontal:hover {
height:10px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #454648, stop:1 #7A7A7A);
}
QScrollBar::add-line:vertical {
height:10px;
width:10px;
subcontrol-position: bottom;
subcontrol-origin: margin;
border-image:url(:/image/add-line_vertical.png);
}
QScrollBar::add-line:horizontal {
height:10px;
width:10px;
subcontrol-position: right;
subcontrol-origin: margin;
border-image:url(:/image/add-line_horizontal.png);
}
QScrollBar::sub-line:vertical {
height:10px;
width:10px;
subcontrol-position: top;
subcontrol-origin: margin;
border-image:url(:/image/sub-line_vertical.png);
}
QScrollBar::sub-line:horizontal {
height:10px;
width:10px;
subcontrol-position: left;
subcontrol-origin: margin;
border-image:url(:/image/sub-line_horizontal.png);
}
QScrollBar::add-page:vertical,QScrollBar::sub-page:vertical {
width:10px;
background: #C0C0C0;
}
QScrollBar::add-page:horizontal,QScrollBar::sub-page:horizontal {
height:10px;
background: #C0C0C0;
}
QScrollArea {
border: 0px ;
}
QTreeView,QListView,QTableView{
border: 1px solid #B8B8B8;
selection-background-color: #454648;
selection-color: #F0F0F0;
}
QTableView::item:selected, QListView::item:selected, QTreeView::item:selected {
color: #F0F0F0;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #454648, stop:1 #7A7A7A);
}
QTableView::item:hover, QListView::item:hover, QTreeView::item:hover {
color: #F0F0F0;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #B8B8B8, stop:1 #D6D6D6);
}
QTableView::item, QListView::item, QTreeView::item {
padding: 5px;
margin: 0px;
}
QHeaderView::section {
padding:3px;
margin:0px;
color:#F0F0F0;
border: 1px solid #F0F0F0;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #B8B8B8, stop:1 #D6D6D6);
}
QTabBar::tab {
border-bottom-left-radius:0px;
border-bottom-right-radius:0px;
color: #F0F0F0;
min-width: 60px;
min-height: 20px;
padding: 3px 8px 3px 8px;
margin:1px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #B8B8B8, stop:1 #D6D6D6);
}
QTabBar::tab:selected, QTabBar::tab:hover {
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #454648, stop:1 #7A7A7A);
}
QStatusBar::item {
border: 1px solid #B8B8B8;
border-radius: 3px;
}
\ No newline at end of file
QWidget#frmLogin,QWidget#frmPopup,QWidget#frmHostInfo,QWidget#frmLogout,QWidget#frmConfig,QWidget#frmData,QWidget#frmDefence,QWidget#frmHost,QWidget#frmMain,QWidget#frmPwd,QWidget#frmSelect,QWidget#frmMessageBox{
border:1px solid #0F7DBE;
border-radius:0px;
}
.QFrame{
border:1px solid #50A3F0;
border-radius:5px;
}
QWidget#widget_title{
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #0F7DBE, stop:1 #1582C3);
}
QLabel#lab_Ico,QLabel#lab_Title{
border-radius:0px;
color: #F0F0F0;
background-color:rgba(0,0,0,0);
border-style:none;
}
QLineEdit {
border: 1px solid #50A3F0;
border-radius: 5px;
padding: 2px;
background: none;
selection-background-color: #0F7DBE;
}
QLineEdit[echoMode="2"] {
lineedit-password-character: 9679;
}
.QGroupBox{
border: 1px solid #50A3F0;
border-radius: 5px;
}
.QPushButton{
border-style: none;
border: 0px;
color: #F0F0F0;
padding: 5px;
min-height: 20px;
border-radius:5px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #0F7DBE, stop:1 #1582C3);
}
.QPushButton[focusPolicy="0"] {
border-style: none;
border: 0px;
color: #F0F0F0;
padding: 0px;
min-height: 10px;
border-radius:3px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #0F7DBE, stop:1 #1582C3);
}
.QPushButton:hover{
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #50A3F0, stop:1 #489CEA);
}
.QPushButton:pressed{
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #0F7DBE, stop:1 #1582C3);
}
QPushButton#btnMenu,QPushButton#btnMenu_Min,QPushButton#btnMenu_Max,QPushButton#btnMenu_Close{
border-radius:0px;
color: #F0F0F0;
background-color:rgba(0,0,0,0);
border-style:none;
}
QPushButton#btnMenu:hover,QPushButton#btnMenu_Min:hover,QPushButton#btnMenu_Max:hover{
background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(25, 134, 199, 0), stop:1 #50A3F0);
}
QPushButton#btnMenu_Close:hover{
background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(238, 0, 0, 128), stop:1 rgba(238, 44, 44, 255));
}
QCheckBox {
spacing: 2px;
}
QCheckBox::indicator {
width: 20px;
height: 20px;
}
QCheckBox::indicator:unchecked {
image: url(:/image/checkbox_unchecked.png);
}
QCheckBox::indicator:checked {
image: url(:/image/checkbox_checked.png);
}
QRadioButton {
spacing: 2px;
}
QRadioButton::indicator {
width: 15px;
height: 15px;
}
QRadioButton::indicator::unchecked {
image: url(:/image/radio_normal.png);
}
QRadioButton::indicator::checked {
image: url(:/image/radio_selected.png);
}
QComboBox,QDateEdit{
border-radius: 3px;
padding: 1px 10px 1px 5px;
border: 1px solid #50A3F0;
}
QComboBox::drop-down,QDateEdit::drop-down {
subcontrol-origin: padding;
subcontrol-position: top right;
width: 15px;
border-left-width: 1px;
border-left-style: solid;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
border-left-color: #50A3F0;
}
QComboBox::down-arrow,QDateEdit::down-arrow {
image: url(:/image/array_down.png);
}
QMenu {
background-color:#F0F0F0;
margin: 2px;
}
QMenu::item {
padding: 2px 12px 2px 12px;
}
QMenu::indicator {
width: 13px;
height: 13px;
}
QMenu::item:selected {
color: #F0F0F0;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #0F7DBE, stop:1 #1582C3);
}
QMenu::separator {
height: 1px;
background: #50A3F0;
}
QProgressBar {
border-radius: 5px;
text-align: center;
border: 1px solid #50A3F0;
}
QProgressBar::chunk {
width: 5px;
margin: 0.5px;
background-color: #0F7DBE;
}
QSlider::groove:horizontal,QSlider::add-page:horizontal {
background: #808080;
height: 8px;
border-radius: 3px;
}
QSlider::sub-page:horizontal {
height: 8px;
border-radius: 3px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #0F7DBE, stop:1 #1582C3);
}
QSlider::handle:horizontal {
width: 13px;
margin-top: -3px;
margin-bottom: -3px;
border-radius: 6px;
background: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5,stop:0.6 #F0F0F0, stop:0.778409 #50A3F0);
}
QSlider::handle:horizontal:hover {
background: qradialgradient(spread: pad, cx: 0.5, cy: 0.5, radius: 0.5, fx: 0.5, fy: 0.5, stop: 0.6 #F0F0F0,stop:0.778409 #0F7DBE);
}
QSlider::groove:vertical,QSlider::sub-page:vertical {
background:#808080;
width: 8px;
border-radius: 3px;
}
QSlider::add-page:vertical {
width: 8px;
border-radius: 3px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #0F7DBE, stop:1 #1582C3);
}
QSlider::handle:vertical {
height: 14px;
margin-left: -3px;
margin-right: -3px;
border-radius: 6px;
background: qradialgradient(spread: pad, cx: 0.5, cy: 0.5, radius: 0.5, fx: 0.5, fy: 0.5, stop: 0.6 #F0F0F0, stop:0.778409 #50A3F0);
}
QSlider::handle:vertical:hover {
background: qradialgradient(spread: pad, cx: 0.5, cy: 0.5, radius: 0.5, fx: 0.5, fy: 0.5, stop: 0.6 #F0F0F0,stop:0.778409 #0F7DBE);
}
QScrollBar:vertical {
width:10px;
background-color:rgba(0,0,0,0%);
padding-top:10px;
padding-bottom:10px;
}
QScrollBar:horizontal {
height:10px;
background-color:rgba(0,0,0,0%);
padding-left:10px; padding-right:10px;
}
QScrollBar::handle:vertical {
width:10px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #50A3F0, stop:1 #489CEA);
}
QScrollBar::handle:horizontal {
height:10px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #50A3F0, stop:1 #489CEA);
}
QScrollBar::handle:vertical:hover {
width:10px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #0F7DBE, stop:1 #1582C3);
}
QScrollBar::handle:horizontal:hover {
height:10px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #0F7DBE, stop:1 #1582C3);
}
QScrollBar::add-line:vertical {
height:10px;
width:10px;
subcontrol-position: bottom;
subcontrol-origin: margin;
border-image:url(:/image/add-line_vertical.png);
}
QScrollBar::add-line:horizontal {
height:10px;
width:10px;
subcontrol-position: right;
subcontrol-origin: margin;
border-image:url(:/image/add-line_horizontal.png);
}
QScrollBar::sub-line:vertical {
height:10px;
width:10px;
subcontrol-position: top;
subcontrol-origin: margin;
border-image:url(:/image/sub-line_vertical.png);
}
QScrollBar::sub-line:horizontal {
height:10px;
width:10px;
subcontrol-position: left;
subcontrol-origin: margin;
border-image:url(:/image/sub-line_horizontal.png);
}
QScrollBar::add-page:vertical,QScrollBar::sub-page:vertical {
width:10px;
background: #C0C0C0;
}
QScrollBar::add-page:horizontal,QScrollBar::sub-page:horizontal {
height:10px;
background: #C0C0C0;
}
QScrollArea {
border: 0px ;
}
QTreeView,QListView,QTableView{
border: 1px solid #50A3F0;
selection-background-color: #0F7DBE;
selection-color: #F0F0F0;
}
QTableView::item:selected, QListView::item:selected, QTreeView::item:selected {
color: #F0F0F0;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #0F7DBE, stop:1 #1582C3);
}
QTableView::item:hover, QListView::item:hover, QTreeView::item:hover {
color: #F0F0F0;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #50A3F0, stop:1 #489CEA);
}
QTableView::item, QListView::item, QTreeView::item {
padding: 5px;
margin: 0px;
}
QHeaderView::section {
padding:3px;
margin:0px;
color:#F0F0F0;
border: 1px solid #F0F0F0;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #50A3F0, stop:1 #489CEA);
}
QTabBar::tab {
border-bottom-left-radius:0px;
border-bottom-right-radius:0px;
color: #F0F0F0;
min-width: 60px;
min-height: 20px;
padding: 3px 8px 3px 8px;
margin:1px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #50A3F0, stop:1 #489CEA);
}
QTabBar::tab:selected, QTabBar::tab:hover {
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #0F7DBE, stop:1 #1582C3);
}
QStatusBar::item {
border: 1px solid #50A3F0;
border-radius: 3px;
}
\ No newline at end of file
File added
#include "logindlg.h"
#include "ui_logindlg.h"
#include "sqliteassistant/sqliteassistant.h"
#include "myhelper.h"
LoginDlg::LoginDlg(QWidget *parent) :
QDialog(parent),
ui(new Ui::LoginDlg)
{
ui->setupUi(this);
query_model_add = new QSqlQueryModel(this);
m_MainWindow = new MainWindow();
lab_tip = new QLabel(this);
timer_tip = new QTimer(this);
lab_tip->setSizeIncrement(200,20);
connect(timer_tip,&QTimer::timeout,this,[=](){
timer_tip->stop();
lab_tip->close();
});
connect(ui->pbn_close,&QPushButton::clicked,this,&MainWindow::close);
connect(ui->pbn_login,&QPushButton::clicked,this,[=](){
if(!LoginJudgment()){
return;
}else{
m_MainWindow->showFullScreen();
this->close();
}
});
setWindowTitle("用户登陆");
LoadStyleSheet();
InitGui();
}
void LoginDlg::LoadStyleSheet()
{
QFile qss(":/image/Login_Dialog.qss");
qss.open(QFile::ReadOnly);
this->setStyleSheet(qss.readAll());
qss.close();
}
bool LoginDlg::LoginJudgment()
{
lab_tip->setStyleSheet("QLabel{background: transparent;border: 1px solid transparent;"
"color:rgb(255,0,0);font-weight: bold;font: 25 10pt Microsoft YaHei;padding: 1px;}");
lab_tip->move(this->width()/2 - 90,this->height()- ui->pbn_login->height());
QString user = m_SqliteAssistant->Select_AdminInfoName();
QString pwd = m_SqliteAssistant->Select_AdminInfo("admin");
QString rootuser = "root";
QString m_user = ui->lineEdit_user->text();
QString m_pwd = ui->lineEdit_pwd->text();
if(m_user == user && m_pwd == pwd ){
return true;
}
if(m_user == rootuser && m_pwd == pwd ){
//config->show();
this->close();
}
if(m_user == user && m_pwd != pwd){
lab_tip->setText("密码错误,请重新输入");
ui->lineEdit_pwd->clear();
ui->lineEdit_pwd->setFocus();
lab_tip->adjustSize();
lab_tip->show();
timer_tip->start(2000);
return false;
}
if(m_user != user && m_pwd == pwd){
lab_tip->setText("用户名错误,请重新输入");
ui->lineEdit_user->clear();
ui->lineEdit_user->setFocus();
lab_tip->adjustSize();
lab_tip->show();
timer_tip->start(2000);
return false;
}
if(m_user != user && m_pwd != pwd){
lab_tip->setText("用户名和密码错误,请重新输入");
ui->lineEdit_pwd->clear();
ui->lineEdit_user->clear();
ui->lineEdit_user->setFocus();
lab_tip->adjustSize();
lab_tip->show();
timer_tip->start(2000);
return false;
}
return false;
}
LoginDlg::~LoginDlg()
{
delete ui;
}
void LoginDlg::InitGui()
{
setWindowFlags(Qt::FramelessWindowHint|Qt::WindowStaysOnTopHint);
setAttribute(Qt::WA_TranslucentBackground);
ui->lab_title->setText("用户登陆");
ui->lab_name->setText("信湖煤矿——门禁系统");
ui->lineEdit_user->setFocus();
ui->lineEdit_user->setText("admin");
ui->lineEdit_pwd->setText("jm123456");
}
#ifndef LOGINDLG_H
#define LOGINDLG_H
#include <QDialog>
#include <QLabel>
#include <QSqlQueryModel>
#include <QTimer>
#include "mainwindow.h"
namespace Ui {
class LoginDlg;
}
class LoginDlg : public QDialog
{
Q_OBJECT
public:
explicit LoginDlg(QWidget *parent = nullptr);
~LoginDlg();
MainWindow *m_MainWindow;
private:
void InitGui();
void LoadStyleSheet();
//登录判断
bool LoginJudgment();
private:
Ui::LoginDlg *ui;
QLabel *lab_tip;
QTimer *timer_tip;
QSqlQueryModel *query_model_add;
QSqlQueryModel *query_model_state;
};
#endif // LOGINDLG_H
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>LoginDlg</class>
<widget class="QDialog" name="LoginDlg">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>540</width>
<height>400</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QWidget" name="wid_main" native="true">
<property name="styleSheet">
<string notr="true">QCheckBox {
spacing: 2px;
}
QCheckBox::indicator {
width: 20px;
height: 20px;
}
QCheckBox::indicator:unchecked {
image: url(:/qrc_inmage/checkbox_unchecked.png);
}
QCheckBox::indicator:checked {
image: url(:/qrc_inmage/checkbox_checked.png);
}</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>6</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<property name="spacing">
<number>0</number>
</property>
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_4">
<property name="spacing">
<number>10</number>
</property>
<property name="leftMargin">
<number>10</number>
</property>
<property name="rightMargin">
<number>10</number>
</property>
<property name="bottomMargin">
<number>6</number>
</property>
<item>
<widget class="QLabel" name="lab_title">
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>用户登录</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="pbn_min">
<property name="minimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbn_close">
<property name="minimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="0">
<widget class="QWidget" name="widget_sec" native="true">
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_7">
<item>
<spacer name="horizontalSpacer_8">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="lab_logo">
<property name="minimumSize">
<size>
<width>100</width>
<height>100</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>100</width>
<height>100</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_9">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>497</width>
<height>13</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="lab_name">
<property name="text">
<string>无人值守门禁系统</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_5">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<spacer name="horizontalSpacer_6">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="lab_user">
<property name="text">
<string>用户名:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_user">
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
<property name="maxLength">
<number>20</number>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="lab_pwd">
<property name="text">
<string>密 码:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_pwd">
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
<property name="maxLength">
<number>20</number>
</property>
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
<item>
<spacer name="horizontalSpacer_7">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_8">
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>58</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="pbn_login">
<property name="minimumSize">
<size>
<width>180</width>
<height>30</height>
</size>
</property>
<property name="text">
<string>登录</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</item>
<item row="1" column="0">
<spacer name="verticalSpacer_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>13</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>
#include "mainwindow.h"
#include "myhelper.h"
#include <QApplication>
#include <QDebug>
#include <QSqlDatabase>
#include <QSqlQuery>
#include "modeller_applog/applog.h" //日志
#include "sqliteassistant/sqliteassistant.h" //数据库助手
#include "logindlg.h" //登陆
int LogKeepDay = 0; //日志保存天数,
SqliteAssistant *m_SqliteAssistant;
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
myHelper::SetStyle("navy");
Singleton<AppLog>::getInstance().start();
m_SqliteAssistant = new SqliteAssistant();
if(0!=m_SqliteAssistant->connectSql())
{
qDebug()<<"connectSql error";
return 1;
}
else
{
qDebug()<<"connectSql ok";
}
//LogKeepDay
Singleton<AppLog>::getInstance().onClearLogFile("./log",LogKeepDay);
LoginDlg login;
login.show();
return a.exec();
}
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QDateTime>
#include <QDebug>
#include <QSerialPort>
#include <QSerialPortInfo>
#include "myhelper.h"
#include "bridge.h"
#include "sqliteassistant/sqliteassistant.h"
static QDateTime c_1;
static int timeFlag = 0;
QString m_selectVehPlnum = nullptr;
QString SerialNameCode = "SerialNameCode";
QString SerialBaudCode = "SerialBaudCode";
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);
Bridge::GetInstance();
SoftStart();
//dataUpDate();
Pbn_clicked();
m_SoftBreath = new QTimer(this);
//状态栏显示内容
m_systemTime = new QLabel();
m_Rfid = new QLabel();
m_ScanCode = new QLabel();
m_Trunk = new QLabel();
m_SportsCamera = new QLabel();
m_monitorCamera = new QLabel();
m_carplnumPic = new QLabel(ui->lab_carpic);
m_carplnumPic->move(10,10);
m_carplnumPic->setFixedSize(224,80);
m_carplnumPic->setText(" 此处显示车牌图片");
m_carplnumPic->setStyleSheet(" QLabel{border:1px solid #50A3F0;border-radius:5px;}");
statusBar()->addPermanentWidget(m_Rfid);
statusBar()->addPermanentWidget(m_ScanCode);
statusBar()->addPermanentWidget(m_Trunk);
statusBar()->addPermanentWidget(m_SportsCamera);
statusBar()->addPermanentWidget(m_monitorCamera);
statusBar()->addPermanentWidget(m_systemTime);
m_SoftBreath->start(1000);
connect(m_SoftBreath,&QTimer::timeout,this,[=](){
//软件心跳
m_SoftBreath_s = m_SoftBreath_s+1;
if(m_SoftBreath_s>59){
m_SoftBreath_s = 0;
m_SoftBreath_m = m_SoftBreath_m + 1;
if(m_SoftBreath_m>59){
m_SoftBreath_m = 0;
m_SoftBreath_h = m_SoftBreath_h+1;
}
if(m_SoftBreath_h>23){
m_SoftBreath_h = 0;
m_SoftBreath_d = m_SoftBreath_d + 1;
}
}
m_systemTime->setText("系统累计运行时间--"+
QString::number(m_SoftBreath_d)+"天"+":"+
QString::number(m_SoftBreath_h)+"时"+":"+
QString::number(m_SoftBreath_m)+"分"+":"+
QString::number(m_SoftBreath_s)+"秒"+"--");
});
init();
}
MainWindow::~MainWindow()
{
delete m_systemTime;
delete m_Rfid;
delete m_ScanCode;
delete ui;
}
void MainWindow::init()
{
//设置整体布局
setWindowTitle("信湖煤矿");
ui->widget_title->setFixedHeight(this->height()/7);
ui->lab_Title->setText("信湖煤矿——门禁系统");
ui->widget_pbn->setFixedHeight(this->height()/7);
ui->stackedWidget->setCurrentWidget(ui->page_1);
ui->pbn_navigation_1->setFixedHeight(this->height()/10);
ui->pbn_navigation_2->setFixedHeight(this->height()/10);
ui->pbn_navigation_3->setFixedHeight(this->height()/10);
ui->pbn_navigation_4->setFixedHeight(this->height()/10);
ui->groupBox_frid->setFixedWidth(this->width()/3);
ui->groupBox_scan->setFixedWidth(this->width()/3);
ui->groupBox->setFixedWidth(this->width()/3);
ui->groupBox_2->setFixedWidth(this->width()/3);
//车辆黑白名单
ui->tabWidget->setTabText(0,"车辆黑白名单管理");
ui->tableWidget->horizontalHeader()->setStretchLastSection(true);
ui->tableWidget->setEditTriggers(QAbstractItemView::NoEditTriggers);
ui->tableWidget->setSelectionBehavior ( QAbstractItemView::SelectRows);
ui->tableWidget->setSelectionMode(QAbstractItemView::SingleSelection);
ui->tableWidget->sortByColumn(0, Qt::AscendingOrder);
//设置提示语
ui->lineEdit_carPlnum->setPlaceholderText("请输入要查询的车牌号");
//安装事件
ui->lab_Title->installEventFilter(this);
SetLineEdit(true);
ui->spinBox_logKeepDays->setEnabled(false);
ui->spinBox_logKeepDays->setMaximum(30);
ui->spinBox_logKeepDays->setToolTip("日志最大保存天数30天");
//获取串口
QStringList comName;
QStringList comBaud;
comBaud<<"1200"<<"2400"<<"9600"<<"19200"<<"38400"<<"115200";
//读取串口信息
// foreach(const QSerialPortInfo &info, QSerialPortInfo::availablePorts())
// {
// // 自动读取串口号添加到端口portBox中
// QSerialPort serial;
// serial.setPort(info);
// if(serial.open(QIODevice::ReadOnly))
// {
// comName<<info.portName();
// serial.close();
// }
// }
//串口名字
ui->comboBox_serialNameRfid->addItems(comName);
ui->comboBox_serialNameCode->addItems(comName);
//串口波特率
ui->comboBox_serialBaudCode->addItems(comBaud);
ui->comboBox_serialBaudRfid->addItems(comBaud);
//设置状态栏的状态
m_Rfid->setText("RFID读卡器状态");
m_Rfid->setStyleSheet("QLabel{background-color: rgb(255,0,0);}");
m_ScanCode->setText("二维码识别器状态");
m_ScanCode->setStyleSheet("QLabel{background-color: rgb(255,0,0);}");
m_Trunk->setText("道闸状态");
m_Trunk->setStyleSheet("QLabel{background-color: rgb(255,0,0);}");
m_SportsCamera->setText("抓拍机状态");
m_SportsCamera->setStyleSheet("QLabel{background-color: rgb(255,0,0);}");
m_monitorCamera->setText("监控机状态");
m_monitorCamera->setStyleSheet("QLabel{background-color: rgb(255,0,0);}");
QPixmap *pixmap = new QPixmap("E:\\ZYL_JM\\GitLab\\Git_JM_ACS\\JM_PRO\\QUI_MVC\\pic\\1.jpg");
pixmap->scaled(ui->lab_carpic->size(),Qt::KeepAspectRatio);
ui->lab_carpic->setScaledContents(true);
ui->lab_carpic->setPixmap(*pixmap);
QPixmap *pixmap1 = new QPixmap("E:\\ZYL_JM\\GitLab\\Git_JM_ACS\\JM_PRO\\QUI_MVC\\pic\\2.jpg");
pixmap1->scaled(m_carplnumPic->size(),Qt::KeepAspectRatio);
m_carplnumPic ->setScaledContents(true);
m_carplnumPic->setPixmap(*pixmap1);
ui->lcdNumber->setSegmentStyle(QLCDNumber::Flat);
ui->lcdNumber->setStyleSheet("border:0px;");
//读取配置
ReadSystemInfo();
CheckAll();
}
void MainWindow::SoftStart()
{
QDateTime time =QDateTime::currentDateTime();
QString str=time.toString("yyyy-MM-dd hh:mm:ss");
qDebug()<<"软件启动时间:"<<str;
}
void MainWindow::ReadSystemInfo()
{
if(m_SqliteAssistant->Select_SystemConfigInfo(SerialNameCode).isEmpty()){
myHelper::ShowMessageBoxError("请配置扫码器设置");
}else {
ui->comboBox_serialNameCode->setCurrentText(m_SqliteAssistant->Select_SystemConfigInfo(SerialNameCode));
ui->comboBox_serialBaudCode->setCurrentText(m_SqliteAssistant->Select_SystemConfigInfo(SerialBaudCode));
}
}
void MainWindow::CheckAll()
{
emit Bridge::GetInstance()->SendToScanCodeControl_Start();
if(!m_SqliteAssistant->Select_SystemConfigInfo(SerialNameCode).isEmpty()){
//m_Bridge->SendToScanCodeControl_Connect(m_SqliteAssistant->Select_SystemConfigInfo(SerialNameCode),m_SqliteAssistant->Select_SystemConfigInfo(SerialBaudCode).toLong());
}
}
void MainWindow::SoftClose()
{
QDateTime time =QDateTime::currentDateTime();
QString str=time.toString("yyyy-MM-dd hh:mm:ss");
qDebug()<<"软件关闭时间:"<<str;
}
void MainWindow::dataUpDate()
{
if(timeFlag == 0){
c_1 = QDateTime::currentDateTime();
QTimer *timer = new QTimer(this);
connect(timer,&QTimer::timeout,this,[=](){
QDateTime c_2 = QDateTime::currentDateTime();
m_systemTime->setText("系统累计运行时间--"+
QString::number(c_1.msecsTo(c_2)/3600000)+":"+
QString::number(c_1.msecsTo(c_2)%3600000/60000)+":"+
QString::number(c_1.msecsTo(c_2)%60000/1000)+"--");
});
timer->start(1000);
timeFlag = 1;
}
connect(Bridge::GetInstance()->m_ScanCodeControl,&ScanCodeControl::SendToBridge_ScanCodeData,this,[=](QString data){
ui->lineEdit_Code_1->setText(data);
});
connect(Bridge::GetInstance()->m_ScanCodeControl,&ScanCodeControl::SendToBridge_ScanCodeDataisOk,this,[=](){
m_ScanCode->setStyleSheet("QLabel{background-color: rgb(0,255,0);}");
});
}
void MainWindow::Pbn_clicked()
{
//导航键
connect(ui->pbn_navigation_1,&QPushButton::clicked,this,[=](){
ui->stackedWidget->setCurrentWidget(ui->page_2);
});
connect(ui->pbn_navigation_2,&QPushButton::clicked,this,[=](){
ui->stackedWidget->setCurrentWidget(ui->page_3);
});
connect(ui->pbn_navigation_3,&QPushButton::clicked,this,[=](){
ui->stackedWidget->setCurrentWidget(ui->page_4);
ui->lineEdit_adminPwd->setFocus();
ui->lineEdit_adminPwd->setText("jm123456");
});
connect(ui->pbn_navigation_4,&QPushButton::clicked,this,[=](){
this->close();
});
//应急按键
connect(ui->pbn_urgent_1,&QPushButton::clicked,this,[=](){
//应急按键1手动保存车辆信息,查验三证是否齐全
QString VehID = ui->lineEdit_Frid_1->text(); //FRID的车辆ID
QString VehPlnum = ui->lineEdit_Frid_2->text(); //FRID的车辆车牌
QString VehBusinessNum = ui->lineEdit_Code_1->text(); //二维码业务流水号
if(VehID.isEmpty()){
myHelper::ShowMessageBoxError("未识别到车辆ID");
}
if(VehPlnum.isEmpty()){
myHelper::ShowMessageBoxError("未识别到车辆车牌号");
}
if(VehBusinessNum.isEmpty()){
myHelper::ShowMessageBoxError("请检查车辆是否已扫码");
}
SetLineEdit(true);
});
connect(ui->pbn_urgent_2,&QPushButton::clicked,this,[=](){
//应急按键2管理员手动填写车辆信息
SetLineEdit(false);
});
connect(ui->pbn_urgent_3,&QPushButton::clicked,this,[=](){
});
connect(ui->pbn_urgent_4,&QPushButton::clicked,this,[=](){
});
connect(ui->pbn_urgent_5,&QPushButton::clicked,this,[=](){
});
//功能键
connect(ui->pbn_ToSetting,&QPushButton::clicked,this,[=](){
QString adminPwd = ui->lineEdit_adminPwd->text();
QString pwd = "jm123456";
if(adminPwd == pwd){
ui->stackedWidget->setCurrentWidget(ui->page_5);
ui->lineEdit_adminPwd->clear();
}else {
myHelper::ShowMessageBoxError("管理员密码错误,请重新输入!");
ui->lineEdit_adminPwd->clear();
ui->lineEdit_adminPwd->setFocus();
}
});
//查询车辆
connect(ui->pbn_selectVeh,&QPushButton::clicked,this,[=](){
QString adminPwd = ui->lineEdit_carPlnum->text();
if(adminPwd.isEmpty()){
//车牌判断
myHelper::ShowMessageBoxError("请输入车牌号后查询");
}else {
//数据库操作
}
});
//车辆信息表选择
connect(ui->tableWidget,&QTableWidget::cellPressed,this,[=](int row,int column){
//m_selectVehPlnum = ui->tableWidget->item(row,0)->text();
});
//设置受限车辆状态
connect(ui->pbn_setVehLimit,&QPushButton::clicked,this,[=](){
if(m_selectVehPlnum.isNull()){
//车牌判断
myHelper::ShowMessageBoxError("请选择要设置受限的车辆");
}else {
//数据库操作,判断是否已经是受限车辆,
if(/* DISABLES CODE */ (true)){
myHelper::ShowMessageBoxError("当前车辆已经受限,是否解除受限");
}else {
//数据库操作,添加受限
myHelper::ShowMessageBoxInfo(QString("车牌为: %1添加受限成功").arg(m_selectVehPlnum));
}
}
});
//配置界面
connect(ui->pbn_Setting_2,&QPushButton::clicked,this,[=](){
//扫码器配置
m_SqliteAssistant->Insert_SystemConfigInfo(SerialNameCode,ui->comboBox_serialNameCode->currentText());
m_SqliteAssistant->Insert_SystemConfigInfo(SerialBaudCode,ui->comboBox_serialBaudCode->currentText());
myHelper::ShowMessageBoxInfo("扫码配置已保存");
});
//日志保存
connect(ui->rbn_logKeep_3,&QRadioButton::toggled,this,[=](bool click){
if(click){
ui->spinBox_logKeepDays->setEnabled(true);
}
});
connect(ui->rbn_logKeep_2,&QRadioButton::toggled,this,[=](bool click){
if(click){
ui->spinBox_logKeepDays->setEnabled(false);
}
});
connect(ui->rbn_logKeep_1,&QRadioButton::toggled,this,[=](bool click){
if(click){
ui->spinBox_logKeepDays->setEnabled(false);
}
});
}
void MainWindow::SetLineEdit(bool status)
{
ui->lineEdit_Frid_1->setReadOnly(status);
ui->lineEdit_Frid_2->setReadOnly(status);
ui->lineEdit_Frid_3->setReadOnly(status);
ui->lineEdit_Frid_4->setReadOnly(status);
ui->lineEdit_Frid_5->setReadOnly(status);
ui->lineEdit_Code_1->setReadOnly(status);
ui->lineEdit_Code_2->setReadOnly(status);
ui->lineEdit_Code_3->setReadOnly(status);
ui->lineEdit_Code_4->setReadOnly(status);
ui->lineEdit_Code_5->setReadOnly(status);
}
//软件配置事件
bool MainWindow::eventFilter(QObject *watched, QEvent *event)
{
// 针对lbShow控件
if (watched == ui->lab_Title)
{
//判断双击事件
if (event->type() == QEvent::MouseButtonDblClick)
{
// 双击显示
ui->stackedWidget->setCurrentWidget(ui->page_6);
return true;
}
//判断单击事件
if (event->type() == QEvent::MouseButtonPress)
{
// 单击显示
return true;
}
else
{
return false;
}
}
else
{
return QMainWindow::eventFilter(watched, event);
}
}
void MainWindow::closeEvent(QCloseEvent *event)
{
int result = myHelper::ShowMessageBoxQuesion("确定要关闭了吗?");
if (result == 1) {
//emit m_Bridge->CloseAllThread();
SoftClose();
event->accept();
} else {
event->ignore();
}
}
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QLabel>
#include <QMainWindow>
#include <QPushButton>
#include <QTimer>
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = nullptr);
~MainWindow();
private:
void init(); //软件初始化
void SoftStart();
void ReadSystemInfo();
void CheckAll();
void SoftClose();
void dataUpDate();
void Pbn_clicked();
void SetLineEdit(bool status);
protected:
bool eventFilter(QObject *watched, QEvent *event);
void closeEvent(QCloseEvent *event);
private:
Ui::MainWindow *ui;
//Bridge *m_Bridge; //中间类
QLabel *m_systemTime; //系统运行时间
QLabel *m_ScanCode; //二维码识别器
QLabel *m_Rfid; //FRID读卡器
QLabel *m_Trunk; //道闸
QLabel *m_SportsCamera; //抓拍相机
QLabel *m_monitorCamera; //监控相机
QLabel *m_carplnumPic;
//QPushButton *m_ScanStatus;
QTimer *m_SoftBreath;
int m_SoftBreath_s = 0;
int m_SoftBreath_m = 0;
int m_SoftBreath_h = 0;
int m_SoftBreath_d = 0;
};
#endif // MAINWINDOW_H
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1190</width>
<height>766</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QGridLayout" name="gridLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<property name="spacing">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QWidget" name="widget_main" native="true">
<layout class="QGridLayout" name="gridLayout_4">
<property name="leftMargin">
<number>5</number>
</property>
<property name="topMargin">
<number>6</number>
</property>
<property name="rightMargin">
<number>5</number>
</property>
<property name="bottomMargin">
<number>6</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<item row="1" column="0" colspan="2">
<widget class="QWidget" name="widget_pbn" native="true">
<property name="styleSheet">
<string notr="true">QPushButton{
font: 18pt;
}</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<property name="leftMargin">
<number>5</number>
</property>
<property name="topMargin">
<number>3</number>
</property>
<property name="rightMargin">
<number>5</number>
</property>
<property name="bottomMargin">
<number>3</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QPushButton" name="pbn_navigation_1">
<property name="text">
<string>门禁管理</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbn_navigation_2">
<property name="text">
<string>监控管理</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbn_navigation_3">
<property name="text">
<string>软件管理</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbn_navigation_4">
<property name="text">
<string>退出</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="0" column="0" colspan="2">
<widget class="QWidget" name="widget_title" native="true">
<property name="styleSheet">
<string notr="true">QLabel{
font: 30pt;
}
QWidget#widget_title{
border:1px solid #50A3F0;
border-radius:5px;
}</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<property name="leftMargin">
<number>5</number>
</property>
<property name="topMargin">
<number>3</number>
</property>
<property name="rightMargin">
<number>5</number>
</property>
<property name="bottomMargin">
<number>3</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="lab_Title">
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="2" column="1">
<widget class="QStackedWidget" name="stackedWidget">
<property name="styleSheet">
<string notr="true">QWidget#page_1{
background-image: url(:/image/header.png);
}
QLabel{
font: 12pt;
}
QGroupBox{
font: 14pt;
}
QLineEdit{
font: 18pt;
min-height: 30px;
}</string>
</property>
<property name="currentIndex">
<number>1</number>
</property>
<widget class="QWidget" name="page_1"/>
<widget class="QWidget" name="page_2">
<property name="styleSheet">
<string notr="true"/>
</property>
<layout class="QGridLayout" name="gridLayout_9">
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox_frid">
<property name="maximumSize">
<size>
<width>300</width>
<height>16777215</height>
</size>
</property>
<property name="title">
<string>RFID识别</string>
</property>
<layout class="QGridLayout" name="gridLayout_5">
<item row="0" column="0">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>车辆ID号:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_Frid_1"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>车 牌 号:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_Frid_2"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QLabel" name="label_4">
<property name="text">
<string>车辆司机:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_Frid_3"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<widget class="QLabel" name="label_5">
<property name="text">
<string>显示信息_4:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_Frid_4"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_7">
<item>
<widget class="QLabel" name="label_6">
<property name="text">
<string>车牌识别:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_Frid_5"/>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="0" column="1" rowspan="2">
<widget class="QGroupBox" name="groupBox_car">
<property name="title">
<string>车牌识别</string>
</property>
<layout class="QGridLayout" name="gridLayout_10">
<property name="topMargin">
<number>20</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="lab_carpic">
<property name="maximumSize">
<size>
<width>1024</width>
<height>768</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(170, 170, 255);</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="2">
<widget class="QGroupBox" name="groupBox">
<property name="maximumSize">
<size>
<width>300</width>
<height>16777215</height>
</size>
</property>
<property name="title">
<string>应急按键</string>
</property>
<layout class="QGridLayout" name="gridLayout_6">
<item row="0" column="0">
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QPushButton" name="pbn_urgent_1">
<property name="text">
<string>应急_1</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbn_urgent_2">
<property name="text">
<string>应急_2</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbn_urgent_3">
<property name="text">
<string>应急_3</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbn_urgent_4">
<property name="text">
<string>应急_4</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbn_urgent_5">
<property name="text">
<string>应急_5</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbn_urgent_6">
<property name="text">
<string>应急_6</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="1" column="0">
<widget class="QGroupBox" name="groupBox_scan">
<property name="maximumSize">
<size>
<width>300</width>
<height>16777215</height>
</size>
</property>
<property name="title">
<string>二维码识别</string>
</property>
<layout class="QGridLayout" name="gridLayout_7">
<item row="0" column="0">
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_8">
<item>
<widget class="QLabel" name="label_7">
<property name="text">
<string>显示信息_1:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_Code_1"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_9">
<item>
<widget class="QLabel" name="label_8">
<property name="text">
<string>显示信息_1:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_Code_2"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_10">
<item>
<widget class="QLabel" name="label_9">
<property name="text">
<string>显示信息_1:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_Code_3"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_11">
<item>
<widget class="QLabel" name="label_10">
<property name="text">
<string>显示信息_1:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_Code_4"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_12">
<item>
<widget class="QLabel" name="label_11">
<property name="text">
<string>显示信息_1:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_Code_5"/>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="1" column="2">
<widget class="QGroupBox" name="groupBox_2">
<property name="maximumSize">
<size>
<width>300</width>
<height>16777215</height>
</size>
</property>
<property name="title">
<string>厂区车辆管理</string>
</property>
<layout class="QGridLayout" name="gridLayout_8">
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_13">
<item>
<widget class="QLabel" name="label_12">
<property name="text">
<string>设置厂区最大车辆数:</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_VehTotal"/>
</item>
<item>
<widget class="QPushButton" name="pbn_setVehTotal">
<property name="text">
<string>确定</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_14">
<item>
<widget class="QLabel" name="label_13">
<property name="text">
<string>厂区当前车辆数:</string>
</property>
</widget>
</item>
<item>
<widget class="QLCDNumber" name="lcdNumber">
<property name="maximumSize">
<size>
<width>100</width>
<height>100</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="page_3">
<layout class="QGridLayout" name="gridLayout_13">
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox_4">
<property name="title">
<string>监控画面</string>
</property>
<layout class="QGridLayout" name="gridLayout_12">
<property name="topMargin">
<number>20</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="1">
<widget class="QGroupBox" name="groupBox_3">
<property name="maximumSize">
<size>
<width>200</width>
<height>16777215</height>
</size>
</property>
<property name="title">
<string>监控控制</string>
</property>
<layout class="QGridLayout" name="gridLayout_11">
<item row="0" column="0">
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QPushButton" name="pushButton">
<property name="text">
<string>预览</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_2">
<property name="text">
<string>关闭</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="page_4">
<layout class="QGridLayout" name="gridLayout_16">
<item row="0" column="0">
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>17</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_16">
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QWidget" name="widget" native="true">
<property name="maximumSize">
<size>
<width>250</width>
<height>16777215</height>
</size>
</property>
<layout class="QGridLayout" name="gridLayout_14">
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_15">
<item>
<widget class="QLabel" name="label_14">
<property name="maximumSize">
<size>
<width>100</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>管理员密码:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_adminPwd">
<property name="maximumSize">
<size>
<width>150</width>
<height>16777215</height>
</size>
</property>
<property name="echoMode">
<enum>QLineEdit::PasswordEchoOnEdit</enum>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="pbn_ToSetting">
<property name="maximumSize">
<size>
<width>250</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>确定</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>17</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QWidget" name="page_5">
<layout class="QGridLayout" name="gridLayout_15">
<item row="0" column="0">
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="tab_1">
<attribute name="title">
<string>Tab 1</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_18">
<item row="0" column="0">
<widget class="QTableWidget" name="tableWidget">
<row>
<property name="text">
<string>新建行</string>
</property>
</row>
<row>
<property name="text">
<string>新建行</string>
</property>
</row>
<column>
<property name="text">
<string>车牌号</string>
</property>
</column>
<column>
<property name="text">
<string>车身ID</string>
</property>
</column>
<column>
<property name="text">
<string>司机姓名</string>
</property>
</column>
<column>
<property name="text">
<string>司机电话</string>
</property>
</column>
<column>
<property name="text">
<string>是否受限</string>
</property>
</column>
<column>
<property name="text">
<string>车辆所属单位</string>
</property>
</column>
</widget>
</item>
<item row="0" column="1">
<widget class="QGroupBox" name="groupBox_5">
<property name="maximumSize">
<size>
<width>300</width>
<height>16777215</height>
</size>
</property>
<property name="title">
<string>车辆查询</string>
</property>
<layout class="QGridLayout" name="gridLayout_17">
<item row="0" column="0">
<layout class="QVBoxLayout" name="verticalLayout_7">
<item>
<spacer name="verticalSpacer_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_6">
<item>
<widget class="QLabel" name="label_15">
<property name="text">
<string>请输入要查询的车牌号:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_carPlnum"/>
</item>
<item>
<widget class="QPushButton" name="pbn_selectVeh">
<property name="text">
<string>查询</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QPushButton" name="pbn_setVehLimit">
<property name="text">
<string>是否设置为受限车辆</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string>Tab 2</string>
</attribute>
</widget>
<widget class="QWidget" name="tab_3">
<attribute name="title">
<string></string>
</attribute>
</widget>
<widget class="QWidget" name="tab_4">
<attribute name="title">
<string></string>
</attribute>
</widget>
<widget class="QWidget" name="tab_5">
<attribute name="title">
<string></string>
</attribute>
</widget>
<widget class="QWidget" name="tab_6">
<attribute name="title">
<string></string>
</attribute>
</widget>
<widget class="QWidget" name="tab_7">
<attribute name="title">
<string></string>
</attribute>
</widget>
<widget class="QWidget" name="tab_8">
<attribute name="title">
<string></string>
</attribute>
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="page_6">
<layout class="QGridLayout" name="gridLayout_19">
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox_6">
<property name="title">
<string>FRID接入控制</string>
</property>
<layout class="QGridLayout" name="gridLayout_20">
<item row="0" column="0">
<layout class="QVBoxLayout" name="verticalLayout_9">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_20">
<item>
<spacer name="horizontalSpacer_5">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_8">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_17">
<item>
<widget class="QLabel" name="label_16">
<property name="text">
<string>SerialName:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_serialNameRfid"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_19">
<item>
<widget class="QLabel" name="label_18">
<property name="text">
<string>SerialBaudRate:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_serialBaudRfid"/>
</item>
</layout>
</item>
<item>
<widget class="QPushButton" name="pbn_Setting_1">
<property name="text">
<string>确定</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="horizontalSpacer_6">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="0" column="1">
<widget class="QGroupBox" name="groupBox_9">
<property name="title">
<string>扫码器接入控制</string>
</property>
<layout class="QGridLayout" name="gridLayout_21">
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_21">
<item>
<spacer name="horizontalSpacer_7">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_10">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_22">
<item>
<widget class="QLabel" name="label_19">
<property name="text">
<string>SerialName:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_serialNameCode">
<property name="styleSheet">
<string notr="true"/>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_23">
<item>
<widget class="QLabel" name="label_20">
<property name="text">
<string>SerialBaudRate:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_serialBaudCode"/>
</item>
</layout>
</item>
<item>
<widget class="QPushButton" name="pbn_Setting_2">
<property name="text">
<string>确定</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="horizontalSpacer_8">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="0" column="2">
<widget class="QGroupBox" name="groupBox_12">
<property name="title">
<string>抓拍机接入控制</string>
</property>
<layout class="QGridLayout" name="gridLayout_22">
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_24">
<item>
<spacer name="horizontalSpacer_9">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_11">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_25">
<item>
<widget class="QLabel" name="label_21">
<property name="text">
<string>SerialName:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_5"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_26">
<item>
<widget class="QLabel" name="label_22">
<property name="text">
<string>SerialBaudRate:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_6"/>
</item>
</layout>
</item>
<item>
<widget class="QPushButton" name="pbn_Setting_3">
<property name="text">
<string>确定</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="horizontalSpacer_10">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="1" column="0">
<widget class="QGroupBox" name="groupBox_7">
<property name="title">
<string>道闸接入控制</string>
</property>
<layout class="QGridLayout" name="gridLayout_23">
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_27">
<item>
<spacer name="horizontalSpacer_11">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_12">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_28">
<item>
<widget class="QLabel" name="label_23">
<property name="text">
<string>SerialName:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_7"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_29">
<item>
<widget class="QLabel" name="label_24">
<property name="text">
<string>SerialBaudRate:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_8"/>
</item>
</layout>
</item>
<item>
<widget class="QPushButton" name="pbn_Setting_4">
<property name="text">
<string>确定</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="horizontalSpacer_12">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="1" column="1">
<widget class="QGroupBox" name="groupBox_10">
<property name="title">
<string>抓拍机接入控制</string>
</property>
<layout class="QGridLayout" name="gridLayout_24">
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_30">
<item>
<spacer name="horizontalSpacer_13">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_13">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_31">
<item>
<widget class="QLabel" name="label_25">
<property name="text">
<string>SerialName:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_9"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_32">
<item>
<widget class="QLabel" name="label_26">
<property name="text">
<string>SerialBaudRate:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_10"/>
</item>
</layout>
</item>
<item>
<widget class="QPushButton" name="pbn_Setting_5">
<property name="text">
<string>确定</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="horizontalSpacer_14">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="1" column="2">
<widget class="QGroupBox" name="groupBox_13">
<property name="title">
<string>抓拍机接入控制</string>
</property>
<layout class="QGridLayout" name="gridLayout_25">
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_33">
<item>
<spacer name="horizontalSpacer_15">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_14">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_34">
<item>
<widget class="QLabel" name="label_27">
<property name="text">
<string>SerialName:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_11"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_35">
<item>
<widget class="QLabel" name="label_28">
<property name="text">
<string>SerialBaudRate:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_12"/>
</item>
</layout>
</item>
<item>
<widget class="QPushButton" name="pbn_Setting_6">
<property name="text">
<string>确定</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="horizontalSpacer_16">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="2" column="0">
<widget class="QGroupBox" name="groupBox_8">
<property name="title">
<string>抓拍机接入控制</string>
</property>
<layout class="QGridLayout" name="gridLayout_26">
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_36">
<item>
<spacer name="horizontalSpacer_17">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_15">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_37">
<item>
<widget class="QLabel" name="label_29">
<property name="text">
<string>SerialName:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_13"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_38">
<item>
<widget class="QLabel" name="label_30">
<property name="text">
<string>SerialBaudRate:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_14"/>
</item>
</layout>
</item>
<item>
<widget class="QPushButton" name="pbn_Setting_7">
<property name="text">
<string>确定</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="horizontalSpacer_18">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="2" column="1">
<widget class="QGroupBox" name="groupBox_11">
<property name="title">
<string>抓拍机接入控制</string>
</property>
<layout class="QGridLayout" name="gridLayout_27">
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_39">
<item>
<spacer name="horizontalSpacer_19">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_16">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_40">
<item>
<widget class="QLabel" name="label_31">
<property name="text">
<string>SerialName:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_15"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_41">
<item>
<widget class="QLabel" name="label_32">
<property name="text">
<string>SerialBaudRate:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_16"/>
</item>
</layout>
</item>
<item>
<widget class="QPushButton" name="pbn_Setting_8">
<property name="text">
<string>确定</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="horizontalSpacer_20">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="2" column="2">
<widget class="QGroupBox" name="groupBox_14">
<property name="title">
<string>日志保存控制</string>
</property>
<layout class="QGridLayout" name="gridLayout_28">
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_45">
<item>
<spacer name="horizontalSpacer_23">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_17">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_43">
<item>
<widget class="QRadioButton" name="rbn_logKeep_1">
<property name="text">
<string>三天</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="rbn_logKeep_2">
<property name="text">
<string>七天</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_42">
<item>
<widget class="QRadioButton" name="rbn_logKeep_3">
<property name="text">
<string>自定义</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_logKeepDays"/>
</item>
<item>
<widget class="QLabel" name="label_34">
<property name="text">
<string></string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_44">
<item>
<widget class="QPushButton" name="pushButton_11">
<property name="text">
<string>确定</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
<item>
<spacer name="horizontalSpacer_24">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1190</width>
<height>23</height>
</rect>
</property>
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<resources/>
<connections/>
</ui>
#include "applog.h"
#include <QMutex>
#include <QFile>
#include <QTextStream>
#include <QDir>
#include <QDate>
#include <QApplication>
QtMessageHandler messageHandler = NULL;
AppLog::AppLog()
{
}
AppLog::~AppLog()
{
}
void outputMessage(QtMsgType type, const QMessageLogContext &context, const QString &msg)
{
QString text;
switch(type)
{
case QtDebugMsg:
text = QString("Debug");
break;
case QtInfoMsg:
text = QString("Info");
break;
case QtWarningMsg:
text = QString("Warning");
break;
case QtCriticalMsg:
text = QString("Critical");
break;
case QtFatalMsg:
text = QString("Fatal");
}
QString context_info = QString("File:(%1) Line:(%2) Function:%3")
.arg(QString(context.file))
.arg(context.line)
.arg(context.function);
QString current_date_time = QDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss ddd");
QString current_date = QString("(%1)").arg(current_date_time);
QString message = QString("%1 %2 %3").arg(context_info).arg(msg).arg(current_date);
//加锁
static QMutex applog_mutex;
applog_mutex.lock();
//输出信息至文件中(读写、追加形式)
// QString logFileDir = QString("%1/log/%2")
// .arg(QApplication::applicationDirPath())
// .arg(QDate::currentDate().toString("yyyy-MM-dd"));
QString logFileDir = QString("%1/log")
.arg(QApplication::applicationDirPath());
// QString logFileName = QString("%1_%2_log.txt")
// .arg(QApplication::applicationName())
// .arg(text);
QString logFileName = QString("%1_%2_%3_log.txt")
.arg(QApplication::applicationName())
.arg(text)
.arg(QDate::currentDate().toString("yyyy-MM-dd"));
QDir logDir(logFileDir);
if (!logDir.exists())
logDir.mkpath(logFileDir);
QFile file(QString("%1/%2").arg(logFileDir).arg(logFileName));
file.open(QIODevice::WriteOnly | QIODevice::Append | QFile::Text);
QTextStream text_stream(&file);
text_stream << message << "\r\n";
file.flush();
file.close();
//解锁
applog_mutex.unlock();
//用系统原来的函数完成原来的功能. 比如输出到调试窗
if (messageHandler)
messageHandler(type, context, msg);
}
void AppLog::start()
{
//安装日志钩子
messageHandler = qInstallMessageHandler(outputMessage);
}
void AppLog::stop()
{
//卸载日志钩子
qInstallMessageHandler(0);
}
void AppLog::onClearLogFile(QString path, int keepLogDays)
{
QStringList fileList;
//需要清理文件的类型
QStringList filterList;
QString fileType = "*.txt";
filterList.append(fileType);
//获取目录内的文件列表
QDir dir = QDir(path);
Q_ASSERT(dir.exists());
fileList = dir.entryList(filterList, QDir::Files, QDir::Name);
QDateTime currDt = QDateTime::currentDateTime();
foreach (QString fileName, fileList)
{
//获取文件的创建时间
QFileInfo info(path + "/" + fileName);
QDateTime dt = info.created();
int days = dt.daysTo(currDt);
if(days > keepLogDays)
{
QFile::remove(path + "/" + fileName);
}
}
}
bool RemoveDir(QString dirPath)
{
if(dirPath.isEmpty())
return false;
QDir dir(dirPath);
if(!dir.exists())
return true;
for(QFileInfo info:dir.entryInfoList())
{
if(info.isFile())
{
QFile::remove(info.filePath());
}
else
{
RemoveDir(info.absoluteFilePath());
}
}
return dir.remove(dir.absolutePath());
}
#ifndef APPLOG_H
#define APPLOG_H
#include <QObject>
#include "singleton.h"
class AppLog
{
SINGLETON(AppLog)
public:
void start();
void stop();
void onClearLogFile(QString path, int keepLogDays);
};
#endif // APPLOG_H
#程序的记录员
HEADERS += \
$$PWD/applog.h
SOURCES += \
$$PWD/applog.cpp
#ifndef SINGLETON_H
#define SINGLETON_H
#include <QMutex>
#include <QScopedPointer>
/**
* 使用方法:
* 1. 定义类为单例:
* class ConnectionPool {
* SINGLETON(ConnectionPool) // Here
* public:
*
* 2. 获取单例类的对象:
* Singleton<ConnectionPool>::getInstance();
* ConnectionPool &pool = Singleton<ConnectionPool>::getInstance();
* 注意: 如果单例的类需要释放的资源和 Qt 底层的信号系统有关系,例如 QSettings,QSqlDatabase 等,
* 需要在程序结束前手动释放(也就是在 main() 函数返回前调用释放资源的函数,参考 ConnectionPool 的调用),
* 否则有可能在程序退出时报系统底层的信号错误,导致如 QSettings 的数据没有保存。
*/
template <typename T>
class Singleton {
public:
static T& getInstance();
Singleton(const Singleton &other);
Singleton<T>& operator=(const Singleton &other);
private:
//同步锁
static QMutex mutex;
//智能指针,只在该作用域存在,一旦出该作用域,就会自动销毁
static QScopedPointer<T> instance;
};
/*-----------------------------------------------------------------------------|
| Singleton implementation |
|----------------------------------------------------------------------------*/
template <typename T> QMutex Singleton<T>::mutex;
template <typename T> QScopedPointer<T> Singleton<T>::instance;
template <typename T>
T &Singleton<T>::getInstance()
{
if (instance.isNull()) {
mutex.lock();
if (instance.isNull()) {
//reset():delete目前指向的对象,调用其析构函数,将指针指向另一个对象other,所有权转移到other
instance.reset(new T());
}
mutex.unlock();
}
/**
* 获取智能指针动态创建的对象的指针有两种方法:QScopedPointer#data() 和 QScopedPointer#take()
* T *QScopedPointer::data() const返回指向对象的常量指针,QScopedPointer仍拥有对象所有权。
* 所以通过data()返回过后就被自动删除了,从而导致mian函数中的p1变成了野指针,程序崩溃.
* 使用T *QScopedPointer::take()也是返回对象指针,但QScopedPointer不再拥有对象所有权,而
* 是转移到调用这个函数的caller,同时QScopePointer对象指针置为NULL
*/
return *instance.data();
}
/*-----------------------------------------------------------------------------|
| Singleton Macro |
|----------------------------------------------------------------------------*/
/**
* QScopedPointerDeleter 是 QScopedPointer 的默认实现,使用delete删除指针
* 宏中不能使用 // 添加注释,换行续添加换行符 “\”
*
* 宏中已经申明了构造函数和析构函数,使用该宏的类直接写函数体即可,无需再次申明
*/
#define SINGLETON(Class) \
private: \
Class(); \
~Class(); \
Class(const Class &other); \
Class& operator=(const Class &other); \
friend class Singleton<Class>; /* 注释必须写在续行符("\")的前面 */ \
friend struct QScopedPointerDeleter<Class>;/* 末尾注释不需要加续行符 */
#endif // DBUTIL_H
#ifndef MYHELPER_H
#define MYHELPER_H
#include <QApplication>
#include <QDesktopWidget>
#include <QFile>
#include <QSettings>
#include <QTime>
#include <QTranslator>
#include "frmmessagebox.h"
class myHelper: public QObject
{
public:
//设置为开机启动
static void AutoRunWithSystem(bool IsAutoRun, QString AppName, QString AppPath)
{
QSettings *reg = new QSettings(
"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run",
QSettings::NativeFormat);
if (IsAutoRun) {
reg->setValue(AppName, AppPath);
} else {
reg->setValue(AppName, "");
}
}
//设置编码为UTF8
static void SetUTF8Code()
{
#if (QT_VERSION <= QT_VERSION_CHECK(5,0,0))
QTextCodec *codec = QTextCodec::codecForName("UTF-8");
QTextCodec::setCodecForLocale(codec);
QTextCodec::setCodecForCStrings(codec);
QTextCodec::setCodecForTr(codec);
#endif
}
//设置皮肤样式
static void SetStyle(const QString &styleName)
{
QFile file(QString(":/image/%1.css").arg(styleName));
file.open(QFile::ReadOnly);
QString qss = QLatin1String(file.readAll());
qApp->setStyleSheet(qss);
qApp->setPalette(QPalette(QColor("#F0F0F0")));
}
//加载中文字符
static void SetChinese()
{
QTranslator *translator = new QTranslator(qApp);
translator->load(":/image/qt_zh_CN.qm");
qApp->installTranslator(translator);
}
//判断是否是IP地址
static bool IsIP(QString IP)
{
QRegExp RegExp("((2[0-4]\\d|25[0-5]|[01]?\\d\\d?)\\.){3}(2[0-4]\\d|25[0-5]|[01]?\\d\\d?)");
return RegExp.exactMatch(IP);
}
//显示信息框,仅确定按钮
static void ShowMessageBoxInfo(QString info)
{
frmMessageBox *msg = new frmMessageBox;
msg->SetMessage(info, 0);
msg->exec();
}
//显示错误框,仅确定按钮
static void ShowMessageBoxError(QString info)
{
frmMessageBox *msg = new frmMessageBox;
msg->SetMessage(info, 2);
msg->exec();
}
//显示询问框,确定和取消按钮
static int ShowMessageBoxQuesion(QString info)
{
frmMessageBox *msg = new frmMessageBox;
msg->SetMessage(info, 1);
return msg->exec();
}
//延时
static void Sleep(int sec)
{
QTime dieTime = QTime::currentTime().addMSecs(sec);
while ( QTime::currentTime() < dieTime ) {
QCoreApplication::processEvents(QEventLoop::AllEvents, 100);
}
}
//窗体居中显示
static void FormInCenter(QWidget *frm)
{
int frmX = frm->width();
int frmY = frm->height();
QDesktopWidget w;
int deskWidth = w.width();
int deskHeight = w.height();
QPoint movePoint(deskWidth / 2 - frmX / 2, deskHeight / 2 - frmY / 2);
frm->move(movePoint);
}
};
#endif // MYHELPER_H
temp/obj/bridge.o
temp/obj/frmmessagebox.o
temp/obj/iconhelper.o
temp/obj/logindlg.o
temp/obj/main.o
temp/obj/mainwindow.o
temp/obj/sqlitehandle.o
temp/obj/applog.o
temp/obj/sqliteassistant.o
temp/obj/scancodecontrol.o
temp/obj/qrc_image.o
temp/obj/moc_bridge.o
temp/obj/moc_frmmessagebox.o
temp/obj/moc_logindlg.o
temp/obj/moc_mainwindow.o
temp/obj/moc_sqlitehandle.o
temp/obj/moc_sqliteassistant.o
temp/obj/moc_scancodecontrol.o
temp/obj/bridge.o
temp/obj/frmmessagebox.o
temp/obj/iconhelper.o
temp/obj/logindlg.o
temp/obj/main.o
temp/obj/mainwindow.o
temp/obj/sqlitehandle.o
temp/obj/applog.o
temp/obj/sqliteassistant.o
temp/obj/scancodecontrol.o
temp/obj/qrc_image.o
temp/obj/moc_bridge.o
temp/obj/moc_frmmessagebox.o
temp/obj/moc_logindlg.o
temp/obj/moc_mainwindow.o
temp/obj/moc_sqlitehandle.o
temp/obj/moc_sqliteassistant.o
temp/obj/moc_scancodecontrol.o
pic/1.jpg

475.8 KB

HEADERS += \
$$PWD/scancodecontrol.h
SOURCES += \
$$PWD/scancodecontrol.cpp
#include "scancodecontrol.h"
#include "myhelper.h"
#include <QRegExp>
ScanCodeControl::ScanCodeControl(QObject *parent) : QObject(parent)
{
}
void ScanCodeControl::setComm(QString ComName, long baudRate)
{
// 设置串口号
SerialPort.setPortName(ComName);
// 打开串口
if(SerialPort.open(QIODevice::ReadOnly))
{
// 设置波特率
SerialPort.setBaudRate(baudRate);
SerialPort.setDataBits(QSerialPort::Data8);
SerialPort.setParity(QSerialPort::NoParity);
// 设置流控制
SerialPort.setFlowControl(QSerialPort::NoFlowControl);
SerialPort.setStopBits(QSerialPort::OneStop);
emit SendToBridge_ScanCodeDataisOk();
//设置数据位数
// switch(8)
// {
// case 5: SerialPort.setDataBits(QSerialPort::Data5); break;
// case 6: SerialPort.setDataBits(QSerialPort::Data6); break;
// case 7: SerialPort.setDataBits(QSerialPort::Data7); break;
// case 8: SerialPort.setDataBits(QSerialPort::Data8); break;
// default: break;
// }
// 设置校验位
//SerialPort->setParity(QSerialPort::NoParity);
//设置奇偶校验
// switch(parity)
// {
// case 0: SerialPort.setParity(QSerialPort::NoParity); break;
// case 1: SerialPort.setParity(QSerialPort::OddParity); break;
// case 2: SerialPort.setParity(QSerialPort::EvenParity); break;
// default: break;
// }
//设置停止位
// switch(stopBits)
// {
// case 1: SerialPort.setStopBits(QSerialPort::OneStop); break;
// case 2: SerialPort.setStopBits(QSerialPort::TwoStop); break;
// default: break;
// }
}else {
//myHelper::ShowMessageBoxError("扫码模块故障");
return;
}
connect(&SerialPort,&QSerialPort::readyRead,this,[=](){
QString str(SerialPort.readAll());
QStringList list = str.split(QRegExp("[\r\n]"),QString::SkipEmptyParts); //去掉\r\n
foreach (QString line, list) {
if(m_RepeatScan == line){
return;
}
m_RepeatScan =line;
m_timer->start(100);
}
});
m_timer = new QTimer(this);
connect(m_timer,&QTimer::timeout,this,[=](){
m_timer->stop();
emit SendToBridge_ScanCodeData(m_RepeatScan);
m_RepeatScan = nullptr;
});
}
#ifndef SCANCODECONTROL_H
#define SCANCODECONTROL_H
#include <QObject>
#include <QSerialPort>
#include <QTimer>
class ScanCodeControl : public QObject
{
Q_OBJECT
public:
explicit ScanCodeControl(QObject *parent = nullptr);
public:
signals:
void SendToBridge_ScanCodeData(QString data);
void SendToBridge_ScanCodeDataisOk();
public slots:
void setComm(QString ComName,long baudRate);
private:
QSerialPort SerialPort;
QString m_RepeatScan = nullptr;
QTimer *m_timer; //扫码数据重置
};
#endif // SCANCODECONTROL_H
++ "b/scanCode_control/\346\211\253\347\240\201\346\250\241\345\235\227.txt"
#include "sqliteassistant.h"
#include <QApplication>
#include <QDir>
#include <QPluginLoader>
#include <QDebug>
#include <myhelper.h>
SqliteAssistant::SqliteAssistant(QObject *parent) : QObject(parent)
{
}
long SqliteAssistant::connectSql()
{
long ret =0;
QString path = QDir::currentPath();
QApplication::addLibraryPath(path+QString("\\plugins"));
QPluginLoader loader(path+QString("\\plugins\\sqldrivers\\qsqlite.dll"));
database = QSqlDatabase::addDatabase("QSQLITE","old_db");
database.setDatabaseName("./JM_DATA");
// database.setUserName("root");
// database.setPassword("jm123456");
if (!database.open())
{
myHelper::ShowMessageBoxError(database.lastError().text());
ret =-1;
}
else
{
qDebug() << "Succeed to connect database.";
m_pSqlHandle =new QSqlQuery(database);
ret =0;
}
return ret;
}
long SqliteAssistant::Insert_GoodTypeInfo(QString data)
{
if(data.isEmpty())
{
myHelper::ShowMessageBoxError("货物类型不能为空");
return -2;
}
QSqlQuery query(database);
char sql[1024*4] = {0};
sprintf(sql,"insert into GoodTypeInfo (Name) values ('%s')",data.toStdString().c_str());
bool succ = query.exec(sql);
if(succ)
{
myHelper::ShowMessageBoxInfo("货物信息保存成功");
return 0;
}
else
{
if(query.lastError().databaseText().left(6) == "UNIQUE"){
myHelper::ShowMessageBoxError("货物信息已存在");
}
return -1;
}
}
QStringList SqliteAssistant::Select_GoodTypeInfo()
{
QStringList list;
QSqlQuery query(database);
char sql[1024*4] = {0};
sprintf(sql,"select * from GoodTypeInfo");
bool succ = query.exec(sql);
if(succ){
}
while(query.next())
{
list.append(query.value(0).toString());
}
return list;
}
long SqliteAssistant::Insert_CustomerInfo(QString data)
{
if(data.isEmpty())
{
myHelper::ShowMessageBoxError("用户信息不能为空");
return -2;
}
QSqlQuery query(database);
char sql[1024*4] = {0};
sprintf(sql,"insert into CustomerInfo (Name) values ('%s')",data.toStdString().c_str());
bool succ = query.exec(sql);
if(succ)
{
myHelper::ShowMessageBoxInfo("客户信息保存成功");
return 0;
}
else
{
if(query.lastError().databaseText().left(6) == "UNIQUE"){
myHelper::ShowMessageBoxError("客户信息已存在");
}
return -1;
}
}
QStringList SqliteAssistant::Select_CustomerInfo()
{
QStringList list;
QSqlQuery query(database);
char sql[1024*4] = {0};
sprintf(sql,"select * from CustomerInfo");
bool succ = query.exec(sql);
if(succ){
}
while(query.next())
{
list.append(query.value(0).toString());
}
return list;
}
QStringList SqliteAssistant::Select_EqptInfo()
{
QStringList list;
QSqlQuery query(database);
char sql[1024*4] = {0};
sprintf(sql,"select Code from EquipmentInfo");
bool succ = query.exec(sql);
if(succ){
}
while(query.next())
{
list.append(query.value(0).toString());
}
return list;
}
long SqliteAssistant::Delete_CustomerInfo(QString data)
{
if(data.isEmpty())
{
myHelper::ShowMessageBoxError("删除信息不能为空");
return -2;
}
QSqlQuery query(database);
char sql[1024*4] = {0};
sprintf(sql,"delete from CustomerInfo where Name = '%s'",data.toStdString().c_str());
bool succ = query.exec(sql);
if(succ)
{
myHelper::ShowMessageBoxInfo("客户信息删除成功");
return 0;
}
else
{
myHelper::ShowMessageBoxError(query.lastError().databaseText());
return -1;
}
}
long SqliteAssistant::Delete_GoodTypeInfo(QString data)
{
if(data.isEmpty())
{
myHelper::ShowMessageBoxError("货物类型不能为空");
return -2;
}
QSqlQuery query(database);
char sql[1024*4] = {0};
sprintf(sql,"delete from GoodTypeInfo where Name = '%s'",data.toStdString().c_str());
bool succ = query.exec(sql);
if(succ)
{
myHelper::ShowMessageBoxInfo("货物信息删除成功");
return 0;
}
else
{
myHelper::ShowMessageBoxError(query.lastError().databaseText());
return -1;
}
}
long SqliteAssistant::Insert_EquipmentInfo(QString data, QString data2)
{
if(data.isEmpty())
{
myHelper::ShowMessageBoxError("设备信息不能为空");
return -2;
}
QSqlQuery query(database);
char sql[1024*4] = {0};
sprintf(sql,"insert into EquipmentInfo (Code,RegistrationKey) values ('%s','%s')",
data.toStdString().c_str(),data2.toStdString().c_str());
bool succ = query.exec(sql);
if(succ)
{
myHelper::ShowMessageBoxInfo("设备信息保存成功");
return 0;
}
else
{
if(query.lastError().databaseText().left(6) == "UNIQUE"){
myHelper::ShowMessageBoxError("设备信息已存在");
}
return -1;
}
}
long SqliteAssistant::Delete_EquipmentInfo(QString data)
{
if(data.isEmpty())
{
myHelper::ShowMessageBoxError("设备号不能为空");
return -2;
}
QSqlQuery query(database);
char sql[1024*4] = {0};
sprintf(sql,"delete from EquipmentInfo where Code = '%s'",data.toStdString().c_str());
bool succ = query.exec(sql);
if(succ)
{
myHelper::ShowMessageBoxInfo("设备信息删除成功");
return 0;
}
else
{
myHelper::ShowMessageBoxError(query.lastError().databaseText());
return -1;
}
}
long SqliteAssistant::Insert_SystemConfigInfo(QString data, QString data2)
{
if(data.isEmpty())
{
myHelper::ShowMessageBoxError("配置信息不能为空");
return -2;
}
QSqlQuery query(database);
char sql[1024*4] = {0};
sprintf(sql,"insert into SystemConfigInfo (Key,Value) values ('%s','%s')",
data.toStdString().c_str(),data2.toStdString().c_str());
bool succ = query.exec(sql);
if(succ)
{
//myHelper::ShowMessageBoxInfo("配置信息保存成功");
return 0;
}
else
{
if(query.lastError().databaseText().left(6) == "UNIQUE"){
//如果已经存在,更新配置
char sql[1024*4] = {0};
sprintf(sql,"UPDATE SystemConfigInfo SET VALUE = '%s' WHERE Key = '%s'",
data2.toStdString().c_str(),data.toStdString().c_str());
bool succ = query.exec(sql);
if(succ)
{
//myHelper::ShowMessageBoxInfo("配置信息更新成功");
return 0;
}
}
return -1;
}
}
QString SqliteAssistant::Select_SystemConfigInfo(QString data)
{
QString list;
if(data.isEmpty())
{
myHelper::ShowMessageBoxError("配置信息不能为空");
return nullptr;
}
QSqlQuery query(database);
char sql[1024*4] = {0};
sprintf(sql,"select Value from SystemConfigInfo where Key = '%s'",data.toStdString().c_str());
bool succ = query.exec(sql);
if(succ){
}
while(query.next())
{
list.append(query.value(0).toString());
}
return list;
}
QString SqliteAssistant::Select_AdminInfo(QString data)
{
QString list;
if(data.isEmpty())
{
myHelper::ShowMessageBoxError("不能为空");
return nullptr;
}
QSqlQuery query(database);
char sql[1024*4] = {0};
sprintf(sql,"select Password from AdminInfo where Name = '%s'",data.toStdString().c_str());
bool succ = query.exec(sql);
if(succ){
}
while(query.next())
{
list.append(query.value(0).toString());
}
return list;
}
QString SqliteAssistant::Select_AdminInfoName()
{
QString list;
QSqlQuery query(database);
char sql[1024*4] = {0};
sprintf(sql,"select Name from AdminInfo");
bool succ = query.exec(sql);
if(succ){
}
while(query.next())
{
list.append(query.value(0).toString());
}
return list;
}
long SqliteAssistant::Insert_UserInfo(QString data, QString data2, QString data3)
{
if(data.isEmpty())
{
myHelper::ShowMessageBoxError("用户名不能为空");
return -2;
}
QSqlQuery query(database);
char sql[1024*4] = {0};
sprintf(sql,"insert into UserInfo (Code,Name,Password) values ('%s','%s','%s')",
data.toStdString().c_str(),data2.toStdString().c_str(),data3.toStdString().c_str());
bool succ = query.exec(sql);
if(succ)
{
myHelper::ShowMessageBoxInfo("用户信息保存成功");
return 0;
}
else
{
if(query.lastError().databaseText().left(6) == "UNIQUE"){
myHelper::ShowMessageBoxError("用户编号已存在,请更改用户编号");
}
return -1;
}
}
QStringList SqliteAssistant::Select_UserInfo()
{
QStringList list;
QSqlQuery query(database);
char sql[1024*4] = {0};
sprintf(sql,"select Name from UserInfo");
bool succ = query.exec(sql);
if(succ){
}
while(query.next())
{
list.append(query.value(0).toString());
}
return list;
}
QStringList SqliteAssistant::Select_UserInfo2()
{
QStringList list;
QSqlQuery query(database);
char sql[1024*4] = {0};
sprintf(sql,"select Code from UserInfo");
bool succ = query.exec(sql);
if(succ){
}
while(query.next())
{
list.append(query.value(0).toString());
}
return list;
}
QString SqliteAssistant::Select_UserInfo3(QString data)
{
QString list;
QSqlQuery query(database);
char sql[1024*4] = {0};
sprintf(sql,"select Password from UserInfo where Name = '%s'",data.toStdString().c_str());
bool succ = query.exec(sql);
if(succ){
}
while(query.next())
{
list.append(query.value(0).toString());
}
return list;
}
long SqliteAssistant::Delete_UserInfo(QString data)
{
if(data.isEmpty())
{
myHelper::ShowMessageBoxError("用户选择失败");
return -2;
}
QSqlQuery query(database);
char sql[1024*4] = {0};
sprintf(sql,"delete from UserInfo where Code = '%s'",data.toStdString().c_str());
bool succ = query.exec(sql);
if(succ)
{
myHelper::ShowMessageBoxInfo("用户信息删除成功");
return 0;
}
else
{
myHelper::ShowMessageBoxError(query.lastError().databaseText());
return -1;
}
}
long SqliteAssistant::Updata_AdminInfo(QString data)
{
QSqlQuery query(database);
//如果已经存在,更新配置
char sql[1024*4] = {0};
sprintf(sql,"UPDATE AdminInfo SET Password = '%s'",
data.toStdString().c_str());
bool succ = query.exec(sql);
if(succ)
{
myHelper::ShowMessageBoxInfo("密码更新成功,请勿忘记");
return 0;
}else{
myHelper::ShowMessageBoxError(query.lastError().text());
return -1;
}
}
long SqliteAssistant::Insert_WeighingRun(QString data, QString data2, QString data3, QString data4, QString data5, QString data6, QString data7, QString data8, QString data9, QString data10)
{
if(data4.isEmpty())
{
myHelper::ShowMessageBoxError("称重信息不能为空");
return -2;
}
QSqlQuery query(database);
char sql[1024*4] = {0};
sprintf(sql,"insert into WeighingRun (ECode,Time,"
"SerialNo,Weight,"
"Type,Pound,"
"RealCache,Operator,"
"GoodsType,Customer,"
"Notes) "
"values "
"(NULL,'%s',"
"'%s',%.2f,"
"'%s','%s',"
"'%s','%s',"
"'%s','%s',"
"'%s')",
data.toStdString().c_str(),data2.toStdString().c_str(),data3.toDouble(),
data4.toStdString().c_str(),data5.toStdString().c_str(),data6.toStdString().c_str(),
data7.toStdString().c_str(),data8.toStdString().c_str(),data9.toStdString().c_str(),
data10.toStdString().c_str());
bool succ = query.exec(sql);
if(succ)
{
//myHelper::ShowMessageBoxInfo("设备信息保存成功");
return 0;
}
else
{
if(query.lastError().databaseText().left(6) == "UNIQUE"){
myHelper::ShowMessageBoxError("重量信息已存在");
}
return -1;
}
}
long SqliteAssistant::select_ui_WeighingRun(QTableWidget *weight, int sumCount)
{
QSqlQuery query(database);
int i = 0, j = 0, nColumn, nRow;
char sql[1024*4] = {0};
sprintf(sql,"select "
"ECode,Operator,"
"Pound,Weight,Type,"
"Time,RealCache,"
"GoodsType,Customer,"
"Notes "
"from "
"WeighingRun "
"ORDER BY "
"ECode DESC");
bool succ = query.exec(sql);
if(succ){
} else
{
myHelper::ShowMessageBoxError(query.lastError().databaseText());
return -1;
}
query.last();
nRow = query.at() + 1;
if(nRow>=sumCount)
{
nRow =sumCount;
}
if(nRow<0)
{
weight->setRowCount(0);
return 0;
}
weight->setRowCount(nRow);
nColumn = weight->columnCount();
query.first();
while(j<nRow)
{
float over =query.value(5).toFloat();
for (i = 0; i<nColumn; i++)
{
if(over>0)
{
weight->setItem(j, i, new QTableWidgetItem(query.value(i).toString()));
weight->item(j, i)->setForeground(QBrush(QColor(255, 0, 0)));
}
else
{
weight->setItem(j, i, new QTableWidgetItem(query.value(i).toString()));
//weight->item(j, i)->setForeground(QBrush(QColor(0, 255, 0)));
}
}
j++;
query.next();
}
return 0;
}
long SqliteAssistant::Delete_WeighingRun(int data)
{
QSqlQuery query(database);
char sql[1024*4] = {0};
sprintf(sql,"delete from WeighingRun where ECode = %d",data);
bool succ = query.exec(sql);
if(succ)
{
myHelper::ShowMessageBoxInfo("数据删除成功");
return 0;
}
else
{
myHelper::ShowMessageBoxError(query.lastError().databaseText());
return -1;
}
}
int SqliteAssistant::GetRowounts(QString tableName)
{
int count = 0;
QSqlQuery query(database);
char sql[1024*4] = {0};
sprintf(sql,"SELECT count(*) FROM %s",tableName.toStdString().c_str());
bool succ = query.exec(sql);
if(succ){
query.next();
count = query.value(0).toInt();
return count;
}else{
qDebug()<<query.lastError().text();
}
}
long SqliteAssistant::SelectInfo_sqliteView(QTableWidget *weight, SelectInfor &infor, int sumCount)
{
QSqlQuery query(database);
int i = 0, j = 0, nColumn, nRow;
char sql[1024*4] = {0};
string start=infor.startTime;
string stop =infor.stopTime;
string remark =infor.remark;
sprintf(sql,"select "
"ECode,Operator,"
"Pound,Weight,"
"Type,Time,"
"RealCache,GoodsType,"
"Customer,Notes "
"FROM "
"WeighingRun "
"where "
"Time between '%s' "
"AND '%s' "
"AND "
"Operator LIKE '%s'"
"ORDER BY "
"Time "
"DESC",
infor.startTime.c_str(),infor.stopTime.c_str(),infor.Operator.c_str());
//sprintf(sql,"SELECT * FROM WeighingRun");
bool succ =query.exec(sql);
if(succ)
{
//qDebug() << "select_vehicle_information ok";
}
else
{
//qDebug() << "select_vehicle_information failed"<<query.lastError();
return -1;
}
query.last();
nRow = query.at() + 1;
if(nRow>=sumCount)
{
nRow =sumCount;
}
if(nRow<0)
{
weight->setRowCount(0);
return 0;
}
weight->setRowCount(nRow);
nColumn = weight->columnCount();
query.first();
while(j<nRow)
{
float over =query.value(5).toFloat();
for (i = 0; i<nColumn; i++)
{
if(over>0)
{
weight->setItem(j, i, new QTableWidgetItem(query.value(i).toString()));
weight->item(j, i)->setForeground(QBrush(QColor(255, 0, 0)));
}
else
{
weight->setItem(j, i, new QTableWidgetItem(query.value(i).toString()));
weight->item(j, i)->setForeground(QBrush(QColor(0, 255, 0)));
}
}
j++;
query.next();
}
return 0;
}
#ifndef SQLITEASSISTANT_H
#define SQLITEASSISTANT_H
#include <QObject>
#include <QSql>
#include <QSqlQueryModel>
#include <QTableWidget>
#include <QtSql/QSqlDatabase>
#include <QtSql/QSqlQuery>
#include <QtSql/QSqlError>
#include "vehinfo.h"
class SqliteAssistant : public QObject
{
Q_OBJECT
public:
explicit SqliteAssistant(QObject *parent = nullptr);
long connectSql(); //检测连接
long Insert_GoodTypeInfo(QString data); //插入货物信息
QStringList Select_GoodTypeInfo(); //查询货物信息
long Insert_CustomerInfo(QString data); //插入客户信息
QStringList Select_CustomerInfo(); //查询客户信息
QStringList Select_EqptInfo(); //查询设备表信息
long Delete_CustomerInfo(QString data); //删除客户信息
long Delete_GoodTypeInfo(QString data); //删除货物信息
long Insert_EquipmentInfo(QString data,QString data2); //插入设备注册信息
long Delete_EquipmentInfo(QString data); //删除设备注册信息
long Insert_SystemConfigInfo(QString data,QString data2); //插入配置信息
//long Updata_SystemConfigInfo(QString data,QString data2); //更新配置信息
QString Select_SystemConfigInfo(QString data); //查询配置信息
QString Select_AdminInfo(QString data); //查询管理员信息
QString Select_AdminInfoName(); //查询管理员名字
long Insert_UserInfo(QString data,QString data2,QString data3); //插入用户信息
QStringList Select_UserInfo(); //查找用户信息
QStringList Select_UserInfo2(); //查找用户信息2
QString Select_UserInfo3(QString data); //查找用户信息3
long Delete_UserInfo(QString data); //删除用户
long Updata_AdminInfo(QString data); //查询管理员信息
long Insert_WeighingRun(QString data,QString data2,
QString data3,QString data4,
QString data5,QString data6,
QString data7,QString data8,
QString data9,QString data10); //插入称重信息
long select_ui_WeighingRun(QTableWidget *weight,int sumCount);
long Delete_WeighingRun(int data); //删除记录
int GetRowounts(QString tableName); // 获取表记录
long SelectInfo_sqliteView(QTableWidget *weight,SelectInfor &infor,int sumCount); //查询界面
// long Insert_GoodTypeInfo(QString data);
// long Insert_GoodTypeInfo(QString data);
// long Insert_GoodTypeInfo(QString data);
// long Insert_GoodTypeInfo(QString data);
// long Insert_GoodTypeInfo(QString data);
signals:
void Send_Data_Exists();
void Send_Data_Not_Exists();
void RecvFromBridge_Insert_GoodTypeInfo(QString data);
void Send_DataModel(QSqlQueryModel *data);
private:
QSqlDatabase database;
QSqlQuery *m_pSqlHandle;
};
extern SqliteAssistant *m_SqliteAssistant;
#endif // SQLITEASSISTANT_H
HEADERS += \
$$PWD/sqliteassistant.h
SOURCES += \
$$PWD/sqliteassistant.cpp
#include "sqlitehandle.h"
SqliteHandle::SqliteHandle(QObject *parent) : QObject(parent)
{
}
#ifndef SQLITEHANDLE_H
#define SQLITEHANDLE_H
#include <QObject>
class SqliteHandle : public QObject
{
Q_OBJECT
public:
explicit SqliteHandle(QObject *parent = nullptr);
signals:
public slots:
};
#endif // SQLITEHANDLE_H
/****************************************************************************
** Meta object code from reading C++ file 'bridge.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.13.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include <memory>
#include "../../bridge.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'bridge.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.13.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_Bridge_t {
QByteArrayData data[64];
char stringdata0[1891];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_Bridge_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_Bridge_t qt_meta_stringdata_Bridge = {
{
QT_MOC_LITERAL(0, 0, 6), // "Bridge"
QT_MOC_LITERAL(1, 7, 28), // "SendToTcpControl_threadStart"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 29), // "SendToEqptControl_threadStart"
QT_MOC_LITERAL(4, 67, 27), // "SendToEqptControl_HeadGreen"
QT_MOC_LITERAL(5, 95, 25), // "SendToEqptControl_HeadRed"
QT_MOC_LITERAL(6, 121, 29), // "SendToEqptControl_HeadTrunkUp"
QT_MOC_LITERAL(7, 151, 36), // "SendToEqptControl_HeadTrunkUp..."
QT_MOC_LITERAL(8, 188, 31), // "SendToEqptControl_HeadTrunkLock"
QT_MOC_LITERAL(9, 220, 33), // "SendToEqptControl_HeadTrunkUn..."
QT_MOC_LITERAL(10, 254, 31), // "SendToEqptControl_HeadTrunkDown"
QT_MOC_LITERAL(11, 286, 38), // "SendToEqptControl_HeadTrunkDo..."
QT_MOC_LITERAL(12, 325, 29), // "SendToEqptControl_LastTrunkUp"
QT_MOC_LITERAL(13, 355, 31), // "SendToEqptControl_LastTrunkLock"
QT_MOC_LITERAL(14, 387, 33), // "SendToEqptControl_LastTrunkUn..."
QT_MOC_LITERAL(15, 421, 36), // "SendToEqptControl_LastTrunkUp..."
QT_MOC_LITERAL(16, 458, 31), // "SendToEqptControl_LastTrunkDown"
QT_MOC_LITERAL(17, 490, 38), // "SendToEqptControl_LastTrunkDo..."
QT_MOC_LITERAL(18, 529, 27), // "SendToEqptControl_LastGreen"
QT_MOC_LITERAL(19, 557, 25), // "SendToEqptControl_LastRed"
QT_MOC_LITERAL(20, 583, 27), // "SendToEqptControl_CartchPic"
QT_MOC_LITERAL(21, 611, 25), // "SendToCameraControl_Login"
QT_MOC_LITERAL(22, 637, 28), // "SendToCameraControl_Catchpic"
QT_MOC_LITERAL(23, 666, 31), // "SendToRightCarmeraControl_Login"
QT_MOC_LITERAL(24, 698, 39), // "SendToRightCarmeraControl_Cat..."
QT_MOC_LITERAL(25, 738, 30), // "SendToLeftCarmeraControl_Login"
QT_MOC_LITERAL(26, 769, 37), // "SendToLeftCarmeraControl_Catc..."
QT_MOC_LITERAL(27, 807, 28), // "SendToPicToBase64Model_Strat"
QT_MOC_LITERAL(28, 836, 4), // "data"
QT_MOC_LITERAL(29, 841, 36), // "SendToPicToBase64Model_LeftPi..."
QT_MOC_LITERAL(30, 878, 35), // "SendToPicToBase64Model_CarPic..."
QT_MOC_LITERAL(31, 914, 40), // "SendToPicToBase64Model_CarPln..."
QT_MOC_LITERAL(32, 955, 26), // "SendToSqliteControl_OpenDB"
QT_MOC_LITERAL(33, 982, 27), // "SendToSqliteControl_DeletDB"
QT_MOC_LITERAL(34, 1010, 28), // "SendToSqliteControl_UpDataDB"
QT_MOC_LITERAL(35, 1039, 28), // "SendToSqliteControl_SelectDB"
QT_MOC_LITERAL(36, 1068, 27), // "SendToScanCodeControl_Start"
QT_MOC_LITERAL(37, 1096, 29), // "SendToTcpToolsControl_Connect"
QT_MOC_LITERAL(38, 1126, 30), // "SendToTcpToolsControl_Register"
QT_MOC_LITERAL(39, 1157, 28), // "SendToTcpToolsControl_Enter1"
QT_MOC_LITERAL(40, 1186, 35), // "SendToTcpToolsControl_ScanCod..."
QT_MOC_LITERAL(41, 1222, 31), // "SendToTcpToolsControl_ScanEnter"
QT_MOC_LITERAL(42, 1254, 28), // "SendToTcpToolsControl_Enter2"
QT_MOC_LITERAL(43, 1283, 31), // "SendToTcpToolsControl_HeadTrunk"
QT_MOC_LITERAL(44, 1315, 25), // "SendToTcpToolsControl_Out"
QT_MOC_LITERAL(45, 1341, 29), // "SendToTcpToolsControl_ScanOut"
QT_MOC_LITERAL(46, 1371, 28), // "SendToTcpToolsControl_Weight"
QT_MOC_LITERAL(47, 1400, 36), // "SendToTcpToolsControl_ScanCod..."
QT_MOC_LITERAL(48, 1437, 27), // "SendToTcpToolsControl_Error"
QT_MOC_LITERAL(49, 1465, 28), // "SendToTcpToolsModel_Register"
QT_MOC_LITERAL(50, 1494, 26), // "SendToTcpToolsModel_Enter1"
QT_MOC_LITERAL(51, 1521, 29), // "SendToTcpToolsModel_ScanEnter"
QT_MOC_LITERAL(52, 1551, 33), // "SendToTcpToolsModel_ScanCodeS..."
QT_MOC_LITERAL(53, 1585, 26), // "SendToTcpToolsModel_Enter2"
QT_MOC_LITERAL(54, 1612, 29), // "SendToTcpToolsModel_HeadTrunk"
QT_MOC_LITERAL(55, 1642, 34), // "SendToTcpToolsModel_ScanCodeW..."
QT_MOC_LITERAL(56, 1677, 23), // "SendToTcpToolsModel_Out"
QT_MOC_LITERAL(57, 1701, 27), // "SendToTcpToolsModel_ScanOut"
QT_MOC_LITERAL(58, 1729, 26), // "SendToTcpToolsModel_Weight"
QT_MOC_LITERAL(59, 1756, 25), // "SendToTcpToolsModel_Error"
QT_MOC_LITERAL(60, 1782, 26), // "SendToyangbangScreen_Login"
QT_MOC_LITERAL(61, 1809, 28), // "SendToUi_ScanCodeWeightStart"
QT_MOC_LITERAL(62, 1838, 23), // "SendToUi_ScanCodeReplay"
QT_MOC_LITERAL(63, 1862, 28) // "SendToUi_ScanCodeReplayError"
},
"Bridge\0SendToTcpControl_threadStart\0"
"\0SendToEqptControl_threadStart\0"
"SendToEqptControl_HeadGreen\0"
"SendToEqptControl_HeadRed\0"
"SendToEqptControl_HeadTrunkUp\0"
"SendToEqptControl_HeadTrunkUpRelease\0"
"SendToEqptControl_HeadTrunkLock\0"
"SendToEqptControl_HeadTrunkUnLock\0"
"SendToEqptControl_HeadTrunkDown\0"
"SendToEqptControl_HeadTrunkDownRelease\0"
"SendToEqptControl_LastTrunkUp\0"
"SendToEqptControl_LastTrunkLock\0"
"SendToEqptControl_LastTrunkUnLock\0"
"SendToEqptControl_LastTrunkUpRelease\0"
"SendToEqptControl_LastTrunkDown\0"
"SendToEqptControl_LastTrunkDownRelease\0"
"SendToEqptControl_LastGreen\0"
"SendToEqptControl_LastRed\0"
"SendToEqptControl_CartchPic\0"
"SendToCameraControl_Login\0"
"SendToCameraControl_Catchpic\0"
"SendToRightCarmeraControl_Login\0"
"SendToRightCarmeraControl_CatchRightpic\0"
"SendToLeftCarmeraControl_Login\0"
"SendToLeftCarmeraControl_CatchLeftpic\0"
"SendToPicToBase64Model_Strat\0data\0"
"SendToPicToBase64Model_LeftPic_Strat\0"
"SendToPicToBase64Model_CarPic_Strat\0"
"SendToPicToBase64Model_CarPlnumPic_Strat\0"
"SendToSqliteControl_OpenDB\0"
"SendToSqliteControl_DeletDB\0"
"SendToSqliteControl_UpDataDB\0"
"SendToSqliteControl_SelectDB\0"
"SendToScanCodeControl_Start\0"
"SendToTcpToolsControl_Connect\0"
"SendToTcpToolsControl_Register\0"
"SendToTcpToolsControl_Enter1\0"
"SendToTcpToolsControl_ScanCodeStart\0"
"SendToTcpToolsControl_ScanEnter\0"
"SendToTcpToolsControl_Enter2\0"
"SendToTcpToolsControl_HeadTrunk\0"
"SendToTcpToolsControl_Out\0"
"SendToTcpToolsControl_ScanOut\0"
"SendToTcpToolsControl_Weight\0"
"SendToTcpToolsControl_ScanCodeWeight\0"
"SendToTcpToolsControl_Error\0"
"SendToTcpToolsModel_Register\0"
"SendToTcpToolsModel_Enter1\0"
"SendToTcpToolsModel_ScanEnter\0"
"SendToTcpToolsModel_ScanCodeStart\0"
"SendToTcpToolsModel_Enter2\0"
"SendToTcpToolsModel_HeadTrunk\0"
"SendToTcpToolsModel_ScanCodeWeight\0"
"SendToTcpToolsModel_Out\0"
"SendToTcpToolsModel_ScanOut\0"
"SendToTcpToolsModel_Weight\0"
"SendToTcpToolsModel_Error\0"
"SendToyangbangScreen_Login\0"
"SendToUi_ScanCodeWeightStart\0"
"SendToUi_ScanCodeReplay\0"
"SendToUi_ScanCodeReplayError"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_Bridge[] = {
// content:
8, // revision
0, // classname
0, 0, // classinfo
61, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
61, // signalCount
// signals: name, argc, parameters, tag, flags
1, 0, 319, 2, 0x06 /* Public */,
3, 0, 320, 2, 0x06 /* Public */,
4, 0, 321, 2, 0x06 /* Public */,
5, 0, 322, 2, 0x06 /* Public */,
6, 0, 323, 2, 0x06 /* Public */,
7, 0, 324, 2, 0x06 /* Public */,
8, 0, 325, 2, 0x06 /* Public */,
9, 0, 326, 2, 0x06 /* Public */,
10, 0, 327, 2, 0x06 /* Public */,
11, 0, 328, 2, 0x06 /* Public */,
12, 0, 329, 2, 0x06 /* Public */,
13, 0, 330, 2, 0x06 /* Public */,
14, 0, 331, 2, 0x06 /* Public */,
15, 0, 332, 2, 0x06 /* Public */,
16, 0, 333, 2, 0x06 /* Public */,
17, 0, 334, 2, 0x06 /* Public */,
18, 0, 335, 2, 0x06 /* Public */,
19, 0, 336, 2, 0x06 /* Public */,
20, 0, 337, 2, 0x06 /* Public */,
21, 0, 338, 2, 0x06 /* Public */,
22, 0, 339, 2, 0x06 /* Public */,
23, 0, 340, 2, 0x06 /* Public */,
24, 0, 341, 2, 0x06 /* Public */,
25, 0, 342, 2, 0x06 /* Public */,
26, 0, 343, 2, 0x06 /* Public */,
27, 1, 344, 2, 0x06 /* Public */,
29, 1, 347, 2, 0x06 /* Public */,
30, 1, 350, 2, 0x06 /* Public */,
31, 1, 353, 2, 0x06 /* Public */,
32, 0, 356, 2, 0x06 /* Public */,
33, 0, 357, 2, 0x06 /* Public */,
34, 0, 358, 2, 0x06 /* Public */,
35, 0, 359, 2, 0x06 /* Public */,
36, 0, 360, 2, 0x06 /* Public */,
37, 0, 361, 2, 0x06 /* Public */,
38, 1, 362, 2, 0x06 /* Public */,
39, 1, 365, 2, 0x06 /* Public */,
40, 1, 368, 2, 0x06 /* Public */,
41, 1, 371, 2, 0x06 /* Public */,
42, 1, 374, 2, 0x06 /* Public */,
43, 1, 377, 2, 0x06 /* Public */,
44, 1, 380, 2, 0x06 /* Public */,
45, 1, 383, 2, 0x06 /* Public */,
46, 1, 386, 2, 0x06 /* Public */,
47, 1, 389, 2, 0x06 /* Public */,
48, 1, 392, 2, 0x06 /* Public */,
49, 0, 395, 2, 0x06 /* Public */,
50, 0, 396, 2, 0x06 /* Public */,
51, 0, 397, 2, 0x06 /* Public */,
52, 0, 398, 2, 0x06 /* Public */,
53, 0, 399, 2, 0x06 /* Public */,
54, 0, 400, 2, 0x06 /* Public */,
55, 0, 401, 2, 0x06 /* Public */,
56, 0, 402, 2, 0x06 /* Public */,
57, 0, 403, 2, 0x06 /* Public */,
58, 0, 404, 2, 0x06 /* Public */,
59, 0, 405, 2, 0x06 /* Public */,
60, 0, 406, 2, 0x06 /* Public */,
61, 0, 407, 2, 0x06 /* Public */,
62, 0, 408, 2, 0x06 /* Public */,
63, 0, 409, 2, 0x06 /* Public */,
// signals: parameters
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::QString, 28,
QMetaType::Void, QMetaType::QString, 28,
QMetaType::Void, QMetaType::QString, 28,
QMetaType::Void, QMetaType::QString, 28,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::QByteArray, 28,
QMetaType::Void, QMetaType::QByteArray, 28,
QMetaType::Void, QMetaType::QByteArray, 28,
QMetaType::Void, QMetaType::QByteArray, 28,
QMetaType::Void, QMetaType::QByteArray, 28,
QMetaType::Void, QMetaType::QByteArray, 28,
QMetaType::Void, QMetaType::QByteArray, 28,
QMetaType::Void, QMetaType::QByteArray, 28,
QMetaType::Void, QMetaType::QByteArray, 28,
QMetaType::Void, QMetaType::QByteArray, 28,
QMetaType::Void, QMetaType::QByteArray, 28,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
0 // eod
};
void Bridge::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
auto *_t = static_cast<Bridge *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->SendToTcpControl_threadStart(); break;
case 1: _t->SendToEqptControl_threadStart(); break;
case 2: _t->SendToEqptControl_HeadGreen(); break;
case 3: _t->SendToEqptControl_HeadRed(); break;
case 4: _t->SendToEqptControl_HeadTrunkUp(); break;
case 5: _t->SendToEqptControl_HeadTrunkUpRelease(); break;
case 6: _t->SendToEqptControl_HeadTrunkLock(); break;
case 7: _t->SendToEqptControl_HeadTrunkUnLock(); break;
case 8: _t->SendToEqptControl_HeadTrunkDown(); break;
case 9: _t->SendToEqptControl_HeadTrunkDownRelease(); break;
case 10: _t->SendToEqptControl_LastTrunkUp(); break;
case 11: _t->SendToEqptControl_LastTrunkLock(); break;
case 12: _t->SendToEqptControl_LastTrunkUnLock(); break;
case 13: _t->SendToEqptControl_LastTrunkUpRelease(); break;
case 14: _t->SendToEqptControl_LastTrunkDown(); break;
case 15: _t->SendToEqptControl_LastTrunkDownRelease(); break;
case 16: _t->SendToEqptControl_LastGreen(); break;
case 17: _t->SendToEqptControl_LastRed(); break;
case 18: _t->SendToEqptControl_CartchPic(); break;
case 19: _t->SendToCameraControl_Login(); break;
case 20: _t->SendToCameraControl_Catchpic(); break;
case 21: _t->SendToRightCarmeraControl_Login(); break;
case 22: _t->SendToRightCarmeraControl_CatchRightpic(); break;
case 23: _t->SendToLeftCarmeraControl_Login(); break;
case 24: _t->SendToLeftCarmeraControl_CatchLeftpic(); break;
case 25: _t->SendToPicToBase64Model_Strat((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 26: _t->SendToPicToBase64Model_LeftPic_Strat((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 27: _t->SendToPicToBase64Model_CarPic_Strat((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 28: _t->SendToPicToBase64Model_CarPlnumPic_Strat((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 29: _t->SendToSqliteControl_OpenDB(); break;
case 30: _t->SendToSqliteControl_DeletDB(); break;
case 31: _t->SendToSqliteControl_UpDataDB(); break;
case 32: _t->SendToSqliteControl_SelectDB(); break;
case 33: _t->SendToScanCodeControl_Start(); break;
case 34: _t->SendToTcpToolsControl_Connect(); break;
case 35: _t->SendToTcpToolsControl_Register((*reinterpret_cast< QByteArray(*)>(_a[1]))); break;
case 36: _t->SendToTcpToolsControl_Enter1((*reinterpret_cast< QByteArray(*)>(_a[1]))); break;
case 37: _t->SendToTcpToolsControl_ScanCodeStart((*reinterpret_cast< QByteArray(*)>(_a[1]))); break;
case 38: _t->SendToTcpToolsControl_ScanEnter((*reinterpret_cast< QByteArray(*)>(_a[1]))); break;
case 39: _t->SendToTcpToolsControl_Enter2((*reinterpret_cast< QByteArray(*)>(_a[1]))); break;
case 40: _t->SendToTcpToolsControl_HeadTrunk((*reinterpret_cast< QByteArray(*)>(_a[1]))); break;
case 41: _t->SendToTcpToolsControl_Out((*reinterpret_cast< QByteArray(*)>(_a[1]))); break;
case 42: _t->SendToTcpToolsControl_ScanOut((*reinterpret_cast< QByteArray(*)>(_a[1]))); break;
case 43: _t->SendToTcpToolsControl_Weight((*reinterpret_cast< QByteArray(*)>(_a[1]))); break;
case 44: _t->SendToTcpToolsControl_ScanCodeWeight((*reinterpret_cast< QByteArray(*)>(_a[1]))); break;
case 45: _t->SendToTcpToolsControl_Error((*reinterpret_cast< QByteArray(*)>(_a[1]))); break;
case 46: _t->SendToTcpToolsModel_Register(); break;
case 47: _t->SendToTcpToolsModel_Enter1(); break;
case 48: _t->SendToTcpToolsModel_ScanEnter(); break;
case 49: _t->SendToTcpToolsModel_ScanCodeStart(); break;
case 50: _t->SendToTcpToolsModel_Enter2(); break;
case 51: _t->SendToTcpToolsModel_HeadTrunk(); break;
case 52: _t->SendToTcpToolsModel_ScanCodeWeight(); break;
case 53: _t->SendToTcpToolsModel_Out(); break;
case 54: _t->SendToTcpToolsModel_ScanOut(); break;
case 55: _t->SendToTcpToolsModel_Weight(); break;
case 56: _t->SendToTcpToolsModel_Error(); break;
case 57: _t->SendToyangbangScreen_Login(); break;
case 58: _t->SendToUi_ScanCodeWeightStart(); break;
case 59: _t->SendToUi_ScanCodeReplay(); break;
case 60: _t->SendToUi_ScanCodeReplayError(); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToTcpControl_threadStart)) {
*result = 0;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToEqptControl_threadStart)) {
*result = 1;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToEqptControl_HeadGreen)) {
*result = 2;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToEqptControl_HeadRed)) {
*result = 3;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToEqptControl_HeadTrunkUp)) {
*result = 4;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToEqptControl_HeadTrunkUpRelease)) {
*result = 5;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToEqptControl_HeadTrunkLock)) {
*result = 6;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToEqptControl_HeadTrunkUnLock)) {
*result = 7;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToEqptControl_HeadTrunkDown)) {
*result = 8;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToEqptControl_HeadTrunkDownRelease)) {
*result = 9;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToEqptControl_LastTrunkUp)) {
*result = 10;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToEqptControl_LastTrunkLock)) {
*result = 11;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToEqptControl_LastTrunkUnLock)) {
*result = 12;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToEqptControl_LastTrunkUpRelease)) {
*result = 13;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToEqptControl_LastTrunkDown)) {
*result = 14;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToEqptControl_LastTrunkDownRelease)) {
*result = 15;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToEqptControl_LastGreen)) {
*result = 16;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToEqptControl_LastRed)) {
*result = 17;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToEqptControl_CartchPic)) {
*result = 18;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToCameraControl_Login)) {
*result = 19;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToCameraControl_Catchpic)) {
*result = 20;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToRightCarmeraControl_Login)) {
*result = 21;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToRightCarmeraControl_CatchRightpic)) {
*result = 22;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToLeftCarmeraControl_Login)) {
*result = 23;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToLeftCarmeraControl_CatchLeftpic)) {
*result = 24;
return;
}
}
{
using _t = void (Bridge::*)(QString );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToPicToBase64Model_Strat)) {
*result = 25;
return;
}
}
{
using _t = void (Bridge::*)(QString );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToPicToBase64Model_LeftPic_Strat)) {
*result = 26;
return;
}
}
{
using _t = void (Bridge::*)(QString );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToPicToBase64Model_CarPic_Strat)) {
*result = 27;
return;
}
}
{
using _t = void (Bridge::*)(QString );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToPicToBase64Model_CarPlnumPic_Strat)) {
*result = 28;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToSqliteControl_OpenDB)) {
*result = 29;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToSqliteControl_DeletDB)) {
*result = 30;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToSqliteControl_UpDataDB)) {
*result = 31;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToSqliteControl_SelectDB)) {
*result = 32;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToScanCodeControl_Start)) {
*result = 33;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToTcpToolsControl_Connect)) {
*result = 34;
return;
}
}
{
using _t = void (Bridge::*)(QByteArray );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToTcpToolsControl_Register)) {
*result = 35;
return;
}
}
{
using _t = void (Bridge::*)(QByteArray );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToTcpToolsControl_Enter1)) {
*result = 36;
return;
}
}
{
using _t = void (Bridge::*)(QByteArray );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToTcpToolsControl_ScanCodeStart)) {
*result = 37;
return;
}
}
{
using _t = void (Bridge::*)(QByteArray );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToTcpToolsControl_ScanEnter)) {
*result = 38;
return;
}
}
{
using _t = void (Bridge::*)(QByteArray );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToTcpToolsControl_Enter2)) {
*result = 39;
return;
}
}
{
using _t = void (Bridge::*)(QByteArray );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToTcpToolsControl_HeadTrunk)) {
*result = 40;
return;
}
}
{
using _t = void (Bridge::*)(QByteArray );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToTcpToolsControl_Out)) {
*result = 41;
return;
}
}
{
using _t = void (Bridge::*)(QByteArray );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToTcpToolsControl_ScanOut)) {
*result = 42;
return;
}
}
{
using _t = void (Bridge::*)(QByteArray );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToTcpToolsControl_Weight)) {
*result = 43;
return;
}
}
{
using _t = void (Bridge::*)(QByteArray );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToTcpToolsControl_ScanCodeWeight)) {
*result = 44;
return;
}
}
{
using _t = void (Bridge::*)(QByteArray );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToTcpToolsControl_Error)) {
*result = 45;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToTcpToolsModel_Register)) {
*result = 46;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToTcpToolsModel_Enter1)) {
*result = 47;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToTcpToolsModel_ScanEnter)) {
*result = 48;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToTcpToolsModel_ScanCodeStart)) {
*result = 49;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToTcpToolsModel_Enter2)) {
*result = 50;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToTcpToolsModel_HeadTrunk)) {
*result = 51;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToTcpToolsModel_ScanCodeWeight)) {
*result = 52;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToTcpToolsModel_Out)) {
*result = 53;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToTcpToolsModel_ScanOut)) {
*result = 54;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToTcpToolsModel_Weight)) {
*result = 55;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToTcpToolsModel_Error)) {
*result = 56;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToyangbangScreen_Login)) {
*result = 57;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToUi_ScanCodeWeightStart)) {
*result = 58;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToUi_ScanCodeReplay)) {
*result = 59;
return;
}
}
{
using _t = void (Bridge::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Bridge::SendToUi_ScanCodeReplayError)) {
*result = 60;
return;
}
}
}
}
QT_INIT_METAOBJECT const QMetaObject Bridge::staticMetaObject = { {
&QObject::staticMetaObject,
qt_meta_stringdata_Bridge.data,
qt_meta_data_Bridge,
qt_static_metacall,
nullptr,
nullptr
} };
const QMetaObject *Bridge::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *Bridge::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_Bridge.stringdata0))
return static_cast<void*>(this);
return QObject::qt_metacast(_clname);
}
int Bridge::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QObject::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 61)
qt_static_metacall(this, _c, _id, _a);
_id -= 61;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 61)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 61;
}
return _id;
}
// SIGNAL 0
void Bridge::SendToTcpControl_threadStart()
{
QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
// SIGNAL 1
void Bridge::SendToEqptControl_threadStart()
{
QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
// SIGNAL 2
void Bridge::SendToEqptControl_HeadGreen()
{
QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
// SIGNAL 3
void Bridge::SendToEqptControl_HeadRed()
{
QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
// SIGNAL 4
void Bridge::SendToEqptControl_HeadTrunkUp()
{
QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}
// SIGNAL 5
void Bridge::SendToEqptControl_HeadTrunkUpRelease()
{
QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}
// SIGNAL 6
void Bridge::SendToEqptControl_HeadTrunkLock()
{
QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
// SIGNAL 7
void Bridge::SendToEqptControl_HeadTrunkUnLock()
{
QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}
// SIGNAL 8
void Bridge::SendToEqptControl_HeadTrunkDown()
{
QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}
// SIGNAL 9
void Bridge::SendToEqptControl_HeadTrunkDownRelease()
{
QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}
// SIGNAL 10
void Bridge::SendToEqptControl_LastTrunkUp()
{
QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}
// SIGNAL 11
void Bridge::SendToEqptControl_LastTrunkLock()
{
QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
}
// SIGNAL 12
void Bridge::SendToEqptControl_LastTrunkUnLock()
{
QMetaObject::activate(this, &staticMetaObject, 12, nullptr);
}
// SIGNAL 13
void Bridge::SendToEqptControl_LastTrunkUpRelease()
{
QMetaObject::activate(this, &staticMetaObject, 13, nullptr);
}
// SIGNAL 14
void Bridge::SendToEqptControl_LastTrunkDown()
{
QMetaObject::activate(this, &staticMetaObject, 14, nullptr);
}
// SIGNAL 15
void Bridge::SendToEqptControl_LastTrunkDownRelease()
{
QMetaObject::activate(this, &staticMetaObject, 15, nullptr);
}
// SIGNAL 16
void Bridge::SendToEqptControl_LastGreen()
{
QMetaObject::activate(this, &staticMetaObject, 16, nullptr);
}
// SIGNAL 17
void Bridge::SendToEqptControl_LastRed()
{
QMetaObject::activate(this, &staticMetaObject, 17, nullptr);
}
// SIGNAL 18
void Bridge::SendToEqptControl_CartchPic()
{
QMetaObject::activate(this, &staticMetaObject, 18, nullptr);
}
// SIGNAL 19
void Bridge::SendToCameraControl_Login()
{
QMetaObject::activate(this, &staticMetaObject, 19, nullptr);
}
// SIGNAL 20
void Bridge::SendToCameraControl_Catchpic()
{
QMetaObject::activate(this, &staticMetaObject, 20, nullptr);
}
// SIGNAL 21
void Bridge::SendToRightCarmeraControl_Login()
{
QMetaObject::activate(this, &staticMetaObject, 21, nullptr);
}
// SIGNAL 22
void Bridge::SendToRightCarmeraControl_CatchRightpic()
{
QMetaObject::activate(this, &staticMetaObject, 22, nullptr);
}
// SIGNAL 23
void Bridge::SendToLeftCarmeraControl_Login()
{
QMetaObject::activate(this, &staticMetaObject, 23, nullptr);
}
// SIGNAL 24
void Bridge::SendToLeftCarmeraControl_CatchLeftpic()
{
QMetaObject::activate(this, &staticMetaObject, 24, nullptr);
}
// SIGNAL 25
void Bridge::SendToPicToBase64Model_Strat(QString _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 25, _a);
}
// SIGNAL 26
void Bridge::SendToPicToBase64Model_LeftPic_Strat(QString _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 26, _a);
}
// SIGNAL 27
void Bridge::SendToPicToBase64Model_CarPic_Strat(QString _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 27, _a);
}
// SIGNAL 28
void Bridge::SendToPicToBase64Model_CarPlnumPic_Strat(QString _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 28, _a);
}
// SIGNAL 29
void Bridge::SendToSqliteControl_OpenDB()
{
QMetaObject::activate(this, &staticMetaObject, 29, nullptr);
}
// SIGNAL 30
void Bridge::SendToSqliteControl_DeletDB()
{
QMetaObject::activate(this, &staticMetaObject, 30, nullptr);
}
// SIGNAL 31
void Bridge::SendToSqliteControl_UpDataDB()
{
QMetaObject::activate(this, &staticMetaObject, 31, nullptr);
}
// SIGNAL 32
void Bridge::SendToSqliteControl_SelectDB()
{
QMetaObject::activate(this, &staticMetaObject, 32, nullptr);
}
// SIGNAL 33
void Bridge::SendToScanCodeControl_Start()
{
QMetaObject::activate(this, &staticMetaObject, 33, nullptr);
}
// SIGNAL 34
void Bridge::SendToTcpToolsControl_Connect()
{
QMetaObject::activate(this, &staticMetaObject, 34, nullptr);
}
// SIGNAL 35
void Bridge::SendToTcpToolsControl_Register(QByteArray _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 35, _a);
}
// SIGNAL 36
void Bridge::SendToTcpToolsControl_Enter1(QByteArray _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 36, _a);
}
// SIGNAL 37
void Bridge::SendToTcpToolsControl_ScanCodeStart(QByteArray _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 37, _a);
}
// SIGNAL 38
void Bridge::SendToTcpToolsControl_ScanEnter(QByteArray _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 38, _a);
}
// SIGNAL 39
void Bridge::SendToTcpToolsControl_Enter2(QByteArray _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 39, _a);
}
// SIGNAL 40
void Bridge::SendToTcpToolsControl_HeadTrunk(QByteArray _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 40, _a);
}
// SIGNAL 41
void Bridge::SendToTcpToolsControl_Out(QByteArray _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 41, _a);
}
// SIGNAL 42
void Bridge::SendToTcpToolsControl_ScanOut(QByteArray _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 42, _a);
}
// SIGNAL 43
void Bridge::SendToTcpToolsControl_Weight(QByteArray _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 43, _a);
}
// SIGNAL 44
void Bridge::SendToTcpToolsControl_ScanCodeWeight(QByteArray _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 44, _a);
}
// SIGNAL 45
void Bridge::SendToTcpToolsControl_Error(QByteArray _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 45, _a);
}
// SIGNAL 46
void Bridge::SendToTcpToolsModel_Register()
{
QMetaObject::activate(this, &staticMetaObject, 46, nullptr);
}
// SIGNAL 47
void Bridge::SendToTcpToolsModel_Enter1()
{
QMetaObject::activate(this, &staticMetaObject, 47, nullptr);
}
// SIGNAL 48
void Bridge::SendToTcpToolsModel_ScanEnter()
{
QMetaObject::activate(this, &staticMetaObject, 48, nullptr);
}
// SIGNAL 49
void Bridge::SendToTcpToolsModel_ScanCodeStart()
{
QMetaObject::activate(this, &staticMetaObject, 49, nullptr);
}
// SIGNAL 50
void Bridge::SendToTcpToolsModel_Enter2()
{
QMetaObject::activate(this, &staticMetaObject, 50, nullptr);
}
// SIGNAL 51
void Bridge::SendToTcpToolsModel_HeadTrunk()
{
QMetaObject::activate(this, &staticMetaObject, 51, nullptr);
}
// SIGNAL 52
void Bridge::SendToTcpToolsModel_ScanCodeWeight()
{
QMetaObject::activate(this, &staticMetaObject, 52, nullptr);
}
// SIGNAL 53
void Bridge::SendToTcpToolsModel_Out()
{
QMetaObject::activate(this, &staticMetaObject, 53, nullptr);
}
// SIGNAL 54
void Bridge::SendToTcpToolsModel_ScanOut()
{
QMetaObject::activate(this, &staticMetaObject, 54, nullptr);
}
// SIGNAL 55
void Bridge::SendToTcpToolsModel_Weight()
{
QMetaObject::activate(this, &staticMetaObject, 55, nullptr);
}
// SIGNAL 56
void Bridge::SendToTcpToolsModel_Error()
{
QMetaObject::activate(this, &staticMetaObject, 56, nullptr);
}
// SIGNAL 57
void Bridge::SendToyangbangScreen_Login()
{
QMetaObject::activate(this, &staticMetaObject, 57, nullptr);
}
// SIGNAL 58
void Bridge::SendToUi_ScanCodeWeightStart()
{
QMetaObject::activate(this, &staticMetaObject, 58, nullptr);
}
// SIGNAL 59
void Bridge::SendToUi_ScanCodeReplay()
{
QMetaObject::activate(this, &staticMetaObject, 59, nullptr);
}
// SIGNAL 60
void Bridge::SendToUi_ScanCodeReplayError()
{
QMetaObject::activate(this, &staticMetaObject, 60, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
/****************************************************************************
** Meta object code from reading C++ file 'frmmessagebox.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.13.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include <memory>
#include "../../frmmessagebox.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'frmmessagebox.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.13.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_frmMessageBox_t {
QByteArrayData data[3];
char stringdata0[32];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_frmMessageBox_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_frmMessageBox_t qt_meta_stringdata_frmMessageBox = {
{
QT_MOC_LITERAL(0, 0, 13), // "frmMessageBox"
QT_MOC_LITERAL(1, 14, 16), // "on_btnOk_clicked"
QT_MOC_LITERAL(2, 31, 0) // ""
},
"frmMessageBox\0on_btnOk_clicked\0"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_frmMessageBox[] = {
// content:
8, // revision
0, // classname
0, 0, // classinfo
1, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
// slots: name, argc, parameters, tag, flags
1, 0, 19, 2, 0x08 /* Private */,
// slots: parameters
QMetaType::Void,
0 // eod
};
void frmMessageBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
auto *_t = static_cast<frmMessageBox *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->on_btnOk_clicked(); break;
default: ;
}
}
Q_UNUSED(_a);
}
QT_INIT_METAOBJECT const QMetaObject frmMessageBox::staticMetaObject = { {
&QDialog::staticMetaObject,
qt_meta_stringdata_frmMessageBox.data,
qt_meta_data_frmMessageBox,
qt_static_metacall,
nullptr,
nullptr
} };
const QMetaObject *frmMessageBox::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *frmMessageBox::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_frmMessageBox.stringdata0))
return static_cast<void*>(this);
return QDialog::qt_metacast(_clname);
}
int frmMessageBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QDialog::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 1)
qt_static_metacall(this, _c, _id, _a);
_id -= 1;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 1)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 1;
}
return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
/****************************************************************************
** Meta object code from reading C++ file 'logindlg.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.13.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include <memory>
#include "../../logindlg.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'logindlg.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.13.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_LoginDlg_t {
QByteArrayData data[1];
char stringdata0[9];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_LoginDlg_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_LoginDlg_t qt_meta_stringdata_LoginDlg = {
{
QT_MOC_LITERAL(0, 0, 8) // "LoginDlg"
},
"LoginDlg"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_LoginDlg[] = {
// content:
8, // revision
0, // classname
0, 0, // classinfo
0, 0, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
0 // eod
};
void LoginDlg::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
Q_UNUSED(_o);
Q_UNUSED(_id);
Q_UNUSED(_c);
Q_UNUSED(_a);
}
QT_INIT_METAOBJECT const QMetaObject LoginDlg::staticMetaObject = { {
&QDialog::staticMetaObject,
qt_meta_stringdata_LoginDlg.data,
qt_meta_data_LoginDlg,
qt_static_metacall,
nullptr,
nullptr
} };
const QMetaObject *LoginDlg::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *LoginDlg::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_LoginDlg.stringdata0))
return static_cast<void*>(this);
return QDialog::qt_metacast(_clname);
}
int LoginDlg::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QDialog::qt_metacall(_c, _id, _a);
return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
/****************************************************************************
** Meta object code from reading C++ file 'mainwindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.13.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include <memory>
#include "../../mainwindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'mainwindow.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.13.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_MainWindow_t {
QByteArrayData data[1];
char stringdata0[11];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
{
QT_MOC_LITERAL(0, 0, 10) // "MainWindow"
},
"MainWindow"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_MainWindow[] = {
// content:
8, // revision
0, // classname
0, 0, // classinfo
0, 0, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
0 // eod
};
void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
Q_UNUSED(_o);
Q_UNUSED(_id);
Q_UNUSED(_c);
Q_UNUSED(_a);
}
QT_INIT_METAOBJECT const QMetaObject MainWindow::staticMetaObject = { {
&QMainWindow::staticMetaObject,
qt_meta_stringdata_MainWindow.data,
qt_meta_data_MainWindow,
qt_static_metacall,
nullptr,
nullptr
} };
const QMetaObject *MainWindow::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *MainWindow::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0))
return static_cast<void*>(this);
return QMainWindow::qt_metacast(_clname);
}
int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QMainWindow::qt_metacall(_c, _id, _a);
return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
#define __DBL_MIN_EXP__ (-1021)
#define __FLT32X_MAX_EXP__ 1024
#define __cpp_attributes 200809
#define __pentiumpro__ 1
#define __UINT_LEAST16_MAX__ 0xffff
#define __ATOMIC_ACQUIRE 2
#define __FLT128_MAX_10_EXP__ 4932
#define __FLT_MIN__ 1.17549435082228750796873653722224568e-38F
#define __GCC_IEC_559_COMPLEX 2
#define __UINT_LEAST8_TYPE__ unsigned char
#define __SIZEOF_FLOAT80__ 12
#define _WIN32 1
#define __INTMAX_C(c) c ## LL
#define __CHAR_BIT__ 8
#define __UINT8_MAX__ 0xff
#define __WINT_MAX__ 0xffff
#define __FLT32_MIN_EXP__ (-125)
#define __cpp_static_assert 200410
#define __ORDER_LITTLE_ENDIAN__ 1234
#define __SIZE_MAX__ 0xffffffffU
#define __WCHAR_MAX__ 0xffff
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1
#define __DBL_DENORM_MIN__ double(4.94065645841246544176568792868221372e-324L)
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1
#define __GCC_ATOMIC_CHAR_LOCK_FREE 2
#define __GCC_IEC_559 2
#define __FLT32X_DECIMAL_DIG__ 17
#define __FLT_EVAL_METHOD__ 2
#define __cpp_binary_literals 201304
#define __FLT64_DECIMAL_DIG__ 17
#define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2
#define __cpp_variadic_templates 200704
#define __UINT_FAST64_MAX__ 0xffffffffffffffffULL
#define __SIG_ATOMIC_TYPE__ int
#define __DBL_MIN_10_EXP__ (-307)
#define __FINITE_MATH_ONLY__ 0
#define __GNUC_PATCHLEVEL__ 0
#define __FLT32_HAS_DENORM__ 1
#define __UINT_FAST8_MAX__ 0xff
#define __has_include(STR) __has_include__(STR)
#define _stdcall __attribute__((__stdcall__))
#define __DEC64_MAX_EXP__ 385
#define __INT8_C(c) c
#define __INT_LEAST8_WIDTH__ 8
#define __UINT_LEAST64_MAX__ 0xffffffffffffffffULL
#define __SHRT_MAX__ 0x7fff
#define __LDBL_MAX__ 1.18973149535723176502126385303097021e+4932L
#define __FLT64X_MAX_10_EXP__ 4932
#define __UINT_LEAST8_MAX__ 0xff
#define __GCC_ATOMIC_BOOL_LOCK_FREE 2
#define __FLT128_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966F128
#define __UINTMAX_TYPE__ long long unsigned int
#define __DEC32_EPSILON__ 1E-6DF
#define __FLT_EVAL_METHOD_TS_18661_3__ 2
#define __UINT32_MAX__ 0xffffffffU
#define __GXX_EXPERIMENTAL_CXX0X__ 1
#define __LDBL_MAX_EXP__ 16384
#define __FLT128_MIN_EXP__ (-16381)
#define __WINT_MIN__ 0
#define __FLT128_MIN_10_EXP__ (-4931)
#define __INT_LEAST16_WIDTH__ 16
#define __SCHAR_MAX__ 0x7f
#define __FLT128_MANT_DIG__ 113
#define __WCHAR_MIN__ 0
#define __INT64_C(c) c ## LL
#define __DBL_DIG__ 15
#define __GCC_ATOMIC_POINTER_LOCK_FREE 2
#define __FLT64X_MANT_DIG__ 64
#define __SIZEOF_INT__ 4
#define __SIZEOF_POINTER__ 4
#define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2
#define __USER_LABEL_PREFIX__ _
#define __FLT64X_EPSILON__ 1.08420217248550443400745280086994171e-19F64x
#define __STDC_HOSTED__ 1
#define __WIN32 1
#define __LDBL_HAS_INFINITY__ 1
#define __FLT32_DIG__ 6
#define __FLT_EPSILON__ 1.19209289550781250000000000000000000e-7F
#define __GXX_WEAK__ 1
#define __SHRT_WIDTH__ 16
#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
#define __DEC32_MAX__ 9.999999E96DF
#define __cpp_threadsafe_static_init 200806
#define __FLT64X_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951F64x
#define __MINGW32__ 1
#define __FLT32X_HAS_INFINITY__ 1
#define __INT32_MAX__ 0x7fffffff
#define __INT_WIDTH__ 32
#define __SIZEOF_LONG__ 4
#define __UINT16_C(c) c
#define __PTRDIFF_WIDTH__ 32
#define __DECIMAL_DIG__ 21
#define __FLT64_EPSILON__ 2.22044604925031308084726333618164062e-16F64
#define __INTMAX_WIDTH__ 64
#define __FLT64_MIN_EXP__ (-1021)
#define __has_include_next(STR) __has_include_next__(STR)
#define __FLT64X_MIN_10_EXP__ (-4931)
#define __LDBL_HAS_QUIET_NAN__ 1
#define __FLT64_MANT_DIG__ 53
#define _REENTRANT 1
#define __GNUC__ 7
#define _cdecl __attribute__((__cdecl__))
#define __GXX_RTTI 1
#define __cpp_delegating_constructors 200604
#define __FLT_HAS_DENORM__ 1
#define __SIZEOF_LONG_DOUBLE__ 12
#define __BIGGEST_ALIGNMENT__ 16
#define __STDC_UTF_16__ 1
#define __FLT64_MAX_10_EXP__ 308
#define __i686 1
#define __FLT32_HAS_INFINITY__ 1
#define __DBL_MAX__ double(1.79769313486231570814527423731704357e+308L)
#define _thiscall __attribute__((__thiscall__))
#define __cpp_raw_strings 200710
#define __INT_FAST32_MAX__ 0x7fffffff
#define __WINNT 1
#define __DBL_HAS_INFINITY__ 1
#define __INT64_MAX__ 0x7fffffffffffffffLL
#define __WINNT__ 1
#define __DEC32_MIN_EXP__ (-94)
#define __INTPTR_WIDTH__ 32
#define __FLT32X_HAS_DENORM__ 1
#define __INT_FAST16_TYPE__ short int
#define _fastcall __attribute__((__fastcall__))
#define __LDBL_HAS_DENORM__ 1
#define __cplusplus 201103L
#define __cpp_ref_qualifiers 200710
#define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL
#define __INT_LEAST32_MAX__ 0x7fffffff
#define __DEC32_MIN__ 1E-95DF
#define __DEPRECATED 1
#define __cpp_rvalue_references 200610
#define __DBL_MAX_EXP__ 1024
#define __WCHAR_WIDTH__ 16
#define __FLT32_MAX__ 3.40282346638528859811704183484516925e+38F32
#define __DEC128_EPSILON__ 1E-33DL
#define __ATOMIC_HLE_RELEASE 131072
#define __WIN32__ 1
#define __PTRDIFF_MAX__ 0x7fffffff
#define __ATOMIC_HLE_ACQUIRE 65536
#define __FLT32_HAS_QUIET_NAN__ 1
#define __GNUG__ 7
#define __LONG_LONG_MAX__ 0x7fffffffffffffffLL
#define __SIZEOF_SIZE_T__ 4
#define __cpp_rvalue_reference 200610
#define __cpp_nsdmi 200809
#define __FLT64X_MIN_EXP__ (-16381)
#define __SIZEOF_WINT_T__ 2
#define __LONG_LONG_WIDTH__ 64
#define __cpp_initializer_lists 200806
#define __FLT32_MAX_EXP__ 128
#define __cpp_hex_float 201603
#define __GCC_HAVE_DWARF2_CFI_ASM 1
#define __GXX_ABI_VERSION 1011
#define __FLT128_HAS_INFINITY__ 1
#define __FLT_MIN_EXP__ (-125)
#define __i686__ 1
#define __cpp_lambdas 200907
#define __FLT64X_HAS_QUIET_NAN__ 1
#define __INT_FAST64_TYPE__ long long int
#define __FLT64_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F64
#define __DBL_MIN__ double(2.22507385850720138309023271733240406e-308L)
#define __FLT32X_EPSILON__ 2.22044604925031308084726333618164062e-16F32x
#define __DECIMAL_BID_FORMAT__ 1
#define __GXX_TYPEINFO_EQUALITY_INLINE 0
#define __FLT64_MIN_10_EXP__ (-307)
#define __FLT64X_DECIMAL_DIG__ 21
#define __DEC128_MIN__ 1E-6143DL
#define __REGISTER_PREFIX__
#define __UINT16_MAX__ 0xffff
#define __DBL_HAS_DENORM__ 1
#define __cdecl __attribute__((__cdecl__))
#define __FLT32_MIN__ 1.17549435082228750796873653722224568e-38F32
#define __UINT8_TYPE__ unsigned char
#define __NO_INLINE__ 1
#define __i386 1
#define __FLT_MANT_DIG__ 24
#define __LDBL_DECIMAL_DIG__ 21
#define __VERSION__ "7.3.0"
#define __UINT64_C(c) c ## ULL
#define __cpp_unicode_characters 200704
#define __GCC_ATOMIC_INT_LOCK_FREE 2
#define __FLT128_MAX_EXP__ 16384
#define __FLT32_MANT_DIG__ 24
#define _X86_ 1
#define __FLOAT_WORD_ORDER__ __ORDER_LITTLE_ENDIAN__
#define __FLT128_HAS_DENORM__ 1
#define __FLT128_DIG__ 33
#define __SCHAR_WIDTH__ 8
#define __INT32_C(c) c
#define __DEC64_EPSILON__ 1E-15DD
#define __ORDER_PDP_ENDIAN__ 3412
#define __DEC128_MIN_EXP__ (-6142)
#define __code_model_32__ 1
#define __FLT32_MAX_10_EXP__ 38
#define __INT_FAST32_TYPE__ int
#define __UINT_LEAST16_TYPE__ short unsigned int
#define __FLT64X_HAS_INFINITY__ 1
#define __INT16_MAX__ 0x7fff
#define __i386__ 1
#define __cpp_rtti 199711
#define __SIZE_TYPE__ unsigned int
#define __UINT64_MAX__ 0xffffffffffffffffULL
#define __FLT64X_DIG__ 18
#define __INT8_TYPE__ signed char
#define __GCC_ASM_FLAG_OUTPUTS__ 1
#define __FLT_RADIX__ 2
#define __INT_LEAST16_TYPE__ short int
#define __LDBL_EPSILON__ 1.08420217248550443400745280086994171e-19L
#define __UINTMAX_C(c) c ## ULL
#define __SIG_ATOMIC_MAX__ 0x7fffffff
#define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
#define __SIZEOF_PTRDIFF_T__ 4
#define __FLT32X_MANT_DIG__ 53
#define __FLT32X_MIN_EXP__ (-1021)
#define __DEC32_SUBNORMAL_MIN__ 0.000001E-95DF
#define __pentiumpro 1
#define __MSVCRT__ 1
#define __INT_FAST16_MAX__ 0x7fff
#define __FLT64_DIG__ 15
#define __UINT_FAST32_MAX__ 0xffffffffU
#define __UINT_LEAST64_TYPE__ long long unsigned int
#define __FLT_HAS_QUIET_NAN__ 1
#define __FLT_MAX_10_EXP__ 38
#define __LONG_MAX__ 0x7fffffffL
#define __FLT64X_HAS_DENORM__ 1
#define __DEC128_SUBNORMAL_MIN__ 0.000000000000000000000000000000001E-6143DL
#define __FLT_HAS_INFINITY__ 1
#define __cpp_unicode_literals 200710
#define __UINT_FAST16_TYPE__ short unsigned int
#define __DEC64_MAX__ 9.999999999999999E384DD
#define __INT_FAST32_WIDTH__ 32
#define __CHAR16_TYPE__ short unsigned int
#define __PRAGMA_REDEFINE_EXTNAME 1
#define __SIZE_WIDTH__ 32
#define __SEG_FS 1
#define __INT_LEAST16_MAX__ 0x7fff
#define __DEC64_MANT_DIG__ 16
#define __UINT_LEAST32_MAX__ 0xffffffffU
#define __SEG_GS 1
#define __FLT32_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F32
#define __GCC_ATOMIC_LONG_LOCK_FREE 2
#define __SIG_ATOMIC_WIDTH__ 32
#define __INT_LEAST64_TYPE__ long long int
#define __INT16_TYPE__ short int
#define __INT_LEAST8_TYPE__ signed char
#define __DEC32_MAX_EXP__ 97
#define __INT_FAST8_MAX__ 0x7f
#define __FLT128_MAX__ 1.18973149535723176508575932662800702e+4932F128
#define __INTPTR_MAX__ 0x7fffffff
#define __GXX_MERGED_TYPEINFO_NAMES 0
#define __cpp_range_based_for 200907
#define __FLT64_HAS_QUIET_NAN__ 1
#define __stdcall __attribute__((__stdcall__))
#define __FLT32_MIN_10_EXP__ (-37)
#define __EXCEPTIONS 1
#define __LDBL_MANT_DIG__ 64
#define __DBL_HAS_QUIET_NAN__ 1
#define __FLT64_HAS_INFINITY__ 1
#define __FLT64X_MAX__ 1.18973149535723176502126385303097021e+4932F64x
#define __SIG_ATOMIC_MIN__ (-__SIG_ATOMIC_MAX__ - 1)
#define __INTPTR_TYPE__ int
#define __UINT16_TYPE__ short unsigned int
#define __WCHAR_TYPE__ short unsigned int
#define __SIZEOF_FLOAT__ 4
#define __UINTPTR_MAX__ 0xffffffffU
#define __INT_FAST64_WIDTH__ 64
#define __DEC64_MIN_EXP__ (-382)
#define __cpp_decltype 200707
#define __FLT32_DECIMAL_DIG__ 9
#define __INT_FAST64_MAX__ 0x7fffffffffffffffLL
#define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
#define __FLT_DIG__ 6
#define __FLT64X_MAX_EXP__ 16384
#define __UINT_FAST64_TYPE__ long long unsigned int
#define __INT_MAX__ 0x7fffffff
#define WIN32 1
#define __INT64_TYPE__ long long int
#define __FLT_MAX_EXP__ 128
#define __DBL_MANT_DIG__ 53
#define __cpp_inheriting_constructors 201511
#define __SIZEOF_FLOAT128__ 16
#define __INT_LEAST64_MAX__ 0x7fffffffffffffffLL
#define __DEC64_MIN__ 1E-383DD
#define __WINT_TYPE__ short unsigned int
#define __UINT_LEAST32_TYPE__ unsigned int
#define __SIZEOF_SHORT__ 2
#define __LDBL_MIN_EXP__ (-16381)
#define __FLT64_MAX__ 1.79769313486231570814527423731704357e+308F64
#define __WINT_WIDTH__ 16
#define __INT_LEAST8_MAX__ 0x7f
#define __FLT32X_MAX_10_EXP__ 308
#define __WCHAR_UNSIGNED__ 1
#define __LDBL_MAX_10_EXP__ 4932
#define __ATOMIC_RELAXED 0
#define __DBL_EPSILON__ double(2.22044604925031308084726333618164062e-16L)
#define __thiscall __attribute__((__thiscall__))
#define __FLT128_MIN__ 3.36210314311209350626267781732175260e-4932F128
#define __UINT8_C(c) c
#define __FLT64_MAX_EXP__ 1024
#define __INT_LEAST32_TYPE__ int
#define __SIZEOF_WCHAR_T__ 2
#define __FLT128_HAS_QUIET_NAN__ 1
#define __INT_FAST8_TYPE__ signed char
#define __fastcall __attribute__((__fastcall__))
#define __FLT64X_MIN__ 3.36210314311209350626267781732175260e-4932F64x
#define __GNUC_STDC_INLINE__ 1
#define __FLT64_HAS_DENORM__ 1
#define __FLT32_EPSILON__ 1.19209289550781250000000000000000000e-7F32
#define __DBL_DECIMAL_DIG__ 17
#define __STDC_UTF_32__ 1
#define __INT_FAST8_WIDTH__ 8
#define __DEC_EVAL_METHOD__ 2
#define __FLT32X_MAX__ 1.79769313486231570814527423731704357e+308F32x
#define __ORDER_BIG_ENDIAN__ 4321
#define __cpp_runtime_arrays 198712
#define __UINT64_TYPE__ long long unsigned int
#define __UINT32_C(c) c ## U
#define __INTMAX_MAX__ 0x7fffffffffffffffLL
#define __cpp_alias_templates 200704
#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
#define WINNT 1
#define __FLT_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F
#define __INT8_MAX__ 0x7f
#define __LONG_WIDTH__ 32
#define __UINT_FAST32_TYPE__ unsigned int
#define __CHAR32_TYPE__ unsigned int
#define __FLT_MAX__ 3.40282346638528859811704183484516925e+38F
#define __cpp_constexpr 200704
#define __INT32_TYPE__ int
#define __SIZEOF_DOUBLE__ 8
#define __cpp_exceptions 199711
#define __FLT_MIN_10_EXP__ (-37)
#define __FLT64_MIN__ 2.22507385850720138309023271733240406e-308F64
#define __INT_LEAST32_WIDTH__ 32
#define __INTMAX_TYPE__ long long int
#define i386 1
#define _INTEGRAL_MAX_BITS 64
#define __DEC128_MAX_EXP__ 6145
#define __FLT32X_HAS_QUIET_NAN__ 1
#define __ATOMIC_CONSUME 1
#define __GNUC_MINOR__ 3
#define __INT_FAST16_WIDTH__ 16
#define __UINTMAX_MAX__ 0xffffffffffffffffULL
#define __DEC32_MANT_DIG__ 7
#define __FLT32X_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F32x
#define __DBL_MAX_10_EXP__ 308
#define __LDBL_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951L
#define __INT16_C(c) c
#define __STDC__ 1
#define __FLT32X_DIG__ 15
#define __PTRDIFF_TYPE__ int
#define __ATOMIC_SEQ_CST 5
#define __UINT32_TYPE__ unsigned int
#define __FLT32X_MIN_10_EXP__ (-307)
#define __UINTPTR_TYPE__ unsigned int
#define __DEC64_SUBNORMAL_MIN__ 0.000000000000001E-383DD
#define __DEC128_MANT_DIG__ 34
#define __LDBL_MIN_10_EXP__ (-4931)
#define __FLT128_EPSILON__ 1.92592994438723585305597794258492732e-34F128
#define __SIZEOF_LONG_LONG__ 8
#define __cpp_user_defined_literals 200809
#define __FLT128_DECIMAL_DIG__ 36
#define __GCC_ATOMIC_LLONG_LOCK_FREE 2
#define __FLT32X_MIN__ 2.22507385850720138309023271733240406e-308F32x
#define __LDBL_DIG__ 18
#define __FLT_DECIMAL_DIG__ 9
#define __UINT_FAST16_MAX__ 0xffff
#define __GCC_ATOMIC_SHORT_LOCK_FREE 2
#define __INT_LEAST64_WIDTH__ 64
#define __UINT_FAST8_TYPE__ unsigned char
#define __ATOMIC_ACQ_REL 4
#define __ATOMIC_RELEASE 3
#define __declspec(x) __attribute__((x))
/****************************************************************************
** Meta object code from reading C++ file 'scancodecontrol.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.13.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include <memory>
#include "../../scanCode_control/scancodecontrol.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'scancodecontrol.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.13.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_ScanCodeControl_t {
QByteArrayData data[8];
char stringdata0[103];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_ScanCodeControl_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_ScanCodeControl_t qt_meta_stringdata_ScanCodeControl = {
{
QT_MOC_LITERAL(0, 0, 15), // "ScanCodeControl"
QT_MOC_LITERAL(1, 16, 25), // "SendToBridge_ScanCodeData"
QT_MOC_LITERAL(2, 42, 0), // ""
QT_MOC_LITERAL(3, 43, 4), // "data"
QT_MOC_LITERAL(4, 48, 29), // "SendToBridge_ScanCodeDataisOk"
QT_MOC_LITERAL(5, 78, 7), // "setComm"
QT_MOC_LITERAL(6, 86, 7), // "ComName"
QT_MOC_LITERAL(7, 94, 8) // "baudRate"
},
"ScanCodeControl\0SendToBridge_ScanCodeData\0"
"\0data\0SendToBridge_ScanCodeDataisOk\0"
"setComm\0ComName\0baudRate"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_ScanCodeControl[] = {
// content:
8, // revision
0, // classname
0, 0, // classinfo
3, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
2, // signalCount
// signals: name, argc, parameters, tag, flags
1, 1, 29, 2, 0x06 /* Public */,
4, 0, 32, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
5, 2, 33, 2, 0x0a /* Public */,
// signals: parameters
QMetaType::Void, QMetaType::QString, 3,
QMetaType::Void,
// slots: parameters
QMetaType::Void, QMetaType::QString, QMetaType::Long, 6, 7,
0 // eod
};
void ScanCodeControl::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
auto *_t = static_cast<ScanCodeControl *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->SendToBridge_ScanCodeData((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 1: _t->SendToBridge_ScanCodeDataisOk(); break;
case 2: _t->setComm((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< long(*)>(_a[2]))); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
{
using _t = void (ScanCodeControl::*)(QString );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScanCodeControl::SendToBridge_ScanCodeData)) {
*result = 0;
return;
}
}
{
using _t = void (ScanCodeControl::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScanCodeControl::SendToBridge_ScanCodeDataisOk)) {
*result = 1;
return;
}
}
}
}
QT_INIT_METAOBJECT const QMetaObject ScanCodeControl::staticMetaObject = { {
&QObject::staticMetaObject,
qt_meta_stringdata_ScanCodeControl.data,
qt_meta_data_ScanCodeControl,
qt_static_metacall,
nullptr,
nullptr
} };
const QMetaObject *ScanCodeControl::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *ScanCodeControl::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_ScanCodeControl.stringdata0))
return static_cast<void*>(this);
return QObject::qt_metacast(_clname);
}
int ScanCodeControl::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QObject::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 3)
qt_static_metacall(this, _c, _id, _a);
_id -= 3;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 3)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 3;
}
return _id;
}
// SIGNAL 0
void ScanCodeControl::SendToBridge_ScanCodeData(QString _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
// SIGNAL 1
void ScanCodeControl::SendToBridge_ScanCodeDataisOk()
{
QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
/****************************************************************************
** Meta object code from reading C++ file 'sqliteassistant.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.13.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include <memory>
#include "../../sqliteassistant/sqliteassistant.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'sqliteassistant.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.13.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_SqliteAssistant_t {
QByteArrayData data[8];
char stringdata0[126];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_SqliteAssistant_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_SqliteAssistant_t qt_meta_stringdata_SqliteAssistant = {
{
QT_MOC_LITERAL(0, 0, 15), // "SqliteAssistant"
QT_MOC_LITERAL(1, 16, 16), // "Send_Data_Exists"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 20), // "Send_Data_Not_Exists"
QT_MOC_LITERAL(4, 55, 34), // "RecvFromBridge_Insert_GoodTyp..."
QT_MOC_LITERAL(5, 90, 4), // "data"
QT_MOC_LITERAL(6, 95, 14), // "Send_DataModel"
QT_MOC_LITERAL(7, 110, 15) // "QSqlQueryModel*"
},
"SqliteAssistant\0Send_Data_Exists\0\0"
"Send_Data_Not_Exists\0"
"RecvFromBridge_Insert_GoodTypeInfo\0"
"data\0Send_DataModel\0QSqlQueryModel*"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_SqliteAssistant[] = {
// content:
8, // revision
0, // classname
0, 0, // classinfo
4, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
4, // signalCount
// signals: name, argc, parameters, tag, flags
1, 0, 34, 2, 0x06 /* Public */,
3, 0, 35, 2, 0x06 /* Public */,
4, 1, 36, 2, 0x06 /* Public */,
6, 1, 39, 2, 0x06 /* Public */,
// signals: parameters
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::QString, 5,
QMetaType::Void, 0x80000000 | 7, 5,
0 // eod
};
void SqliteAssistant::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
auto *_t = static_cast<SqliteAssistant *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->Send_Data_Exists(); break;
case 1: _t->Send_Data_Not_Exists(); break;
case 2: _t->RecvFromBridge_Insert_GoodTypeInfo((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 3: _t->Send_DataModel((*reinterpret_cast< QSqlQueryModel*(*)>(_a[1]))); break;
default: ;
}
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
switch (_id) {
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
case 3:
switch (*reinterpret_cast<int*>(_a[1])) {
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
case 0:
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QSqlQueryModel* >(); break;
}
break;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
{
using _t = void (SqliteAssistant::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SqliteAssistant::Send_Data_Exists)) {
*result = 0;
return;
}
}
{
using _t = void (SqliteAssistant::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SqliteAssistant::Send_Data_Not_Exists)) {
*result = 1;
return;
}
}
{
using _t = void (SqliteAssistant::*)(QString );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SqliteAssistant::RecvFromBridge_Insert_GoodTypeInfo)) {
*result = 2;
return;
}
}
{
using _t = void (SqliteAssistant::*)(QSqlQueryModel * );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SqliteAssistant::Send_DataModel)) {
*result = 3;
return;
}
}
}
}
QT_INIT_METAOBJECT const QMetaObject SqliteAssistant::staticMetaObject = { {
&QObject::staticMetaObject,
qt_meta_stringdata_SqliteAssistant.data,
qt_meta_data_SqliteAssistant,
qt_static_metacall,
nullptr,
nullptr
} };
const QMetaObject *SqliteAssistant::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *SqliteAssistant::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_SqliteAssistant.stringdata0))
return static_cast<void*>(this);
return QObject::qt_metacast(_clname);
}
int SqliteAssistant::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QObject::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 4)
qt_static_metacall(this, _c, _id, _a);
_id -= 4;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 4)
qt_static_metacall(this, _c, _id, _a);
_id -= 4;
}
return _id;
}
// SIGNAL 0
void SqliteAssistant::Send_Data_Exists()
{
QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
// SIGNAL 1
void SqliteAssistant::Send_Data_Not_Exists()
{
QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
// SIGNAL 2
void SqliteAssistant::RecvFromBridge_Insert_GoodTypeInfo(QString _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
// SIGNAL 3
void SqliteAssistant::Send_DataModel(QSqlQueryModel * _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
/****************************************************************************
** Meta object code from reading C++ file 'sqlitehandle.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.13.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include <memory>
#include "../../sqlitehandle.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'sqlitehandle.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.13.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_SqliteHandle_t {
QByteArrayData data[1];
char stringdata0[13];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_SqliteHandle_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_SqliteHandle_t qt_meta_stringdata_SqliteHandle = {
{
QT_MOC_LITERAL(0, 0, 12) // "SqliteHandle"
},
"SqliteHandle"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_SqliteHandle[] = {
// content:
8, // revision
0, // classname
0, 0, // classinfo
0, 0, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
0 // eod
};
void SqliteHandle::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
Q_UNUSED(_o);
Q_UNUSED(_id);
Q_UNUSED(_c);
Q_UNUSED(_a);
}
QT_INIT_METAOBJECT const QMetaObject SqliteHandle::staticMetaObject = { {
&QObject::staticMetaObject,
qt_meta_stringdata_SqliteHandle.data,
qt_meta_data_SqliteHandle,
qt_static_metacall,
nullptr,
nullptr
} };
const QMetaObject *SqliteHandle::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *SqliteHandle::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_SqliteHandle.stringdata0))
return static_cast<void*>(this);
return QObject::qt_metacast(_clname);
}
int SqliteHandle::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QObject::qt_metacall(_c, _id, _a);
return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
This source diff could not be displayed because it is too large. You can view the blob instead.
/********************************************************************************
** Form generated from reading UI file 'frmmessagebox.ui'
**
** Created by: Qt User Interface Compiler version 5.13.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef UI_FRMMESSAGEBOX_H
#define UI_FRMMESSAGEBOX_H
#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QApplication>
#include <QtWidgets/QDialog>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
QT_BEGIN_NAMESPACE
class Ui_frmMessageBox
{
public:
QVBoxLayout *verticalLayout;
QWidget *widget_title;
QHBoxLayout *horizontalLayout_2;
QLabel *lab_Ico;
QLabel *lab_Title;
QWidget *widget_menu;
QHBoxLayout *horizontalLayout;
QPushButton *btnMenu_Close;
QWidget *widget_main;
QVBoxLayout *verticalLayout_2;
QGroupBox *groupBox;
QLabel *labIcoMain;
QLabel *labInfo;
QWidget *layoutWidget;
QHBoxLayout *horizontalLayout_3;
QSpacerItem *horizontalSpacer;
QPushButton *btnOk;
QPushButton *btnCancel;
void setupUi(QDialog *frmMessageBox)
{
if (frmMessageBox->objectName().isEmpty())
frmMessageBox->setObjectName(QString::fromUtf8("frmMessageBox"));
frmMessageBox->resize(303, 143);
verticalLayout = new QVBoxLayout(frmMessageBox);
verticalLayout->setSpacing(0);
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
verticalLayout->setContentsMargins(0, 0, 0, 0);
widget_title = new QWidget(frmMessageBox);
widget_title->setObjectName(QString::fromUtf8("widget_title"));
QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
sizePolicy.setHorizontalStretch(0);
sizePolicy.setVerticalStretch(0);
sizePolicy.setHeightForWidth(widget_title->sizePolicy().hasHeightForWidth());
widget_title->setSizePolicy(sizePolicy);
widget_title->setMinimumSize(QSize(100, 28));
horizontalLayout_2 = new QHBoxLayout(widget_title);
horizontalLayout_2->setSpacing(0);
horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
horizontalLayout_2->setContentsMargins(0, 0, 0, 0);
lab_Ico = new QLabel(widget_title);
lab_Ico->setObjectName(QString::fromUtf8("lab_Ico"));
QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Preferred);
sizePolicy1.setHorizontalStretch(0);
sizePolicy1.setVerticalStretch(0);
sizePolicy1.setHeightForWidth(lab_Ico->sizePolicy().hasHeightForWidth());
lab_Ico->setSizePolicy(sizePolicy1);
lab_Ico->setMinimumSize(QSize(31, 0));
lab_Ico->setAlignment(Qt::AlignCenter);
horizontalLayout_2->addWidget(lab_Ico);
lab_Title = new QLabel(widget_title);
lab_Title->setObjectName(QString::fromUtf8("lab_Title"));
QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Preferred);
sizePolicy2.setHorizontalStretch(0);
sizePolicy2.setVerticalStretch(0);
sizePolicy2.setHeightForWidth(lab_Title->sizePolicy().hasHeightForWidth());
lab_Title->setSizePolicy(sizePolicy2);
lab_Title->setStyleSheet(QString::fromUtf8("font: 10pt \"\345\276\256\350\275\257\351\233\205\351\273\221\";"));
lab_Title->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
horizontalLayout_2->addWidget(lab_Title);
widget_menu = new QWidget(widget_title);
widget_menu->setObjectName(QString::fromUtf8("widget_menu"));
sizePolicy1.setHeightForWidth(widget_menu->sizePolicy().hasHeightForWidth());
widget_menu->setSizePolicy(sizePolicy1);
horizontalLayout = new QHBoxLayout(widget_menu);
horizontalLayout->setSpacing(0);
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
horizontalLayout->setContentsMargins(0, 0, 0, 0);
btnMenu_Close = new QPushButton(widget_menu);
btnMenu_Close->setObjectName(QString::fromUtf8("btnMenu_Close"));
QSizePolicy sizePolicy3(QSizePolicy::Minimum, QSizePolicy::Expanding);
sizePolicy3.setHorizontalStretch(0);
sizePolicy3.setVerticalStretch(0);
sizePolicy3.setHeightForWidth(btnMenu_Close->sizePolicy().hasHeightForWidth());
btnMenu_Close->setSizePolicy(sizePolicy3);
btnMenu_Close->setMinimumSize(QSize(40, 0));
btnMenu_Close->setCursor(QCursor(Qt::ArrowCursor));
btnMenu_Close->setFocusPolicy(Qt::NoFocus);
btnMenu_Close->setFlat(true);
horizontalLayout->addWidget(btnMenu_Close);
horizontalLayout_2->addWidget(widget_menu);
verticalLayout->addWidget(widget_title);
widget_main = new QWidget(frmMessageBox);
widget_main->setObjectName(QString::fromUtf8("widget_main"));
widget_main->setStyleSheet(QString::fromUtf8("font: 11pt \"\345\276\256\350\275\257\351\233\205\351\273\221\";"));
verticalLayout_2 = new QVBoxLayout(widget_main);
verticalLayout_2->setSpacing(5);
verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
verticalLayout_2->setContentsMargins(5, 5, 5, 5);
groupBox = new QGroupBox(widget_main);
groupBox->setObjectName(QString::fromUtf8("groupBox"));
labIcoMain = new QLabel(groupBox);
labIcoMain->setObjectName(QString::fromUtf8("labIcoMain"));
labIcoMain->setGeometry(QRect(10, 10, 45, 45));
labIcoMain->setStyleSheet(QString::fromUtf8("border-image: url(:/image/info.png);"));
labInfo = new QLabel(groupBox);
labInfo->setObjectName(QString::fromUtf8("labInfo"));
labInfo->setGeometry(QRect(70, 10, 211, 41));
labInfo->setScaledContents(false);
labInfo->setWordWrap(true);
layoutWidget = new QWidget(groupBox);
layoutWidget->setObjectName(QString::fromUtf8("layoutWidget"));
layoutWidget->setGeometry(QRect(10, 60, 271, 34));
horizontalLayout_3 = new QHBoxLayout(layoutWidget);
horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
horizontalLayout_3->setContentsMargins(0, 0, 0, 0);
horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_3->addItem(horizontalSpacer);
btnOk = new QPushButton(layoutWidget);
btnOk->setObjectName(QString::fromUtf8("btnOk"));
btnOk->setCursor(QCursor(Qt::PointingHandCursor));
btnOk->setFocusPolicy(Qt::StrongFocus);
btnOk->setStyleSheet(QString::fromUtf8(""));
QIcon icon;
icon.addFile(QString::fromUtf8(":/image/ok.png"), QSize(), QIcon::Normal, QIcon::Off);
btnOk->setIcon(icon);
btnOk->setIconSize(QSize(20, 20));
horizontalLayout_3->addWidget(btnOk);
btnCancel = new QPushButton(layoutWidget);
btnCancel->setObjectName(QString::fromUtf8("btnCancel"));
btnCancel->setCursor(QCursor(Qt::PointingHandCursor));
btnCancel->setFocusPolicy(Qt::StrongFocus);
btnCancel->setStyleSheet(QString::fromUtf8(""));
QIcon icon1;
icon1.addFile(QString::fromUtf8(":/image/delete.png"), QSize(), QIcon::Normal, QIcon::Off);
btnCancel->setIcon(icon1);
btnCancel->setIconSize(QSize(20, 20));
horizontalLayout_3->addWidget(btnCancel);
verticalLayout_2->addWidget(groupBox);
verticalLayout->addWidget(widget_main);
retranslateUi(frmMessageBox);
QMetaObject::connectSlotsByName(frmMessageBox);
} // setupUi
void retranslateUi(QDialog *frmMessageBox)
{
frmMessageBox->setWindowTitle(QCoreApplication::translate("frmMessageBox", "\346\217\220\347\244\272", nullptr));
lab_Ico->setText(QString());
lab_Title->setText(QCoreApplication::translate("frmMessageBox", "\346\217\220\347\244\272", nullptr));
#if QT_CONFIG(tooltip)
btnMenu_Close->setToolTip(QCoreApplication::translate("frmMessageBox", "\345\205\263\351\227\255", nullptr));
#endif // QT_CONFIG(tooltip)
btnMenu_Close->setText(QString());
groupBox->setTitle(QString());
labIcoMain->setText(QString());
labInfo->setText(QCoreApplication::translate("frmMessageBox", "\347\241\256\345\256\232\350\246\201\345\210\240\351\231\244\345\220\227?", nullptr));
btnOk->setText(QCoreApplication::translate("frmMessageBox", "\347\241\256\345\256\232(&O)", nullptr));
btnCancel->setText(QCoreApplication::translate("frmMessageBox", "\345\217\226\346\266\210(&C)", nullptr));
} // retranslateUi
};
namespace Ui {
class frmMessageBox: public Ui_frmMessageBox {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_FRMMESSAGEBOX_H
/********************************************************************************
** Form generated from reading UI file 'logindlg.ui'
**
** Created by: Qt User Interface Compiler version 5.13.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef UI_LOGINDLG_H
#define UI_LOGINDLG_H
#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QDialog>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
QT_BEGIN_NAMESPACE
class Ui_LoginDlg
{
public:
QGridLayout *gridLayout_2;
QWidget *wid_main;
QGridLayout *gridLayout_3;
QHBoxLayout *horizontalLayout_4;
QLabel *lab_title;
QSpacerItem *horizontalSpacer_3;
QPushButton *pbn_min;
QPushButton *pbn_close;
QWidget *widget_sec;
QGridLayout *gridLayout;
QVBoxLayout *verticalLayout_2;
QHBoxLayout *horizontalLayout_7;
QSpacerItem *horizontalSpacer_8;
QLabel *lab_logo;
QSpacerItem *horizontalSpacer_9;
QSpacerItem *verticalSpacer_3;
QHBoxLayout *horizontalLayout_5;
QSpacerItem *horizontalSpacer_4;
QLabel *lab_name;
QSpacerItem *horizontalSpacer_5;
QHBoxLayout *horizontalLayout_6;
QSpacerItem *horizontalSpacer_6;
QVBoxLayout *verticalLayout;
QHBoxLayout *horizontalLayout;
QLabel *lab_user;
QLineEdit *lineEdit_user;
QHBoxLayout *horizontalLayout_2;
QLabel *lab_pwd;
QLineEdit *lineEdit_pwd;
QSpacerItem *horizontalSpacer_7;
QHBoxLayout *horizontalLayout_8;
QSpacerItem *verticalSpacer;
QHBoxLayout *horizontalLayout_3;
QSpacerItem *horizontalSpacer;
QPushButton *pbn_login;
QSpacerItem *horizontalSpacer_2;
QSpacerItem *verticalSpacer_4;
void setupUi(QDialog *LoginDlg)
{
if (LoginDlg->objectName().isEmpty())
LoginDlg->setObjectName(QString::fromUtf8("LoginDlg"));
LoginDlg->resize(540, 400);
gridLayout_2 = new QGridLayout(LoginDlg);
gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
wid_main = new QWidget(LoginDlg);
wid_main->setObjectName(QString::fromUtf8("wid_main"));
wid_main->setStyleSheet(QString::fromUtf8("QCheckBox {\n"
" spacing: 2px;\n"
"}\n"
"QCheckBox::indicator {\n"
" width: 20px;\n"
" height: 20px;\n"
"}\n"
"QCheckBox::indicator:unchecked {\n"
" image: url(:/qrc_inmage/checkbox_unchecked.png);\n"
"}\n"
"QCheckBox::indicator:checked {\n"
" image: url(:/qrc_inmage/checkbox_checked.png);\n"
"}"));
gridLayout_3 = new QGridLayout(wid_main);
gridLayout_3->setSpacing(0);
gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
gridLayout_3->setContentsMargins(0, 6, 0, 0);
horizontalLayout_4 = new QHBoxLayout();
horizontalLayout_4->setSpacing(10);
horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
horizontalLayout_4->setContentsMargins(10, -1, 10, 6);
lab_title = new QLabel(wid_main);
lab_title->setObjectName(QString::fromUtf8("lab_title"));
lab_title->setStyleSheet(QString::fromUtf8(""));
horizontalLayout_4->addWidget(lab_title);
horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_4->addItem(horizontalSpacer_3);
pbn_min = new QPushButton(wid_main);
pbn_min->setObjectName(QString::fromUtf8("pbn_min"));
pbn_min->setMinimumSize(QSize(32, 32));
pbn_min->setMaximumSize(QSize(32, 32));
pbn_min->setStyleSheet(QString::fromUtf8(""));
horizontalLayout_4->addWidget(pbn_min);
pbn_close = new QPushButton(wid_main);
pbn_close->setObjectName(QString::fromUtf8("pbn_close"));
pbn_close->setMinimumSize(QSize(32, 32));
pbn_close->setMaximumSize(QSize(32, 32));
horizontalLayout_4->addWidget(pbn_close);
gridLayout_3->addLayout(horizontalLayout_4, 0, 0, 1, 1);
widget_sec = new QWidget(wid_main);
widget_sec->setObjectName(QString::fromUtf8("widget_sec"));
gridLayout = new QGridLayout(widget_sec);
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
verticalLayout_2 = new QVBoxLayout();
verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
horizontalLayout_7 = new QHBoxLayout();
horizontalLayout_7->setObjectName(QString::fromUtf8("horizontalLayout_7"));
horizontalSpacer_8 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_7->addItem(horizontalSpacer_8);
lab_logo = new QLabel(widget_sec);
lab_logo->setObjectName(QString::fromUtf8("lab_logo"));
lab_logo->setMinimumSize(QSize(100, 100));
lab_logo->setMaximumSize(QSize(100, 100));
lab_logo->setStyleSheet(QString::fromUtf8(""));
horizontalLayout_7->addWidget(lab_logo);
horizontalSpacer_9 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_7->addItem(horizontalSpacer_9);
verticalLayout_2->addLayout(horizontalLayout_7);
verticalSpacer_3 = new QSpacerItem(497, 13, QSizePolicy::Minimum, QSizePolicy::Expanding);
verticalLayout_2->addItem(verticalSpacer_3);
horizontalLayout_5 = new QHBoxLayout();
horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5"));
horizontalSpacer_4 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_5->addItem(horizontalSpacer_4);
lab_name = new QLabel(widget_sec);
lab_name->setObjectName(QString::fromUtf8("lab_name"));
horizontalLayout_5->addWidget(lab_name);
horizontalSpacer_5 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_5->addItem(horizontalSpacer_5);
verticalLayout_2->addLayout(horizontalLayout_5);
horizontalLayout_6 = new QHBoxLayout();
horizontalLayout_6->setObjectName(QString::fromUtf8("horizontalLayout_6"));
horizontalSpacer_6 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_6->addItem(horizontalSpacer_6);
verticalLayout = new QVBoxLayout();
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
horizontalLayout = new QHBoxLayout();
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
lab_user = new QLabel(widget_sec);
lab_user->setObjectName(QString::fromUtf8("lab_user"));
horizontalLayout->addWidget(lab_user);
lineEdit_user = new QLineEdit(widget_sec);
lineEdit_user->setObjectName(QString::fromUtf8("lineEdit_user"));
lineEdit_user->setMinimumSize(QSize(0, 30));
lineEdit_user->setMaxLength(20);
horizontalLayout->addWidget(lineEdit_user);
verticalLayout->addLayout(horizontalLayout);
horizontalLayout_2 = new QHBoxLayout();
horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
lab_pwd = new QLabel(widget_sec);
lab_pwd->setObjectName(QString::fromUtf8("lab_pwd"));
horizontalLayout_2->addWidget(lab_pwd);
lineEdit_pwd = new QLineEdit(widget_sec);
lineEdit_pwd->setObjectName(QString::fromUtf8("lineEdit_pwd"));
lineEdit_pwd->setMinimumSize(QSize(0, 30));
lineEdit_pwd->setMaxLength(20);
lineEdit_pwd->setEchoMode(QLineEdit::Password);
horizontalLayout_2->addWidget(lineEdit_pwd);
verticalLayout->addLayout(horizontalLayout_2);
horizontalLayout_6->addLayout(verticalLayout);
horizontalSpacer_7 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_6->addItem(horizontalSpacer_7);
verticalLayout_2->addLayout(horizontalLayout_6);
horizontalLayout_8 = new QHBoxLayout();
horizontalLayout_8->setObjectName(QString::fromUtf8("horizontalLayout_8"));
verticalSpacer = new QSpacerItem(58, 20, QSizePolicy::Minimum, QSizePolicy::Expanding);
horizontalLayout_8->addItem(verticalSpacer);
verticalLayout_2->addLayout(horizontalLayout_8);
horizontalLayout_3 = new QHBoxLayout();
horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_3->addItem(horizontalSpacer);
pbn_login = new QPushButton(widget_sec);
pbn_login->setObjectName(QString::fromUtf8("pbn_login"));
pbn_login->setMinimumSize(QSize(180, 30));
horizontalLayout_3->addWidget(pbn_login);
horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_3->addItem(horizontalSpacer_2);
verticalLayout_2->addLayout(horizontalLayout_3);
gridLayout->addLayout(verticalLayout_2, 0, 0, 1, 1);
verticalSpacer_4 = new QSpacerItem(20, 13, QSizePolicy::Minimum, QSizePolicy::Expanding);
gridLayout->addItem(verticalSpacer_4, 1, 0, 1, 1);
gridLayout_3->addWidget(widget_sec, 1, 0, 1, 1);
gridLayout_2->addWidget(wid_main, 0, 0, 1, 1);
retranslateUi(LoginDlg);
QMetaObject::connectSlotsByName(LoginDlg);
} // setupUi
void retranslateUi(QDialog *LoginDlg)
{
LoginDlg->setWindowTitle(QCoreApplication::translate("LoginDlg", "Dialog", nullptr));
lab_title->setText(QCoreApplication::translate("LoginDlg", "\347\224\250\346\210\267\347\231\273\345\275\225", nullptr));
pbn_min->setText(QString());
pbn_close->setText(QString());
lab_logo->setText(QString());
lab_name->setText(QCoreApplication::translate("LoginDlg", "\346\227\240\344\272\272\345\200\274\345\256\210\351\227\250\347\246\201\347\263\273\347\273\237", nullptr));
lab_user->setText(QCoreApplication::translate("LoginDlg", "\347\224\250\346\210\267\345\220\215\357\274\232", nullptr));
lab_pwd->setText(QCoreApplication::translate("LoginDlg", "\345\257\206 \347\240\201\357\274\232", nullptr));
pbn_login->setText(QCoreApplication::translate("LoginDlg", "\347\231\273\345\275\225", nullptr));
} // retranslateUi
};
namespace Ui {
class LoginDlg: public Ui_LoginDlg {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_LOGINDLG_H
/********************************************************************************
** Form generated from reading UI file 'mainwindow.ui'
**
** Created by: Qt User Interface Compiler version 5.13.2
**
** 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 <QtWidgets/QApplication>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLCDNumber>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QMainWindow>
#include <QtWidgets/QMenuBar>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QStackedWidget>
#include <QtWidgets/QStatusBar>
#include <QtWidgets/QTabWidget>
#include <QtWidgets/QTableWidget>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
QT_BEGIN_NAMESPACE
class Ui_MainWindow
{
public:
QWidget *centralwidget;
QGridLayout *gridLayout;
QWidget *widget_main;
QGridLayout *gridLayout_4;
QWidget *widget_pbn;
QGridLayout *gridLayout_3;
QHBoxLayout *horizontalLayout_2;
QPushButton *pbn_navigation_1;
QPushButton *pbn_navigation_2;
QPushButton *pbn_navigation_3;
QPushButton *pbn_navigation_4;
QWidget *widget_title;
QGridLayout *gridLayout_2;
QHBoxLayout *horizontalLayout;
QSpacerItem *horizontalSpacer;
QLabel *lab_Title;
QSpacerItem *horizontalSpacer_2;
QStackedWidget *stackedWidget;
QWidget *page_1;
QWidget *page_2;
QGridLayout *gridLayout_9;
QGroupBox *groupBox_frid;
QGridLayout *gridLayout_5;
QVBoxLayout *verticalLayout;
QHBoxLayout *horizontalLayout_3;
QLabel *label;
QLineEdit *lineEdit_Frid_1;
QHBoxLayout *horizontalLayout_4;
QLabel *label_3;
QLineEdit *lineEdit_Frid_2;
QHBoxLayout *horizontalLayout_5;
QLabel *label_4;
QLineEdit *lineEdit_Frid_3;
QHBoxLayout *horizontalLayout_6;
QLabel *label_5;
QLineEdit *lineEdit_Frid_4;
QHBoxLayout *horizontalLayout_7;
QLabel *label_6;
QLineEdit *lineEdit_Frid_5;
QGroupBox *groupBox_car;
QGridLayout *gridLayout_10;
QLabel *lab_carpic;
QGroupBox *groupBox;
QGridLayout *gridLayout_6;
QVBoxLayout *verticalLayout_3;
QPushButton *pbn_urgent_1;
QPushButton *pbn_urgent_2;
QPushButton *pbn_urgent_3;
QPushButton *pbn_urgent_4;
QPushButton *pbn_urgent_5;
QPushButton *pbn_urgent_6;
QGroupBox *groupBox_scan;
QGridLayout *gridLayout_7;
QVBoxLayout *verticalLayout_2;
QHBoxLayout *horizontalLayout_8;
QLabel *label_7;
QLineEdit *lineEdit_Code_1;
QHBoxLayout *horizontalLayout_9;
QLabel *label_8;
QLineEdit *lineEdit_Code_2;
QHBoxLayout *horizontalLayout_10;
QLabel *label_9;
QLineEdit *lineEdit_Code_3;
QHBoxLayout *horizontalLayout_11;
QLabel *label_10;
QLineEdit *lineEdit_Code_4;
QHBoxLayout *horizontalLayout_12;
QLabel *label_11;
QLineEdit *lineEdit_Code_5;
QGroupBox *groupBox_2;
QGridLayout *gridLayout_8;
QHBoxLayout *horizontalLayout_13;
QLabel *label_12;
QSpinBox *spinBox_VehTotal;
QPushButton *pbn_setVehTotal;
QHBoxLayout *horizontalLayout_14;
QLabel *label_13;
QLCDNumber *lcdNumber;
QWidget *page_3;
QGridLayout *gridLayout_13;
QGroupBox *groupBox_4;
QGridLayout *gridLayout_12;
QLabel *label_2;
QGroupBox *groupBox_3;
QGridLayout *gridLayout_11;
QVBoxLayout *verticalLayout_4;
QPushButton *pushButton;
QPushButton *pushButton_2;
QWidget *page_4;
QGridLayout *gridLayout_16;
QVBoxLayout *verticalLayout_5;
QSpacerItem *verticalSpacer_2;
QHBoxLayout *horizontalLayout_16;
QSpacerItem *horizontalSpacer_3;
QWidget *widget;
QGridLayout *gridLayout_14;
QHBoxLayout *horizontalLayout_15;
QLabel *label_14;
QLineEdit *lineEdit_adminPwd;
QPushButton *pbn_ToSetting;
QSpacerItem *horizontalSpacer_4;
QSpacerItem *verticalSpacer;
QWidget *page_5;
QGridLayout *gridLayout_15;
QTabWidget *tabWidget;
QWidget *tab_1;
QGridLayout *gridLayout_18;
QTableWidget *tableWidget;
QGroupBox *groupBox_5;
QGridLayout *gridLayout_17;
QVBoxLayout *verticalLayout_7;
QSpacerItem *verticalSpacer_4;
QVBoxLayout *verticalLayout_6;
QLabel *label_15;
QLineEdit *lineEdit_carPlnum;
QPushButton *pbn_selectVeh;
QPushButton *pbn_setVehLimit;
QSpacerItem *verticalSpacer_3;
QWidget *tab_2;
QWidget *tab_3;
QWidget *tab_4;
QWidget *tab_5;
QWidget *tab_6;
QWidget *tab_7;
QWidget *tab_8;
QWidget *page_6;
QGridLayout *gridLayout_19;
QGroupBox *groupBox_6;
QGridLayout *gridLayout_20;
QVBoxLayout *verticalLayout_9;
QHBoxLayout *horizontalLayout_20;
QSpacerItem *horizontalSpacer_5;
QVBoxLayout *verticalLayout_8;
QHBoxLayout *horizontalLayout_17;
QLabel *label_16;
QComboBox *comboBox_serialNameRfid;
QHBoxLayout *horizontalLayout_19;
QLabel *label_18;
QComboBox *comboBox_serialBaudRfid;
QPushButton *pbn_Setting_1;
QSpacerItem *horizontalSpacer_6;
QGroupBox *groupBox_9;
QGridLayout *gridLayout_21;
QHBoxLayout *horizontalLayout_21;
QSpacerItem *horizontalSpacer_7;
QVBoxLayout *verticalLayout_10;
QHBoxLayout *horizontalLayout_22;
QLabel *label_19;
QComboBox *comboBox_serialNameCode;
QHBoxLayout *horizontalLayout_23;
QLabel *label_20;
QComboBox *comboBox_serialBaudCode;
QPushButton *pbn_Setting_2;
QSpacerItem *horizontalSpacer_8;
QGroupBox *groupBox_12;
QGridLayout *gridLayout_22;
QHBoxLayout *horizontalLayout_24;
QSpacerItem *horizontalSpacer_9;
QVBoxLayout *verticalLayout_11;
QHBoxLayout *horizontalLayout_25;
QLabel *label_21;
QComboBox *comboBox_5;
QHBoxLayout *horizontalLayout_26;
QLabel *label_22;
QComboBox *comboBox_6;
QPushButton *pbn_Setting_3;
QSpacerItem *horizontalSpacer_10;
QGroupBox *groupBox_7;
QGridLayout *gridLayout_23;
QHBoxLayout *horizontalLayout_27;
QSpacerItem *horizontalSpacer_11;
QVBoxLayout *verticalLayout_12;
QHBoxLayout *horizontalLayout_28;
QLabel *label_23;
QComboBox *comboBox_7;
QHBoxLayout *horizontalLayout_29;
QLabel *label_24;
QComboBox *comboBox_8;
QPushButton *pbn_Setting_4;
QSpacerItem *horizontalSpacer_12;
QGroupBox *groupBox_10;
QGridLayout *gridLayout_24;
QHBoxLayout *horizontalLayout_30;
QSpacerItem *horizontalSpacer_13;
QVBoxLayout *verticalLayout_13;
QHBoxLayout *horizontalLayout_31;
QLabel *label_25;
QComboBox *comboBox_9;
QHBoxLayout *horizontalLayout_32;
QLabel *label_26;
QComboBox *comboBox_10;
QPushButton *pbn_Setting_5;
QSpacerItem *horizontalSpacer_14;
QGroupBox *groupBox_13;
QGridLayout *gridLayout_25;
QHBoxLayout *horizontalLayout_33;
QSpacerItem *horizontalSpacer_15;
QVBoxLayout *verticalLayout_14;
QHBoxLayout *horizontalLayout_34;
QLabel *label_27;
QComboBox *comboBox_11;
QHBoxLayout *horizontalLayout_35;
QLabel *label_28;
QComboBox *comboBox_12;
QPushButton *pbn_Setting_6;
QSpacerItem *horizontalSpacer_16;
QGroupBox *groupBox_8;
QGridLayout *gridLayout_26;
QHBoxLayout *horizontalLayout_36;
QSpacerItem *horizontalSpacer_17;
QVBoxLayout *verticalLayout_15;
QHBoxLayout *horizontalLayout_37;
QLabel *label_29;
QComboBox *comboBox_13;
QHBoxLayout *horizontalLayout_38;
QLabel *label_30;
QComboBox *comboBox_14;
QPushButton *pbn_Setting_7;
QSpacerItem *horizontalSpacer_18;
QGroupBox *groupBox_11;
QGridLayout *gridLayout_27;
QHBoxLayout *horizontalLayout_39;
QSpacerItem *horizontalSpacer_19;
QVBoxLayout *verticalLayout_16;
QHBoxLayout *horizontalLayout_40;
QLabel *label_31;
QComboBox *comboBox_15;
QHBoxLayout *horizontalLayout_41;
QLabel *label_32;
QComboBox *comboBox_16;
QPushButton *pbn_Setting_8;
QSpacerItem *horizontalSpacer_20;
QGroupBox *groupBox_14;
QGridLayout *gridLayout_28;
QHBoxLayout *horizontalLayout_45;
QSpacerItem *horizontalSpacer_23;
QVBoxLayout *verticalLayout_17;
QHBoxLayout *horizontalLayout_43;
QRadioButton *rbn_logKeep_1;
QRadioButton *rbn_logKeep_2;
QHBoxLayout *horizontalLayout_42;
QRadioButton *rbn_logKeep_3;
QSpinBox *spinBox_logKeepDays;
QLabel *label_34;
QHBoxLayout *horizontalLayout_44;
QPushButton *pushButton_11;
QSpacerItem *horizontalSpacer_24;
QMenuBar *menubar;
QStatusBar *statusbar;
void setupUi(QMainWindow *MainWindow)
{
if (MainWindow->objectName().isEmpty())
MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
MainWindow->resize(1190, 766);
MainWindow->setStyleSheet(QString::fromUtf8(""));
centralwidget = new QWidget(MainWindow);
centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
gridLayout = new QGridLayout(centralwidget);
gridLayout->setSpacing(0);
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
gridLayout->setContentsMargins(0, 0, 0, 0);
widget_main = new QWidget(centralwidget);
widget_main->setObjectName(QString::fromUtf8("widget_main"));
gridLayout_4 = new QGridLayout(widget_main);
gridLayout_4->setSpacing(5);
gridLayout_4->setObjectName(QString::fromUtf8("gridLayout_4"));
gridLayout_4->setContentsMargins(5, 6, 5, 6);
widget_pbn = new QWidget(widget_main);
widget_pbn->setObjectName(QString::fromUtf8("widget_pbn"));
widget_pbn->setStyleSheet(QString::fromUtf8("QPushButton{\n"
" font: 18pt;\n"
"}"));
gridLayout_3 = new QGridLayout(widget_pbn);
gridLayout_3->setSpacing(5);
gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
gridLayout_3->setContentsMargins(5, 3, 5, 3);
horizontalLayout_2 = new QHBoxLayout();
horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
pbn_navigation_1 = new QPushButton(widget_pbn);
pbn_navigation_1->setObjectName(QString::fromUtf8("pbn_navigation_1"));
horizontalLayout_2->addWidget(pbn_navigation_1);
pbn_navigation_2 = new QPushButton(widget_pbn);
pbn_navigation_2->setObjectName(QString::fromUtf8("pbn_navigation_2"));
horizontalLayout_2->addWidget(pbn_navigation_2);
pbn_navigation_3 = new QPushButton(widget_pbn);
pbn_navigation_3->setObjectName(QString::fromUtf8("pbn_navigation_3"));
horizontalLayout_2->addWidget(pbn_navigation_3);
pbn_navigation_4 = new QPushButton(widget_pbn);
pbn_navigation_4->setObjectName(QString::fromUtf8("pbn_navigation_4"));
horizontalLayout_2->addWidget(pbn_navigation_4);
gridLayout_3->addLayout(horizontalLayout_2, 0, 0, 1, 1);
gridLayout_4->addWidget(widget_pbn, 1, 0, 1, 2);
widget_title = new QWidget(widget_main);
widget_title->setObjectName(QString::fromUtf8("widget_title"));
widget_title->setStyleSheet(QString::fromUtf8("QLabel{\n"
" font: 30pt;\n"
"}\n"
"QWidget#widget_title{\n"
" border:1px solid #50A3F0;\n"
" border-radius:5px;\n"
"}"));
gridLayout_2 = new QGridLayout(widget_title);
gridLayout_2->setSpacing(5);
gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
gridLayout_2->setContentsMargins(5, 3, 5, 3);
horizontalLayout = new QHBoxLayout();
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout->addItem(horizontalSpacer);
lab_Title = new QLabel(widget_title);
lab_Title->setObjectName(QString::fromUtf8("lab_Title"));
horizontalLayout->addWidget(lab_Title);
horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout->addItem(horizontalSpacer_2);
gridLayout_2->addLayout(horizontalLayout, 0, 0, 1, 1);
gridLayout_4->addWidget(widget_title, 0, 0, 1, 2);
stackedWidget = new QStackedWidget(widget_main);
stackedWidget->setObjectName(QString::fromUtf8("stackedWidget"));
stackedWidget->setStyleSheet(QString::fromUtf8("QWidget#page_1{\n"
" background-image: url(:/image/header.png);\n"
"}\n"
"QLabel{\n"
" font: 12pt;\n"
"}\n"
"QGroupBox{\n"
" font: 14pt;\n"
"}\n"
"QLineEdit{\n"
" font: 18pt;\n"
"min-height: 30px;\n"
"}"));
page_1 = new QWidget();
page_1->setObjectName(QString::fromUtf8("page_1"));
stackedWidget->addWidget(page_1);
page_2 = new QWidget();
page_2->setObjectName(QString::fromUtf8("page_2"));
page_2->setStyleSheet(QString::fromUtf8(""));
gridLayout_9 = new QGridLayout(page_2);
gridLayout_9->setObjectName(QString::fromUtf8("gridLayout_9"));
groupBox_frid = new QGroupBox(page_2);
groupBox_frid->setObjectName(QString::fromUtf8("groupBox_frid"));
groupBox_frid->setMaximumSize(QSize(300, 16777215));
gridLayout_5 = new QGridLayout(groupBox_frid);
gridLayout_5->setObjectName(QString::fromUtf8("gridLayout_5"));
verticalLayout = new QVBoxLayout();
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
horizontalLayout_3 = new QHBoxLayout();
horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
label = new QLabel(groupBox_frid);
label->setObjectName(QString::fromUtf8("label"));
horizontalLayout_3->addWidget(label);
lineEdit_Frid_1 = new QLineEdit(groupBox_frid);
lineEdit_Frid_1->setObjectName(QString::fromUtf8("lineEdit_Frid_1"));
horizontalLayout_3->addWidget(lineEdit_Frid_1);
verticalLayout->addLayout(horizontalLayout_3);
horizontalLayout_4 = new QHBoxLayout();
horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
label_3 = new QLabel(groupBox_frid);
label_3->setObjectName(QString::fromUtf8("label_3"));
horizontalLayout_4->addWidget(label_3);
lineEdit_Frid_2 = new QLineEdit(groupBox_frid);
lineEdit_Frid_2->setObjectName(QString::fromUtf8("lineEdit_Frid_2"));
horizontalLayout_4->addWidget(lineEdit_Frid_2);
verticalLayout->addLayout(horizontalLayout_4);
horizontalLayout_5 = new QHBoxLayout();
horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5"));
label_4 = new QLabel(groupBox_frid);
label_4->setObjectName(QString::fromUtf8("label_4"));
horizontalLayout_5->addWidget(label_4);
lineEdit_Frid_3 = new QLineEdit(groupBox_frid);
lineEdit_Frid_3->setObjectName(QString::fromUtf8("lineEdit_Frid_3"));
horizontalLayout_5->addWidget(lineEdit_Frid_3);
verticalLayout->addLayout(horizontalLayout_5);
horizontalLayout_6 = new QHBoxLayout();
horizontalLayout_6->setObjectName(QString::fromUtf8("horizontalLayout_6"));
label_5 = new QLabel(groupBox_frid);
label_5->setObjectName(QString::fromUtf8("label_5"));
horizontalLayout_6->addWidget(label_5);
lineEdit_Frid_4 = new QLineEdit(groupBox_frid);
lineEdit_Frid_4->setObjectName(QString::fromUtf8("lineEdit_Frid_4"));
horizontalLayout_6->addWidget(lineEdit_Frid_4);
verticalLayout->addLayout(horizontalLayout_6);
horizontalLayout_7 = new QHBoxLayout();
horizontalLayout_7->setObjectName(QString::fromUtf8("horizontalLayout_7"));
label_6 = new QLabel(groupBox_frid);
label_6->setObjectName(QString::fromUtf8("label_6"));
horizontalLayout_7->addWidget(label_6);
lineEdit_Frid_5 = new QLineEdit(groupBox_frid);
lineEdit_Frid_5->setObjectName(QString::fromUtf8("lineEdit_Frid_5"));
horizontalLayout_7->addWidget(lineEdit_Frid_5);
verticalLayout->addLayout(horizontalLayout_7);
gridLayout_5->addLayout(verticalLayout, 0, 0, 1, 1);
gridLayout_9->addWidget(groupBox_frid, 0, 0, 1, 1);
groupBox_car = new QGroupBox(page_2);
groupBox_car->setObjectName(QString::fromUtf8("groupBox_car"));
gridLayout_10 = new QGridLayout(groupBox_car);
gridLayout_10->setObjectName(QString::fromUtf8("gridLayout_10"));
gridLayout_10->setContentsMargins(-1, 20, -1, -1);
lab_carpic = new QLabel(groupBox_car);
lab_carpic->setObjectName(QString::fromUtf8("lab_carpic"));
lab_carpic->setMaximumSize(QSize(1024, 768));
lab_carpic->setStyleSheet(QString::fromUtf8("background-color: rgb(170, 170, 255);"));
gridLayout_10->addWidget(lab_carpic, 0, 0, 1, 1);
gridLayout_9->addWidget(groupBox_car, 0, 1, 2, 1);
groupBox = new QGroupBox(page_2);
groupBox->setObjectName(QString::fromUtf8("groupBox"));
groupBox->setMaximumSize(QSize(300, 16777215));
gridLayout_6 = new QGridLayout(groupBox);
gridLayout_6->setObjectName(QString::fromUtf8("gridLayout_6"));
verticalLayout_3 = new QVBoxLayout();
verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
pbn_urgent_1 = new QPushButton(groupBox);
pbn_urgent_1->setObjectName(QString::fromUtf8("pbn_urgent_1"));
verticalLayout_3->addWidget(pbn_urgent_1);
pbn_urgent_2 = new QPushButton(groupBox);
pbn_urgent_2->setObjectName(QString::fromUtf8("pbn_urgent_2"));
verticalLayout_3->addWidget(pbn_urgent_2);
pbn_urgent_3 = new QPushButton(groupBox);
pbn_urgent_3->setObjectName(QString::fromUtf8("pbn_urgent_3"));
verticalLayout_3->addWidget(pbn_urgent_3);
pbn_urgent_4 = new QPushButton(groupBox);
pbn_urgent_4->setObjectName(QString::fromUtf8("pbn_urgent_4"));
verticalLayout_3->addWidget(pbn_urgent_4);
pbn_urgent_5 = new QPushButton(groupBox);
pbn_urgent_5->setObjectName(QString::fromUtf8("pbn_urgent_5"));
verticalLayout_3->addWidget(pbn_urgent_5);
pbn_urgent_6 = new QPushButton(groupBox);
pbn_urgent_6->setObjectName(QString::fromUtf8("pbn_urgent_6"));
verticalLayout_3->addWidget(pbn_urgent_6);
gridLayout_6->addLayout(verticalLayout_3, 0, 0, 1, 1);
gridLayout_9->addWidget(groupBox, 0, 2, 1, 1);
groupBox_scan = new QGroupBox(page_2);
groupBox_scan->setObjectName(QString::fromUtf8("groupBox_scan"));
groupBox_scan->setMaximumSize(QSize(300, 16777215));
gridLayout_7 = new QGridLayout(groupBox_scan);
gridLayout_7->setObjectName(QString::fromUtf8("gridLayout_7"));
verticalLayout_2 = new QVBoxLayout();
verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
horizontalLayout_8 = new QHBoxLayout();
horizontalLayout_8->setObjectName(QString::fromUtf8("horizontalLayout_8"));
label_7 = new QLabel(groupBox_scan);
label_7->setObjectName(QString::fromUtf8("label_7"));
horizontalLayout_8->addWidget(label_7);
lineEdit_Code_1 = new QLineEdit(groupBox_scan);
lineEdit_Code_1->setObjectName(QString::fromUtf8("lineEdit_Code_1"));
horizontalLayout_8->addWidget(lineEdit_Code_1);
verticalLayout_2->addLayout(horizontalLayout_8);
horizontalLayout_9 = new QHBoxLayout();
horizontalLayout_9->setObjectName(QString::fromUtf8("horizontalLayout_9"));
label_8 = new QLabel(groupBox_scan);
label_8->setObjectName(QString::fromUtf8("label_8"));
horizontalLayout_9->addWidget(label_8);
lineEdit_Code_2 = new QLineEdit(groupBox_scan);
lineEdit_Code_2->setObjectName(QString::fromUtf8("lineEdit_Code_2"));
horizontalLayout_9->addWidget(lineEdit_Code_2);
verticalLayout_2->addLayout(horizontalLayout_9);
horizontalLayout_10 = new QHBoxLayout();
horizontalLayout_10->setObjectName(QString::fromUtf8("horizontalLayout_10"));
label_9 = new QLabel(groupBox_scan);
label_9->setObjectName(QString::fromUtf8("label_9"));
horizontalLayout_10->addWidget(label_9);
lineEdit_Code_3 = new QLineEdit(groupBox_scan);
lineEdit_Code_3->setObjectName(QString::fromUtf8("lineEdit_Code_3"));
horizontalLayout_10->addWidget(lineEdit_Code_3);
verticalLayout_2->addLayout(horizontalLayout_10);
horizontalLayout_11 = new QHBoxLayout();
horizontalLayout_11->setObjectName(QString::fromUtf8("horizontalLayout_11"));
label_10 = new QLabel(groupBox_scan);
label_10->setObjectName(QString::fromUtf8("label_10"));
horizontalLayout_11->addWidget(label_10);
lineEdit_Code_4 = new QLineEdit(groupBox_scan);
lineEdit_Code_4->setObjectName(QString::fromUtf8("lineEdit_Code_4"));
horizontalLayout_11->addWidget(lineEdit_Code_4);
verticalLayout_2->addLayout(horizontalLayout_11);
horizontalLayout_12 = new QHBoxLayout();
horizontalLayout_12->setObjectName(QString::fromUtf8("horizontalLayout_12"));
label_11 = new QLabel(groupBox_scan);
label_11->setObjectName(QString::fromUtf8("label_11"));
horizontalLayout_12->addWidget(label_11);
lineEdit_Code_5 = new QLineEdit(groupBox_scan);
lineEdit_Code_5->setObjectName(QString::fromUtf8("lineEdit_Code_5"));
horizontalLayout_12->addWidget(lineEdit_Code_5);
verticalLayout_2->addLayout(horizontalLayout_12);
gridLayout_7->addLayout(verticalLayout_2, 0, 0, 1, 1);
gridLayout_9->addWidget(groupBox_scan, 1, 0, 1, 1);
groupBox_2 = new QGroupBox(page_2);
groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
groupBox_2->setMaximumSize(QSize(300, 16777215));
gridLayout_8 = new QGridLayout(groupBox_2);
gridLayout_8->setObjectName(QString::fromUtf8("gridLayout_8"));
horizontalLayout_13 = new QHBoxLayout();
horizontalLayout_13->setObjectName(QString::fromUtf8("horizontalLayout_13"));
label_12 = new QLabel(groupBox_2);
label_12->setObjectName(QString::fromUtf8("label_12"));
horizontalLayout_13->addWidget(label_12);
spinBox_VehTotal = new QSpinBox(groupBox_2);
spinBox_VehTotal->setObjectName(QString::fromUtf8("spinBox_VehTotal"));
horizontalLayout_13->addWidget(spinBox_VehTotal);
pbn_setVehTotal = new QPushButton(groupBox_2);
pbn_setVehTotal->setObjectName(QString::fromUtf8("pbn_setVehTotal"));
horizontalLayout_13->addWidget(pbn_setVehTotal);
gridLayout_8->addLayout(horizontalLayout_13, 0, 0, 1, 1);
horizontalLayout_14 = new QHBoxLayout();
horizontalLayout_14->setObjectName(QString::fromUtf8("horizontalLayout_14"));
label_13 = new QLabel(groupBox_2);
label_13->setObjectName(QString::fromUtf8("label_13"));
horizontalLayout_14->addWidget(label_13);
lcdNumber = new QLCDNumber(groupBox_2);
lcdNumber->setObjectName(QString::fromUtf8("lcdNumber"));
lcdNumber->setMaximumSize(QSize(100, 100));
horizontalLayout_14->addWidget(lcdNumber);
gridLayout_8->addLayout(horizontalLayout_14, 1, 0, 1, 1);
gridLayout_9->addWidget(groupBox_2, 1, 2, 1, 1);
stackedWidget->addWidget(page_2);
page_3 = new QWidget();
page_3->setObjectName(QString::fromUtf8("page_3"));
gridLayout_13 = new QGridLayout(page_3);
gridLayout_13->setObjectName(QString::fromUtf8("gridLayout_13"));
groupBox_4 = new QGroupBox(page_3);
groupBox_4->setObjectName(QString::fromUtf8("groupBox_4"));
gridLayout_12 = new QGridLayout(groupBox_4);
gridLayout_12->setObjectName(QString::fromUtf8("gridLayout_12"));
gridLayout_12->setContentsMargins(-1, 20, -1, -1);
label_2 = new QLabel(groupBox_4);
label_2->setObjectName(QString::fromUtf8("label_2"));
gridLayout_12->addWidget(label_2, 0, 0, 1, 1);
gridLayout_13->addWidget(groupBox_4, 0, 0, 1, 1);
groupBox_3 = new QGroupBox(page_3);
groupBox_3->setObjectName(QString::fromUtf8("groupBox_3"));
groupBox_3->setMaximumSize(QSize(200, 16777215));
gridLayout_11 = new QGridLayout(groupBox_3);
gridLayout_11->setObjectName(QString::fromUtf8("gridLayout_11"));
verticalLayout_4 = new QVBoxLayout();
verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
pushButton = new QPushButton(groupBox_3);
pushButton->setObjectName(QString::fromUtf8("pushButton"));
verticalLayout_4->addWidget(pushButton);
pushButton_2 = new QPushButton(groupBox_3);
pushButton_2->setObjectName(QString::fromUtf8("pushButton_2"));
verticalLayout_4->addWidget(pushButton_2);
gridLayout_11->addLayout(verticalLayout_4, 0, 0, 1, 1);
gridLayout_13->addWidget(groupBox_3, 0, 1, 1, 1);
stackedWidget->addWidget(page_3);
page_4 = new QWidget();
page_4->setObjectName(QString::fromUtf8("page_4"));
gridLayout_16 = new QGridLayout(page_4);
gridLayout_16->setObjectName(QString::fromUtf8("gridLayout_16"));
verticalLayout_5 = new QVBoxLayout();
verticalLayout_5->setObjectName(QString::fromUtf8("verticalLayout_5"));
verticalSpacer_2 = new QSpacerItem(17, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
verticalLayout_5->addItem(verticalSpacer_2);
horizontalLayout_16 = new QHBoxLayout();
horizontalLayout_16->setObjectName(QString::fromUtf8("horizontalLayout_16"));
horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_16->addItem(horizontalSpacer_3);
widget = new QWidget(page_4);
widget->setObjectName(QString::fromUtf8("widget"));
widget->setMaximumSize(QSize(250, 16777215));
gridLayout_14 = new QGridLayout(widget);
gridLayout_14->setObjectName(QString::fromUtf8("gridLayout_14"));
horizontalLayout_15 = new QHBoxLayout();
horizontalLayout_15->setObjectName(QString::fromUtf8("horizontalLayout_15"));
label_14 = new QLabel(widget);
label_14->setObjectName(QString::fromUtf8("label_14"));
label_14->setMaximumSize(QSize(100, 16777215));
horizontalLayout_15->addWidget(label_14);
lineEdit_adminPwd = new QLineEdit(widget);
lineEdit_adminPwd->setObjectName(QString::fromUtf8("lineEdit_adminPwd"));
lineEdit_adminPwd->setMaximumSize(QSize(150, 16777215));
lineEdit_adminPwd->setEchoMode(QLineEdit::PasswordEchoOnEdit);
horizontalLayout_15->addWidget(lineEdit_adminPwd);
gridLayout_14->addLayout(horizontalLayout_15, 0, 0, 1, 1);
pbn_ToSetting = new QPushButton(widget);
pbn_ToSetting->setObjectName(QString::fromUtf8("pbn_ToSetting"));
pbn_ToSetting->setMaximumSize(QSize(250, 16777215));
gridLayout_14->addWidget(pbn_ToSetting, 1, 0, 1, 1);
horizontalLayout_16->addWidget(widget);
horizontalSpacer_4 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_16->addItem(horizontalSpacer_4);
verticalLayout_5->addLayout(horizontalLayout_16);
verticalSpacer = new QSpacerItem(17, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
verticalLayout_5->addItem(verticalSpacer);
gridLayout_16->addLayout(verticalLayout_5, 0, 0, 1, 1);
stackedWidget->addWidget(page_4);
page_5 = new QWidget();
page_5->setObjectName(QString::fromUtf8("page_5"));
gridLayout_15 = new QGridLayout(page_5);
gridLayout_15->setObjectName(QString::fromUtf8("gridLayout_15"));
tabWidget = new QTabWidget(page_5);
tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
tab_1 = new QWidget();
tab_1->setObjectName(QString::fromUtf8("tab_1"));
gridLayout_18 = new QGridLayout(tab_1);
gridLayout_18->setObjectName(QString::fromUtf8("gridLayout_18"));
tableWidget = new QTableWidget(tab_1);
if (tableWidget->columnCount() < 6)
tableWidget->setColumnCount(6);
QTableWidgetItem *__qtablewidgetitem = new QTableWidgetItem();
tableWidget->setHorizontalHeaderItem(0, __qtablewidgetitem);
QTableWidgetItem *__qtablewidgetitem1 = new QTableWidgetItem();
tableWidget->setHorizontalHeaderItem(1, __qtablewidgetitem1);
QTableWidgetItem *__qtablewidgetitem2 = new QTableWidgetItem();
tableWidget->setHorizontalHeaderItem(2, __qtablewidgetitem2);
QTableWidgetItem *__qtablewidgetitem3 = new QTableWidgetItem();
tableWidget->setHorizontalHeaderItem(3, __qtablewidgetitem3);
QTableWidgetItem *__qtablewidgetitem4 = new QTableWidgetItem();
tableWidget->setHorizontalHeaderItem(4, __qtablewidgetitem4);
QTableWidgetItem *__qtablewidgetitem5 = new QTableWidgetItem();
tableWidget->setHorizontalHeaderItem(5, __qtablewidgetitem5);
if (tableWidget->rowCount() < 2)
tableWidget->setRowCount(2);
QTableWidgetItem *__qtablewidgetitem6 = new QTableWidgetItem();
tableWidget->setVerticalHeaderItem(0, __qtablewidgetitem6);
QTableWidgetItem *__qtablewidgetitem7 = new QTableWidgetItem();
tableWidget->setVerticalHeaderItem(1, __qtablewidgetitem7);
tableWidget->setObjectName(QString::fromUtf8("tableWidget"));
gridLayout_18->addWidget(tableWidget, 0, 0, 1, 1);
groupBox_5 = new QGroupBox(tab_1);
groupBox_5->setObjectName(QString::fromUtf8("groupBox_5"));
groupBox_5->setMaximumSize(QSize(300, 16777215));
gridLayout_17 = new QGridLayout(groupBox_5);
gridLayout_17->setObjectName(QString::fromUtf8("gridLayout_17"));
verticalLayout_7 = new QVBoxLayout();
verticalLayout_7->setObjectName(QString::fromUtf8("verticalLayout_7"));
verticalSpacer_4 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
verticalLayout_7->addItem(verticalSpacer_4);
verticalLayout_6 = new QVBoxLayout();
verticalLayout_6->setObjectName(QString::fromUtf8("verticalLayout_6"));
label_15 = new QLabel(groupBox_5);
label_15->setObjectName(QString::fromUtf8("label_15"));
verticalLayout_6->addWidget(label_15);
lineEdit_carPlnum = new QLineEdit(groupBox_5);
lineEdit_carPlnum->setObjectName(QString::fromUtf8("lineEdit_carPlnum"));
verticalLayout_6->addWidget(lineEdit_carPlnum);
pbn_selectVeh = new QPushButton(groupBox_5);
pbn_selectVeh->setObjectName(QString::fromUtf8("pbn_selectVeh"));
verticalLayout_6->addWidget(pbn_selectVeh);
verticalLayout_7->addLayout(verticalLayout_6);
pbn_setVehLimit = new QPushButton(groupBox_5);
pbn_setVehLimit->setObjectName(QString::fromUtf8("pbn_setVehLimit"));
verticalLayout_7->addWidget(pbn_setVehLimit);
verticalSpacer_3 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
verticalLayout_7->addItem(verticalSpacer_3);
gridLayout_17->addLayout(verticalLayout_7, 0, 0, 1, 1);
gridLayout_18->addWidget(groupBox_5, 0, 1, 1, 1);
tabWidget->addTab(tab_1, QString());
tab_2 = new QWidget();
tab_2->setObjectName(QString::fromUtf8("tab_2"));
tabWidget->addTab(tab_2, QString());
tab_3 = new QWidget();
tab_3->setObjectName(QString::fromUtf8("tab_3"));
tabWidget->addTab(tab_3, QString());
tab_4 = new QWidget();
tab_4->setObjectName(QString::fromUtf8("tab_4"));
tabWidget->addTab(tab_4, QString());
tab_5 = new QWidget();
tab_5->setObjectName(QString::fromUtf8("tab_5"));
tabWidget->addTab(tab_5, QString());
tab_6 = new QWidget();
tab_6->setObjectName(QString::fromUtf8("tab_6"));
tabWidget->addTab(tab_6, QString());
tab_7 = new QWidget();
tab_7->setObjectName(QString::fromUtf8("tab_7"));
tabWidget->addTab(tab_7, QString());
tab_8 = new QWidget();
tab_8->setObjectName(QString::fromUtf8("tab_8"));
tabWidget->addTab(tab_8, QString());
gridLayout_15->addWidget(tabWidget, 0, 0, 1, 1);
stackedWidget->addWidget(page_5);
page_6 = new QWidget();
page_6->setObjectName(QString::fromUtf8("page_6"));
gridLayout_19 = new QGridLayout(page_6);
gridLayout_19->setObjectName(QString::fromUtf8("gridLayout_19"));
groupBox_6 = new QGroupBox(page_6);
groupBox_6->setObjectName(QString::fromUtf8("groupBox_6"));
gridLayout_20 = new QGridLayout(groupBox_6);
gridLayout_20->setObjectName(QString::fromUtf8("gridLayout_20"));
verticalLayout_9 = new QVBoxLayout();
verticalLayout_9->setObjectName(QString::fromUtf8("verticalLayout_9"));
horizontalLayout_20 = new QHBoxLayout();
horizontalLayout_20->setObjectName(QString::fromUtf8("horizontalLayout_20"));
horizontalSpacer_5 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_20->addItem(horizontalSpacer_5);
verticalLayout_8 = new QVBoxLayout();
verticalLayout_8->setObjectName(QString::fromUtf8("verticalLayout_8"));
horizontalLayout_17 = new QHBoxLayout();
horizontalLayout_17->setObjectName(QString::fromUtf8("horizontalLayout_17"));
label_16 = new QLabel(groupBox_6);
label_16->setObjectName(QString::fromUtf8("label_16"));
horizontalLayout_17->addWidget(label_16);
comboBox_serialNameRfid = new QComboBox(groupBox_6);
comboBox_serialNameRfid->setObjectName(QString::fromUtf8("comboBox_serialNameRfid"));
horizontalLayout_17->addWidget(comboBox_serialNameRfid);
verticalLayout_8->addLayout(horizontalLayout_17);
horizontalLayout_19 = new QHBoxLayout();
horizontalLayout_19->setObjectName(QString::fromUtf8("horizontalLayout_19"));
label_18 = new QLabel(groupBox_6);
label_18->setObjectName(QString::fromUtf8("label_18"));
horizontalLayout_19->addWidget(label_18);
comboBox_serialBaudRfid = new QComboBox(groupBox_6);
comboBox_serialBaudRfid->setObjectName(QString::fromUtf8("comboBox_serialBaudRfid"));
horizontalLayout_19->addWidget(comboBox_serialBaudRfid);
verticalLayout_8->addLayout(horizontalLayout_19);
pbn_Setting_1 = new QPushButton(groupBox_6);
pbn_Setting_1->setObjectName(QString::fromUtf8("pbn_Setting_1"));
verticalLayout_8->addWidget(pbn_Setting_1);
horizontalLayout_20->addLayout(verticalLayout_8);
horizontalSpacer_6 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_20->addItem(horizontalSpacer_6);
verticalLayout_9->addLayout(horizontalLayout_20);
gridLayout_20->addLayout(verticalLayout_9, 0, 0, 1, 1);
gridLayout_19->addWidget(groupBox_6, 0, 0, 1, 1);
groupBox_9 = new QGroupBox(page_6);
groupBox_9->setObjectName(QString::fromUtf8("groupBox_9"));
gridLayout_21 = new QGridLayout(groupBox_9);
gridLayout_21->setObjectName(QString::fromUtf8("gridLayout_21"));
horizontalLayout_21 = new QHBoxLayout();
horizontalLayout_21->setObjectName(QString::fromUtf8("horizontalLayout_21"));
horizontalSpacer_7 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_21->addItem(horizontalSpacer_7);
verticalLayout_10 = new QVBoxLayout();
verticalLayout_10->setObjectName(QString::fromUtf8("verticalLayout_10"));
horizontalLayout_22 = new QHBoxLayout();
horizontalLayout_22->setObjectName(QString::fromUtf8("horizontalLayout_22"));
label_19 = new QLabel(groupBox_9);
label_19->setObjectName(QString::fromUtf8("label_19"));
horizontalLayout_22->addWidget(label_19);
comboBox_serialNameCode = new QComboBox(groupBox_9);
comboBox_serialNameCode->setObjectName(QString::fromUtf8("comboBox_serialNameCode"));
comboBox_serialNameCode->setStyleSheet(QString::fromUtf8(""));
horizontalLayout_22->addWidget(comboBox_serialNameCode);
verticalLayout_10->addLayout(horizontalLayout_22);
horizontalLayout_23 = new QHBoxLayout();
horizontalLayout_23->setObjectName(QString::fromUtf8("horizontalLayout_23"));
label_20 = new QLabel(groupBox_9);
label_20->setObjectName(QString::fromUtf8("label_20"));
horizontalLayout_23->addWidget(label_20);
comboBox_serialBaudCode = new QComboBox(groupBox_9);
comboBox_serialBaudCode->setObjectName(QString::fromUtf8("comboBox_serialBaudCode"));
horizontalLayout_23->addWidget(comboBox_serialBaudCode);
verticalLayout_10->addLayout(horizontalLayout_23);
pbn_Setting_2 = new QPushButton(groupBox_9);
pbn_Setting_2->setObjectName(QString::fromUtf8("pbn_Setting_2"));
verticalLayout_10->addWidget(pbn_Setting_2);
horizontalLayout_21->addLayout(verticalLayout_10);
horizontalSpacer_8 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_21->addItem(horizontalSpacer_8);
gridLayout_21->addLayout(horizontalLayout_21, 0, 0, 1, 1);
gridLayout_19->addWidget(groupBox_9, 0, 1, 1, 1);
groupBox_12 = new QGroupBox(page_6);
groupBox_12->setObjectName(QString::fromUtf8("groupBox_12"));
gridLayout_22 = new QGridLayout(groupBox_12);
gridLayout_22->setObjectName(QString::fromUtf8("gridLayout_22"));
horizontalLayout_24 = new QHBoxLayout();
horizontalLayout_24->setObjectName(QString::fromUtf8("horizontalLayout_24"));
horizontalSpacer_9 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_24->addItem(horizontalSpacer_9);
verticalLayout_11 = new QVBoxLayout();
verticalLayout_11->setObjectName(QString::fromUtf8("verticalLayout_11"));
horizontalLayout_25 = new QHBoxLayout();
horizontalLayout_25->setObjectName(QString::fromUtf8("horizontalLayout_25"));
label_21 = new QLabel(groupBox_12);
label_21->setObjectName(QString::fromUtf8("label_21"));
horizontalLayout_25->addWidget(label_21);
comboBox_5 = new QComboBox(groupBox_12);
comboBox_5->setObjectName(QString::fromUtf8("comboBox_5"));
horizontalLayout_25->addWidget(comboBox_5);
verticalLayout_11->addLayout(horizontalLayout_25);
horizontalLayout_26 = new QHBoxLayout();
horizontalLayout_26->setObjectName(QString::fromUtf8("horizontalLayout_26"));
label_22 = new QLabel(groupBox_12);
label_22->setObjectName(QString::fromUtf8("label_22"));
horizontalLayout_26->addWidget(label_22);
comboBox_6 = new QComboBox(groupBox_12);
comboBox_6->setObjectName(QString::fromUtf8("comboBox_6"));
horizontalLayout_26->addWidget(comboBox_6);
verticalLayout_11->addLayout(horizontalLayout_26);
pbn_Setting_3 = new QPushButton(groupBox_12);
pbn_Setting_3->setObjectName(QString::fromUtf8("pbn_Setting_3"));
verticalLayout_11->addWidget(pbn_Setting_3);
horizontalLayout_24->addLayout(verticalLayout_11);
horizontalSpacer_10 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_24->addItem(horizontalSpacer_10);
gridLayout_22->addLayout(horizontalLayout_24, 0, 0, 1, 1);
gridLayout_19->addWidget(groupBox_12, 0, 2, 1, 1);
groupBox_7 = new QGroupBox(page_6);
groupBox_7->setObjectName(QString::fromUtf8("groupBox_7"));
gridLayout_23 = new QGridLayout(groupBox_7);
gridLayout_23->setObjectName(QString::fromUtf8("gridLayout_23"));
horizontalLayout_27 = new QHBoxLayout();
horizontalLayout_27->setObjectName(QString::fromUtf8("horizontalLayout_27"));
horizontalSpacer_11 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_27->addItem(horizontalSpacer_11);
verticalLayout_12 = new QVBoxLayout();
verticalLayout_12->setObjectName(QString::fromUtf8("verticalLayout_12"));
horizontalLayout_28 = new QHBoxLayout();
horizontalLayout_28->setObjectName(QString::fromUtf8("horizontalLayout_28"));
label_23 = new QLabel(groupBox_7);
label_23->setObjectName(QString::fromUtf8("label_23"));
horizontalLayout_28->addWidget(label_23);
comboBox_7 = new QComboBox(groupBox_7);
comboBox_7->setObjectName(QString::fromUtf8("comboBox_7"));
horizontalLayout_28->addWidget(comboBox_7);
verticalLayout_12->addLayout(horizontalLayout_28);
horizontalLayout_29 = new QHBoxLayout();
horizontalLayout_29->setObjectName(QString::fromUtf8("horizontalLayout_29"));
label_24 = new QLabel(groupBox_7);
label_24->setObjectName(QString::fromUtf8("label_24"));
horizontalLayout_29->addWidget(label_24);
comboBox_8 = new QComboBox(groupBox_7);
comboBox_8->setObjectName(QString::fromUtf8("comboBox_8"));
horizontalLayout_29->addWidget(comboBox_8);
verticalLayout_12->addLayout(horizontalLayout_29);
pbn_Setting_4 = new QPushButton(groupBox_7);
pbn_Setting_4->setObjectName(QString::fromUtf8("pbn_Setting_4"));
verticalLayout_12->addWidget(pbn_Setting_4);
horizontalLayout_27->addLayout(verticalLayout_12);
horizontalSpacer_12 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_27->addItem(horizontalSpacer_12);
gridLayout_23->addLayout(horizontalLayout_27, 0, 0, 1, 1);
gridLayout_19->addWidget(groupBox_7, 1, 0, 1, 1);
groupBox_10 = new QGroupBox(page_6);
groupBox_10->setObjectName(QString::fromUtf8("groupBox_10"));
gridLayout_24 = new QGridLayout(groupBox_10);
gridLayout_24->setObjectName(QString::fromUtf8("gridLayout_24"));
horizontalLayout_30 = new QHBoxLayout();
horizontalLayout_30->setObjectName(QString::fromUtf8("horizontalLayout_30"));
horizontalSpacer_13 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_30->addItem(horizontalSpacer_13);
verticalLayout_13 = new QVBoxLayout();
verticalLayout_13->setObjectName(QString::fromUtf8("verticalLayout_13"));
horizontalLayout_31 = new QHBoxLayout();
horizontalLayout_31->setObjectName(QString::fromUtf8("horizontalLayout_31"));
label_25 = new QLabel(groupBox_10);
label_25->setObjectName(QString::fromUtf8("label_25"));
horizontalLayout_31->addWidget(label_25);
comboBox_9 = new QComboBox(groupBox_10);
comboBox_9->setObjectName(QString::fromUtf8("comboBox_9"));
horizontalLayout_31->addWidget(comboBox_9);
verticalLayout_13->addLayout(horizontalLayout_31);
horizontalLayout_32 = new QHBoxLayout();
horizontalLayout_32->setObjectName(QString::fromUtf8("horizontalLayout_32"));
label_26 = new QLabel(groupBox_10);
label_26->setObjectName(QString::fromUtf8("label_26"));
horizontalLayout_32->addWidget(label_26);
comboBox_10 = new QComboBox(groupBox_10);
comboBox_10->setObjectName(QString::fromUtf8("comboBox_10"));
horizontalLayout_32->addWidget(comboBox_10);
verticalLayout_13->addLayout(horizontalLayout_32);
pbn_Setting_5 = new QPushButton(groupBox_10);
pbn_Setting_5->setObjectName(QString::fromUtf8("pbn_Setting_5"));
verticalLayout_13->addWidget(pbn_Setting_5);
horizontalLayout_30->addLayout(verticalLayout_13);
horizontalSpacer_14 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_30->addItem(horizontalSpacer_14);
gridLayout_24->addLayout(horizontalLayout_30, 0, 0, 1, 1);
gridLayout_19->addWidget(groupBox_10, 1, 1, 1, 1);
groupBox_13 = new QGroupBox(page_6);
groupBox_13->setObjectName(QString::fromUtf8("groupBox_13"));
gridLayout_25 = new QGridLayout(groupBox_13);
gridLayout_25->setObjectName(QString::fromUtf8("gridLayout_25"));
horizontalLayout_33 = new QHBoxLayout();
horizontalLayout_33->setObjectName(QString::fromUtf8("horizontalLayout_33"));
horizontalSpacer_15 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_33->addItem(horizontalSpacer_15);
verticalLayout_14 = new QVBoxLayout();
verticalLayout_14->setObjectName(QString::fromUtf8("verticalLayout_14"));
horizontalLayout_34 = new QHBoxLayout();
horizontalLayout_34->setObjectName(QString::fromUtf8("horizontalLayout_34"));
label_27 = new QLabel(groupBox_13);
label_27->setObjectName(QString::fromUtf8("label_27"));
horizontalLayout_34->addWidget(label_27);
comboBox_11 = new QComboBox(groupBox_13);
comboBox_11->setObjectName(QString::fromUtf8("comboBox_11"));
horizontalLayout_34->addWidget(comboBox_11);
verticalLayout_14->addLayout(horizontalLayout_34);
horizontalLayout_35 = new QHBoxLayout();
horizontalLayout_35->setObjectName(QString::fromUtf8("horizontalLayout_35"));
label_28 = new QLabel(groupBox_13);
label_28->setObjectName(QString::fromUtf8("label_28"));
horizontalLayout_35->addWidget(label_28);
comboBox_12 = new QComboBox(groupBox_13);
comboBox_12->setObjectName(QString::fromUtf8("comboBox_12"));
horizontalLayout_35->addWidget(comboBox_12);
verticalLayout_14->addLayout(horizontalLayout_35);
pbn_Setting_6 = new QPushButton(groupBox_13);
pbn_Setting_6->setObjectName(QString::fromUtf8("pbn_Setting_6"));
verticalLayout_14->addWidget(pbn_Setting_6);
horizontalLayout_33->addLayout(verticalLayout_14);
horizontalSpacer_16 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_33->addItem(horizontalSpacer_16);
gridLayout_25->addLayout(horizontalLayout_33, 0, 0, 1, 1);
gridLayout_19->addWidget(groupBox_13, 1, 2, 1, 1);
groupBox_8 = new QGroupBox(page_6);
groupBox_8->setObjectName(QString::fromUtf8("groupBox_8"));
gridLayout_26 = new QGridLayout(groupBox_8);
gridLayout_26->setObjectName(QString::fromUtf8("gridLayout_26"));
horizontalLayout_36 = new QHBoxLayout();
horizontalLayout_36->setObjectName(QString::fromUtf8("horizontalLayout_36"));
horizontalSpacer_17 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_36->addItem(horizontalSpacer_17);
verticalLayout_15 = new QVBoxLayout();
verticalLayout_15->setObjectName(QString::fromUtf8("verticalLayout_15"));
horizontalLayout_37 = new QHBoxLayout();
horizontalLayout_37->setObjectName(QString::fromUtf8("horizontalLayout_37"));
label_29 = new QLabel(groupBox_8);
label_29->setObjectName(QString::fromUtf8("label_29"));
horizontalLayout_37->addWidget(label_29);
comboBox_13 = new QComboBox(groupBox_8);
comboBox_13->setObjectName(QString::fromUtf8("comboBox_13"));
horizontalLayout_37->addWidget(comboBox_13);
verticalLayout_15->addLayout(horizontalLayout_37);
horizontalLayout_38 = new QHBoxLayout();
horizontalLayout_38->setObjectName(QString::fromUtf8("horizontalLayout_38"));
label_30 = new QLabel(groupBox_8);
label_30->setObjectName(QString::fromUtf8("label_30"));
horizontalLayout_38->addWidget(label_30);
comboBox_14 = new QComboBox(groupBox_8);
comboBox_14->setObjectName(QString::fromUtf8("comboBox_14"));
horizontalLayout_38->addWidget(comboBox_14);
verticalLayout_15->addLayout(horizontalLayout_38);
pbn_Setting_7 = new QPushButton(groupBox_8);
pbn_Setting_7->setObjectName(QString::fromUtf8("pbn_Setting_7"));
verticalLayout_15->addWidget(pbn_Setting_7);
horizontalLayout_36->addLayout(verticalLayout_15);
horizontalSpacer_18 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_36->addItem(horizontalSpacer_18);
gridLayout_26->addLayout(horizontalLayout_36, 0, 0, 1, 1);
gridLayout_19->addWidget(groupBox_8, 2, 0, 1, 1);
groupBox_11 = new QGroupBox(page_6);
groupBox_11->setObjectName(QString::fromUtf8("groupBox_11"));
gridLayout_27 = new QGridLayout(groupBox_11);
gridLayout_27->setObjectName(QString::fromUtf8("gridLayout_27"));
horizontalLayout_39 = new QHBoxLayout();
horizontalLayout_39->setObjectName(QString::fromUtf8("horizontalLayout_39"));
horizontalSpacer_19 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_39->addItem(horizontalSpacer_19);
verticalLayout_16 = new QVBoxLayout();
verticalLayout_16->setObjectName(QString::fromUtf8("verticalLayout_16"));
horizontalLayout_40 = new QHBoxLayout();
horizontalLayout_40->setObjectName(QString::fromUtf8("horizontalLayout_40"));
label_31 = new QLabel(groupBox_11);
label_31->setObjectName(QString::fromUtf8("label_31"));
horizontalLayout_40->addWidget(label_31);
comboBox_15 = new QComboBox(groupBox_11);
comboBox_15->setObjectName(QString::fromUtf8("comboBox_15"));
horizontalLayout_40->addWidget(comboBox_15);
verticalLayout_16->addLayout(horizontalLayout_40);
horizontalLayout_41 = new QHBoxLayout();
horizontalLayout_41->setObjectName(QString::fromUtf8("horizontalLayout_41"));
label_32 = new QLabel(groupBox_11);
label_32->setObjectName(QString::fromUtf8("label_32"));
horizontalLayout_41->addWidget(label_32);
comboBox_16 = new QComboBox(groupBox_11);
comboBox_16->setObjectName(QString::fromUtf8("comboBox_16"));
horizontalLayout_41->addWidget(comboBox_16);
verticalLayout_16->addLayout(horizontalLayout_41);
pbn_Setting_8 = new QPushButton(groupBox_11);
pbn_Setting_8->setObjectName(QString::fromUtf8("pbn_Setting_8"));
verticalLayout_16->addWidget(pbn_Setting_8);
horizontalLayout_39->addLayout(verticalLayout_16);
horizontalSpacer_20 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_39->addItem(horizontalSpacer_20);
gridLayout_27->addLayout(horizontalLayout_39, 0, 0, 1, 1);
gridLayout_19->addWidget(groupBox_11, 2, 1, 1, 1);
groupBox_14 = new QGroupBox(page_6);
groupBox_14->setObjectName(QString::fromUtf8("groupBox_14"));
gridLayout_28 = new QGridLayout(groupBox_14);
gridLayout_28->setObjectName(QString::fromUtf8("gridLayout_28"));
horizontalLayout_45 = new QHBoxLayout();
horizontalLayout_45->setObjectName(QString::fromUtf8("horizontalLayout_45"));
horizontalSpacer_23 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_45->addItem(horizontalSpacer_23);
verticalLayout_17 = new QVBoxLayout();
verticalLayout_17->setObjectName(QString::fromUtf8("verticalLayout_17"));
horizontalLayout_43 = new QHBoxLayout();
horizontalLayout_43->setObjectName(QString::fromUtf8("horizontalLayout_43"));
rbn_logKeep_1 = new QRadioButton(groupBox_14);
rbn_logKeep_1->setObjectName(QString::fromUtf8("rbn_logKeep_1"));
horizontalLayout_43->addWidget(rbn_logKeep_1);
rbn_logKeep_2 = new QRadioButton(groupBox_14);
rbn_logKeep_2->setObjectName(QString::fromUtf8("rbn_logKeep_2"));
horizontalLayout_43->addWidget(rbn_logKeep_2);
horizontalLayout_42 = new QHBoxLayout();
horizontalLayout_42->setObjectName(QString::fromUtf8("horizontalLayout_42"));
rbn_logKeep_3 = new QRadioButton(groupBox_14);
rbn_logKeep_3->setObjectName(QString::fromUtf8("rbn_logKeep_3"));
horizontalLayout_42->addWidget(rbn_logKeep_3);
spinBox_logKeepDays = new QSpinBox(groupBox_14);
spinBox_logKeepDays->setObjectName(QString::fromUtf8("spinBox_logKeepDays"));
horizontalLayout_42->addWidget(spinBox_logKeepDays);
label_34 = new QLabel(groupBox_14);
label_34->setObjectName(QString::fromUtf8("label_34"));
horizontalLayout_42->addWidget(label_34);
horizontalLayout_43->addLayout(horizontalLayout_42);
verticalLayout_17->addLayout(horizontalLayout_43);
horizontalLayout_44 = new QHBoxLayout();
horizontalLayout_44->setObjectName(QString::fromUtf8("horizontalLayout_44"));
pushButton_11 = new QPushButton(groupBox_14);
pushButton_11->setObjectName(QString::fromUtf8("pushButton_11"));
horizontalLayout_44->addWidget(pushButton_11);
verticalLayout_17->addLayout(horizontalLayout_44);
horizontalLayout_45->addLayout(verticalLayout_17);
horizontalSpacer_24 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_45->addItem(horizontalSpacer_24);
gridLayout_28->addLayout(horizontalLayout_45, 0, 0, 1, 1);
gridLayout_19->addWidget(groupBox_14, 2, 2, 1, 1);
stackedWidget->addWidget(page_6);
gridLayout_4->addWidget(stackedWidget, 2, 1, 1, 1);
gridLayout->addWidget(widget_main, 0, 0, 1, 1);
MainWindow->setCentralWidget(centralwidget);
menubar = new QMenuBar(MainWindow);
menubar->setObjectName(QString::fromUtf8("menubar"));
menubar->setGeometry(QRect(0, 0, 1190, 23));
MainWindow->setMenuBar(menubar);
statusbar = new QStatusBar(MainWindow);
statusbar->setObjectName(QString::fromUtf8("statusbar"));
MainWindow->setStatusBar(statusbar);
retranslateUi(MainWindow);
stackedWidget->setCurrentIndex(1);
tabWidget->setCurrentIndex(0);
QMetaObject::connectSlotsByName(MainWindow);
} // setupUi
void retranslateUi(QMainWindow *MainWindow)
{
MainWindow->setWindowTitle(QCoreApplication::translate("MainWindow", "MainWindow", nullptr));
pbn_navigation_1->setText(QCoreApplication::translate("MainWindow", "\351\227\250\347\246\201\347\256\241\347\220\206", nullptr));
pbn_navigation_2->setText(QCoreApplication::translate("MainWindow", "\347\233\221\346\216\247\347\256\241\347\220\206", nullptr));
pbn_navigation_3->setText(QCoreApplication::translate("MainWindow", "\350\275\257\344\273\266\347\256\241\347\220\206", nullptr));
pbn_navigation_4->setText(QCoreApplication::translate("MainWindow", "\351\200\200\345\207\272", nullptr));
lab_Title->setText(QCoreApplication::translate("MainWindow", "TextLabel", nullptr));
groupBox_frid->setTitle(QCoreApplication::translate("MainWindow", "RFID\350\257\206\345\210\253", nullptr));
label->setText(QCoreApplication::translate("MainWindow", "\350\275\246\350\276\206ID\345\217\267:", nullptr));
label_3->setText(QCoreApplication::translate("MainWindow", "\350\275\246 \347\211\214 \345\217\267:", nullptr));
label_4->setText(QCoreApplication::translate("MainWindow", "\350\275\246\350\276\206\345\217\270\346\234\272:", nullptr));
label_5->setText(QCoreApplication::translate("MainWindow", "\346\230\276\347\244\272\344\277\241\346\201\257_4:", nullptr));
label_6->setText(QCoreApplication::translate("MainWindow", "\350\275\246\347\211\214\350\257\206\345\210\253:", nullptr));
groupBox_car->setTitle(QCoreApplication::translate("MainWindow", "\350\275\246\347\211\214\350\257\206\345\210\253", nullptr));
lab_carpic->setText(QString());
groupBox->setTitle(QCoreApplication::translate("MainWindow", "\345\272\224\346\200\245\346\214\211\351\224\256", nullptr));
pbn_urgent_1->setText(QCoreApplication::translate("MainWindow", "\345\272\224\346\200\245_1", nullptr));
pbn_urgent_2->setText(QCoreApplication::translate("MainWindow", "\345\272\224\346\200\245_2", nullptr));
pbn_urgent_3->setText(QCoreApplication::translate("MainWindow", "\345\272\224\346\200\245_3", nullptr));
pbn_urgent_4->setText(QCoreApplication::translate("MainWindow", "\345\272\224\346\200\245_4", nullptr));
pbn_urgent_5->setText(QCoreApplication::translate("MainWindow", "\345\272\224\346\200\245_5", nullptr));
pbn_urgent_6->setText(QCoreApplication::translate("MainWindow", "\345\272\224\346\200\245_6", nullptr));
groupBox_scan->setTitle(QCoreApplication::translate("MainWindow", "\344\272\214\347\273\264\347\240\201\350\257\206\345\210\253", nullptr));
label_7->setText(QCoreApplication::translate("MainWindow", "\346\230\276\347\244\272\344\277\241\346\201\257_1:", nullptr));
label_8->setText(QCoreApplication::translate("MainWindow", "\346\230\276\347\244\272\344\277\241\346\201\257_1:", nullptr));
label_9->setText(QCoreApplication::translate("MainWindow", "\346\230\276\347\244\272\344\277\241\346\201\257_1:", nullptr));
label_10->setText(QCoreApplication::translate("MainWindow", "\346\230\276\347\244\272\344\277\241\346\201\257_1:", nullptr));
label_11->setText(QCoreApplication::translate("MainWindow", "\346\230\276\347\244\272\344\277\241\346\201\257_1:", nullptr));
groupBox_2->setTitle(QCoreApplication::translate("MainWindow", "\345\216\202\345\214\272\350\275\246\350\276\206\347\256\241\347\220\206", nullptr));
label_12->setText(QCoreApplication::translate("MainWindow", "\350\256\276\347\275\256\345\216\202\345\214\272\346\234\200\345\244\247\350\275\246\350\276\206\346\225\260:", nullptr));
pbn_setVehTotal->setText(QCoreApplication::translate("MainWindow", "\347\241\256\345\256\232", nullptr));
label_13->setText(QCoreApplication::translate("MainWindow", "\345\216\202\345\214\272\345\275\223\345\211\215\350\275\246\350\276\206\346\225\260:", nullptr));
groupBox_4->setTitle(QCoreApplication::translate("MainWindow", "\347\233\221\346\216\247\347\224\273\351\235\242", nullptr));
label_2->setText(QString());
groupBox_3->setTitle(QCoreApplication::translate("MainWindow", "\347\233\221\346\216\247\346\216\247\345\210\266", nullptr));
pushButton->setText(QCoreApplication::translate("MainWindow", "\351\242\204\350\247\210", nullptr));
pushButton_2->setText(QCoreApplication::translate("MainWindow", "\345\205\263\351\227\255", nullptr));
label_14->setText(QCoreApplication::translate("MainWindow", "\347\256\241\347\220\206\345\221\230\345\257\206\347\240\201:", nullptr));
pbn_ToSetting->setText(QCoreApplication::translate("MainWindow", "\347\241\256\345\256\232", nullptr));
QTableWidgetItem *___qtablewidgetitem = tableWidget->horizontalHeaderItem(0);
___qtablewidgetitem->setText(QCoreApplication::translate("MainWindow", "\350\275\246\347\211\214\345\217\267", nullptr));
QTableWidgetItem *___qtablewidgetitem1 = tableWidget->horizontalHeaderItem(1);
___qtablewidgetitem1->setText(QCoreApplication::translate("MainWindow", "\350\275\246\350\272\253ID", nullptr));
QTableWidgetItem *___qtablewidgetitem2 = tableWidget->horizontalHeaderItem(2);
___qtablewidgetitem2->setText(QCoreApplication::translate("MainWindow", "\345\217\270\346\234\272\345\247\223\345\220\215", nullptr));
QTableWidgetItem *___qtablewidgetitem3 = tableWidget->horizontalHeaderItem(3);
___qtablewidgetitem3->setText(QCoreApplication::translate("MainWindow", "\345\217\270\346\234\272\347\224\265\350\257\235", nullptr));
QTableWidgetItem *___qtablewidgetitem4 = tableWidget->horizontalHeaderItem(4);
___qtablewidgetitem4->setText(QCoreApplication::translate("MainWindow", "\346\230\257\345\220\246\345\217\227\351\231\220", nullptr));
QTableWidgetItem *___qtablewidgetitem5 = tableWidget->horizontalHeaderItem(5);
___qtablewidgetitem5->setText(QCoreApplication::translate("MainWindow", "\350\275\246\350\276\206\346\211\200\345\261\236\345\215\225\344\275\215", nullptr));
QTableWidgetItem *___qtablewidgetitem6 = tableWidget->verticalHeaderItem(0);
___qtablewidgetitem6->setText(QCoreApplication::translate("MainWindow", "\346\226\260\345\273\272\350\241\214", nullptr));
QTableWidgetItem *___qtablewidgetitem7 = tableWidget->verticalHeaderItem(1);
___qtablewidgetitem7->setText(QCoreApplication::translate("MainWindow", "\346\226\260\345\273\272\350\241\214", nullptr));
groupBox_5->setTitle(QCoreApplication::translate("MainWindow", "\350\275\246\350\276\206\346\237\245\350\257\242", nullptr));
label_15->setText(QCoreApplication::translate("MainWindow", "\350\257\267\350\276\223\345\205\245\350\246\201\346\237\245\350\257\242\347\232\204\350\275\246\347\211\214\345\217\267:", nullptr));
pbn_selectVeh->setText(QCoreApplication::translate("MainWindow", "\346\237\245\350\257\242", nullptr));
pbn_setVehLimit->setText(QCoreApplication::translate("MainWindow", "\346\230\257\345\220\246\350\256\276\347\275\256\344\270\272\345\217\227\351\231\220\350\275\246\350\276\206", nullptr));
tabWidget->setTabText(tabWidget->indexOf(tab_1), QCoreApplication::translate("MainWindow", "Tab 1", nullptr));
tabWidget->setTabText(tabWidget->indexOf(tab_2), QCoreApplication::translate("MainWindow", "Tab 2", nullptr));
tabWidget->setTabText(tabWidget->indexOf(tab_3), QCoreApplication::translate("MainWindow", "\351\241\265", nullptr));
tabWidget->setTabText(tabWidget->indexOf(tab_4), QCoreApplication::translate("MainWindow", "\351\241\265", nullptr));
tabWidget->setTabText(tabWidget->indexOf(tab_5), QCoreApplication::translate("MainWindow", "\351\241\265", nullptr));
tabWidget->setTabText(tabWidget->indexOf(tab_6), QCoreApplication::translate("MainWindow", "\351\241\265", nullptr));
tabWidget->setTabText(tabWidget->indexOf(tab_7), QCoreApplication::translate("MainWindow", "\351\241\265", nullptr));
tabWidget->setTabText(tabWidget->indexOf(tab_8), QCoreApplication::translate("MainWindow", "\351\241\265", nullptr));
groupBox_6->setTitle(QCoreApplication::translate("MainWindow", "FRID\346\216\245\345\205\245\346\216\247\345\210\266", nullptr));
label_16->setText(QCoreApplication::translate("MainWindow", "SerialName:", nullptr));
label_18->setText(QCoreApplication::translate("MainWindow", "SerialBaudRate:", nullptr));
pbn_Setting_1->setText(QCoreApplication::translate("MainWindow", "\347\241\256\345\256\232", nullptr));
groupBox_9->setTitle(QCoreApplication::translate("MainWindow", "\346\211\253\347\240\201\345\231\250\346\216\245\345\205\245\346\216\247\345\210\266", nullptr));
label_19->setText(QCoreApplication::translate("MainWindow", "SerialName:", nullptr));
label_20->setText(QCoreApplication::translate("MainWindow", "SerialBaudRate:", nullptr));
pbn_Setting_2->setText(QCoreApplication::translate("MainWindow", "\347\241\256\345\256\232", nullptr));
groupBox_12->setTitle(QCoreApplication::translate("MainWindow", "\346\212\223\346\213\215\346\234\272\346\216\245\345\205\245\346\216\247\345\210\266", nullptr));
label_21->setText(QCoreApplication::translate("MainWindow", "SerialName:", nullptr));
label_22->setText(QCoreApplication::translate("MainWindow", "SerialBaudRate:", nullptr));
pbn_Setting_3->setText(QCoreApplication::translate("MainWindow", "\347\241\256\345\256\232", nullptr));
groupBox_7->setTitle(QCoreApplication::translate("MainWindow", "\351\201\223\351\227\270\346\216\245\345\205\245\346\216\247\345\210\266", nullptr));
label_23->setText(QCoreApplication::translate("MainWindow", "SerialName:", nullptr));
label_24->setText(QCoreApplication::translate("MainWindow", "SerialBaudRate:", nullptr));
pbn_Setting_4->setText(QCoreApplication::translate("MainWindow", "\347\241\256\345\256\232", nullptr));
groupBox_10->setTitle(QCoreApplication::translate("MainWindow", "\346\212\223\346\213\215\346\234\272\346\216\245\345\205\245\346\216\247\345\210\266", nullptr));
label_25->setText(QCoreApplication::translate("MainWindow", "SerialName:", nullptr));
label_26->setText(QCoreApplication::translate("MainWindow", "SerialBaudRate:", nullptr));
pbn_Setting_5->setText(QCoreApplication::translate("MainWindow", "\347\241\256\345\256\232", nullptr));
groupBox_13->setTitle(QCoreApplication::translate("MainWindow", "\346\212\223\346\213\215\346\234\272\346\216\245\345\205\245\346\216\247\345\210\266", nullptr));
label_27->setText(QCoreApplication::translate("MainWindow", "SerialName:", nullptr));
label_28->setText(QCoreApplication::translate("MainWindow", "SerialBaudRate:", nullptr));
pbn_Setting_6->setText(QCoreApplication::translate("MainWindow", "\347\241\256\345\256\232", nullptr));
groupBox_8->setTitle(QCoreApplication::translate("MainWindow", "\346\212\223\346\213\215\346\234\272\346\216\245\345\205\245\346\216\247\345\210\266", nullptr));
label_29->setText(QCoreApplication::translate("MainWindow", "SerialName:", nullptr));
label_30->setText(QCoreApplication::translate("MainWindow", "SerialBaudRate:", nullptr));
pbn_Setting_7->setText(QCoreApplication::translate("MainWindow", "\347\241\256\345\256\232", nullptr));
groupBox_11->setTitle(QCoreApplication::translate("MainWindow", "\346\212\223\346\213\215\346\234\272\346\216\245\345\205\245\346\216\247\345\210\266", nullptr));
label_31->setText(QCoreApplication::translate("MainWindow", "SerialName:", nullptr));
label_32->setText(QCoreApplication::translate("MainWindow", "SerialBaudRate:", nullptr));
pbn_Setting_8->setText(QCoreApplication::translate("MainWindow", "\347\241\256\345\256\232", nullptr));
groupBox_14->setTitle(QCoreApplication::translate("MainWindow", "\346\227\245\345\277\227\344\277\235\345\255\230\346\216\247\345\210\266", nullptr));
rbn_logKeep_1->setText(QCoreApplication::translate("MainWindow", "\344\270\211\345\244\251", nullptr));
rbn_logKeep_2->setText(QCoreApplication::translate("MainWindow", "\344\270\203\345\244\251", nullptr));
rbn_logKeep_3->setText(QCoreApplication::translate("MainWindow", "\350\207\252\345\256\232\344\271\211", nullptr));
label_34->setText(QCoreApplication::translate("MainWindow", "\345\244\251", nullptr));
pushButton_11->setText(QCoreApplication::translate("MainWindow", "\347\241\256\345\256\232", nullptr));
} // retranslateUi
};
namespace Ui {
class MainWindow: public Ui_MainWindow {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_MAINWINDOW_H
/*
* 封装发送类
*/
#ifndef VEHINFO_H
#define VEHINFO_H
#include <iostream>
#include <vector>
#include <QQueue>
using namespace std;
#pragma pack(1)
struct VehInfor
{
string weightNum;
string plateNum;
int axleCnt;
float sumWeight;
float tareWeight;
float grossWeight;
float suttleWeight;
int reduceWeightPer;
float realWeight;
float limitWeight;
float overWeight;
float overPer;
string goodsName;
string goodsType;
string driver;
string sendCompany;
string recvCompany;
string trafficCompany;
string remark;
int lane;
int speed;
int length;
int width;
int height;
string picPath;
string dateTime;
string createTime;
string weightTime;
string printerTime;
string interTime;//入口时间,格式yyyy-MM-dd HH:mm:ss
string outTime;//入口时间,格式yyyy-MM-dd HH:mm:ss
string platePic; //车牌特写图,base64编码
string platePicPostfix = "jpg";//图片后缀,默认jpg
string frontPic;//前抓拍,base64编码
string frontPicPostfix = "jpg";//图片后缀,默认jpg
string key = "123456";
};
struct SelectInfor
{
int ECode;
string Operator;
string startTime;
string Pound;
string stopTime;
string Weight;
string Type;
string Time;
string RealCache;
string GoodsType;
string Customer;
string Notes;
string remark;
};
struct SelectInfor1
{
string startTime;
string stopTime;
string plateNum;
float startWeight;
float stopWeight;
string remark;
};
typedef struct TSversion
{
char szVersion[64];
char szDateTime[64];
char szDescription[128];
}TSVERSION;
struct Vehicle{
int lane;
long flowNo;
char dateTime[50];
unsigned char runState;
unsigned char deviceState;
double speed;
double acceleration;
int reverse;//0 正向,1 逆向
int axleCnt;
int axleGrpCnt;
string axleWeight;
string axleGrpWeight;
string axleDis;
string axleCrpType;
long sumWeight;
int length;
char timeFlowNo[64];
};
struct VehicleCam
{
string plateNum;
string picPath;
string deviceId;
void* picContent;
long picLen;
};
struct CameraInfor
{
string ip;
int port;
string user;
string pwd;
int lane;
int direction;
string deviceId;
};
struct screenArea
{
int areaId;
int x;
int y;
int w;
int h;
int fontSize;
};
struct User
{
string userName;
string pwd;
string sex;
string mobile;
string remark;
bool isRemeber;
};
struct SendWeightForm
{
string userName = "admin"; //过磅员
string poundNo = "001"; //磅号
string key = "123456";
string stationCode; //站点编号
string plateNum; //车牌号
string checkNo;
string stationId;
int patternType = 2; //业务模式: 1-标准流程一 2-标准流程二
int modeDisplayType = 2; //业务详情显示: 1-标准流程一显示出入口信息 2-标准流程二不显示出入口信息
int tareWeight;
int grossWeight;
int suttleWeight;
string dateTime;
//新增字段
int weighterNum;
int success; //注册成功
int exceptionCode; //异常代码
int vehicleType; //车型
int axleCnt; //轴数
int axleType; //轴型
float sumWeight; //车货总重,放大一百倍
int axleWeight1; //1轴重,放大一百倍
int axleWeight2; //2轴重,放大一百倍
int axleWeight3; //3轴重,放大一百倍
int axleWeight4; //4轴重,放大一百倍
int axleWeight5; //5轴重,放大一百倍
int axleWeight6; //6轴重,放大一百倍
int axleWeight7; //7轴重,放大一百倍
int axleWeight8; //8轴重,放大一百倍
int limitWeight; //限重,放大一百倍
int overWeight; //超重,放大一百倍
string weightTime; //称重时间,格式yyyy-MM-dd HH:mm:ss
string interTime; //入口时间,格式yyyy-MM-dd HH:mm:ss
string outTime; //入口时间,格式yyyy-MM-dd HH:mm:ss
string platePic; //车牌特写图,base64编码
string platePicPostfix = "jpg"; //图片后缀,默认jpg
string frontPic; //前抓拍,base64编码
string frontPicPostfix = "jpg"; //图片后缀,默认jpg
string backPic; //后抓拍,base64编码
string backPicPostfix = "jpg"; //图片后缀,默认jpg
string lSidePic; //左侧侧抓拍,base64编码
string lsidePicPostfix = "jpg"; //图片后缀,默认jpg
string rSidePic; //右侧侧抓拍,base64编码
string rsidePicPostfix = "jpg"; //图片后缀,默认jpg
string upPic; //顶抓拍,base64编码
string upPicPostfix = "jpg"; //图片后缀,默认jpg
string movie; //过车小视频,base64编码
string moviePostfix = "mp4"; //短视频后缀,默认mp4
string busNum; //订单业务流水号
string icNum; //订单业务流水号
};
struct PacketHeartBeat
{/*心跳包
上行指令 0x05: 心跳包
Json字段 数据类型 描述
ping String 值为1*/
string key = "123456";
string ping;
};
#pragma pack ()
#endif // VEHINFO_H
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论