資源簡介
原文地址:https://blog.csdn.net/Jun626/article/details/100049015
在QT上實現視頻的播放功能
代碼片段和文件信息
/****************************************************************************
**?meta?object?code?from?reading?C++?file?‘mainwindow.h‘
**
**?Created?by:?The?Qt?meta?object?Compiler?version?67?(Qt?5.5.1)
**
**?WARNING!?All?changes?made?in?this?file?will?be?lost!
*****************************************************************************/
#include?“../untitled/mainwindow.h“
#include?
#include?tatype.h>
#if?!defined(Q_MOC_OUTPUT_REVISION)
#error?“The?header?file?‘mainwindow.h‘?doesn‘t?include?ject>.“
#elif?Q_MOC_OUTPUT_REVISION?!=?67
#error?“This?file?was?generated?using?the?moc?from?5.5.1.?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
struct?qt_meta_stringdata_MainWindow_t?{
????QByteArrayData?data[6];
????char?stringdata0[49];
};
#define?QT_MOC_LITERAL(idx?ofs?len)?\
????Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len?\
????qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t?stringdata0)?+?ofs?\
????????-?idx?*?sizeof(QByteArrayData))?\
????)
static?const?qt_meta_stringdata_MainWindow_t?qt_meta_stringdata_MainWindow?=?{
????{
QT_MOC_LITERAL(0?0?10)?//?“MainWindow“
QT_MOC_LITERAL(1?11?8)?//?“openFile“
QT_MOC_LITERAL(2?20?0)?//?““
QT_MOC_LITERAL(3?21?9)?//?“playVideo“
QT_MOC_LITERAL(4?31?9)?//?“stopVideo“
QT_MOC_LITERAL(5?41?7)?//?“fullScr“
????}
????“MainWindow\0openFile\0\0playVideo\0stopVideo\0“
????“fullScr“
};
#undef?QT_MOC_LITERAL
static?const?uint?qt_meta_data_MainWindow[]?=?{
?//?content:
???????7???????//?revision
???????0???????//?classname
???????0????0?//?classinfo
???????4???14?//?methods
???????0????0?//?properties
???????0????0?//?enums/sets
???????0????0?//?constructors
???????0???????//?flags
???????0???????//?signalCount
?//?slots:?name?argc?parameters?tag?flags
???????1????0???34????2?0x08?/*?Private?*/
???????3????0???35????2?0x08?/*?Private?*/
???????4????0???36????2?0x08?/*?Private?*/
???????5????0???37????2?0x08?/*?Private?*/
?//?slots:?parameters
????QmetaType::Void
????QmetaType::Void
????QmetaType::Void
????QmetaType::Void
???????0????????//?eod
};
void?MainWindow::qt_static_metacall(Qobject?*_o?Qmetaobject::Call?_c?int?_id?void?**_a)
{
????if?(_c?==?Qmetaobject::InvokemetaMethod)?{
????????MainWindow?*_t?=?static_cast(_o);
????????Q_UNUSED(_t)
????????switch?(_id)?{
????????case?0:?_t->openFile();?break;
????????case?1:?_t->playVideo();?break;
????????case?2:?_t->stopVideo();?break;
????????case?3:?_t->fullScr();?break;
????????default:?;
????????}
????}
????Q_UNUSED(_a);
}
const?Qmetaobject?MainWindow::staticmetaobject?=?{
????{?&QMainWindow::staticmetaobject?qt_meta_stringdata_MainWindow.data
??????qt_meta_data_MainWindow??qt_static_metacall?Q_NULLPTR?Q_NULLPTR}
};
const?Qmetaobject?*MainWindow::metaobject()?const
{
????return?Qobject::d_ptr->metaobject???Qobject::d_ptr->dynamic
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-08-24?00:40??mp4_play\
?????目錄???????????0??2019-08-24?01:16??mp4_play\build-unti
?????文件??????781216??2019-08-24?01:16??mp4_play\build-unti
?????文件????19334144??2019-08-24?00:48??mp4_play\build-unti
?????文件????????3807??2019-08-24?01:16??mp4_play\build-unti
?????文件??????529344??2019-08-24?01:16??mp4_play\build-unti
?????文件??????683208??2019-08-24?01:16??mp4_play\build-unti
?????文件????????3791??2019-08-24?01:16??mp4_play\build-unti
?????文件???????18564??2019-08-24?01:14??mp4_play\build-unti
?????文件??????637344??2019-08-24?01:15??mp4_play\build-unti
?????目錄???????????0??2019-08-24?01:26??mp4_play\unti
?????文件???????18772??2019-08-24?01:26??mp4_play\unti
?????文件?????????403??2019-08-24?01:14??mp4_play\unti
?????文件????????2702??2019-08-24?01:16??mp4_play\unti
?????文件????????2625??2019-08-24?01:16??mp4_play\unti
?????文件?????????696??2019-08-24?01:15??mp4_play\unti
?????文件?????????172??2019-08-24?00:38??mp4_play\unti
評論
共有 條評論