2018-03-10 06:57:14 +00:00
|
|
|
#ifndef MAIN_WINDOW_H
|
|
|
|
#define MAIN_WINDOW_H
|
|
|
|
#include <QMainWindow>
|
2018-03-13 06:39:36 +00:00
|
|
|
#include <QString>
|
2018-03-14 02:55:59 +00:00
|
|
|
#include <QVBoxLayout>
|
|
|
|
#include <QPushButton>
|
2018-03-10 06:57:14 +00:00
|
|
|
#include "modelingwidget.h"
|
2018-03-11 16:02:15 +00:00
|
|
|
#include "skeletoneditwidget.h"
|
2018-03-12 05:27:22 +00:00
|
|
|
#include "skeletontomesh.h"
|
2018-03-13 06:39:36 +00:00
|
|
|
#include "turnaroundloader.h"
|
2018-03-10 06:57:14 +00:00
|
|
|
|
|
|
|
class MainWindow : public QMainWindow
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
MainWindow();
|
2018-03-11 16:02:15 +00:00
|
|
|
public slots:
|
|
|
|
void skeletonChanged();
|
|
|
|
void meshReady();
|
2018-03-13 06:39:36 +00:00
|
|
|
void turnaroundChanged();
|
|
|
|
void turnaroundImageReady();
|
|
|
|
void changeTurnaround();
|
2018-03-14 02:55:59 +00:00
|
|
|
void saveClip();
|
|
|
|
void showModelingWidgetAtCorner();
|
2018-03-10 06:57:14 +00:00
|
|
|
private:
|
2018-03-11 16:02:15 +00:00
|
|
|
ModelingWidget *m_modelingWidget;
|
|
|
|
SkeletonEditWidget *m_skeletonEditWidget;
|
2018-03-12 05:27:22 +00:00
|
|
|
SkeletonToMesh *m_skeletonToMesh;
|
|
|
|
bool m_skeletonDirty;
|
2018-03-13 06:39:36 +00:00
|
|
|
TurnaroundLoader *m_turnaroundLoader;
|
|
|
|
bool m_turnaroundDirty;
|
|
|
|
QString m_turnaroundFilename;
|
2018-03-10 06:57:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|