資源簡介
參考CSDN及Qt官方代碼書寫,功能簡單,本人以初學者的角度編寫,大佬勿噴

代碼片段和文件信息
/****************************************************************************
**?meta?object?code?from?reading?C++?file?‘widget.h‘
**
**?Created?by:?The?Qt?meta?object?Compiler?version?67?(Qt?5.9.0)
**
**?WARNING!?All?changes?made?in?this?file?will?be?lost!
*****************************************************************************/
#include?“../../QChart1/widget.h“
#include?
#include?tatype.h>
#if?!defined(Q_MOC_OUTPUT_REVISION)
#error?“The?header?file?‘widget.h‘?doesn‘t?include?ject>.“
#elif?Q_MOC_OUTPUT_REVISION?!=?67
#error?“This?file?was?generated?using?the?moc?from?5.9.0.?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_Widget_t?{
????QByteArrayData?data[5];
????char?stringdata0[53];
};
#define?QT_MOC_LITERAL(idx?ofs?len)?\
????Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len?\
????qptrdiff(offsetof(qt_meta_stringdata_Widget_t?stringdata0)?+?ofs?\
????????-?idx?*?sizeof(QByteArrayData))?\
????)
static?const?qt_meta_stringdata_Widget_t?qt_meta_stringdata_Widget?=?{
????{
QT_MOC_LITERAL(0?0?6)?//?“Widget“
QT_MOC_LITERAL(1?7?14)?//?“on_sin_clicked“
QT_MOC_LITERAL(2?22?0)?//?““
QT_MOC_LITERAL(3?23?14)?//?“on_cos_clicked“
QT_MOC_LITERAL(4?38?14)?//?“on_clc_clicked“
????}
????“Widget\0on_sin_clicked\0\0on_cos_clicked\0“
????“on_clc_clicked“
};
#undef?QT_MOC_LITERAL
static?const?uint?qt_meta_data_Widget[]?=?{
?//?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????0???31????2?0x08?/*?Private?*/
?//?slots:?parameters
????QmetaType::Void
????QmetaType::Void
????QmetaType::Void
???????0????????//?eod
};
void?Widget::qt_static_metacall(Qobject?*_o?Qmetaobject::Call?_c?int?_id?void?**_a)
{
????if?(_c?==?Qmetaobject::InvokemetaMethod)?{
????????Widget?*_t?=?static_cast(_o);
????????Q_UNUSED(_t)
????????switch?(_id)?{
????????case?0:?_t->on_sin_clicked();?break;
????????case?1:?_t->on_cos_clicked();?break;
????????case?2:?_t->on_clc_clicked();?break;
????????default:?;
????????}
????}
????Q_UNUSED(_a);
}
const?Qmetaobject?Widget::staticmetaobject?=?{
????{?&QWidget::staticmetaobject?qt_meta_stringdata_Widget.data
??????qt_meta_data_Widget??qt_static_metacall?nullptr?nullptr}
};
const?Qmetaobject?*Widget::metaobject()?const
{
????return?Qobject::d_ptr->metaobject???Qobject::d_ptr->dynamicmetaobject()?:?&staticmetaobject;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????925??2018-09-12?20:02??QChart1\build-QChart1-Desktop_Qt_5_9_0_MinGW_32bit-Debug\.qmake.stash
?????文件?????539242??2018-09-12?22:56??QChart1\build-QChart1-Desktop_Qt_5_9_0_MinGW_32bit-Debug\debug\main.o
?????文件???????9895??2018-09-12?20:02??QChart1\build-QChart1-Desktop_Qt_5_9_0_MinGW_32bit-Debug\debug\moc_predefs.h
?????文件???????3785??2018-09-12?22:56??QChart1\build-QChart1-Desktop_Qt_5_9_0_MinGW_32bit-Debug\debug\moc_widget.cpp
?????文件?????352630??2018-09-12?22:56??QChart1\build-QChart1-Desktop_Qt_5_9_0_MinGW_32bit-Debug\debug\moc_widget.o
?????文件????1392787??2018-09-12?22:56??QChart1\build-QChart1-Desktop_Qt_5_9_0_MinGW_32bit-Debug\debug\QChart1.exe
?????文件?????563320??2018-09-12?22:56??QChart1\build-QChart1-Desktop_Qt_5_9_0_MinGW_32bit-Debug\debug\widget.o
?????文件??????23357??2018-09-12?20:17??QChart1\build-QChart1-Desktop_Qt_5_9_0_MinGW_32bit-Debug\Makefile
?????文件??????39535??2018-09-12?20:17??QChart1\build-QChart1-Desktop_Qt_5_9_0_MinGW_32bit-Debug\Makefile.Debug
?????文件??????39615??2018-09-12?20:17??QChart1\build-QChart1-Desktop_Qt_5_9_0_MinGW_32bit-Debug\Makefile.Release
?????文件???????2752??2018-09-12?22:46??QChart1\build-QChart1-Desktop_Qt_5_9_0_MinGW_32bit-Debug\ui_widget.h
?????文件????????175??2018-09-12?19:58??QChart1\QChart1\main.cpp
?????文件???????1060??2018-09-12?20:16??QChart1\QChart1\QChart1.pro
?????文件??????23852??2018-09-12?23:14??QChart1\QChart1\QChart1.pro.user
?????文件???????1658??2018-09-12?22:56??QChart1\QChart1\widget.cpp
?????文件????????741??2018-09-12?22:56??QChart1\QChart1\widget.h
?????文件???????1816??2018-09-12?22:46??QChart1\QChart1\widget.ui
?????目錄??????????0??2018-09-12?22:56??QChart1\build-QChart1-Desktop_Qt_5_9_0_MinGW_32bit-Debug\debug
?????目錄??????????0??2018-09-12?20:02??QChart1\build-QChart1-Desktop_Qt_5_9_0_MinGW_32bit-Debug\release
?????目錄??????????0??2018-09-12?20:02??QChart1\build-QChart1-Desktop_Qt_5_9_0_MinGW_32bit-Debug
?????目錄??????????0??2018-09-12?23:14??QChart1\QChart1
?????目錄??????????0??2018-09-12?20:02??QChart1
-----------?---------??----------?-----??----
??????????????2997145????????????????????22
- 上一篇:DDS信號發生器詳細教程和verilog代碼
- 下一篇:R語言GA遺傳算法并行化實現
評論
共有 條評論