diff --git a/arm_show-build-imx6-Release/Makefile b/arm_show-build-imx6-Release/Makefile index 170bd96..ce72b09 100644 --- a/arm_show-build-imx6-Release/Makefile +++ b/arm_show-build-imx6-Release/Makefile @@ -1,6 +1,6 @@ ############################################################################# # Makefile for building: arm_show -# Generated by qmake (2.01a) (Qt 4.8.5) on: Thu Mar 18 12:12:51 2021 +# Generated by qmake (2.01a) (Qt 4.8.5) on: Mon Mar 22 11:49:50 2021 # Project: ../arm_show/arm_show.pro # Template: app # Command: /usr/local/freescale/qt4.8.5/bin/qmake -spec /usr/local/freescale/qt4.8.5/mkspecs/qws/linux-imx6-g++ -o Makefile ../arm_show/arm_show.pro @@ -260,7 +260,18 @@ moc_parserrunnable.cpp: ../arm_show/src/qjson_export.h \ moc_myinputpanelcontext.cpp: ../arm_show/myinputpanelcontext.h /usr/local/freescale/qt4.8.5/bin/moc $(DEFINES) $(INCPATH) ../arm_show/myinputpanelcontext.h -o moc_myinputpanelcontext.cpp -moc_myinputpanel.cpp: ../arm_show/myinputpanel.h +moc_myinputpanel.cpp: ../arm_show/mainwindow.h \ + ../arm_show/login.h \ + ../arm_show/ui_login.h \ + ../arm_show/changepassword.h \ + ../arm_show/ui_changepassword.h \ + ../arm_show/ui_myinputpanelform.h \ + ../arm_show/myinputpanel.h \ + ../arm_show/myinputpanelcontext.h \ + ../arm_show/src/parser.h \ + ../arm_show/src/qjson_export.h \ + ../arm_show/src/serializer.h \ + ../arm_show/myinputpanel.h /usr/local/freescale/qt4.8.5/bin/moc $(DEFINES) $(INCPATH) ../arm_show/myinputpanel.h -o moc_myinputpanel.cpp moc_login.cpp: ../arm_show/mainwindow.h \ @@ -443,11 +454,29 @@ json_parser.o: ../arm_show/src/json_parser.cc ../arm_show/src/json_parser.hh \ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o json_parser.o ../arm_show/src/json_parser.cc myinputpanelcontext.o: ../arm_show/myinputpanelcontext.cpp ../arm_show/myinputpanelcontext.h \ - ../arm_show/myinputpanel.h + ../arm_show/myinputpanel.h \ + ../arm_show/mainwindow.h \ + ../arm_show/login.h \ + ../arm_show/ui_login.h \ + ../arm_show/changepassword.h \ + ../arm_show/ui_changepassword.h \ + ../arm_show/ui_myinputpanelform.h \ + ../arm_show/src/parser.h \ + ../arm_show/src/qjson_export.h \ + ../arm_show/src/serializer.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o myinputpanelcontext.o ../arm_show/myinputpanelcontext.cpp myinputpanel.o: ../arm_show/myinputpanel.cpp ../arm_show/myinputpanel.h \ - ../arm_show/ui_myinputpanelform.h + ../arm_show/mainwindow.h \ + ../arm_show/login.h \ + ../arm_show/ui_login.h \ + ../arm_show/changepassword.h \ + ../arm_show/ui_changepassword.h \ + ../arm_show/ui_myinputpanelform.h \ + ../arm_show/myinputpanelcontext.h \ + ../arm_show/src/parser.h \ + ../arm_show/src/qjson_export.h \ + ../arm_show/src/serializer.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o myinputpanel.o ../arm_show/myinputpanel.cpp login.o: ../arm_show/login.cpp ../arm_show/login.h \ diff --git a/arm_show-build-imx6-Release/arm_show b/arm_show-build-imx6-Release/arm_show index 4dbad8f..a744868 100755 --- a/arm_show-build-imx6-Release/arm_show +++ b/arm_show-build-imx6-Release/arm_show diff --git a/arm_show-build-imx6-Release/main.o b/arm_show-build-imx6-Release/main.o index 99673db..12eb533 100644 --- a/arm_show-build-imx6-Release/main.o +++ b/arm_show-build-imx6-Release/main.o diff --git a/arm_show-build-imx6-Release/mainwindow.o b/arm_show-build-imx6-Release/mainwindow.o index 09ed266..855a8c0 100644 --- a/arm_show-build-imx6-Release/mainwindow.o +++ b/arm_show-build-imx6-Release/mainwindow.o diff --git a/arm_show-build-imx6-Release/moc_mainwindow.cpp b/arm_show-build-imx6-Release/moc_mainwindow.cpp index cc99b55..413111f 100644 --- a/arm_show-build-imx6-Release/moc_mainwindow.cpp +++ b/arm_show-build-imx6-Release/moc_mainwindow.cpp @@ -22,148 +22,139 @@ static const uint qt_meta_data_MainWindow[] = { 6, // revision 0, // classname 0, 0, // classinfo - 121, 14, // methods + 109, 14, // methods 0, 0, // properties 0, 0, // enums/sets 0, 0, // constructors 0, // flags - 0, // signalCount + 1, // signalCount + + // signals: signature, parameters, type, tag, flags + 17, 12, 11, 11, 0x05, // slots: signature, parameters, type, tag, flags - 12, 11, 11, 11, 0x08, - 29, 11, 11, 11, 0x08, - 51, 11, 11, 11, 0x08, - 71, 11, 11, 11, 0x08, - 86, 11, 11, 11, 0x08, - 104, 11, 11, 11, 0x08, - 120, 11, 11, 11, 0x08, - 142, 11, 11, 11, 0x08, - 158, 11, 11, 11, 0x08, - 179, 11, 11, 11, 0x08, - 194, 11, 11, 11, 0x08, - 208, 11, 11, 11, 0x08, - 240, 11, 11, 11, 0x08, - 271, 11, 11, 11, 0x08, - 305, 11, 11, 11, 0x08, - 340, 11, 11, 11, 0x08, - 373, 11, 11, 11, 0x08, - 408, 11, 11, 11, 0x08, - 429, 11, 11, 11, 0x08, - 467, 11, 11, 11, 0x08, - 501, 11, 11, 11, 0x08, - 529, 11, 11, 11, 0x08, - 566, 11, 11, 11, 0x08, - 599, 11, 11, 11, 0x08, - 626, 11, 11, 11, 0x08, - 663, 11, 11, 11, 0x08, - 696, 11, 11, 11, 0x08, - 723, 11, 11, 11, 0x08, - 760, 11, 11, 11, 0x08, - 791, 11, 11, 11, 0x08, + 50, 48, 43, 11, 0x0a, + 80, 48, 11, 11, 0x0a, + 111, 11, 11, 11, 0x08, + 128, 11, 11, 11, 0x08, + 150, 11, 11, 11, 0x08, + 170, 11, 11, 11, 0x08, + 185, 11, 11, 11, 0x08, + 203, 11, 11, 11, 0x08, + 219, 11, 11, 11, 0x08, + 241, 11, 11, 11, 0x08, + 257, 11, 11, 11, 0x08, + 278, 11, 11, 11, 0x08, + 293, 11, 11, 11, 0x08, + 307, 11, 11, 11, 0x08, + 338, 11, 11, 11, 0x08, + 372, 11, 11, 11, 0x08, + 407, 11, 11, 11, 0x08, + 440, 11, 11, 11, 0x08, + 475, 11, 11, 11, 0x08, + 496, 11, 11, 11, 0x08, + 534, 11, 11, 11, 0x08, + 568, 11, 11, 11, 0x08, + 596, 11, 11, 11, 0x08, + 633, 11, 11, 11, 0x08, + 666, 11, 11, 11, 0x08, + 693, 11, 11, 11, 0x08, + 730, 11, 11, 11, 0x08, + 763, 11, 11, 11, 0x08, + 790, 11, 11, 11, 0x08, 827, 11, 11, 11, 0x08, - 857, 11, 11, 11, 0x08, - 901, 11, 11, 11, 0x08, - 945, 11, 11, 11, 0x08, - 987, 11, 11, 11, 0x08, - 1019, 11, 11, 11, 0x08, - 1069, 11, 11, 11, 0x08, - 1111, 11, 11, 11, 0x08, - 1159, 11, 11, 11, 0x08, - 1197, 11, 11, 11, 0x08, - 1237, 11, 11, 11, 0x08, - 1285, 11, 11, 11, 0x08, - 1331, 11, 11, 11, 0x08, - 1367, 11, 11, 11, 0x08, - 1405, 11, 11, 11, 0x08, - 1451, 11, 11, 11, 0x08, - 1495, 11, 11, 11, 0x08, - 1529, 11, 11, 11, 0x08, - 1564, 11, 11, 11, 0x08, - 1598, 11, 11, 11, 0x08, - 1641, 1636, 11, 11, 0x08, - 1677, 1636, 11, 11, 0x08, - 1713, 1636, 11, 11, 0x08, - 1750, 1636, 11, 11, 0x08, - 1783, 1636, 11, 11, 0x08, - 1818, 1636, 11, 11, 0x08, - 1851, 1636, 11, 11, 0x08, - 1885, 1636, 11, 11, 0x08, - 1925, 1636, 11, 11, 0x08, - 1964, 1636, 11, 11, 0x08, - 2003, 1636, 11, 11, 0x08, - 2041, 1636, 11, 11, 0x08, - 2089, 1636, 11, 11, 0x08, - 2120, 1636, 11, 11, 0x08, - 2154, 1636, 11, 11, 0x08, - 2187, 1636, 11, 11, 0x08, - 2220, 1636, 11, 11, 0x08, - 2249, 1636, 11, 11, 0x08, - 2286, 1636, 11, 11, 0x08, - 2318, 1636, 11, 11, 0x08, - 2352, 1636, 11, 11, 0x08, - 2381, 1636, 11, 11, 0x08, - 2415, 1636, 11, 11, 0x08, - 2448, 1636, 11, 11, 0x08, - 2480, 1636, 11, 11, 0x08, - 2521, 1636, 11, 11, 0x08, - 2560, 1636, 11, 11, 0x08, - 2596, 1636, 11, 11, 0x08, - 2637, 1636, 11, 11, 0x08, - 2682, 1636, 11, 11, 0x08, - 2725, 1636, 11, 11, 0x08, - 2767, 1636, 11, 11, 0x08, - 2809, 1636, 11, 11, 0x08, - 2845, 1636, 11, 11, 0x08, - 2884, 1636, 11, 11, 0x08, - 2920, 1636, 11, 11, 0x08, - 2958, 1636, 11, 11, 0x08, - 3000, 1636, 11, 11, 0x08, - 3047, 1636, 11, 11, 0x08, - 3089, 1636, 11, 11, 0x08, - 3124, 1636, 11, 11, 0x08, - 3162, 1636, 11, 11, 0x08, - 3201, 1636, 11, 11, 0x08, - 3239, 1636, 11, 11, 0x08, - 3288, 1636, 11, 11, 0x08, - 3336, 1636, 11, 11, 0x08, - 3384, 1636, 11, 11, 0x08, - 3426, 1636, 11, 11, 0x08, - 3467, 1636, 11, 11, 0x08, - 3509, 1636, 11, 11, 0x08, - 3553, 1636, 11, 11, 0x08, - 3600, 1636, 11, 11, 0x08, - 3646, 1636, 11, 11, 0x08, - 3692, 1636, 11, 11, 0x08, - 3723, 1636, 11, 11, 0x08, - 3756, 1636, 11, 11, 0x08, - 3789, 1636, 11, 11, 0x08, - 3829, 1636, 11, 11, 0x08, - 3859, 1636, 11, 11, 0x08, - 3893, 1636, 11, 11, 0x08, - 3927, 1636, 11, 11, 0x08, - 3957, 1636, 11, 11, 0x08, - 3986, 1636, 11, 11, 0x08, - 4016, 11, 11, 11, 0x08, - 4052, 11, 11, 11, 0x08, - 4085, 11, 11, 11, 0x08, - 4122, 11, 11, 11, 0x08, - 4143, 11, 11, 11, 0x08, - 4172, 11, 11, 11, 0x08, - 4198, 11, 11, 11, 0x08, - 4224, 11, 11, 11, 0x08, + 858, 11, 11, 11, 0x08, + 888, 11, 11, 11, 0x08, + 932, 11, 11, 11, 0x08, + 976, 11, 11, 11, 0x08, + 1018, 11, 11, 11, 0x08, + 1050, 11, 11, 11, 0x08, + 1100, 11, 11, 11, 0x08, + 1142, 11, 11, 11, 0x08, + 1190, 11, 11, 11, 0x08, + 1228, 11, 11, 11, 0x08, + 1268, 11, 11, 11, 0x08, + 1316, 11, 11, 11, 0x08, + 1362, 11, 11, 11, 0x08, + 1398, 11, 11, 11, 0x08, + 1433, 11, 11, 11, 0x08, + 1467, 11, 11, 11, 0x08, + 1510, 1505, 11, 11, 0x08, + 1546, 1505, 11, 11, 0x08, + 1582, 1505, 11, 11, 0x08, + 1619, 1505, 11, 11, 0x08, + 1652, 1505, 11, 11, 0x08, + 1687, 1505, 11, 11, 0x08, + 1720, 1505, 11, 11, 0x08, + 1754, 1505, 11, 11, 0x08, + 1794, 1505, 11, 11, 0x08, + 1833, 1505, 11, 11, 0x08, + 1872, 1505, 11, 11, 0x08, + 1910, 1505, 11, 11, 0x08, + 1941, 1505, 11, 11, 0x08, + 1975, 1505, 11, 11, 0x08, + 2008, 1505, 11, 11, 0x08, + 2041, 1505, 11, 11, 0x08, + 2070, 1505, 11, 11, 0x08, + 2107, 1505, 11, 11, 0x08, + 2139, 1505, 11, 11, 0x08, + 2173, 1505, 11, 11, 0x08, + 2202, 1505, 11, 11, 0x08, + 2236, 1505, 11, 11, 0x08, + 2269, 1505, 11, 11, 0x08, + 2308, 1505, 11, 11, 0x08, + 2344, 1505, 11, 11, 0x08, + 2389, 1505, 11, 11, 0x08, + 2432, 1505, 11, 11, 0x08, + 2474, 1505, 11, 11, 0x08, + 2516, 1505, 11, 11, 0x08, + 2555, 1505, 11, 11, 0x08, + 2591, 1505, 11, 11, 0x08, + 2629, 1505, 11, 11, 0x08, + 2671, 1505, 11, 11, 0x08, + 2713, 1505, 11, 11, 0x08, + 2748, 1505, 11, 11, 0x08, + 2786, 1505, 11, 11, 0x08, + 2825, 1505, 11, 11, 0x08, + 2863, 1505, 11, 11, 0x08, + 2912, 1505, 11, 11, 0x08, + 2960, 1505, 11, 11, 0x08, + 3008, 1505, 11, 11, 0x08, + 3041, 1505, 11, 11, 0x08, + 3074, 1505, 11, 11, 0x08, + 3114, 1505, 11, 11, 0x08, + 3144, 1505, 11, 11, 0x08, + 3178, 1505, 11, 11, 0x08, + 3212, 1505, 11, 11, 0x08, + 3242, 11, 11, 11, 0x08, + 3278, 11, 11, 11, 0x08, + 3315, 11, 11, 11, 0x08, + 3336, 11, 11, 11, 0x08, + 3365, 11, 11, 11, 0x08, + 3406, 1505, 11, 11, 0x08, + 3450, 1505, 11, 11, 0x08, + 3496, 1505, 11, 11, 0x08, + 3537, 1505, 11, 11, 0x08, + 3580, 1505, 11, 11, 0x08, + 3625, 1505, 11, 11, 0x08, + 3665, 1505, 11, 11, 0x08, + 3708, 1505, 11, 11, 0x08, + 3753, 1505, 11, 11, 0x08, + 3793, 1505, 11, 11, 0x08, 0 // eod }; static const char qt_meta_stringdata_MainWindow[] = { - "MainWindow\0\0clientRecvData()\0" - "clientRecvDataDebug()\0getStatusMsgOrder()\0" - "sendMsgGroup()\0timeStatusEvent()\0" - "data_password()\0login_passwordClose()\0" - "change_passwd()\0change_passwdClose()\0" - "warning_data()\0closeWindow()\0" - "on_debugBtn_debugPage_clicked()\0" - "on_backBtn_debugPage_clicked()\0" + "MainWindow\0\0data\0sendDataLineEdit(QString)\0" + "bool\0,\0eventFilter(QObject*,QEvent*)\0" + "timerUpdate(QWidget*,QWidget*)\0" + "clientRecvData()\0clientRecvDataDebug()\0" + "getStatusMsgOrder()\0sendMsgGroup()\0" + "timeStatusEvent()\0data_password()\0" + "login_passwordClose()\0change_passwd()\0" + "change_passwdClose()\0warning_data()\0" + "closeWindow()\0on_backBtn_debugPage_clicked()\0" "on_autoControlBtn_index_clicked()\0" "on_deviceStatusBtn_index_clicked()\0" "on_parmConfigBtn_index_clicked()\0" @@ -180,7 +171,6 @@ static const char qt_meta_stringdata_MainWindow[] = { "on_backBtn_fault_clicked()\0" "on_parmConfigBtn_parmIndex_clicked()\0" "on_backBtn_parmIndex_clicked()\0" - "on_gateParmBtn_parmConfig_clicked()\0" "on_backBtn_gateParm_clicked()\0" "on_functionalConfigBtn_parmConfig_clicked()\0" "on_gateSelfInspectionBtn_gateParm_clicked()\0" @@ -194,10 +184,6 @@ static const char qt_meta_stringdata_MainWindow[] = { "on_functionalConfigBtn_functionalParm_clicked()\0" "on_functionalParmBtn_functionalParm_clicked()\0" "on_backBtn_functionalParm_clicked()\0" - "on_gateParmBtn_internetParm_clicked()\0" - "on_functionalConfigBtn_internetParm_clicked()\0" - "on_functionalParmBtn_internetParm_clicked()\0" - "on_backBtn_internetParm_clicked()\0" "on_debugBtn_deviceManage_clicked()\0" "on_backBtn_deviceManage_clicked()\0" "on_gateConfigBtn_parmConfig_clicked()\0" @@ -212,7 +198,6 @@ static const char qt_meta_stringdata_MainWindow[] = { "on_backWaterLevel_textChanged(QString)\0" "on_tailWaterLevel_textChanged(QString)\0" "on_controlStatus_textChanged(QString)\0" - "on_gateOpening_autoControl_textChanged(QString)\0" "on_iot_id_textChanged(QString)\0" "on_devOnline_textChanged(QString)\0" "on_devAlarm_textChanged(QString)\0" @@ -224,21 +209,16 @@ static const char qt_meta_stringdata_MainWindow[] = { "on_rssi_textChanged(QString)\0" "on_videoSync_textChanged(QString)\0" "on_bootTime_textChanged(QString)\0" - "on_runTime_textChanged(QString)\0" - "on_deviceCorrecting_textChanged(QString)\0" "on_configSyncTime_textChanged(QString)\0" "on_encoderType_textChanged(QString)\0" - "on_motorControlMode_textChanged(QString)\0" "on_gateCorrectingStatus_textChanged(QString)\0" "on_frontNilometerType_textChanged(QString)\0" "on_backNilometerType_textChanged(QString)\0" "on_tailNilometerType_textChanged(QString)\0" - "on_chargerType_textChanged(QString)\0" "on_flowModeConfig_textChanged(QString)\0" "on_videoEnable_textChanged(QString)\0" "on_monitorEnable_textChanged(QString)\0" "on_encoderTypeConfig_textChanged(QString)\0" - "on_motorControlModeConfig_textChanged(QString)\0" "on_encoderValueRatio_textChanged(QString)\0" "on_ratedSpeed_textChanged(QString)\0" "on_gateOpenValue_textChanged(QString)\0" @@ -247,14 +227,6 @@ static const char qt_meta_stringdata_MainWindow[] = { "on_frontNilometerTypeConfig_textChanged(QString)\0" "on_backNilometerTypeConfig_textChanged(QString)\0" "on_tailNilometerTypeConfig_textChanged(QString)\0" - "on_chargerTypeConfig_textChanged(QString)\0" - "on_flowModeConfig_2_textChanged(QString)\0" - "on_videoEnableConfig_textChanged(QString)\0" - "on_monitorEnableConfig_textChanged(QString)\0" - "on_frontNilometerAirHight_textChanged(QString)\0" - "on_backNilometerAirHight_textChanged(QString)\0" - "on_tailNilometerAirHight_textChanged(QString)\0" - "on_gateWidth_setValue(QString)\0" "on_wingWall_textChanged(QString)\0" "on_dropStep_textChanged(QString)\0" "on_totalFlowConfig_textChanged(QString)\0" @@ -262,15 +234,20 @@ static const char qt_meta_stringdata_MainWindow[] = { "on_hwVersion_textChanged(QString)\0" "on_swVersion_textChanged(QString)\0" "on_mfDay_textChanged(QString)\0" - "on_imei_textChanged(QString)\0" - "on_iccid_textChanged(QString)\0" "on_rebootBtn_deviceManage_clicked()\0" - "on_rebootBtn_debugPage_clicked()\0" "on_configSaveBtn_parmIndex_clicked()\0" "on_saveBtn_clicked()\0on_remoteForbidden_clicked()\0" - "on_pushButton_7_clicked()\0" - "on_pushButton_6_clicked()\0" "on_passwordChangeBtn_parmIndex_clicked()\0" + "on_frontWaterAirHeight_textChanged(QString)\0" + "on_frontWaterLimitConfig_textChanged(QString)\0" + "on_frontWaterOffset_textChanged(QString)\0" + "on_backWaterAirHeight_textChanged(QString)\0" + "on_backWaterLimitConfig_textChanged(QString)\0" + "on_backWaterOffset_textChanged(QString)\0" + "on_tailWaterAirHeight_textChanged(QString)\0" + "on_tailWaterLimitConfig_textChanged(QString)\0" + "on_tailWaterOffset_textChanged(QString)\0" + "on_conPara_textChanged(QString)\0" }; void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) @@ -279,127 +256,116 @@ void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, Q_ASSERT(staticMetaObject.cast(_o)); MainWindow *_t = static_cast(_o); switch (_id) { - case 0: _t->clientRecvData(); break; - case 1: _t->clientRecvDataDebug(); break; - case 2: _t->getStatusMsgOrder(); break; - case 3: _t->sendMsgGroup(); break; - case 4: _t->timeStatusEvent(); break; - case 5: _t->data_password(); break; - case 6: _t->login_passwordClose(); break; - case 7: _t->change_passwd(); break; - case 8: _t->change_passwdClose(); break; - case 9: _t->warning_data(); break; - case 10: _t->closeWindow(); break; - case 11: _t->on_debugBtn_debugPage_clicked(); break; - case 12: _t->on_backBtn_debugPage_clicked(); break; - case 13: _t->on_autoControlBtn_index_clicked(); break; - case 14: _t->on_deviceStatusBtn_index_clicked(); break; - case 15: _t->on_parmConfigBtn_index_clicked(); break; - case 16: _t->on_deviceManageBtn_index_clicked(); break; - case 17: _t->on_backBtn_clicked(); break; - case 18: _t->on_alarmEnquiriesBtn_status_clicked(); break; - case 19: _t->on_faultQueryBtn_status_clicked(); break; - case 20: _t->on_backBtn_Status_clicked(); break; - case 21: _t->on_alarmEnquiriesBtn_alarm_clicked(); break; - case 22: _t->on_faultQueryBtn_alarm_clicked(); break; - case 23: _t->on_backBtn_alarm_clicked(); break; - case 24: _t->on_alarmEnquiriesBtn_fault_clicked(); break; - case 25: _t->on_faultQueryBtn_fault_clicked(); break; - case 26: _t->on_backBtn_fault_clicked(); break; - case 27: _t->on_parmConfigBtn_parmIndex_clicked(); break; - case 28: _t->on_backBtn_parmIndex_clicked(); break; - case 29: _t->on_gateParmBtn_parmConfig_clicked(); break; - case 30: _t->on_backBtn_gateParm_clicked(); break; - case 31: _t->on_functionalConfigBtn_parmConfig_clicked(); break; - case 32: _t->on_gateSelfInspectionBtn_gateParm_clicked(); break; - case 33: _t->on_functionalParmBtn_parmConfig_clicked(); break; - case 34: _t->on_backBtn_parmConfig_clicked(); break; - case 35: _t->on_functionalConfigBtn_functionalConfig_clicked(); break; - case 36: _t->on_gateParmBtn_functionalConfig_clicked(); break; - case 37: _t->on_functionalParmBtn_functionalConfig_clicked(); break; - case 38: _t->on_backBtn_functionalConfig_clicked(); break; - case 39: _t->on_gateParmBtn_functionalParm_clicked(); break; - case 40: _t->on_functionalConfigBtn_functionalParm_clicked(); break; - case 41: _t->on_functionalParmBtn_functionalParm_clicked(); break; - case 42: _t->on_backBtn_functionalParm_clicked(); break; - case 43: _t->on_gateParmBtn_internetParm_clicked(); break; - case 44: _t->on_functionalConfigBtn_internetParm_clicked(); break; - case 45: _t->on_functionalParmBtn_internetParm_clicked(); break; - case 46: _t->on_backBtn_internetParm_clicked(); break; - case 47: _t->on_debugBtn_deviceManage_clicked(); break; - case 48: _t->on_backBtn_deviceManage_clicked(); break; - case 49: _t->on_gateConfigBtn_parmConfig_clicked(); break; - case 50: _t->on_controlMode_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 51: _t->on_limitStatus_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 52: _t->on_encoderValue_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 53: _t->on_flowMode_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 54: _t->on_flowStatus_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 55: _t->on_flowRate_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 56: _t->on_totalFlow_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 57: _t->on_frontWaterLevel_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 58: _t->on_backWaterLevel_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 59: _t->on_tailWaterLevel_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 60: _t->on_controlStatus_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 61: _t->on_gateOpening_autoControl_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 62: _t->on_iot_id_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 63: _t->on_devOnline_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 64: _t->on_devAlarm_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 65: _t->on_devFault_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 66: _t->on_temp_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 67: _t->on_chargeStatus_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 68: _t->on_batVolt_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 69: _t->on_batEnergy_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 70: _t->on_rssi_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 71: _t->on_videoSync_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 72: _t->on_bootTime_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 73: _t->on_runTime_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 74: _t->on_deviceCorrecting_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 75: _t->on_configSyncTime_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 76: _t->on_encoderType_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 77: _t->on_motorControlMode_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 78: _t->on_gateCorrectingStatus_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 79: _t->on_frontNilometerType_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 80: _t->on_backNilometerType_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 81: _t->on_tailNilometerType_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 82: _t->on_chargerType_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 83: _t->on_flowModeConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 84: _t->on_videoEnable_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 85: _t->on_monitorEnable_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 86: _t->on_encoderTypeConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 87: _t->on_motorControlModeConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 88: _t->on_encoderValueRatio_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 89: _t->on_ratedSpeed_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 90: _t->on_gateOpenValue_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 91: _t->on_gateCloseValue_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 92: _t->on_gateSelfCheck_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 93: _t->on_frontNilometerTypeConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 94: _t->on_backNilometerTypeConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 95: _t->on_tailNilometerTypeConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 96: _t->on_chargerTypeConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 97: _t->on_flowModeConfig_2_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 98: _t->on_videoEnableConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 99: _t->on_monitorEnableConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 100: _t->on_frontNilometerAirHight_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 101: _t->on_backNilometerAirHight_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 102: _t->on_tailNilometerAirHight_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 103: _t->on_gateWidth_setValue((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 104: _t->on_wingWall_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 105: _t->on_dropStep_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 106: _t->on_totalFlowConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 107: _t->on_devSn_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 108: _t->on_hwVersion_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 109: _t->on_swVersion_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 110: _t->on_mfDay_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 111: _t->on_imei_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 112: _t->on_iccid_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 113: _t->on_rebootBtn_deviceManage_clicked(); break; - case 114: _t->on_rebootBtn_debugPage_clicked(); break; - case 115: _t->on_configSaveBtn_parmIndex_clicked(); break; - case 116: _t->on_saveBtn_clicked(); break; - case 117: _t->on_remoteForbidden_clicked(); break; - case 118: _t->on_pushButton_7_clicked(); break; - case 119: _t->on_pushButton_6_clicked(); break; - case 120: _t->on_passwordChangeBtn_parmIndex_clicked(); break; + case 0: _t->sendDataLineEdit((*reinterpret_cast< QString(*)>(_a[1]))); break; + case 1: { bool _r = _t->eventFilter((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< QEvent*(*)>(_a[2]))); + if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break; + case 2: _t->timerUpdate((*reinterpret_cast< QWidget*(*)>(_a[1])),(*reinterpret_cast< QWidget*(*)>(_a[2]))); break; + case 3: _t->clientRecvData(); break; + case 4: _t->clientRecvDataDebug(); break; + case 5: _t->getStatusMsgOrder(); break; + case 6: _t->sendMsgGroup(); break; + case 7: _t->timeStatusEvent(); break; + case 8: _t->data_password(); break; + case 9: _t->login_passwordClose(); break; + case 10: _t->change_passwd(); break; + case 11: _t->change_passwdClose(); break; + case 12: _t->warning_data(); break; + case 13: _t->closeWindow(); break; + case 14: _t->on_backBtn_debugPage_clicked(); break; + case 15: _t->on_autoControlBtn_index_clicked(); break; + case 16: _t->on_deviceStatusBtn_index_clicked(); break; + case 17: _t->on_parmConfigBtn_index_clicked(); break; + case 18: _t->on_deviceManageBtn_index_clicked(); break; + case 19: _t->on_backBtn_clicked(); break; + case 20: _t->on_alarmEnquiriesBtn_status_clicked(); break; + case 21: _t->on_faultQueryBtn_status_clicked(); break; + case 22: _t->on_backBtn_Status_clicked(); break; + case 23: _t->on_alarmEnquiriesBtn_alarm_clicked(); break; + case 24: _t->on_faultQueryBtn_alarm_clicked(); break; + case 25: _t->on_backBtn_alarm_clicked(); break; + case 26: _t->on_alarmEnquiriesBtn_fault_clicked(); break; + case 27: _t->on_faultQueryBtn_fault_clicked(); break; + case 28: _t->on_backBtn_fault_clicked(); break; + case 29: _t->on_parmConfigBtn_parmIndex_clicked(); break; + case 30: _t->on_backBtn_parmIndex_clicked(); break; + case 31: _t->on_backBtn_gateParm_clicked(); break; + case 32: _t->on_functionalConfigBtn_parmConfig_clicked(); break; + case 33: _t->on_gateSelfInspectionBtn_gateParm_clicked(); break; + case 34: _t->on_functionalParmBtn_parmConfig_clicked(); break; + case 35: _t->on_backBtn_parmConfig_clicked(); break; + case 36: _t->on_functionalConfigBtn_functionalConfig_clicked(); break; + case 37: _t->on_gateParmBtn_functionalConfig_clicked(); break; + case 38: _t->on_functionalParmBtn_functionalConfig_clicked(); break; + case 39: _t->on_backBtn_functionalConfig_clicked(); break; + case 40: _t->on_gateParmBtn_functionalParm_clicked(); break; + case 41: _t->on_functionalConfigBtn_functionalParm_clicked(); break; + case 42: _t->on_functionalParmBtn_functionalParm_clicked(); break; + case 43: _t->on_backBtn_functionalParm_clicked(); break; + case 44: _t->on_debugBtn_deviceManage_clicked(); break; + case 45: _t->on_backBtn_deviceManage_clicked(); break; + case 46: _t->on_gateConfigBtn_parmConfig_clicked(); break; + case 47: _t->on_controlMode_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 48: _t->on_limitStatus_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 49: _t->on_encoderValue_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 50: _t->on_flowMode_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 51: _t->on_flowStatus_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 52: _t->on_flowRate_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 53: _t->on_totalFlow_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 54: _t->on_frontWaterLevel_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 55: _t->on_backWaterLevel_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 56: _t->on_tailWaterLevel_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 57: _t->on_controlStatus_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 58: _t->on_iot_id_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 59: _t->on_devOnline_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 60: _t->on_devAlarm_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 61: _t->on_devFault_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 62: _t->on_temp_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 63: _t->on_chargeStatus_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 64: _t->on_batVolt_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 65: _t->on_batEnergy_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 66: _t->on_rssi_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 67: _t->on_videoSync_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 68: _t->on_bootTime_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 69: _t->on_configSyncTime_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 70: _t->on_encoderType_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 71: _t->on_gateCorrectingStatus_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 72: _t->on_frontNilometerType_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 73: _t->on_backNilometerType_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 74: _t->on_tailNilometerType_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 75: _t->on_flowModeConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 76: _t->on_videoEnable_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 77: _t->on_monitorEnable_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 78: _t->on_encoderTypeConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 79: _t->on_encoderValueRatio_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 80: _t->on_ratedSpeed_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 81: _t->on_gateOpenValue_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 82: _t->on_gateCloseValue_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 83: _t->on_gateSelfCheck_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 84: _t->on_frontNilometerTypeConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 85: _t->on_backNilometerTypeConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 86: _t->on_tailNilometerTypeConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 87: _t->on_wingWall_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 88: _t->on_dropStep_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 89: _t->on_totalFlowConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 90: _t->on_devSn_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 91: _t->on_hwVersion_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 92: _t->on_swVersion_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 93: _t->on_mfDay_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 94: _t->on_rebootBtn_deviceManage_clicked(); break; + case 95: _t->on_configSaveBtn_parmIndex_clicked(); break; + case 96: _t->on_saveBtn_clicked(); break; + case 97: _t->on_remoteForbidden_clicked(); break; + case 98: _t->on_passwordChangeBtn_parmIndex_clicked(); break; + case 99: _t->on_frontWaterAirHeight_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 100: _t->on_frontWaterLimitConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 101: _t->on_frontWaterOffset_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 102: _t->on_backWaterAirHeight_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 103: _t->on_backWaterLimitConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 104: _t->on_backWaterOffset_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 105: _t->on_tailWaterAirHeight_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 106: _t->on_tailWaterLimitConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 107: _t->on_tailWaterOffset_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 108: _t->on_conPara_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; default: ; } } @@ -437,10 +403,17 @@ int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) if (_id < 0) return _id; if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 121) + if (_id < 109) qt_static_metacall(this, _c, _id, _a); - _id -= 121; + _id -= 109; } return _id; } + +// SIGNAL 0 +void MainWindow::sendDataLineEdit(QString _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 0, _a); +} QT_END_MOC_NAMESPACE diff --git a/arm_show-build-imx6-Release/moc_mainwindow.o b/arm_show-build-imx6-Release/moc_mainwindow.o index 8966a18..29ea0a1 100644 --- a/arm_show-build-imx6-Release/moc_mainwindow.o +++ b/arm_show-build-imx6-Release/moc_mainwindow.o diff --git a/arm_show-build-imx6-Release/moc_myinputpanel.cpp b/arm_show-build-imx6-Release/moc_myinputpanel.cpp index bd633c0..75a281e 100644 --- a/arm_show-build-imx6-Release/moc_myinputpanel.cpp +++ b/arm_show-build-imx6-Release/moc_myinputpanel.cpp @@ -22,7 +22,7 @@ static const uint qt_meta_data_MyInputPanel[] = { 6, // revision 0, // classname 0, 0, // classinfo - 4, 14, // methods + 6, 14, // methods 0, 0, // properties 0, 0, // enums/sets 0, 0, // constructors @@ -36,6 +36,8 @@ static const uint qt_meta_data_MyInputPanel[] = { 68, 50, 13, 13, 0x08, 105, 103, 13, 13, 0x08, 129, 13, 13, 13, 0x08, + 147, 13, 13, 13, 0x08, + 178, 13, 13, 13, 0x08, 0 // eod }; @@ -44,8 +46,9 @@ static const char qt_meta_stringdata_MyInputPanel[] = { "MyInputPanel\0\0character\0" "characterGenerated(QChar)\0oldFocus,newFocus\0" "saveFocusWidget(QWidget*,QWidget*)\0w\0" - "buttonClicked(QWidget*)\0" + "buttonClicked(QWidget*)\0mapDataLineEdit()\0" "on_panelButton_Point_clicked()\0" + "on_panelButton_FU_clicked()\0" }; void MyInputPanel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) @@ -57,7 +60,9 @@ void MyInputPanel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id case 0: _t->characterGenerated((*reinterpret_cast< QChar(*)>(_a[1]))); break; case 1: _t->saveFocusWidget((*reinterpret_cast< QWidget*(*)>(_a[1])),(*reinterpret_cast< QWidget*(*)>(_a[2]))); break; case 2: _t->buttonClicked((*reinterpret_cast< QWidget*(*)>(_a[1]))); break; - case 3: _t->on_panelButton_Point_clicked(); break; + case 3: _t->mapDataLineEdit(); break; + case 4: _t->on_panelButton_Point_clicked(); break; + case 5: _t->on_panelButton_FU_clicked(); break; default: ; } } @@ -95,9 +100,9 @@ int MyInputPanel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) if (_id < 0) return _id; if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 4) + if (_id < 6) qt_static_metacall(this, _c, _id, _a); - _id -= 4; + _id -= 6; } return _id; } diff --git a/arm_show-build-imx6-Release/moc_myinputpanel.o b/arm_show-build-imx6-Release/moc_myinputpanel.o index b141576..f92d6c7 100644 --- a/arm_show-build-imx6-Release/moc_myinputpanel.o +++ b/arm_show-build-imx6-Release/moc_myinputpanel.o diff --git a/arm_show-build-imx6-Release/myinputpanel.o b/arm_show-build-imx6-Release/myinputpanel.o index ca2d30e..2a34c1d 100644 --- a/arm_show-build-imx6-Release/myinputpanel.o +++ b/arm_show-build-imx6-Release/myinputpanel.o diff --git a/arm_show-build-imx6-Release/myinputpanelcontext.o b/arm_show-build-imx6-Release/myinputpanelcontext.o index cc2f2d9..1ceda70 100644 --- a/arm_show-build-imx6-Release/myinputpanelcontext.o +++ b/arm_show-build-imx6-Release/myinputpanelcontext.o diff --git a/arm_show-build-imx6-Release/ui_mainwindow.h b/arm_show-build-imx6-Release/ui_mainwindow.h index 0912af1..74a6f3f 100644 --- a/arm_show-build-imx6-Release/ui_mainwindow.h +++ b/arm_show-build-imx6-Release/ui_mainwindow.h @@ -3389,7 +3389,7 @@ public: retranslateUi(MainWindow); - stackedWidget->setCurrentIndex(0); + stackedWidget->setCurrentIndex(1); QMetaObject::connectSlotsByName(MainWindow); diff --git a/arm_show-build-imx6-Release/ui_myinputpanelform.h b/arm_show-build-imx6-Release/ui_myinputpanelform.h index e22e463..d976290 100644 --- a/arm_show-build-imx6-Release/ui_myinputpanelform.h +++ b/arm_show-build-imx6-Release/ui_myinputpanelform.h @@ -13,9 +13,11 @@ #include #include #include +#include #include #include #include +#include #include QT_BEGIN_NAMESPACE @@ -23,26 +25,36 @@ QT_BEGIN_NAMESPACE class Ui_MyInputPanel { public: - QPushButton *panelButton_0; - QPushButton *closeBtn; - QPushButton *panelButton_5; - QPushButton *panelButton_9; + QWidget *widget; + QVBoxLayout *verticalLayout_3; + QLabel *testLabel; + QHBoxLayout *horizontalLayout_5; + QVBoxLayout *verticalLayout_2; + QHBoxLayout *horizontalLayout; + QPushButton *panelButton_7; QPushButton *panelButton_8; - QPushButton *panelButton_6; + QPushButton *panelButton_9; + QHBoxLayout *horizontalLayout_2; QPushButton *panelButton_4; - QPushButton *panelButton_7; + QPushButton *panelButton_5; + QPushButton *panelButton_6; + QHBoxLayout *horizontalLayout_3; + QPushButton *panelButton_1; QPushButton *panelButton_2; QPushButton *panelButton_3; - QPushButton *panelButton_1; - QPushButton *panelButton_BS; + QHBoxLayout *horizontalLayout_4; + QPushButton *panelButton_0; QPushButton *panelButton_Point; - QLabel *testLabel; + QPushButton *panelButton_FU; + QVBoxLayout *verticalLayout; + QPushButton *panelButton_BS; + QPushButton *closeBtn; void setupUi(QWidget *MyInputPanel) { if (MyInputPanel->objectName().isEmpty()) MyInputPanel->setObjectName(QString::fromUtf8("MyInputPanel")); - MyInputPanel->resize(557, 273); + MyInputPanel->resize(385, 337); QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); sizePolicy.setHorizontalStretch(0); sizePolicy.setVerticalStretch(0); @@ -63,15 +75,39 @@ public: palette.setBrush(QPalette::Disabled, QPalette::Window, brush); palette.setBrush(QPalette::Disabled, QPalette::Shadow, brush1); MyInputPanel->setPalette(palette); - panelButton_0 = new QPushButton(MyInputPanel); - panelButton_0->setObjectName(QString::fromUtf8("panelButton_0")); - panelButton_0->setGeometry(QRect(0, 200, 160, 50)); + widget = new QWidget(MyInputPanel); + widget->setObjectName(QString::fromUtf8("widget")); + widget->setGeometry(QRect(2, 11, 381, 321)); + verticalLayout_3 = new QVBoxLayout(widget); + verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3")); + verticalLayout_3->setContentsMargins(0, 0, 0, 0); + testLabel = new QLabel(widget); + testLabel->setObjectName(QString::fromUtf8("testLabel")); + testLabel->setMinimumSize(QSize(0, 40)); + testLabel->setMaximumSize(QSize(16777215, 30)); + QFont font; + font.setPointSize(20); + testLabel->setFont(font); + testLabel->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);")); + + verticalLayout_3->addWidget(testLabel); + + horizontalLayout_5 = new QHBoxLayout(); + horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5")); + verticalLayout_2 = new QVBoxLayout(); + verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2")); + horizontalLayout = new QHBoxLayout(); + horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout")); + panelButton_7 = new QPushButton(widget); + panelButton_7->setObjectName(QString::fromUtf8("panelButton_7")); + panelButton_7->setEnabled(true); QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Expanding); sizePolicy1.setHorizontalStretch(0); sizePolicy1.setVerticalStretch(0); - sizePolicy1.setHeightForWidth(panelButton_0->sizePolicy().hasHeightForWidth()); - panelButton_0->setSizePolicy(sizePolicy1); - panelButton_0->setMinimumSize(QSize(0, 0)); + sizePolicy1.setHeightForWidth(panelButton_7->sizePolicy().hasHeightForWidth()); + panelButton_7->setSizePolicy(sizePolicy1); + panelButton_7->setMinimumSize(QSize(0, 0)); + panelButton_7->setSizeIncrement(QSize(40, 80)); QPalette palette1; QBrush brush2(QColor(131, 150, 255, 255)); brush2.setStyle(Qt::SolidPattern); @@ -83,16 +119,18 @@ public: palette1.setBrush(QPalette::Inactive, QPalette::Shadow, brush3); palette1.setBrush(QPalette::Disabled, QPalette::Button, brush2); palette1.setBrush(QPalette::Disabled, QPalette::Shadow, brush3); - panelButton_0->setPalette(palette1); - panelButton_0->setFocusPolicy(Qt::NoFocus); - panelButton_0->setCheckable(false); - panelButton_0->setProperty("lylbuttonValue", QVariant(48)); - closeBtn = new QPushButton(MyInputPanel); - closeBtn->setObjectName(QString::fromUtf8("closeBtn")); - closeBtn->setGeometry(QRect(480, 50, 61, 201)); - sizePolicy1.setHeightForWidth(closeBtn->sizePolicy().hasHeightForWidth()); - closeBtn->setSizePolicy(sizePolicy1); - closeBtn->setMinimumSize(QSize(0, 0)); + panelButton_7->setPalette(palette1); + panelButton_7->setFocusPolicy(Qt::NoFocus); + panelButton_7->setCheckable(false); + panelButton_7->setProperty("lylbuttonValue", QVariant(55)); + + horizontalLayout->addWidget(panelButton_7); + + panelButton_8 = new QPushButton(widget); + panelButton_8->setObjectName(QString::fromUtf8("panelButton_8")); + sizePolicy1.setHeightForWidth(panelButton_8->sizePolicy().hasHeightForWidth()); + panelButton_8->setSizePolicy(sizePolicy1); + panelButton_8->setMinimumSize(QSize(0, 0)); QPalette palette2; palette2.setBrush(QPalette::Active, QPalette::Button, brush2); palette2.setBrush(QPalette::Active, QPalette::Shadow, brush3); @@ -100,16 +138,18 @@ public: palette2.setBrush(QPalette::Inactive, QPalette::Shadow, brush3); palette2.setBrush(QPalette::Disabled, QPalette::Button, brush2); palette2.setBrush(QPalette::Disabled, QPalette::Shadow, brush3); - closeBtn->setPalette(palette2); - closeBtn->setFocusPolicy(Qt::NoFocus); - closeBtn->setCheckable(false); - closeBtn->setProperty("lylbuttonValue", QVariant(QChar(48))); - panelButton_5 = new QPushButton(MyInputPanel); - panelButton_5->setObjectName(QString::fromUtf8("panelButton_5")); - panelButton_5->setGeometry(QRect(160, 100, 160, 50)); - sizePolicy1.setHeightForWidth(panelButton_5->sizePolicy().hasHeightForWidth()); - panelButton_5->setSizePolicy(sizePolicy1); - panelButton_5->setMinimumSize(QSize(0, 0)); + panelButton_8->setPalette(palette2); + panelButton_8->setFocusPolicy(Qt::NoFocus); + panelButton_8->setCheckable(false); + panelButton_8->setProperty("lylbuttonValue", QVariant(56)); + + horizontalLayout->addWidget(panelButton_8); + + panelButton_9 = new QPushButton(widget); + panelButton_9->setObjectName(QString::fromUtf8("panelButton_9")); + sizePolicy1.setHeightForWidth(panelButton_9->sizePolicy().hasHeightForWidth()); + panelButton_9->setSizePolicy(sizePolicy1); + panelButton_9->setMinimumSize(QSize(0, 0)); QPalette palette3; palette3.setBrush(QPalette::Active, QPalette::Button, brush2); palette3.setBrush(QPalette::Active, QPalette::Shadow, brush3); @@ -117,16 +157,23 @@ public: palette3.setBrush(QPalette::Inactive, QPalette::Shadow, brush3); palette3.setBrush(QPalette::Disabled, QPalette::Button, brush2); palette3.setBrush(QPalette::Disabled, QPalette::Shadow, brush3); - panelButton_5->setPalette(palette3); - panelButton_5->setFocusPolicy(Qt::NoFocus); - panelButton_5->setCheckable(false); - panelButton_5->setProperty("lylbuttonValue", QVariant(53)); - panelButton_9 = new QPushButton(MyInputPanel); - panelButton_9->setObjectName(QString::fromUtf8("panelButton_9")); - panelButton_9->setGeometry(QRect(320, 50, 160, 50)); - sizePolicy1.setHeightForWidth(panelButton_9->sizePolicy().hasHeightForWidth()); - panelButton_9->setSizePolicy(sizePolicy1); - panelButton_9->setMinimumSize(QSize(0, 0)); + panelButton_9->setPalette(palette3); + panelButton_9->setFocusPolicy(Qt::NoFocus); + panelButton_9->setCheckable(false); + panelButton_9->setProperty("lylbuttonValue", QVariant(57)); + + horizontalLayout->addWidget(panelButton_9); + + + verticalLayout_2->addLayout(horizontalLayout); + + horizontalLayout_2 = new QHBoxLayout(); + horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2")); + panelButton_4 = new QPushButton(widget); + panelButton_4->setObjectName(QString::fromUtf8("panelButton_4")); + sizePolicy1.setHeightForWidth(panelButton_4->sizePolicy().hasHeightForWidth()); + panelButton_4->setSizePolicy(sizePolicy1); + panelButton_4->setMinimumSize(QSize(0, 0)); QPalette palette4; palette4.setBrush(QPalette::Active, QPalette::Button, brush2); palette4.setBrush(QPalette::Active, QPalette::Shadow, brush3); @@ -134,16 +181,18 @@ public: palette4.setBrush(QPalette::Inactive, QPalette::Shadow, brush3); palette4.setBrush(QPalette::Disabled, QPalette::Button, brush2); palette4.setBrush(QPalette::Disabled, QPalette::Shadow, brush3); - panelButton_9->setPalette(palette4); - panelButton_9->setFocusPolicy(Qt::NoFocus); - panelButton_9->setCheckable(false); - panelButton_9->setProperty("lylbuttonValue", QVariant(57)); - panelButton_8 = new QPushButton(MyInputPanel); - panelButton_8->setObjectName(QString::fromUtf8("panelButton_8")); - panelButton_8->setGeometry(QRect(160, 50, 160, 50)); - sizePolicy1.setHeightForWidth(panelButton_8->sizePolicy().hasHeightForWidth()); - panelButton_8->setSizePolicy(sizePolicy1); - panelButton_8->setMinimumSize(QSize(0, 0)); + panelButton_4->setPalette(palette4); + panelButton_4->setFocusPolicy(Qt::NoFocus); + panelButton_4->setCheckable(false); + panelButton_4->setProperty("lylbuttonValue", QVariant(52)); + + horizontalLayout_2->addWidget(panelButton_4); + + panelButton_5 = new QPushButton(widget); + panelButton_5->setObjectName(QString::fromUtf8("panelButton_5")); + sizePolicy1.setHeightForWidth(panelButton_5->sizePolicy().hasHeightForWidth()); + panelButton_5->setSizePolicy(sizePolicy1); + panelButton_5->setMinimumSize(QSize(0, 0)); QPalette palette5; palette5.setBrush(QPalette::Active, QPalette::Button, brush2); palette5.setBrush(QPalette::Active, QPalette::Shadow, brush3); @@ -151,13 +200,15 @@ public: palette5.setBrush(QPalette::Inactive, QPalette::Shadow, brush3); palette5.setBrush(QPalette::Disabled, QPalette::Button, brush2); palette5.setBrush(QPalette::Disabled, QPalette::Shadow, brush3); - panelButton_8->setPalette(palette5); - panelButton_8->setFocusPolicy(Qt::NoFocus); - panelButton_8->setCheckable(false); - panelButton_8->setProperty("lylbuttonValue", QVariant(56)); - panelButton_6 = new QPushButton(MyInputPanel); + panelButton_5->setPalette(palette5); + panelButton_5->setFocusPolicy(Qt::NoFocus); + panelButton_5->setCheckable(false); + panelButton_5->setProperty("lylbuttonValue", QVariant(53)); + + horizontalLayout_2->addWidget(panelButton_5); + + panelButton_6 = new QPushButton(widget); panelButton_6->setObjectName(QString::fromUtf8("panelButton_6")); - panelButton_6->setGeometry(QRect(320, 100, 160, 50)); sizePolicy1.setHeightForWidth(panelButton_6->sizePolicy().hasHeightForWidth()); panelButton_6->setSizePolicy(sizePolicy1); panelButton_6->setMinimumSize(QSize(0, 0)); @@ -172,12 +223,19 @@ public: panelButton_6->setFocusPolicy(Qt::NoFocus); panelButton_6->setCheckable(false); panelButton_6->setProperty("lylbuttonValue", QVariant(54)); - panelButton_4 = new QPushButton(MyInputPanel); - panelButton_4->setObjectName(QString::fromUtf8("panelButton_4")); - panelButton_4->setGeometry(QRect(0, 100, 160, 50)); - sizePolicy1.setHeightForWidth(panelButton_4->sizePolicy().hasHeightForWidth()); - panelButton_4->setSizePolicy(sizePolicy1); - panelButton_4->setMinimumSize(QSize(0, 0)); + + horizontalLayout_2->addWidget(panelButton_6); + + + verticalLayout_2->addLayout(horizontalLayout_2); + + horizontalLayout_3 = new QHBoxLayout(); + horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3")); + panelButton_1 = new QPushButton(widget); + panelButton_1->setObjectName(QString::fromUtf8("panelButton_1")); + sizePolicy1.setHeightForWidth(panelButton_1->sizePolicy().hasHeightForWidth()); + panelButton_1->setSizePolicy(sizePolicy1); + panelButton_1->setMinimumSize(QSize(0, 0)); QPalette palette7; palette7.setBrush(QPalette::Active, QPalette::Button, brush2); palette7.setBrush(QPalette::Active, QPalette::Shadow, brush3); @@ -185,18 +243,18 @@ public: palette7.setBrush(QPalette::Inactive, QPalette::Shadow, brush3); palette7.setBrush(QPalette::Disabled, QPalette::Button, brush2); palette7.setBrush(QPalette::Disabled, QPalette::Shadow, brush3); - panelButton_4->setPalette(palette7); - panelButton_4->setFocusPolicy(Qt::NoFocus); - panelButton_4->setCheckable(false); - panelButton_4->setProperty("lylbuttonValue", QVariant(52)); - panelButton_7 = new QPushButton(MyInputPanel); - panelButton_7->setObjectName(QString::fromUtf8("panelButton_7")); - panelButton_7->setEnabled(true); - panelButton_7->setGeometry(QRect(0, 50, 160, 50)); - sizePolicy1.setHeightForWidth(panelButton_7->sizePolicy().hasHeightForWidth()); - panelButton_7->setSizePolicy(sizePolicy1); - panelButton_7->setMinimumSize(QSize(0, 0)); - panelButton_7->setSizeIncrement(QSize(40, 80)); + panelButton_1->setPalette(palette7); + panelButton_1->setFocusPolicy(Qt::NoFocus); + panelButton_1->setCheckable(false); + panelButton_1->setProperty("lylbuttonValue", QVariant(49)); + + horizontalLayout_3->addWidget(panelButton_1); + + panelButton_2 = new QPushButton(widget); + panelButton_2->setObjectName(QString::fromUtf8("panelButton_2")); + sizePolicy1.setHeightForWidth(panelButton_2->sizePolicy().hasHeightForWidth()); + panelButton_2->setSizePolicy(sizePolicy1); + panelButton_2->setMinimumSize(QSize(0, 0)); QPalette palette8; palette8.setBrush(QPalette::Active, QPalette::Button, brush2); palette8.setBrush(QPalette::Active, QPalette::Shadow, brush3); @@ -204,33 +262,42 @@ public: palette8.setBrush(QPalette::Inactive, QPalette::Shadow, brush3); palette8.setBrush(QPalette::Disabled, QPalette::Button, brush2); palette8.setBrush(QPalette::Disabled, QPalette::Shadow, brush3); - panelButton_7->setPalette(palette8); - panelButton_7->setFocusPolicy(Qt::NoFocus); - panelButton_7->setCheckable(false); - panelButton_7->setProperty("lylbuttonValue", QVariant(55)); - panelButton_2 = new QPushButton(MyInputPanel); - panelButton_2->setObjectName(QString::fromUtf8("panelButton_2")); - panelButton_2->setGeometry(QRect(160, 150, 160, 50)); - sizePolicy1.setHeightForWidth(panelButton_2->sizePolicy().hasHeightForWidth()); - panelButton_2->setSizePolicy(sizePolicy1); - panelButton_2->setMinimumSize(QSize(0, 0)); - QPalette palette9; - palette9.setBrush(QPalette::Active, QPalette::Button, brush2); - palette9.setBrush(QPalette::Active, QPalette::Shadow, brush3); - palette9.setBrush(QPalette::Inactive, QPalette::Button, brush2); - palette9.setBrush(QPalette::Inactive, QPalette::Shadow, brush3); - palette9.setBrush(QPalette::Disabled, QPalette::Button, brush2); - palette9.setBrush(QPalette::Disabled, QPalette::Shadow, brush3); - panelButton_2->setPalette(palette9); + panelButton_2->setPalette(palette8); panelButton_2->setFocusPolicy(Qt::NoFocus); panelButton_2->setCheckable(false); panelButton_2->setProperty("lylbuttonValue", QVariant(50)); - panelButton_3 = new QPushButton(MyInputPanel); + + horizontalLayout_3->addWidget(panelButton_2); + + panelButton_3 = new QPushButton(widget); panelButton_3->setObjectName(QString::fromUtf8("panelButton_3")); - panelButton_3->setGeometry(QRect(320, 150, 160, 50)); sizePolicy1.setHeightForWidth(panelButton_3->sizePolicy().hasHeightForWidth()); panelButton_3->setSizePolicy(sizePolicy1); panelButton_3->setMinimumSize(QSize(0, 0)); + QPalette palette9; + palette9.setBrush(QPalette::Active, QPalette::Button, brush2); + palette9.setBrush(QPalette::Active, QPalette::Shadow, brush3); + palette9.setBrush(QPalette::Inactive, QPalette::Button, brush2); + palette9.setBrush(QPalette::Inactive, QPalette::Shadow, brush3); + palette9.setBrush(QPalette::Disabled, QPalette::Button, brush2); + palette9.setBrush(QPalette::Disabled, QPalette::Shadow, brush3); + panelButton_3->setPalette(palette9); + panelButton_3->setFocusPolicy(Qt::NoFocus); + panelButton_3->setCheckable(false); + panelButton_3->setProperty("lylbuttonValue", QVariant(51)); + + horizontalLayout_3->addWidget(panelButton_3); + + + verticalLayout_2->addLayout(horizontalLayout_3); + + horizontalLayout_4 = new QHBoxLayout(); + horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4")); + panelButton_0 = new QPushButton(widget); + panelButton_0->setObjectName(QString::fromUtf8("panelButton_0")); + sizePolicy1.setHeightForWidth(panelButton_0->sizePolicy().hasHeightForWidth()); + panelButton_0->setSizePolicy(sizePolicy1); + panelButton_0->setMinimumSize(QSize(0, 0)); QPalette palette10; palette10.setBrush(QPalette::Active, QPalette::Button, brush2); palette10.setBrush(QPalette::Active, QPalette::Shadow, brush3); @@ -238,51 +305,65 @@ public: palette10.setBrush(QPalette::Inactive, QPalette::Shadow, brush3); palette10.setBrush(QPalette::Disabled, QPalette::Button, brush2); palette10.setBrush(QPalette::Disabled, QPalette::Shadow, brush3); - panelButton_3->setPalette(palette10); - panelButton_3->setFocusPolicy(Qt::NoFocus); - panelButton_3->setCheckable(false); - panelButton_3->setProperty("lylbuttonValue", QVariant(51)); - panelButton_1 = new QPushButton(MyInputPanel); - panelButton_1->setObjectName(QString::fromUtf8("panelButton_1")); - panelButton_1->setGeometry(QRect(0, 150, 160, 50)); - sizePolicy1.setHeightForWidth(panelButton_1->sizePolicy().hasHeightForWidth()); - panelButton_1->setSizePolicy(sizePolicy1); - panelButton_1->setMinimumSize(QSize(0, 0)); + panelButton_0->setPalette(palette10); + panelButton_0->setFocusPolicy(Qt::NoFocus); + panelButton_0->setCheckable(false); + panelButton_0->setProperty("lylbuttonValue", QVariant(48)); + + horizontalLayout_4->addWidget(panelButton_0); + + panelButton_Point = new QPushButton(widget); + panelButton_Point->setObjectName(QString::fromUtf8("panelButton_Point")); + sizePolicy1.setHeightForWidth(panelButton_Point->sizePolicy().hasHeightForWidth()); + panelButton_Point->setSizePolicy(sizePolicy1); + panelButton_Point->setMinimumSize(QSize(0, 0)); QPalette palette11; palette11.setBrush(QPalette::Active, QPalette::Button, brush2); - palette11.setBrush(QPalette::Active, QPalette::Shadow, brush3); + QBrush brush4(QColor(170, 85, 0, 255)); + brush4.setStyle(Qt::SolidPattern); + palette11.setBrush(QPalette::Active, QPalette::Shadow, brush4); palette11.setBrush(QPalette::Inactive, QPalette::Button, brush2); - palette11.setBrush(QPalette::Inactive, QPalette::Shadow, brush3); + palette11.setBrush(QPalette::Inactive, QPalette::Shadow, brush4); palette11.setBrush(QPalette::Disabled, QPalette::Button, brush2); - palette11.setBrush(QPalette::Disabled, QPalette::Shadow, brush3); - panelButton_1->setPalette(palette11); - panelButton_1->setFocusPolicy(Qt::NoFocus); - panelButton_1->setCheckable(false); - panelButton_1->setProperty("lylbuttonValue", QVariant(49)); - panelButton_BS = new QPushButton(MyInputPanel); - panelButton_BS->setObjectName(QString::fromUtf8("panelButton_BS")); - panelButton_BS->setGeometry(QRect(320, 200, 160, 50)); - sizePolicy1.setHeightForWidth(panelButton_BS->sizePolicy().hasHeightForWidth()); - panelButton_BS->setSizePolicy(sizePolicy1); - panelButton_BS->setMinimumSize(QSize(0, 0)); + palette11.setBrush(QPalette::Disabled, QPalette::Shadow, brush4); + panelButton_Point->setPalette(palette11); + panelButton_Point->setFocusPolicy(Qt::NoFocus); + panelButton_Point->setProperty("lylbuttonValue", QVariant(8)); + + horizontalLayout_4->addWidget(panelButton_Point); + + panelButton_FU = new QPushButton(widget); + panelButton_FU->setObjectName(QString::fromUtf8("panelButton_FU")); + sizePolicy1.setHeightForWidth(panelButton_FU->sizePolicy().hasHeightForWidth()); + panelButton_FU->setSizePolicy(sizePolicy1); + panelButton_FU->setMinimumSize(QSize(0, 0)); QPalette palette12; palette12.setBrush(QPalette::Active, QPalette::Button, brush2); - QBrush brush4(QColor(170, 85, 0, 255)); - brush4.setStyle(Qt::SolidPattern); palette12.setBrush(QPalette::Active, QPalette::Shadow, brush4); palette12.setBrush(QPalette::Inactive, QPalette::Button, brush2); palette12.setBrush(QPalette::Inactive, QPalette::Shadow, brush4); palette12.setBrush(QPalette::Disabled, QPalette::Button, brush2); palette12.setBrush(QPalette::Disabled, QPalette::Shadow, brush4); - panelButton_BS->setPalette(palette12); - panelButton_BS->setFocusPolicy(Qt::NoFocus); - panelButton_BS->setProperty("lylbuttonValue", QVariant(8)); - panelButton_Point = new QPushButton(MyInputPanel); - panelButton_Point->setObjectName(QString::fromUtf8("panelButton_Point")); - panelButton_Point->setGeometry(QRect(160, 200, 160, 50)); - sizePolicy1.setHeightForWidth(panelButton_Point->sizePolicy().hasHeightForWidth()); - panelButton_Point->setSizePolicy(sizePolicy1); - panelButton_Point->setMinimumSize(QSize(0, 0)); + panelButton_FU->setPalette(palette12); + panelButton_FU->setFocusPolicy(Qt::NoFocus); + panelButton_FU->setProperty("lylbuttonValue", QVariant(8)); + + horizontalLayout_4->addWidget(panelButton_FU); + + + verticalLayout_2->addLayout(horizontalLayout_4); + + + horizontalLayout_5->addLayout(verticalLayout_2); + + verticalLayout = new QVBoxLayout(); + verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); + panelButton_BS = new QPushButton(widget); + panelButton_BS->setObjectName(QString::fromUtf8("panelButton_BS")); + sizePolicy1.setHeightForWidth(panelButton_BS->sizePolicy().hasHeightForWidth()); + panelButton_BS->setSizePolicy(sizePolicy1); + panelButton_BS->setMinimumSize(QSize(0, 0)); + panelButton_BS->setMaximumSize(QSize(100, 150)); QPalette palette13; palette13.setBrush(QPalette::Active, QPalette::Button, brush2); palette13.setBrush(QPalette::Active, QPalette::Shadow, brush4); @@ -290,12 +371,38 @@ public: palette13.setBrush(QPalette::Inactive, QPalette::Shadow, brush4); palette13.setBrush(QPalette::Disabled, QPalette::Button, brush2); palette13.setBrush(QPalette::Disabled, QPalette::Shadow, brush4); - panelButton_Point->setPalette(palette13); - panelButton_Point->setFocusPolicy(Qt::NoFocus); - panelButton_Point->setProperty("lylbuttonValue", QVariant(8)); - testLabel = new QLabel(MyInputPanel); - testLabel->setObjectName(QString::fromUtf8("testLabel")); - testLabel->setGeometry(QRect(110, 10, 321, 21)); + panelButton_BS->setPalette(palette13); + panelButton_BS->setFocusPolicy(Qt::NoFocus); + panelButton_BS->setProperty("lylbuttonValue", QVariant(8)); + + verticalLayout->addWidget(panelButton_BS); + + closeBtn = new QPushButton(widget); + closeBtn->setObjectName(QString::fromUtf8("closeBtn")); + sizePolicy1.setHeightForWidth(closeBtn->sizePolicy().hasHeightForWidth()); + closeBtn->setSizePolicy(sizePolicy1); + closeBtn->setMinimumSize(QSize(0, 0)); + closeBtn->setMaximumSize(QSize(100, 150)); + QPalette palette14; + palette14.setBrush(QPalette::Active, QPalette::Button, brush2); + palette14.setBrush(QPalette::Active, QPalette::Shadow, brush3); + palette14.setBrush(QPalette::Inactive, QPalette::Button, brush2); + palette14.setBrush(QPalette::Inactive, QPalette::Shadow, brush3); + palette14.setBrush(QPalette::Disabled, QPalette::Button, brush2); + palette14.setBrush(QPalette::Disabled, QPalette::Shadow, brush3); + closeBtn->setPalette(palette14); + closeBtn->setFocusPolicy(Qt::NoFocus); + closeBtn->setCheckable(false); + closeBtn->setProperty("lylbuttonValue", QVariant(QChar(48))); + + verticalLayout->addWidget(closeBtn); + + + horizontalLayout_5->addLayout(verticalLayout); + + + verticalLayout_3->addLayout(horizontalLayout_5); + retranslateUi(MyInputPanel); QObject::connect(closeBtn, SIGNAL(clicked()), MyInputPanel, SLOT(hide())); @@ -306,20 +413,21 @@ public: void retranslateUi(QWidget *MyInputPanel) { MyInputPanel->setWindowTitle(QApplication::translate("MyInputPanel", "Soft_keyboard", 0, QApplication::UnicodeUTF8)); - panelButton_0->setText(QApplication::translate("MyInputPanel", "0", 0, QApplication::UnicodeUTF8)); - closeBtn->setText(QApplication::translate("MyInputPanel", "\347\241\256\350\256\244", 0, QApplication::UnicodeUTF8)); - panelButton_5->setText(QApplication::translate("MyInputPanel", "5", 0, QApplication::UnicodeUTF8)); - panelButton_9->setText(QApplication::translate("MyInputPanel", "9", 0, QApplication::UnicodeUTF8)); + testLabel->setText(QApplication::translate("MyInputPanel", "TextLabel", 0, QApplication::UnicodeUTF8)); + panelButton_7->setText(QApplication::translate("MyInputPanel", "7", 0, QApplication::UnicodeUTF8)); panelButton_8->setText(QApplication::translate("MyInputPanel", "8", 0, QApplication::UnicodeUTF8)); - panelButton_6->setText(QApplication::translate("MyInputPanel", "6", 0, QApplication::UnicodeUTF8)); + panelButton_9->setText(QApplication::translate("MyInputPanel", "9", 0, QApplication::UnicodeUTF8)); panelButton_4->setText(QApplication::translate("MyInputPanel", "4", 0, QApplication::UnicodeUTF8)); - panelButton_7->setText(QApplication::translate("MyInputPanel", "7", 0, QApplication::UnicodeUTF8)); + panelButton_5->setText(QApplication::translate("MyInputPanel", "5", 0, QApplication::UnicodeUTF8)); + panelButton_6->setText(QApplication::translate("MyInputPanel", "6", 0, QApplication::UnicodeUTF8)); + panelButton_1->setText(QApplication::translate("MyInputPanel", "1", 0, QApplication::UnicodeUTF8)); panelButton_2->setText(QApplication::translate("MyInputPanel", "2", 0, QApplication::UnicodeUTF8)); panelButton_3->setText(QApplication::translate("MyInputPanel", "3", 0, QApplication::UnicodeUTF8)); - panelButton_1->setText(QApplication::translate("MyInputPanel", "1", 0, QApplication::UnicodeUTF8)); - panelButton_BS->setText(QApplication::translate("MyInputPanel", "\351\200\200\346\240\274", 0, QApplication::UnicodeUTF8)); + panelButton_0->setText(QApplication::translate("MyInputPanel", "0", 0, QApplication::UnicodeUTF8)); panelButton_Point->setText(QApplication::translate("MyInputPanel", ".", 0, QApplication::UnicodeUTF8)); - testLabel->setText(QApplication::translate("MyInputPanel", "TextLabel", 0, QApplication::UnicodeUTF8)); + panelButton_FU->setText(QApplication::translate("MyInputPanel", "-", 0, QApplication::UnicodeUTF8)); + panelButton_BS->setText(QApplication::translate("MyInputPanel", "\351\200\200\346\240\274", 0, QApplication::UnicodeUTF8)); + closeBtn->setText(QApplication::translate("MyInputPanel", "\347\241\256\350\256\244", 0, QApplication::UnicodeUTF8)); } // retranslateUi }; diff --git a/arm_show/arm_show b/arm_show/arm_show index 55e476d..c9d59d7 100755 --- a/arm_show/arm_show +++ b/arm_show/arm_show diff --git a/arm_show/arm_show.pro.user b/arm_show/arm_show.pro.user index f87f56e..3f2f528 100755 --- a/arm_show/arm_show.pro.user +++ b/arm_show/arm_show.pro.user @@ -1,6 +1,6 @@ - + ProjectExplorer.Project.ActiveTarget diff --git a/arm_show/main.cpp b/arm_show/main.cpp index 9f32f7b..7017761 100755 --- a/arm_show/main.cpp +++ b/arm_show/main.cpp @@ -1,7 +1,7 @@ #include "mainwindow.h" #include #include "myinputpanelcontext.h" - +#include int main(int argc, char *argv[]) { @@ -9,10 +9,11 @@ int main(int argc, char *argv[]) MyInputPanelContext *ic = new MyInputPanelContext; a.setInputContext(ic); MainWindow w; -// w.show(); + QApplication::setOverrideCursor(Qt::BlankCursor); + w.show(); // 全屏显示 - w.showFullScreen(); +// w.showFullScreen(); return a.exec(); diff --git a/arm_show/main.o b/arm_show/main.o index f36325b..0c0342f 100644 --- a/arm_show/main.o +++ b/arm_show/main.o diff --git a/arm_show/mainwindow.cpp b/arm_show/mainwindow.cpp index 829b5e1..ee0e884 100755 --- a/arm_show/mainwindow.cpp +++ b/arm_show/mainwindow.cpp @@ -9,6 +9,7 @@ changePassword * change_password; MyInputPanelContext *winpanel; QString globaldata; +int closeTime = 10000; @@ -18,17 +19,36 @@ MainWindow::MainWindow(QWidget *parent) : ui(new Ui::MainWindow) { winpanel = new MyInputPanelContext; + // winpanel->ui->panelButton_BS->setText("asdasdasd"); setConfigDataEnable = TRUE; qDebug()<setupUi(this); + system("echo 7 > /sys/devices/soc0/backlight.9/backlight/backlight.9/brightness"); //调节屏幕背光 QMapInit(); - // socketClientInit(); - // timedGetStatusTimer(); +// socketClientInit(); +// timedGetStatusTimer(); limitInput(); - // closeWindowTimer(); + closeWindowTimer(); ui->conPara->installEventFilter(this); +ui->backWaterAirHeight->installEventFilter(this); +ui->backWaterLimitConfig->installEventFilter(this); +ui->backWaterOffset->installEventFilter(this); +ui->tailWaterAirHeight->installEventFilter(this); +ui->tailWaterLimitConfig->installEventFilter(this); +ui->tailWaterOffset->installEventFilter(this); +ui->frontWaterAirHeight->installEventFilter(this); +ui->frontWaterLimitConfig->installEventFilter(this); +ui->frontWaterOffset->installEventFilter(this); +ui->totalFlowConfig->installEventFilter(this); + +ui->centralWidget->setMouseTracking(true); +setMouseTracking(true); +ui->autoControlBtn_index->setMouseTracking(true); + +connect(qApp, SIGNAL(focusChanged(QWidget*,QWidget*)), + this, SLOT(timerUpdate(QWidget*,QWidget*))); ui->label_3->adjustSize(); @@ -785,7 +805,7 @@ void MainWindow::timedGetStatusTimer() { statusTimer = new QTimer(); connect(statusTimer, SIGNAL(timeout()), this, SLOT(sendMsgGroup())); - statusTimer->start(10000); + statusTimer->start(1000); } void MainWindow::getConfigMsgOrder() @@ -958,7 +978,7 @@ void MainWindow::setBatteryIcon() void MainWindow::mousePressEvent(QMouseEvent *e) { - qDebug()<<"b"; +// qDebug()<<"b"; Q_UNUSED(e); closeTimer->stop(); @@ -966,17 +986,25 @@ void MainWindow::mousePressEvent(QMouseEvent *e) void MainWindow::mouseReleaseEvent(QMouseEvent *e) { - qDebug()<<"e"; +// qDebug()<<"e"; Q_UNUSED(e); - closeTimer->start(10000); + closeTimer->start(closeTime); } + void MainWindow::closeWindowTimer() { closeTimer = new QTimer; connect(closeTimer,SIGNAL(timeout()),this,SLOT(close())); - closeTimer->start(10000); + closeTimer->start(closeTime); +} + +void MainWindow::closeEvent(QCloseEvent *event) +{ + system("echo 0 > /sys/devices/soc0/backlight.9/backlight/backlight.9/brightness");//调节屏幕背光 + qDebug()<<"close windows"; + event->accept(); } @@ -1118,6 +1146,8 @@ void MainWindow::on_parmConfigBtn_index_clicked() // login_password->setWindowModality(Qt::ApplicationModal); ui->parmConfigBtn_index->setEnabled(false); login_password->setWindowTitle(QString::fromUtf8("密码验证")); + login_password->move(400,200); + login_password->setGeometry(QRect(400,200,300,250)); login_password->showNormal(); connect(login_password->ui->enter_Btn,SIGNAL(clicked()),this,SLOT(data_password())); @@ -1876,6 +1906,7 @@ void MainWindow::on_passwordChangeBtn_parmIndex_clicked() // login_password->setWindowModality(Qt::ApplicationModal); ui->parmConfigBtn_index->setEnabled(false); change_password->setWindowTitle(QString::fromUtf8("密码修改")); + change_password->setGeometry(QRect(400,200,300,250)); change_password->showNormal(); connect(change_password->ui->affirm_passwd,SIGNAL(textChanged(QString)),this,SLOT(warning_data())); connect(change_password->ui->input_passwd,SIGNAL(textChanged(QString)),this,SLOT(warning_data())); @@ -1959,13 +1990,107 @@ bool MainWindow::eventFilter(QObject *watched, QEvent *event) globaldata = ""; ui->conPara->setText(""); } - else if (event->type()==QEvent::FocusOut) // 这里指 lineEdit1 控件的失去焦点事件 + } + + if (watched==ui->backWaterAirHeight) //首先判断控件(这里指 lineEdit1) + { + if (event->type()==Qt::ClickFocus) //然后再判断控件的具体事件 (这里指获得焦点事件) + { + globaldata = ""; + ui->backWaterAirHeight->setText(""); + } + } + + if (watched==ui->backWaterLimitConfig) //首先判断控件(这里指 lineEdit1) + { + if (event->type()==Qt::ClickFocus) //然后再判断控件的具体事件 (这里指获得焦点事件) + { + globaldata = ""; + ui->backWaterLimitConfig->setText(""); + } + } + + if (watched==ui->backWaterOffset) //首先判断控件(这里指 lineEdit1) + { + if (event->type()==Qt::ClickFocus) //然后再判断控件的具体事件 (这里指获得焦点事件) + { + globaldata = ""; + ui->backWaterOffset->setText(""); + } + } + + if (watched==ui->tailWaterAirHeight) //首先判断控件(这里指 lineEdit1) + { + if (event->type()==Qt::ClickFocus) //然后再判断控件的具体事件 (这里指获得焦点事件) + { + globaldata = ""; + ui->tailWaterAirHeight->setText(""); + } + } + + if (watched==ui->tailWaterLimitConfig) //首先判断控件(这里指 lineEdit1) + { + if (event->type()==Qt::ClickFocus) //然后再判断控件的具体事件 (这里指获得焦点事件) + { + globaldata = ""; + ui->tailWaterLimitConfig->setText(""); + } + } + + if (watched==ui->tailWaterOffset) //首先判断控件(这里指 lineEdit1) + { + if (event->type()==Qt::ClickFocus) //然后再判断控件的具体事件 (这里指获得焦点事件) + { + globaldata = ""; + ui->tailWaterOffset->setText(""); + } + } + + if (watched==ui->frontWaterAirHeight) //首先判断控件(这里指 lineEdit1) + { + if (event->type()==Qt::ClickFocus) //然后再判断控件的具体事件 (这里指获得焦点事件) { + globaldata = ""; + ui->frontWaterAirHeight->setText(""); + } + } - } + if (watched==ui->frontWaterLimitConfig) //首先判断控件(这里指 lineEdit1) + { + if (event->type()==Qt::ClickFocus) //然后再判断控件的具体事件 (这里指获得焦点事件) + { + globaldata = ""; + ui->frontWaterLimitConfig->setText(""); + } } + + if (watched==ui->frontWaterOffset) //首先判断控件(这里指 lineEdit1) + { + if (event->type()==Qt::ClickFocus) //然后再判断控件的具体事件 (这里指获得焦点事件) + { + globaldata = ""; + ui->frontWaterOffset->setText(""); + } + } + + if (watched==ui->totalFlowConfig) //首先判断控件(这里指 lineEdit1) + { + if (event->type()==Qt::ClickFocus) //然后再判断控件的具体事件 (这里指获得焦点事件) + { + globaldata = ""; + ui->totalFlowConfig->setText(""); + } + } + return QWidget::eventFilter(watched,event); // 最后将事件交给上层对话框 } +void MainWindow::timerUpdate(QWidget *, QWidget *) +{ +// qDebug()<<"time update"; + closeTimer->stop(); + closeTimer->start(closeTime); +} + diff --git a/arm_show/mainwindow.h b/arm_show/mainwindow.h index df9e3da..ccc5cd3 100755 --- a/arm_show/mainwindow.h +++ b/arm_show/mainwindow.h @@ -26,7 +26,7 @@ #include #include #include - +#include /**********************************************************************************/ namespace Ui { @@ -109,10 +109,9 @@ public: void mouseReleaseEvent(QMouseEvent *e); - void closeWindowTimer(); - + void closeEvent(QCloseEvent *); @@ -280,6 +279,7 @@ signals: public slots: bool eventFilter(QObject *,QEvent *); //注意这里 + void timerUpdate(QWidget*,QWidget*); private slots: void clientRecvData(); // 客户端接收数据 void clientRecvDataDebug();//tcp socket server读数据给调试页面 diff --git a/arm_show/mainwindow.o b/arm_show/mainwindow.o index b907df6..0b62f2d 100644 --- a/arm_show/mainwindow.o +++ b/arm_show/mainwindow.o diff --git a/arm_show/mainwindow.ui b/arm_show/mainwindow.ui index 20eb567..ab5676c 100755 --- a/arm_show/mainwindow.ui +++ b/arm_show/mainwindow.ui @@ -125,7 +125,7 @@ - 1 + 6 @@ -1473,7 +1473,7 @@ QListView{background-color: rgb(225, 225, 225);border:2px groove gray;border-rad - + 690 @@ -2509,7 +2509,7 @@ QPushButton:hover{background-color:rgb(229, 241, 251); color: black;} - + 690 @@ -2742,7 +2742,7 @@ QPushButton:hover{background-color:rgb(229, 241, 251); color: black;} - + 690 @@ -2975,7 +2975,7 @@ QPushButton:hover{background-color:rgb(229, 241, 251); color: black;} - + 690 @@ -3110,11 +3110,9 @@ QPushButton:hover{background-color:rgb(229, 241, 251); color: black;} + layoutWidget listView_5 layoutWidget_5 - backBtn_fault - alarmEnquiriesBtn_fault - faultQueryBtn_fault devFault_Browser @@ -3312,7 +3310,7 @@ QPushButton:hover{background-color:rgb(229, 241, 251); color: black;} - + 691 @@ -4198,7 +4196,7 @@ QPushButton:hover{background-color:rgb(229, 241, 251); color: black;} QListView{background-color: rgb(225, 225, 225);border:2px groove gray;border-radius:25px;padding:2px 4px;border-style: outset;} - + 691 @@ -4894,7 +4892,7 @@ QPushButton:hover{background-color:rgb(229, 241, 251); color: black;} - + 690 @@ -5951,7 +5949,7 @@ QPushButton:hover{background-color:rgb(229, 241, 251); color: black;} QListView{background-color: rgb(225, 225, 225);border:2px groove gray;border-radius:25px;padding:2px 4px;border-style: outset;} - + 691 @@ -6128,9 +6126,9 @@ QPushButton:hover{background-color:rgb(229, 241, 251); color: black;} + layoutWidget listView_9 layoutWidget_14 - layoutWidget_13 @@ -6157,7 +6155,7 @@ QPushButton:hover{background-color:rgb(229, 241, 251); color: black;} 70 40 - 571 + 666 271 @@ -6610,7 +6608,7 @@ QPushButton:hover{background-color:rgb(229, 241, 251); color: black;} - + 691 @@ -7281,7 +7279,7 @@ QPushButton:hover{background-color:rgb(229, 241, 251); color: black;} QListView{background-color: rgb(225, 225, 225);border:2px groove gray;border-radius:25px;padding:2px 4px;border-style: outset;} - + 690 @@ -7416,11 +7414,9 @@ QPushButton:hover{background-color:rgb(229, 241, 251); color: black;} + layoutWidget listView_12 - backBtn_deviceManage - debugBtn_deviceManage layoutWidget_21 - rebootBtn_deviceManage diff --git a/arm_show/moc_changepassword.cpp b/arm_show/moc_changepassword.cpp index 1cfbf27..fe32bd5 100644 --- a/arm_show/moc_changepassword.cpp +++ b/arm_show/moc_changepassword.cpp @@ -1,7 +1,7 @@ /**************************************************************************** ** Meta object code from reading C++ file 'changepassword.h' ** -** Created: Sat Mar 20 20:05:12 2021 +** Created: Mon Mar 22 18:00:11 2021 ** by: The Qt Meta Object Compiler version 63 (Qt 4.8.1) ** ** WARNING! All changes made in this file will be lost! diff --git a/arm_show/moc_login.cpp b/arm_show/moc_login.cpp index a394b72..b527684 100644 --- a/arm_show/moc_login.cpp +++ b/arm_show/moc_login.cpp @@ -1,7 +1,7 @@ /**************************************************************************** ** Meta object code from reading C++ file 'login.h' ** -** Created: Sat Mar 20 20:05:11 2021 +** Created: Mon Mar 22 18:00:09 2021 ** by: The Qt Meta Object Compiler version 63 (Qt 4.8.1) ** ** WARNING! All changes made in this file will be lost! diff --git a/arm_show/moc_mainwindow.cpp b/arm_show/moc_mainwindow.cpp index 6bc100c..aff1927 100644 --- a/arm_show/moc_mainwindow.cpp +++ b/arm_show/moc_mainwindow.cpp @@ -1,7 +1,7 @@ /**************************************************************************** ** Meta object code from reading C++ file 'mainwindow.h' ** -** Created: Sat Mar 20 20:05:08 2021 +** Created: Mon Mar 22 18:00:06 2021 ** by: The Qt Meta Object Compiler version 63 (Qt 4.8.1) ** ** WARNING! All changes made in this file will be lost! @@ -23,7 +23,7 @@ static const uint qt_meta_data_MainWindow[] = { 6, // revision 0, // classname 0, 0, // classinfo - 108, 14, // methods + 109, 14, // methods 0, 0, // properties 0, 0, // enums/sets 0, 0, // constructors @@ -35,112 +35,113 @@ static const uint qt_meta_data_MainWindow[] = { // slots: signature, parameters, type, tag, flags 50, 48, 43, 11, 0x0a, - 80, 11, 11, 11, 0x08, - 97, 11, 11, 11, 0x08, - 119, 11, 11, 11, 0x08, - 139, 11, 11, 11, 0x08, - 154, 11, 11, 11, 0x08, - 172, 11, 11, 11, 0x08, - 188, 11, 11, 11, 0x08, - 210, 11, 11, 11, 0x08, - 226, 11, 11, 11, 0x08, - 247, 11, 11, 11, 0x08, - 262, 11, 11, 11, 0x08, - 276, 11, 11, 11, 0x08, + 80, 48, 11, 11, 0x0a, + 111, 11, 11, 11, 0x08, + 128, 11, 11, 11, 0x08, + 150, 11, 11, 11, 0x08, + 170, 11, 11, 11, 0x08, + 185, 11, 11, 11, 0x08, + 203, 11, 11, 11, 0x08, + 219, 11, 11, 11, 0x08, + 241, 11, 11, 11, 0x08, + 257, 11, 11, 11, 0x08, + 278, 11, 11, 11, 0x08, + 293, 11, 11, 11, 0x08, 307, 11, 11, 11, 0x08, - 341, 11, 11, 11, 0x08, - 376, 11, 11, 11, 0x08, - 409, 11, 11, 11, 0x08, - 444, 11, 11, 11, 0x08, - 465, 11, 11, 11, 0x08, - 503, 11, 11, 11, 0x08, - 537, 11, 11, 11, 0x08, - 565, 11, 11, 11, 0x08, - 602, 11, 11, 11, 0x08, - 635, 11, 11, 11, 0x08, - 662, 11, 11, 11, 0x08, - 699, 11, 11, 11, 0x08, - 732, 11, 11, 11, 0x08, - 759, 11, 11, 11, 0x08, - 796, 11, 11, 11, 0x08, + 338, 11, 11, 11, 0x08, + 372, 11, 11, 11, 0x08, + 407, 11, 11, 11, 0x08, + 440, 11, 11, 11, 0x08, + 475, 11, 11, 11, 0x08, + 496, 11, 11, 11, 0x08, + 534, 11, 11, 11, 0x08, + 568, 11, 11, 11, 0x08, + 596, 11, 11, 11, 0x08, + 633, 11, 11, 11, 0x08, + 666, 11, 11, 11, 0x08, + 693, 11, 11, 11, 0x08, + 730, 11, 11, 11, 0x08, + 763, 11, 11, 11, 0x08, + 790, 11, 11, 11, 0x08, 827, 11, 11, 11, 0x08, - 857, 11, 11, 11, 0x08, - 901, 11, 11, 11, 0x08, - 945, 11, 11, 11, 0x08, - 987, 11, 11, 11, 0x08, - 1019, 11, 11, 11, 0x08, - 1069, 11, 11, 11, 0x08, - 1111, 11, 11, 11, 0x08, - 1159, 11, 11, 11, 0x08, - 1197, 11, 11, 11, 0x08, - 1237, 11, 11, 11, 0x08, - 1285, 11, 11, 11, 0x08, - 1331, 11, 11, 11, 0x08, - 1367, 11, 11, 11, 0x08, - 1402, 11, 11, 11, 0x08, - 1436, 11, 11, 11, 0x08, - 1479, 1474, 11, 11, 0x08, - 1515, 1474, 11, 11, 0x08, - 1551, 1474, 11, 11, 0x08, - 1588, 1474, 11, 11, 0x08, - 1621, 1474, 11, 11, 0x08, - 1656, 1474, 11, 11, 0x08, - 1689, 1474, 11, 11, 0x08, - 1723, 1474, 11, 11, 0x08, - 1763, 1474, 11, 11, 0x08, - 1802, 1474, 11, 11, 0x08, - 1841, 1474, 11, 11, 0x08, - 1879, 1474, 11, 11, 0x08, - 1910, 1474, 11, 11, 0x08, - 1944, 1474, 11, 11, 0x08, - 1977, 1474, 11, 11, 0x08, - 2010, 1474, 11, 11, 0x08, - 2039, 1474, 11, 11, 0x08, - 2076, 1474, 11, 11, 0x08, - 2108, 1474, 11, 11, 0x08, - 2142, 1474, 11, 11, 0x08, - 2171, 1474, 11, 11, 0x08, - 2205, 1474, 11, 11, 0x08, - 2238, 1474, 11, 11, 0x08, - 2277, 1474, 11, 11, 0x08, - 2313, 1474, 11, 11, 0x08, - 2358, 1474, 11, 11, 0x08, - 2401, 1474, 11, 11, 0x08, - 2443, 1474, 11, 11, 0x08, - 2485, 1474, 11, 11, 0x08, - 2524, 1474, 11, 11, 0x08, - 2560, 1474, 11, 11, 0x08, - 2598, 1474, 11, 11, 0x08, - 2640, 1474, 11, 11, 0x08, - 2682, 1474, 11, 11, 0x08, - 2717, 1474, 11, 11, 0x08, - 2755, 1474, 11, 11, 0x08, - 2794, 1474, 11, 11, 0x08, - 2832, 1474, 11, 11, 0x08, - 2881, 1474, 11, 11, 0x08, - 2929, 1474, 11, 11, 0x08, - 2977, 1474, 11, 11, 0x08, - 3010, 1474, 11, 11, 0x08, - 3043, 1474, 11, 11, 0x08, - 3083, 1474, 11, 11, 0x08, - 3113, 1474, 11, 11, 0x08, - 3147, 1474, 11, 11, 0x08, - 3181, 1474, 11, 11, 0x08, - 3211, 11, 11, 11, 0x08, - 3247, 11, 11, 11, 0x08, - 3284, 11, 11, 11, 0x08, - 3305, 11, 11, 11, 0x08, - 3334, 11, 11, 11, 0x08, - 3375, 1474, 11, 11, 0x08, - 3419, 1474, 11, 11, 0x08, - 3465, 1474, 11, 11, 0x08, - 3506, 1474, 11, 11, 0x08, - 3549, 1474, 11, 11, 0x08, - 3594, 1474, 11, 11, 0x08, - 3634, 1474, 11, 11, 0x08, - 3677, 1474, 11, 11, 0x08, - 3722, 1474, 11, 11, 0x08, - 3762, 1474, 11, 11, 0x08, + 858, 11, 11, 11, 0x08, + 888, 11, 11, 11, 0x08, + 932, 11, 11, 11, 0x08, + 976, 11, 11, 11, 0x08, + 1018, 11, 11, 11, 0x08, + 1050, 11, 11, 11, 0x08, + 1100, 11, 11, 11, 0x08, + 1142, 11, 11, 11, 0x08, + 1190, 11, 11, 11, 0x08, + 1228, 11, 11, 11, 0x08, + 1268, 11, 11, 11, 0x08, + 1316, 11, 11, 11, 0x08, + 1362, 11, 11, 11, 0x08, + 1398, 11, 11, 11, 0x08, + 1433, 11, 11, 11, 0x08, + 1467, 11, 11, 11, 0x08, + 1510, 1505, 11, 11, 0x08, + 1546, 1505, 11, 11, 0x08, + 1582, 1505, 11, 11, 0x08, + 1619, 1505, 11, 11, 0x08, + 1652, 1505, 11, 11, 0x08, + 1687, 1505, 11, 11, 0x08, + 1720, 1505, 11, 11, 0x08, + 1754, 1505, 11, 11, 0x08, + 1794, 1505, 11, 11, 0x08, + 1833, 1505, 11, 11, 0x08, + 1872, 1505, 11, 11, 0x08, + 1910, 1505, 11, 11, 0x08, + 1941, 1505, 11, 11, 0x08, + 1975, 1505, 11, 11, 0x08, + 2008, 1505, 11, 11, 0x08, + 2041, 1505, 11, 11, 0x08, + 2070, 1505, 11, 11, 0x08, + 2107, 1505, 11, 11, 0x08, + 2139, 1505, 11, 11, 0x08, + 2173, 1505, 11, 11, 0x08, + 2202, 1505, 11, 11, 0x08, + 2236, 1505, 11, 11, 0x08, + 2269, 1505, 11, 11, 0x08, + 2308, 1505, 11, 11, 0x08, + 2344, 1505, 11, 11, 0x08, + 2389, 1505, 11, 11, 0x08, + 2432, 1505, 11, 11, 0x08, + 2474, 1505, 11, 11, 0x08, + 2516, 1505, 11, 11, 0x08, + 2555, 1505, 11, 11, 0x08, + 2591, 1505, 11, 11, 0x08, + 2629, 1505, 11, 11, 0x08, + 2671, 1505, 11, 11, 0x08, + 2713, 1505, 11, 11, 0x08, + 2748, 1505, 11, 11, 0x08, + 2786, 1505, 11, 11, 0x08, + 2825, 1505, 11, 11, 0x08, + 2863, 1505, 11, 11, 0x08, + 2912, 1505, 11, 11, 0x08, + 2960, 1505, 11, 11, 0x08, + 3008, 1505, 11, 11, 0x08, + 3041, 1505, 11, 11, 0x08, + 3074, 1505, 11, 11, 0x08, + 3114, 1505, 11, 11, 0x08, + 3144, 1505, 11, 11, 0x08, + 3178, 1505, 11, 11, 0x08, + 3212, 1505, 11, 11, 0x08, + 3242, 11, 11, 11, 0x08, + 3278, 11, 11, 11, 0x08, + 3315, 11, 11, 11, 0x08, + 3336, 11, 11, 11, 0x08, + 3365, 11, 11, 11, 0x08, + 3406, 1505, 11, 11, 0x08, + 3450, 1505, 11, 11, 0x08, + 3496, 1505, 11, 11, 0x08, + 3537, 1505, 11, 11, 0x08, + 3580, 1505, 11, 11, 0x08, + 3625, 1505, 11, 11, 0x08, + 3665, 1505, 11, 11, 0x08, + 3708, 1505, 11, 11, 0x08, + 3753, 1505, 11, 11, 0x08, + 3793, 1505, 11, 11, 0x08, 0 // eod }; @@ -148,6 +149,7 @@ static const uint qt_meta_data_MainWindow[] = { static const char qt_meta_stringdata_MainWindow[] = { "MainWindow\0\0data\0sendDataLineEdit(QString)\0" "bool\0,\0eventFilter(QObject*,QEvent*)\0" + "timerUpdate(QWidget*,QWidget*)\0" "clientRecvData()\0clientRecvDataDebug()\0" "getStatusMsgOrder()\0sendMsgGroup()\0" "timeStatusEvent()\0data_password()\0" @@ -258,112 +260,113 @@ void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, case 0: _t->sendDataLineEdit((*reinterpret_cast< QString(*)>(_a[1]))); break; case 1: { bool _r = _t->eventFilter((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< QEvent*(*)>(_a[2]))); if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break; - case 2: _t->clientRecvData(); break; - case 3: _t->clientRecvDataDebug(); break; - case 4: _t->getStatusMsgOrder(); break; - case 5: _t->sendMsgGroup(); break; - case 6: _t->timeStatusEvent(); break; - case 7: _t->data_password(); break; - case 8: _t->login_passwordClose(); break; - case 9: _t->change_passwd(); break; - case 10: _t->change_passwdClose(); break; - case 11: _t->warning_data(); break; - case 12: _t->closeWindow(); break; - case 13: _t->on_backBtn_debugPage_clicked(); break; - case 14: _t->on_autoControlBtn_index_clicked(); break; - case 15: _t->on_deviceStatusBtn_index_clicked(); break; - case 16: _t->on_parmConfigBtn_index_clicked(); break; - case 17: _t->on_deviceManageBtn_index_clicked(); break; - case 18: _t->on_backBtn_clicked(); break; - case 19: _t->on_alarmEnquiriesBtn_status_clicked(); break; - case 20: _t->on_faultQueryBtn_status_clicked(); break; - case 21: _t->on_backBtn_Status_clicked(); break; - case 22: _t->on_alarmEnquiriesBtn_alarm_clicked(); break; - case 23: _t->on_faultQueryBtn_alarm_clicked(); break; - case 24: _t->on_backBtn_alarm_clicked(); break; - case 25: _t->on_alarmEnquiriesBtn_fault_clicked(); break; - case 26: _t->on_faultQueryBtn_fault_clicked(); break; - case 27: _t->on_backBtn_fault_clicked(); break; - case 28: _t->on_parmConfigBtn_parmIndex_clicked(); break; - case 29: _t->on_backBtn_parmIndex_clicked(); break; - case 30: _t->on_backBtn_gateParm_clicked(); break; - case 31: _t->on_functionalConfigBtn_parmConfig_clicked(); break; - case 32: _t->on_gateSelfInspectionBtn_gateParm_clicked(); break; - case 33: _t->on_functionalParmBtn_parmConfig_clicked(); break; - case 34: _t->on_backBtn_parmConfig_clicked(); break; - case 35: _t->on_functionalConfigBtn_functionalConfig_clicked(); break; - case 36: _t->on_gateParmBtn_functionalConfig_clicked(); break; - case 37: _t->on_functionalParmBtn_functionalConfig_clicked(); break; - case 38: _t->on_backBtn_functionalConfig_clicked(); break; - case 39: _t->on_gateParmBtn_functionalParm_clicked(); break; - case 40: _t->on_functionalConfigBtn_functionalParm_clicked(); break; - case 41: _t->on_functionalParmBtn_functionalParm_clicked(); break; - case 42: _t->on_backBtn_functionalParm_clicked(); break; - case 43: _t->on_debugBtn_deviceManage_clicked(); break; - case 44: _t->on_backBtn_deviceManage_clicked(); break; - case 45: _t->on_gateConfigBtn_parmConfig_clicked(); break; - case 46: _t->on_controlMode_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 47: _t->on_limitStatus_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 48: _t->on_encoderValue_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 49: _t->on_flowMode_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 50: _t->on_flowStatus_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 51: _t->on_flowRate_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 52: _t->on_totalFlow_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 53: _t->on_frontWaterLevel_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 54: _t->on_backWaterLevel_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 55: _t->on_tailWaterLevel_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 56: _t->on_controlStatus_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 57: _t->on_iot_id_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 58: _t->on_devOnline_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 59: _t->on_devAlarm_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 60: _t->on_devFault_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 61: _t->on_temp_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 62: _t->on_chargeStatus_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 63: _t->on_batVolt_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 64: _t->on_batEnergy_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 65: _t->on_rssi_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 66: _t->on_videoSync_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 67: _t->on_bootTime_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 68: _t->on_configSyncTime_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 69: _t->on_encoderType_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 70: _t->on_gateCorrectingStatus_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 71: _t->on_frontNilometerType_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 72: _t->on_backNilometerType_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 73: _t->on_tailNilometerType_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 74: _t->on_flowModeConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 75: _t->on_videoEnable_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 76: _t->on_monitorEnable_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 77: _t->on_encoderTypeConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 78: _t->on_encoderValueRatio_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 79: _t->on_ratedSpeed_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 80: _t->on_gateOpenValue_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 81: _t->on_gateCloseValue_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 82: _t->on_gateSelfCheck_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 83: _t->on_frontNilometerTypeConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 84: _t->on_backNilometerTypeConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 85: _t->on_tailNilometerTypeConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 86: _t->on_wingWall_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 87: _t->on_dropStep_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 88: _t->on_totalFlowConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 89: _t->on_devSn_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 90: _t->on_hwVersion_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 91: _t->on_swVersion_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 92: _t->on_mfDay_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 93: _t->on_rebootBtn_deviceManage_clicked(); break; - case 94: _t->on_configSaveBtn_parmIndex_clicked(); break; - case 95: _t->on_saveBtn_clicked(); break; - case 96: _t->on_remoteForbidden_clicked(); break; - case 97: _t->on_passwordChangeBtn_parmIndex_clicked(); break; - case 98: _t->on_frontWaterAirHeight_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 99: _t->on_frontWaterLimitConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 100: _t->on_frontWaterOffset_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 101: _t->on_backWaterAirHeight_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 102: _t->on_backWaterLimitConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 103: _t->on_backWaterOffset_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 104: _t->on_tailWaterAirHeight_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 105: _t->on_tailWaterLimitConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 106: _t->on_tailWaterOffset_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 107: _t->on_conPara_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 2: _t->timerUpdate((*reinterpret_cast< QWidget*(*)>(_a[1])),(*reinterpret_cast< QWidget*(*)>(_a[2]))); break; + case 3: _t->clientRecvData(); break; + case 4: _t->clientRecvDataDebug(); break; + case 5: _t->getStatusMsgOrder(); break; + case 6: _t->sendMsgGroup(); break; + case 7: _t->timeStatusEvent(); break; + case 8: _t->data_password(); break; + case 9: _t->login_passwordClose(); break; + case 10: _t->change_passwd(); break; + case 11: _t->change_passwdClose(); break; + case 12: _t->warning_data(); break; + case 13: _t->closeWindow(); break; + case 14: _t->on_backBtn_debugPage_clicked(); break; + case 15: _t->on_autoControlBtn_index_clicked(); break; + case 16: _t->on_deviceStatusBtn_index_clicked(); break; + case 17: _t->on_parmConfigBtn_index_clicked(); break; + case 18: _t->on_deviceManageBtn_index_clicked(); break; + case 19: _t->on_backBtn_clicked(); break; + case 20: _t->on_alarmEnquiriesBtn_status_clicked(); break; + case 21: _t->on_faultQueryBtn_status_clicked(); break; + case 22: _t->on_backBtn_Status_clicked(); break; + case 23: _t->on_alarmEnquiriesBtn_alarm_clicked(); break; + case 24: _t->on_faultQueryBtn_alarm_clicked(); break; + case 25: _t->on_backBtn_alarm_clicked(); break; + case 26: _t->on_alarmEnquiriesBtn_fault_clicked(); break; + case 27: _t->on_faultQueryBtn_fault_clicked(); break; + case 28: _t->on_backBtn_fault_clicked(); break; + case 29: _t->on_parmConfigBtn_parmIndex_clicked(); break; + case 30: _t->on_backBtn_parmIndex_clicked(); break; + case 31: _t->on_backBtn_gateParm_clicked(); break; + case 32: _t->on_functionalConfigBtn_parmConfig_clicked(); break; + case 33: _t->on_gateSelfInspectionBtn_gateParm_clicked(); break; + case 34: _t->on_functionalParmBtn_parmConfig_clicked(); break; + case 35: _t->on_backBtn_parmConfig_clicked(); break; + case 36: _t->on_functionalConfigBtn_functionalConfig_clicked(); break; + case 37: _t->on_gateParmBtn_functionalConfig_clicked(); break; + case 38: _t->on_functionalParmBtn_functionalConfig_clicked(); break; + case 39: _t->on_backBtn_functionalConfig_clicked(); break; + case 40: _t->on_gateParmBtn_functionalParm_clicked(); break; + case 41: _t->on_functionalConfigBtn_functionalParm_clicked(); break; + case 42: _t->on_functionalParmBtn_functionalParm_clicked(); break; + case 43: _t->on_backBtn_functionalParm_clicked(); break; + case 44: _t->on_debugBtn_deviceManage_clicked(); break; + case 45: _t->on_backBtn_deviceManage_clicked(); break; + case 46: _t->on_gateConfigBtn_parmConfig_clicked(); break; + case 47: _t->on_controlMode_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 48: _t->on_limitStatus_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 49: _t->on_encoderValue_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 50: _t->on_flowMode_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 51: _t->on_flowStatus_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 52: _t->on_flowRate_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 53: _t->on_totalFlow_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 54: _t->on_frontWaterLevel_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 55: _t->on_backWaterLevel_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 56: _t->on_tailWaterLevel_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 57: _t->on_controlStatus_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 58: _t->on_iot_id_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 59: _t->on_devOnline_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 60: _t->on_devAlarm_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 61: _t->on_devFault_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 62: _t->on_temp_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 63: _t->on_chargeStatus_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 64: _t->on_batVolt_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 65: _t->on_batEnergy_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 66: _t->on_rssi_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 67: _t->on_videoSync_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 68: _t->on_bootTime_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 69: _t->on_configSyncTime_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 70: _t->on_encoderType_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 71: _t->on_gateCorrectingStatus_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 72: _t->on_frontNilometerType_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 73: _t->on_backNilometerType_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 74: _t->on_tailNilometerType_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 75: _t->on_flowModeConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 76: _t->on_videoEnable_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 77: _t->on_monitorEnable_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 78: _t->on_encoderTypeConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 79: _t->on_encoderValueRatio_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 80: _t->on_ratedSpeed_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 81: _t->on_gateOpenValue_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 82: _t->on_gateCloseValue_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 83: _t->on_gateSelfCheck_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 84: _t->on_frontNilometerTypeConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 85: _t->on_backNilometerTypeConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 86: _t->on_tailNilometerTypeConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 87: _t->on_wingWall_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 88: _t->on_dropStep_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 89: _t->on_totalFlowConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 90: _t->on_devSn_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 91: _t->on_hwVersion_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 92: _t->on_swVersion_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 93: _t->on_mfDay_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 94: _t->on_rebootBtn_deviceManage_clicked(); break; + case 95: _t->on_configSaveBtn_parmIndex_clicked(); break; + case 96: _t->on_saveBtn_clicked(); break; + case 97: _t->on_remoteForbidden_clicked(); break; + case 98: _t->on_passwordChangeBtn_parmIndex_clicked(); break; + case 99: _t->on_frontWaterAirHeight_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 100: _t->on_frontWaterLimitConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 101: _t->on_frontWaterOffset_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 102: _t->on_backWaterAirHeight_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 103: _t->on_backWaterLimitConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 104: _t->on_backWaterOffset_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 105: _t->on_tailWaterAirHeight_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 106: _t->on_tailWaterLimitConfig_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 107: _t->on_tailWaterOffset_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 108: _t->on_conPara_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; default: ; } } @@ -401,9 +404,9 @@ int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) if (_id < 0) return _id; if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 108) + if (_id < 109) qt_static_metacall(this, _c, _id, _a); - _id -= 108; + _id -= 109; } return _id; } diff --git a/arm_show/moc_mainwindow.o b/arm_show/moc_mainwindow.o index 1351e33..34f87be 100644 --- a/arm_show/moc_mainwindow.o +++ b/arm_show/moc_mainwindow.o diff --git a/arm_show/moc_myinputpanel.cpp b/arm_show/moc_myinputpanel.cpp index e868085..bc03491 100644 --- a/arm_show/moc_myinputpanel.cpp +++ b/arm_show/moc_myinputpanel.cpp @@ -1,7 +1,7 @@ /**************************************************************************** ** Meta object code from reading C++ file 'myinputpanel.h' ** -** Created: Sat Mar 20 20:05:09 2021 +** Created: Mon Mar 22 18:00:08 2021 ** by: The Qt Meta Object Compiler version 63 (Qt 4.8.1) ** ** WARNING! All changes made in this file will be lost! diff --git a/arm_show/myinputpanel.cpp b/arm_show/myinputpanel.cpp index c9a05ee..9b570b1 100755 --- a/arm_show/myinputpanel.cpp +++ b/arm_show/myinputpanel.cpp @@ -56,7 +56,7 @@ void MyInputPanel::saveFocusWidget(QWidget * /*oldFocus*/, QWidget *newFocus) //这里只保存需要输入窗口中的指针 if (newFocus != 0 && !this->isAncestorOf(newFocus)) { lastFocusedWidget = newFocus; - qDebug() <<"FocusWidget Changed" << endl;// +// qDebug() <<"FocusWidget Changed" << endl;// } } diff --git a/arm_show/myinputpanel.o b/arm_show/myinputpanel.o index ba052c3..8b99a4b 100644 --- a/arm_show/myinputpanel.o +++ b/arm_show/myinputpanel.o diff --git a/arm_show/myinputpanelcontext.cpp b/arm_show/myinputpanelcontext.cpp index 4c86a26..84d6ea2 100755 --- a/arm_show/myinputpanelcontext.cpp +++ b/arm_show/myinputpanelcontext.cpp @@ -22,7 +22,7 @@ bool MyInputPanelContext::filterEvent(const QEvent* event) if (event->type() == QEvent::RequestSoftwareInputPanel) { // updatePosition();//更新位置 - inputPanel->move(300,150); + inputPanel->move(450,200); inputPanel->show();//显示 inputPanel->clearLineEditData(); diff --git a/arm_show/myinputpanelcontext.o b/arm_show/myinputpanelcontext.o index 0408d51..673e0de 100644 --- a/arm_show/myinputpanelcontext.o +++ b/arm_show/myinputpanelcontext.o diff --git a/arm_show/ui_mainwindow.h b/arm_show/ui_mainwindow.h index c97feb5..e81ef22 100644 --- a/arm_show/ui_mainwindow.h +++ b/arm_show/ui_mainwindow.h @@ -1,7 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'mainwindow.ui' ** -** Created: Fri Mar 19 16:08:30 2021 +** Created: Mon Mar 22 17:59:55 2021 ** by: Qt User Interface Compiler version 4.8.1 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! @@ -109,7 +109,7 @@ public: QLabel *label_17; QSpacerItem *horizontalSpacer_18; QLineEdit *conPara; - QWidget *widget; + QWidget *layoutWidget2; QVBoxLayout *verticalLayout_2; QPushButton *saveBtn; QPushButton *backBtn; @@ -165,7 +165,7 @@ public: QSpacerItem *horizontalSpacer_59; QLineEdit *bootTime; QHBoxLayout *horizontalLayout_54; - QWidget *widget1; + QWidget *layoutWidget3; QVBoxLayout *verticalLayout_15; QPushButton *alarmEnquiriesBtn_status; QPushButton *faultQueryBtn_status; @@ -177,7 +177,7 @@ public: QLabel *devAlarm_2; QSpacerItem *horizontalSpacer_8; QTextBrowser *devAlarm_Browser; - QWidget *widget2; + QWidget *layoutWidget4; QVBoxLayout *verticalLayout_16; QPushButton *alarmEnquiriesBtn_alarm; QPushButton *faultQueryBtn_alarm; @@ -189,7 +189,7 @@ public: QSpacerItem *horizontalSpacer_9; QListView *listView_5; QTextBrowser *devFault_Browser; - QWidget *widget3; + QWidget *layoutWidget5; QVBoxLayout *verticalLayout_17; QPushButton *alarmEnquiriesBtn_fault; QPushButton *faultQueryBtn_fault; @@ -206,7 +206,7 @@ public: QLabel *label_62; QSpacerItem *horizontalSpacer_61; QLineEdit *configSyncTime; - QWidget *widget4; + QWidget *layoutWidget6; QVBoxLayout *verticalLayout_3; QPushButton *parmConfigBtn_parmIndex; QPushButton *passwordChangeBtn_parmIndex; @@ -252,7 +252,7 @@ public: QLineEdit *monitorEnable; QHBoxLayout *horizontalLayout_36; QListView *listView_7; - QWidget *widget5; + QWidget *layoutWidget7; QVBoxLayout *verticalLayout_4; QPushButton *gateConfigBtn_parmConfig; QPushButton *functionalConfigBtn_parmConfig; @@ -286,7 +286,7 @@ public: QLabel *label_49; QSpacerItem *horizontalSpacer_48; QLineEdit *gateSelfCheck; - QWidget *widget6; + QWidget *layoutWidget8; QVBoxLayout *verticalLayout_18; QPushButton *gateSelfInspectionBtn_gateParm; QPushButton *backBtn_gateParm; @@ -343,7 +343,7 @@ public: QSpacerItem *horizontalSpacer_81; QLineEdit *tailWaterOffset; QListView *listView_9; - QWidget *widget7; + QWidget *layoutWidget9; QVBoxLayout *verticalLayout_24; QPushButton *gateParmBtn_functionalConfig; QPushButton *functionalConfigBtn_functionalConfig; @@ -377,7 +377,7 @@ public: QLabel *label_78; QSpacerItem *horizontalSpacer_77; QLineEdit *totalFlowConfig; - QWidget *widget8; + QWidget *layoutWidget10; QVBoxLayout *verticalLayout_27; QPushButton *gateParmBtn_functionalParm; QPushButton *functionalConfigBtn_functionalParm; @@ -412,7 +412,7 @@ public: QSpacerItem *horizontalSpacer_91; QLineEdit *devType; QListView *listView_12; - QWidget *widget9; + QWidget *layoutWidget11; QVBoxLayout *verticalLayout_29; QPushButton *debugBtn_deviceManage; QPushButton *rebootBtn_deviceManage; @@ -1001,15 +1001,15 @@ public: verticalLayout_5->addLayout(horizontalLayout_16); - widget = new QWidget(autoControl); - widget->setObjectName(QString::fromUtf8("widget")); - widget->setGeometry(QRect(690, 20, 302, 168)); - verticalLayout_2 = new QVBoxLayout(widget); + layoutWidget2 = new QWidget(autoControl); + layoutWidget2->setObjectName(QString::fromUtf8("layoutWidget2")); + layoutWidget2->setGeometry(QRect(690, 20, 302, 168)); + verticalLayout_2 = new QVBoxLayout(layoutWidget2); verticalLayout_2->setSpacing(6); verticalLayout_2->setContentsMargins(11, 11, 11, 11); verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2")); verticalLayout_2->setContentsMargins(0, 0, 0, 0); - saveBtn = new QPushButton(widget); + saveBtn = new QPushButton(layoutWidget2); saveBtn->setObjectName(QString::fromUtf8("saveBtn")); saveBtn->setEnabled(true); sizePolicy.setHeightForWidth(saveBtn->sizePolicy().hasHeightForWidth()); @@ -1024,7 +1024,7 @@ public: verticalLayout_2->addWidget(saveBtn); - backBtn = new QPushButton(widget); + backBtn = new QPushButton(layoutWidget2); backBtn->setObjectName(QString::fromUtf8("backBtn")); sizePolicy.setHeightForWidth(backBtn->sizePolicy().hasHeightForWidth()); backBtn->setSizePolicy(sizePolicy); @@ -1412,15 +1412,15 @@ public: verticalLayout_19->addLayout(verticalLayout_22); - widget1 = new QWidget(deviceStatus); - widget1->setObjectName(QString::fromUtf8("widget1")); - widget1->setGeometry(QRect(690, 20, 302, 254)); - verticalLayout_15 = new QVBoxLayout(widget1); + layoutWidget3 = new QWidget(deviceStatus); + layoutWidget3->setObjectName(QString::fromUtf8("layoutWidget3")); + layoutWidget3->setGeometry(QRect(690, 20, 302, 254)); + verticalLayout_15 = new QVBoxLayout(layoutWidget3); verticalLayout_15->setSpacing(6); verticalLayout_15->setContentsMargins(11, 11, 11, 11); verticalLayout_15->setObjectName(QString::fromUtf8("verticalLayout_15")); verticalLayout_15->setContentsMargins(0, 0, 0, 0); - alarmEnquiriesBtn_status = new QPushButton(widget1); + alarmEnquiriesBtn_status = new QPushButton(layoutWidget3); alarmEnquiriesBtn_status->setObjectName(QString::fromUtf8("alarmEnquiriesBtn_status")); alarmEnquiriesBtn_status->setEnabled(true); sizePolicy.setHeightForWidth(alarmEnquiriesBtn_status->sizePolicy().hasHeightForWidth()); @@ -1435,7 +1435,7 @@ public: verticalLayout_15->addWidget(alarmEnquiriesBtn_status); - faultQueryBtn_status = new QPushButton(widget1); + faultQueryBtn_status = new QPushButton(layoutWidget3); faultQueryBtn_status->setObjectName(QString::fromUtf8("faultQueryBtn_status")); sizePolicy.setHeightForWidth(faultQueryBtn_status->sizePolicy().hasHeightForWidth()); faultQueryBtn_status->setSizePolicy(sizePolicy); @@ -1449,7 +1449,7 @@ public: verticalLayout_15->addWidget(faultQueryBtn_status); - backBtn_Status = new QPushButton(widget1); + backBtn_Status = new QPushButton(layoutWidget3); backBtn_Status->setObjectName(QString::fromUtf8("backBtn_Status")); sizePolicy.setHeightForWidth(backBtn_Status->sizePolicy().hasHeightForWidth()); backBtn_Status->setSizePolicy(sizePolicy); @@ -1498,15 +1498,15 @@ public: devAlarm_Browser->setGeometry(QRect(250, 40, 350, 350)); devAlarm_Browser->setMinimumSize(QSize(350, 350)); devAlarm_Browser->setMaximumSize(QSize(350, 350)); - widget2 = new QWidget(alarmEnquiries); - widget2->setObjectName(QString::fromUtf8("widget2")); - widget2->setGeometry(QRect(690, 20, 302, 254)); - verticalLayout_16 = new QVBoxLayout(widget2); + layoutWidget4 = new QWidget(alarmEnquiries); + layoutWidget4->setObjectName(QString::fromUtf8("layoutWidget4")); + layoutWidget4->setGeometry(QRect(690, 20, 302, 254)); + verticalLayout_16 = new QVBoxLayout(layoutWidget4); verticalLayout_16->setSpacing(6); verticalLayout_16->setContentsMargins(11, 11, 11, 11); verticalLayout_16->setObjectName(QString::fromUtf8("verticalLayout_16")); verticalLayout_16->setContentsMargins(0, 0, 0, 0); - alarmEnquiriesBtn_alarm = new QPushButton(widget2); + alarmEnquiriesBtn_alarm = new QPushButton(layoutWidget4); alarmEnquiriesBtn_alarm->setObjectName(QString::fromUtf8("alarmEnquiriesBtn_alarm")); alarmEnquiriesBtn_alarm->setEnabled(true); sizePolicy.setHeightForWidth(alarmEnquiriesBtn_alarm->sizePolicy().hasHeightForWidth()); @@ -1521,7 +1521,7 @@ public: verticalLayout_16->addWidget(alarmEnquiriesBtn_alarm); - faultQueryBtn_alarm = new QPushButton(widget2); + faultQueryBtn_alarm = new QPushButton(layoutWidget4); faultQueryBtn_alarm->setObjectName(QString::fromUtf8("faultQueryBtn_alarm")); sizePolicy.setHeightForWidth(faultQueryBtn_alarm->sizePolicy().hasHeightForWidth()); faultQueryBtn_alarm->setSizePolicy(sizePolicy); @@ -1535,7 +1535,7 @@ public: verticalLayout_16->addWidget(faultQueryBtn_alarm); - backBtn_alarm = new QPushButton(widget2); + backBtn_alarm = new QPushButton(layoutWidget4); backBtn_alarm->setObjectName(QString::fromUtf8("backBtn_alarm")); sizePolicy.setHeightForWidth(backBtn_alarm->sizePolicy().hasHeightForWidth()); backBtn_alarm->setSizePolicy(sizePolicy); @@ -1584,15 +1584,15 @@ public: devFault_Browser->setGeometry(QRect(250, 30, 350, 350)); devFault_Browser->setMinimumSize(QSize(350, 350)); devFault_Browser->setMaximumSize(QSize(350, 350)); - widget3 = new QWidget(faultQuery); - widget3->setObjectName(QString::fromUtf8("widget3")); - widget3->setGeometry(QRect(690, 20, 302, 254)); - verticalLayout_17 = new QVBoxLayout(widget3); + layoutWidget5 = new QWidget(faultQuery); + layoutWidget5->setObjectName(QString::fromUtf8("layoutWidget5")); + layoutWidget5->setGeometry(QRect(690, 20, 302, 254)); + verticalLayout_17 = new QVBoxLayout(layoutWidget5); verticalLayout_17->setSpacing(6); verticalLayout_17->setContentsMargins(11, 11, 11, 11); verticalLayout_17->setObjectName(QString::fromUtf8("verticalLayout_17")); verticalLayout_17->setContentsMargins(0, 0, 0, 0); - alarmEnquiriesBtn_fault = new QPushButton(widget3); + alarmEnquiriesBtn_fault = new QPushButton(layoutWidget5); alarmEnquiriesBtn_fault->setObjectName(QString::fromUtf8("alarmEnquiriesBtn_fault")); alarmEnquiriesBtn_fault->setEnabled(true); sizePolicy.setHeightForWidth(alarmEnquiriesBtn_fault->sizePolicy().hasHeightForWidth()); @@ -1607,7 +1607,7 @@ public: verticalLayout_17->addWidget(alarmEnquiriesBtn_fault); - faultQueryBtn_fault = new QPushButton(widget3); + faultQueryBtn_fault = new QPushButton(layoutWidget5); faultQueryBtn_fault->setObjectName(QString::fromUtf8("faultQueryBtn_fault")); sizePolicy.setHeightForWidth(faultQueryBtn_fault->sizePolicy().hasHeightForWidth()); faultQueryBtn_fault->setSizePolicy(sizePolicy); @@ -1621,7 +1621,7 @@ public: verticalLayout_17->addWidget(faultQueryBtn_fault); - backBtn_fault = new QPushButton(widget3); + backBtn_fault = new QPushButton(layoutWidget5); backBtn_fault->setObjectName(QString::fromUtf8("backBtn_fault")); sizePolicy.setHeightForWidth(backBtn_fault->sizePolicy().hasHeightForWidth()); backBtn_fault->setSizePolicy(sizePolicy); @@ -1636,11 +1636,9 @@ public: verticalLayout_17->addWidget(backBtn_fault); stackedWidget->addWidget(faultQuery); + layoutWidget->raise(); listView_5->raise(); layoutWidget_5->raise(); - backBtn_fault->raise(); - alarmEnquiriesBtn_fault->raise(); - faultQueryBtn_fault->raise(); devFault_Browser->raise(); parm_index = new QWidget(); parm_index->setObjectName(QString::fromUtf8("parm_index")); @@ -1719,15 +1717,15 @@ public: verticalLayout_23->addLayout(horizontalLayout_57); - widget4 = new QWidget(parm_index); - widget4->setObjectName(QString::fromUtf8("widget4")); - widget4->setGeometry(QRect(691, 20, 302, 340)); - verticalLayout_3 = new QVBoxLayout(widget4); + layoutWidget6 = new QWidget(parm_index); + layoutWidget6->setObjectName(QString::fromUtf8("layoutWidget6")); + layoutWidget6->setGeometry(QRect(691, 20, 302, 340)); + verticalLayout_3 = new QVBoxLayout(layoutWidget6); verticalLayout_3->setSpacing(6); verticalLayout_3->setContentsMargins(11, 11, 11, 11); verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3")); verticalLayout_3->setContentsMargins(0, 0, 0, 0); - parmConfigBtn_parmIndex = new QPushButton(widget4); + parmConfigBtn_parmIndex = new QPushButton(layoutWidget6); parmConfigBtn_parmIndex->setObjectName(QString::fromUtf8("parmConfigBtn_parmIndex")); sizePolicy.setHeightForWidth(parmConfigBtn_parmIndex->sizePolicy().hasHeightForWidth()); parmConfigBtn_parmIndex->setSizePolicy(sizePolicy); @@ -1741,7 +1739,7 @@ public: verticalLayout_3->addWidget(parmConfigBtn_parmIndex); - passwordChangeBtn_parmIndex = new QPushButton(widget4); + passwordChangeBtn_parmIndex = new QPushButton(layoutWidget6); passwordChangeBtn_parmIndex->setObjectName(QString::fromUtf8("passwordChangeBtn_parmIndex")); passwordChangeBtn_parmIndex->setEnabled(true); sizePolicy.setHeightForWidth(passwordChangeBtn_parmIndex->sizePolicy().hasHeightForWidth()); @@ -1756,7 +1754,7 @@ public: verticalLayout_3->addWidget(passwordChangeBtn_parmIndex); - configSaveBtn_parmIndex = new QPushButton(widget4); + configSaveBtn_parmIndex = new QPushButton(layoutWidget6); configSaveBtn_parmIndex->setObjectName(QString::fromUtf8("configSaveBtn_parmIndex")); sizePolicy.setHeightForWidth(configSaveBtn_parmIndex->sizePolicy().hasHeightForWidth()); configSaveBtn_parmIndex->setSizePolicy(sizePolicy); @@ -1770,7 +1768,7 @@ public: verticalLayout_3->addWidget(configSaveBtn_parmIndex); - backBtn_parmIndex = new QPushButton(widget4); + backBtn_parmIndex = new QPushButton(layoutWidget6); backBtn_parmIndex->setObjectName(QString::fromUtf8("backBtn_parmIndex")); sizePolicy.setHeightForWidth(backBtn_parmIndex->sizePolicy().hasHeightForWidth()); backBtn_parmIndex->setSizePolicy(sizePolicy); @@ -2072,15 +2070,15 @@ public: listView_7->setGeometry(QRect(30, 20, 640, 480)); listView_7->setFocusPolicy(Qt::NoFocus); listView_7->setStyleSheet(QString::fromUtf8("QListView{background-color: rgb(225, 225, 225);border:2px groove gray;border-radius:25px;padding:2px 4px;border-style: outset;}")); - widget5 = new QWidget(parm_config); - widget5->setObjectName(QString::fromUtf8("widget5")); - widget5->setGeometry(QRect(691, 20, 302, 340)); - verticalLayout_4 = new QVBoxLayout(widget5); + layoutWidget7 = new QWidget(parm_config); + layoutWidget7->setObjectName(QString::fromUtf8("layoutWidget7")); + layoutWidget7->setGeometry(QRect(691, 20, 302, 340)); + verticalLayout_4 = new QVBoxLayout(layoutWidget7); verticalLayout_4->setSpacing(6); verticalLayout_4->setContentsMargins(11, 11, 11, 11); verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4")); verticalLayout_4->setContentsMargins(0, 0, 0, 0); - gateConfigBtn_parmConfig = new QPushButton(widget5); + gateConfigBtn_parmConfig = new QPushButton(layoutWidget7); gateConfigBtn_parmConfig->setObjectName(QString::fromUtf8("gateConfigBtn_parmConfig")); gateConfigBtn_parmConfig->setEnabled(true); sizePolicy.setHeightForWidth(gateConfigBtn_parmConfig->sizePolicy().hasHeightForWidth()); @@ -2095,7 +2093,7 @@ public: verticalLayout_4->addWidget(gateConfigBtn_parmConfig); - functionalConfigBtn_parmConfig = new QPushButton(widget5); + functionalConfigBtn_parmConfig = new QPushButton(layoutWidget7); functionalConfigBtn_parmConfig->setObjectName(QString::fromUtf8("functionalConfigBtn_parmConfig")); functionalConfigBtn_parmConfig->setEnabled(true); sizePolicy.setHeightForWidth(functionalConfigBtn_parmConfig->sizePolicy().hasHeightForWidth()); @@ -2110,7 +2108,7 @@ public: verticalLayout_4->addWidget(functionalConfigBtn_parmConfig); - functionalParmBtn_parmConfig = new QPushButton(widget5); + functionalParmBtn_parmConfig = new QPushButton(layoutWidget7); functionalParmBtn_parmConfig->setObjectName(QString::fromUtf8("functionalParmBtn_parmConfig")); sizePolicy.setHeightForWidth(functionalParmBtn_parmConfig->sizePolicy().hasHeightForWidth()); functionalParmBtn_parmConfig->setSizePolicy(sizePolicy); @@ -2124,7 +2122,7 @@ public: verticalLayout_4->addWidget(functionalParmBtn_parmConfig); - backBtn_parmConfig = new QPushButton(widget5); + backBtn_parmConfig = new QPushButton(layoutWidget7); backBtn_parmConfig->setObjectName(QString::fromUtf8("backBtn_parmConfig")); sizePolicy.setHeightForWidth(backBtn_parmConfig->sizePolicy().hasHeightForWidth()); backBtn_parmConfig->setSizePolicy(sizePolicy); @@ -2339,15 +2337,15 @@ public: verticalLayout_6->addLayout(horizontalLayout_6); - widget6 = new QWidget(gateParm); - widget6->setObjectName(QString::fromUtf8("widget6")); - widget6->setGeometry(QRect(690, 20, 302, 168)); - verticalLayout_18 = new QVBoxLayout(widget6); + layoutWidget8 = new QWidget(gateParm); + layoutWidget8->setObjectName(QString::fromUtf8("layoutWidget8")); + layoutWidget8->setGeometry(QRect(690, 20, 302, 168)); + verticalLayout_18 = new QVBoxLayout(layoutWidget8); verticalLayout_18->setSpacing(6); verticalLayout_18->setContentsMargins(11, 11, 11, 11); verticalLayout_18->setObjectName(QString::fromUtf8("verticalLayout_18")); verticalLayout_18->setContentsMargins(0, 0, 0, 0); - gateSelfInspectionBtn_gateParm = new QPushButton(widget6); + gateSelfInspectionBtn_gateParm = new QPushButton(layoutWidget8); gateSelfInspectionBtn_gateParm->setObjectName(QString::fromUtf8("gateSelfInspectionBtn_gateParm")); gateSelfInspectionBtn_gateParm->setEnabled(true); sizePolicy.setHeightForWidth(gateSelfInspectionBtn_gateParm->sizePolicy().hasHeightForWidth()); @@ -2362,7 +2360,7 @@ public: verticalLayout_18->addWidget(gateSelfInspectionBtn_gateParm); - backBtn_gateParm = new QPushButton(widget6); + backBtn_gateParm = new QPushButton(layoutWidget8); backBtn_gateParm->setObjectName(QString::fromUtf8("backBtn_gateParm")); sizePolicy.setHeightForWidth(backBtn_gateParm->sizePolicy().hasHeightForWidth()); backBtn_gateParm->setSizePolicy(sizePolicy); @@ -2747,15 +2745,15 @@ public: listView_9->setGeometry(QRect(30, 20, 640, 480)); listView_9->setFocusPolicy(Qt::NoFocus); listView_9->setStyleSheet(QString::fromUtf8("QListView{background-color: rgb(225, 225, 225);border:2px groove gray;border-radius:25px;padding:2px 4px;border-style: outset;}")); - widget7 = new QWidget(functional_config); - widget7->setObjectName(QString::fromUtf8("widget7")); - widget7->setGeometry(QRect(691, 20, 302, 340)); - verticalLayout_24 = new QVBoxLayout(widget7); + layoutWidget9 = new QWidget(functional_config); + layoutWidget9->setObjectName(QString::fromUtf8("layoutWidget9")); + layoutWidget9->setGeometry(QRect(691, 20, 302, 340)); + verticalLayout_24 = new QVBoxLayout(layoutWidget9); verticalLayout_24->setSpacing(6); verticalLayout_24->setContentsMargins(11, 11, 11, 11); verticalLayout_24->setObjectName(QString::fromUtf8("verticalLayout_24")); verticalLayout_24->setContentsMargins(0, 0, 0, 0); - gateParmBtn_functionalConfig = new QPushButton(widget7); + gateParmBtn_functionalConfig = new QPushButton(layoutWidget9); gateParmBtn_functionalConfig->setObjectName(QString::fromUtf8("gateParmBtn_functionalConfig")); gateParmBtn_functionalConfig->setEnabled(true); sizePolicy.setHeightForWidth(gateParmBtn_functionalConfig->sizePolicy().hasHeightForWidth()); @@ -2770,7 +2768,7 @@ public: verticalLayout_24->addWidget(gateParmBtn_functionalConfig); - functionalConfigBtn_functionalConfig = new QPushButton(widget7); + functionalConfigBtn_functionalConfig = new QPushButton(layoutWidget9); functionalConfigBtn_functionalConfig->setObjectName(QString::fromUtf8("functionalConfigBtn_functionalConfig")); functionalConfigBtn_functionalConfig->setEnabled(true); sizePolicy.setHeightForWidth(functionalConfigBtn_functionalConfig->sizePolicy().hasHeightForWidth()); @@ -2785,7 +2783,7 @@ public: verticalLayout_24->addWidget(functionalConfigBtn_functionalConfig); - functionalParmBtn_functionalConfig = new QPushButton(widget7); + functionalParmBtn_functionalConfig = new QPushButton(layoutWidget9); functionalParmBtn_functionalConfig->setObjectName(QString::fromUtf8("functionalParmBtn_functionalConfig")); sizePolicy.setHeightForWidth(functionalParmBtn_functionalConfig->sizePolicy().hasHeightForWidth()); functionalParmBtn_functionalConfig->setSizePolicy(sizePolicy); @@ -2799,7 +2797,7 @@ public: verticalLayout_24->addWidget(functionalParmBtn_functionalConfig); - backBtn_functionalConfig = new QPushButton(widget7); + backBtn_functionalConfig = new QPushButton(layoutWidget9); backBtn_functionalConfig->setObjectName(QString::fromUtf8("backBtn_functionalConfig")); sizePolicy.setHeightForWidth(backBtn_functionalConfig->sizePolicy().hasHeightForWidth()); backBtn_functionalConfig->setSizePolicy(sizePolicy); @@ -2814,6 +2812,7 @@ public: verticalLayout_24->addWidget(backBtn_functionalConfig); stackedWidget->addWidget(functional_config); + layoutWidget->raise(); listView_9->raise(); layoutWidget_14->raise(); functional_parm = new QWidget(); @@ -2826,7 +2825,7 @@ public: listView_10->setStyleSheet(QString::fromUtf8("QListView{background-color: rgb(255, 255, 255);border:2px groove gray;border-radius:25px;padding:2px 4px;border-style: outset;}")); layoutWidget_15 = new QWidget(functional_parm); layoutWidget_15->setObjectName(QString::fromUtf8("layoutWidget_15")); - layoutWidget_15->setGeometry(QRect(70, 40, 571, 271)); + layoutWidget_15->setGeometry(QRect(70, 40, 666, 271)); verticalLayout_28 = new QVBoxLayout(layoutWidget_15); verticalLayout_28->setSpacing(6); verticalLayout_28->setContentsMargins(11, 11, 11, 11); @@ -2997,15 +2996,15 @@ public: verticalLayout_28->addLayout(horizontalLayout_75); - widget8 = new QWidget(functional_parm); - widget8->setObjectName(QString::fromUtf8("widget8")); - widget8->setGeometry(QRect(691, 20, 302, 340)); - verticalLayout_27 = new QVBoxLayout(widget8); + layoutWidget10 = new QWidget(functional_parm); + layoutWidget10->setObjectName(QString::fromUtf8("layoutWidget10")); + layoutWidget10->setGeometry(QRect(691, 20, 302, 340)); + verticalLayout_27 = new QVBoxLayout(layoutWidget10); verticalLayout_27->setSpacing(6); verticalLayout_27->setContentsMargins(11, 11, 11, 11); verticalLayout_27->setObjectName(QString::fromUtf8("verticalLayout_27")); verticalLayout_27->setContentsMargins(0, 0, 0, 0); - gateParmBtn_functionalParm = new QPushButton(widget8); + gateParmBtn_functionalParm = new QPushButton(layoutWidget10); gateParmBtn_functionalParm->setObjectName(QString::fromUtf8("gateParmBtn_functionalParm")); gateParmBtn_functionalParm->setEnabled(true); sizePolicy.setHeightForWidth(gateParmBtn_functionalParm->sizePolicy().hasHeightForWidth()); @@ -3020,7 +3019,7 @@ public: verticalLayout_27->addWidget(gateParmBtn_functionalParm); - functionalConfigBtn_functionalParm = new QPushButton(widget8); + functionalConfigBtn_functionalParm = new QPushButton(layoutWidget10); functionalConfigBtn_functionalParm->setObjectName(QString::fromUtf8("functionalConfigBtn_functionalParm")); functionalConfigBtn_functionalParm->setEnabled(true); sizePolicy.setHeightForWidth(functionalConfigBtn_functionalParm->sizePolicy().hasHeightForWidth()); @@ -3035,7 +3034,7 @@ public: verticalLayout_27->addWidget(functionalConfigBtn_functionalParm); - functionalParmBtn_functionalParm = new QPushButton(widget8); + functionalParmBtn_functionalParm = new QPushButton(layoutWidget10); functionalParmBtn_functionalParm->setObjectName(QString::fromUtf8("functionalParmBtn_functionalParm")); sizePolicy.setHeightForWidth(functionalParmBtn_functionalParm->sizePolicy().hasHeightForWidth()); functionalParmBtn_functionalParm->setSizePolicy(sizePolicy); @@ -3049,7 +3048,7 @@ public: verticalLayout_27->addWidget(functionalParmBtn_functionalParm); - backBtn_functionalParm = new QPushButton(widget8); + backBtn_functionalParm = new QPushButton(layoutWidget10); backBtn_functionalParm->setObjectName(QString::fromUtf8("backBtn_functionalParm")); sizePolicy.setHeightForWidth(backBtn_functionalParm->sizePolicy().hasHeightForWidth()); backBtn_functionalParm->setSizePolicy(sizePolicy); @@ -3263,15 +3262,15 @@ public: listView_12->setGeometry(QRect(30, 20, 640, 480)); listView_12->setFocusPolicy(Qt::NoFocus); listView_12->setStyleSheet(QString::fromUtf8("QListView{background-color: rgb(225, 225, 225);border:2px groove gray;border-radius:25px;padding:2px 4px;border-style: outset;}")); - widget9 = new QWidget(device_manage); - widget9->setObjectName(QString::fromUtf8("widget9")); - widget9->setGeometry(QRect(690, 20, 302, 254)); - verticalLayout_29 = new QVBoxLayout(widget9); + layoutWidget11 = new QWidget(device_manage); + layoutWidget11->setObjectName(QString::fromUtf8("layoutWidget11")); + layoutWidget11->setGeometry(QRect(690, 20, 302, 254)); + verticalLayout_29 = new QVBoxLayout(layoutWidget11); verticalLayout_29->setSpacing(6); verticalLayout_29->setContentsMargins(11, 11, 11, 11); verticalLayout_29->setObjectName(QString::fromUtf8("verticalLayout_29")); verticalLayout_29->setContentsMargins(0, 0, 0, 0); - debugBtn_deviceManage = new QPushButton(widget9); + debugBtn_deviceManage = new QPushButton(layoutWidget11); debugBtn_deviceManage->setObjectName(QString::fromUtf8("debugBtn_deviceManage")); debugBtn_deviceManage->setEnabled(true); sizePolicy.setHeightForWidth(debugBtn_deviceManage->sizePolicy().hasHeightForWidth()); @@ -3286,7 +3285,7 @@ public: verticalLayout_29->addWidget(debugBtn_deviceManage); - rebootBtn_deviceManage = new QPushButton(widget9); + rebootBtn_deviceManage = new QPushButton(layoutWidget11); rebootBtn_deviceManage->setObjectName(QString::fromUtf8("rebootBtn_deviceManage")); sizePolicy.setHeightForWidth(rebootBtn_deviceManage->sizePolicy().hasHeightForWidth()); rebootBtn_deviceManage->setSizePolicy(sizePolicy); @@ -3300,7 +3299,7 @@ public: verticalLayout_29->addWidget(rebootBtn_deviceManage); - backBtn_deviceManage = new QPushButton(widget9); + backBtn_deviceManage = new QPushButton(layoutWidget11); backBtn_deviceManage->setObjectName(QString::fromUtf8("backBtn_deviceManage")); sizePolicy.setHeightForWidth(backBtn_deviceManage->sizePolicy().hasHeightForWidth()); backBtn_deviceManage->setSizePolicy(sizePolicy); @@ -3315,11 +3314,9 @@ public: verticalLayout_29->addWidget(backBtn_deviceManage); stackedWidget->addWidget(device_manage); + layoutWidget->raise(); listView_12->raise(); - backBtn_deviceManage->raise(); - debugBtn_deviceManage->raise(); layoutWidget_21->raise(); - rebootBtn_deviceManage->raise(); debug_page = new QWidget(); debug_page->setObjectName(QString::fromUtf8("debug_page")); backBtn_debugPage = new QPushButton(debug_page); @@ -3390,7 +3387,7 @@ public: retranslateUi(MainWindow); - stackedWidget->setCurrentIndex(1); + stackedWidget->setCurrentIndex(6); QMetaObject::connectSlotsByName(MainWindow); diff --git a/key32/key32.pro.user b/key32/key32.pro.user index 9a66da7..bade81f 100755 --- a/key32/key32.pro.user +++ b/key32/key32.pro.user @@ -1,6 +1,6 @@ - + ProjectExplorer.Project.ActiveTarget