qt_demoe/video/videobox/frmvideobox.h

39 lines
604 B
C
Raw Normal View History

2021-11-09 12:39:42 +00:00
#ifndef FRMVIDEOBOX_H
#define FRMVIDEOBOX_H
#include <QWidget>
class QMenu;
class VideoBox;
namespace Ui {
class frmVideoBox;
}
class frmVideoBox : public QWidget
{
Q_OBJECT
public:
explicit frmVideoBox(QWidget *parent = 0);
~frmVideoBox();
protected:
bool eventFilter(QObject *watched, QEvent *event);
private:
Ui::frmVideoBox *ui;
bool max;
QMenu *menu;
VideoBox *box;
private slots:
void initForm();
void doAction();
//画面布局切换信号
void changeVideo(int type, const QString &videoType, bool videoMax);
};
#endif // FRMVIDEOBOX_H