1
0
mirror of https://gitee.com/drabel/LibQQt.git synced 2025-01-04 10:18:44 +08:00
LibQQt/test/qqtliveplayer/qqtwindow.h

42 lines
813 B
C
Raw Normal View History

2017-09-05 18:07:05 +08:00
#ifndef QQTWINDOW_H
#define QQTWINDOW_H
#include <QStackedWidget>
namespace Ui {
class QQTWindow;
}
class VlcInstance;
class VlcMedia;
class VlcMediaPlayer;
/**
* @brief The QQTWindow class
* 绿 绿
*
*/
class QQTWindow : public QStackedWidget
{
Q_OBJECT
public:
explicit QQTWindow(QWidget *parent = 0);
~QQTWindow();
public slots:
void doubleClicked(const QModelIndex& index);
private:
VlcInstance *_instance;
VlcMediaPlayer *_player;
VlcMedia *_media;
private:
Ui::QQTWindow *ui;
// QWidget interface
protected:
void dragEnterEvent(QDragEnterEvent *) override;
void dropEvent(QDropEvent *) override;
};
#endif // QQTWINDOW_H