資源簡(jiǎn)介
基于Zigbee與Qt的室內(nèi)環(huán)境檢測(cè)系統(tǒng)——詳細(xì)簡(jiǎn)介QT部分,該資源主要是人機(jī)交互部分的代碼資源。包括的主要功能有:
(1)上位機(jī)與下位機(jī)之間的串口通信功能的實(shí)現(xiàn);
(2)溫度、濕度、甲烷含量數(shù)據(jù)的接收與顯示;
(3)建立數(shù)據(jù)庫(kù);
(4)設(shè)置警報(bào)系統(tǒng);
(5)建立用戶注冊(cè)與登錄機(jī)制。
代碼片段和文件信息
/****************************************************************************
**?meta?object?code?from?reading?C++?file?‘log_in.h‘
**
**?Created?by:?The?Qt?meta?object?Compiler?version?67?(Qt?5.9.7)
**
**?WARNING!?All?changes?made?in?this?file?will?be?lost!
*****************************************************************************/
#include?“../../Indoor_Environment_Detection_system/log_in.h“
#include?
#include?tatype.h>
#if?!defined(Q_MOC_OUTPUT_REVISION)
#error?“The?header?file?‘log_in.h‘?doesn‘t?include?ject>.“
#elif?Q_MOC_OUTPUT_REVISION?!=?67
#error?“This?file?was?generated?using?the?moc?from?5.9.7.?It“
#error?“cannot?be?used?with?the?include?files?from?this?version?of?Qt.“
#error?“(The?moc?has?changed?too?much.)“
#endif
QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct?qt_meta_stringdata_log_in_t?{
????QByteArrayData?data[6];
????char?stringdata0[92];
};
#define?QT_MOC_LITERAL(idx?ofs?len)?\
????Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len?\
????qptrdiff(offsetof(qt_meta_stringdata_log_in_t?stringdata0)?+?ofs?\
????????-?idx?*?sizeof(QByteArrayData))?\
????)
static?const?qt_meta_stringdata_log_in_t?qt_meta_stringdata_log_in?=?{
????{
QT_MOC_LITERAL(0?0?6)?//?“l(fā)og_in“
QT_MOC_LITERAL(1?7?30)?//?“on_pushButton_register_clicked“
QT_MOC_LITERAL(2?38?0)?//?““
QT_MOC_LITERAL(3?39?28)?//?“on_pushButton_log_in_clicked“
QT_MOC_LITERAL(4?68?10)?//?“paintEvent“
QT_MOC_LITERAL(5?79?12)?//?“QPaintEvent*“
????}
????“l(fā)og_in\0on_pushButton_register_clicked\0“
????“\0on_pushButton_log_in_clicked\0paintEvent\0“
????“QPaintEvent*“
};
#undef?QT_MOC_LITERAL
static?const?uint?qt_meta_data_log_in[]?=?{
?//?content:
???????7???????//?revision
???????0???????//?classname
???????0????0?//?classinfo
???????3???14?//?methods
???????0????0?//?properties
???????0????0?//?enums/sets
???????0????0?//?constructors
???????0???????//?flags
???????0???????//?signalCount
?//?slots:?name?argc?parameters?tag?flags
???????1????0???29????2?0x08?/*?Private?*/
???????3????0???30????2?0x08?/*?Private?*/
???????4????1???31????2?0x08?/*?Private?*/
?//?slots:?parameters
????QmetaType::Void
????QmetaType::Void
????QmetaType::Void?0x80000000?|?5????2
???????0????????//?eod
};
void?log_in::qt_static_metacall(Qobject?*_o?Qmetaobject::Call?_c?int?_id?void?**_a)
{
????if?(_c?==?Qmetaobject::InvokemetaMethod)?{
????????log_in?*_t?=?static_cast(_o);
????????Q_UNUSED(_t)
????????switch?(_id)?{
????????case?0:?_t->on_pushButton_register_clicked();?break;
????????case?1:?_t->on_pushButton_log_in_clicked();?break;
????????case?2:?_t->paintEvent((*reinterpret_cast(_a[1])));?break;
????????default:?;
????????}
????}
}
const?Qmetaobject?log_in::staticmetaobject?=?{
????{?&QWidget::staticmetaobject?qt_meta_stringdata_log_in.data
??????q
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-09-02?23:07??Indoor_Environment_Detection_system\
?????文件????????1589??2019-04-06?18:36??Indoor_Environment_Detection_system\Indoor_Environment_Detection_system.pro
?????文件???????24230??2019-09-02?23:07??Indoor_Environment_Detection_system\Indoor_Environment_Detection_system.pro.user
?????文件????????4443??2019-03-05?21:20??Indoor_Environment_Detection_system\Qss.qss
?????目錄???????????0??2019-09-02?23:07??Indoor_Environment_Detection_system\alarm\
?????文件???????97445??2019-02-25?19:15??Indoor_Environment_Detection_system\alarm\tring.mp3
?????文件???????12862??2019-04-06?18:24??Indoor_Environment_Detection_system\in13(2).ico
?????文件????????3007??2019-03-01?18:57??Indoor_Environment_Detection_system\log_in.cpp
?????文件?????????604??2019-03-01?19:36??Indoor_Environment_Detection_system\log_in.h
?????文件????????3052??2019-03-01?19:15??Indoor_Environment_Detection_system\log_in.ui
?????文件?????????497??2019-03-01?11:07??Indoor_Environment_Detection_system\main.cpp
?????文件????????5768??2019-03-01?19:40??Indoor_Environment_Detection_system\mainwindow.cpp
?????文件?????????727??2019-03-01?19:36??Indoor_Environment_Detection_system\mainwindow.h
?????文件????????4069??2019-03-01?19:40??Indoor_Environment_Detection_system\mainwindow.ui
?????文件?????????296??2019-01-21?15:48??Indoor_Environment_Detection_system\mainwindow_register.cpp
?????文件?????????391??2019-01-21?15:48??Indoor_Environment_Detection_system\mainwindow_register.h
?????文件?????????583??2019-01-21?15:48??Indoor_Environment_Detection_system\mainwindow_register.ui
?????目錄???????????0??2019-09-02?23:07??Indoor_Environment_Detection_system\music\
?????文件?????2963792??2018-08-17?00:24??Indoor_Environment_Detection_system\music\love.mp3
?????文件?????????101??2019-03-01?11:05??Indoor_Environment_Detection_system\qss.qrc
?????文件????????4831??2019-06-18?20:16??Indoor_Environment_Detection_system\query_data.cpp
?????文件????????1269??2019-03-05?21:05??Indoor_Environment_Detection_system\query_data.h
?????文件????????9434??2019-03-05?21:13??Indoor_Environment_Detection_system\query_data.ui
?????文件?????????211??2019-01-21?15:45??Indoor_Environment_Detection_system\register.cpp
?????文件?????????295??2019-01-21?15:45??Indoor_Environment_Detection_system\register.h
?????文件?????????407??2019-01-21?15:45??Indoor_Environment_Detection_system\register.ui
?????目錄???????????0??2019-09-02?23:07??Indoor_Environment_Detection_system\res\
?????文件??????210800??2019-01-22?19:29??Indoor_Environment_Detection_system\res\317844.jpg
?????文件??????923502??2019-01-19?23:39??Indoor_Environment_Detection_system\res\in01.png
?????文件???????28539??2019-01-22?20:19??Indoor_Environment_Detection_system\res\in010.png
?????文件?????1076526??2019-02-11?20:38??Indoor_Environment_Detection_system\res\in011.png
............此處省略71個(gè)文件信息
評(píng)論
共有 條評(píng)論