#pragma once
#include <QtWidgets/QMainWindow>
#include "ui_PPT.h"
#include "powerpoint.h"
class OfficeContainer;
#include <QAxWidget>
class PPT : public QMainWindow
{
Q_OBJECT
public:
PPT(QWidget *parent = Q_NULLPTR);
public slots:
void onNext();
protected:
bool eventFilter(QObject *target, QEvent *event);
void mousePressEvent(QMouseEvent *event);
private:
Ui::PPTClass ui;
QAxWidget* officeContent;
QString currentFilePath;
PowerPoint::Presentations* presentations;
PowerPoint::Presentation* presentation;
PowerPoint::Slides* slides;
PowerPoint::Slide* slide;
PowerPoint::SlideShowSettings* slideshow;
PowerPoint::SlideShowWindows* slideShowWindows;
PowerPoint::SlideShowWindow* slideShowWindow;
PowerPoint::SlideShowView* slideShowView;
PowerPoint::Application *pptApp;
QWidget *m_widget;
QWidget* upWidget;
};