blob: ea4de626347e210e5c8ffc91148e0b59910f7d10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
#ifndef QHANDBRAKEWIZARD_H
#define QHANDBRAKEWIZARD_H
#include <QtGui>
typedef class QHandBrake;
typedef class FaderWidget;
typedef class ScanWidget;
typedef class EncodeWidget;
class QHandBrakeWizard : public QStackedWidget
{
Q_OBJECT
public:
QHandBrakeWizard(QStackedWidget *parent = 0);
public slots:
void activateScanPage();
void activateEncodePage();
void fadeInWidget(QWidget *);
private:
QPointer<QHandBrake> qhb;
QPointer<FaderWidget> faderWidget;
QPointer<ScanWidget> scanWidget;
QPointer<EncodeWidget> encodeWidget;
};
class Magic : public QObject
{
Q_OBJECT
public:
Magic(QWidget *w, QHandBrakeWizard *q, QObject *p = 0);
protected:
bool eventFilter(QObject *o, QEvent *e);
QWidget *m;
friend class QHandBrakeWizard;
QHandBrakeWizard *qm;
};
#endif // QHANDBRAKEWIZARD_H
|