資源簡介
使用Qt寫的UI層,底層播放使用ffmpeg~強大的ffmpeg~
代碼片段和文件信息
#include?“AbsframeLessAutoSize.h“
#include
AbsframeLessAutoSize::AbsframeLessAutoSize(QWidget?*parent)
????:?QWidget(parent)
{
????m_state.MousePressed=false;
????m_state.IsPressBorder=false;
????setMinimumSize(400550);
????m_border=4;
????setMouseTracking(true);
????setWindowFlags(Qt::framelessWindowHint);?//setting?windows?tool?bar?icon?invisiable
????setSizePolicy(QSizePolicy::ExpandingQSizePolicy::Expanding);
}
void?AbsframeLessAutoSize::setBorder(int?border)
{
????m_border=border;
}
void?AbsframeLessAutoSize::mouseMoveRect(const?QPoint&?p)
{
????if(!m_state.IsPressBorder)
????{
????????if(?p.x()>width()-m_border&&p.y()m_border)//right?side
????????{
????????????setCursor(Qt::SizeHorCursor);
????????????m_curPos=?CursorPos::Right;
????????}
???
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-08-27?02:19??KuGouDemo-dev\
?????文件????????1524??2017-08-27?02:19??KuGouDemo-dev\KuGouDemo.pro
?????目錄???????????0??2017-08-27?02:19??KuGouDemo-dev\PlayCore\
?????文件???????18753??2017-08-27?02:19??KuGouDemo-dev\PlayCore\FFmpegPla
?????文件????????2808??2017-08-27?02:19??KuGouDemo-dev\PlayCore\FFmpegPla
?????目錄???????????0??2017-08-27?02:19??KuGouDemo-dev\PlayCore\include\
?????目錄???????????0??2017-08-27?02:19??KuGouDemo-dev\PlayCore\include\SDL2\
?????文件????????5374??2017-08-27?02:19??KuGouDemo-dev\PlayCore\include\SDL2\SDL.h
?????文件???????10709??2017-08-27?02:19??KuGouDemo-dev\PlayCore\include\SDL2\SDL_assert.h
?????文件????????9016??2017-08-27?02:19??KuGouDemo-dev\PlayCore\include\SDL2\SDL_atomic.h
?????文件???????20124??2017-08-27?02:19??KuGouDemo-dev\PlayCore\include\SDL2\SDL_audio.h
?????文件????????2527??2017-08-27?02:19??KuGouDemo-dev\PlayCore\include\SDL2\SDL_bits.h
?????文件????????2248??2017-08-27?02:19??KuGouDemo-dev\PlayCore\include\SDL2\SDL_blendmode.h
?????文件????????1966??2017-08-27?02:19??KuGouDemo-dev\PlayCore\include\SDL2\SDL_clipboard.h
?????文件????????5484??2017-08-27?02:19??KuGouDemo-dev\PlayCore\include\SDL2\SDL_config.h
?????文件????????4059??2017-08-27?02:19??KuGouDemo-dev\PlayCore\include\SDL2\SDL_cpuinfo.h
?????文件????????5946??2017-08-27?02:19??KuGouDemo-dev\PlayCore\include\SDL2\SDL_endian.h
?????文件????????2220??2017-08-27?02:19??KuGouDemo-dev\PlayCore\include\SDL2\SDL_error.h
?????文件???????26113??2017-08-27?02:19??KuGouDemo-dev\PlayCore\include\SDL2\SDL_events.h
?????文件????????5251??2017-08-27?02:19??KuGouDemo-dev\PlayCore\include\SDL2\SDL_filesystem.h
?????文件???????10496??2017-08-27?02:19??KuGouDemo-dev\PlayCore\include\SDL2\SDL_gamecontroller.h
?????文件????????2157??2017-08-27?02:19??KuGouDemo-dev\PlayCore\include\SDL2\SDL_gesture.h
?????文件???????38494??2017-08-27?02:19??KuGouDemo-dev\PlayCore\include\SDL2\SDL_haptic.h
?????文件???????19750??2017-08-27?02:19??KuGouDemo-dev\PlayCore\include\SDL2\SDL_hints.h
?????文件????????8147??2017-08-27?02:19??KuGouDemo-dev\PlayCore\include\SDL2\SDL_joystick.h
?????文件????????6433??2017-08-27?02:19??KuGouDemo-dev\PlayCore\include\SDL2\SDL_keyboard.h
?????文件???????14847??2017-08-27?02:19??KuGouDemo-dev\PlayCore\include\SDL2\SDL_keycode.h
?????文件????????2866??2017-08-27?02:19??KuGouDemo-dev\PlayCore\include\SDL2\SDL_loadso.h
?????文件????????6075??2017-08-27?02:19??KuGouDemo-dev\PlayCore\include\SDL2\SDL_log.h
?????文件????????4457??2017-08-27?02:19??KuGouDemo-dev\PlayCore\include\SDL2\SDL_main.h
?????文件????????4611??2017-08-27?02:19??KuGouDemo-dev\PlayCore\include\SDL2\SDL_messagebox.h
............此處省略540個文件信息
- 上一篇:qt串口操作-QT編寫的串口設備調試工具終極版
- 下一篇:qt圖表(QChart)
評論
共有 條評論