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-14 15:22:00 +00:00
|
|
|
#include <QStackedWidget>
|
|
|
|
#include "skeletonwidget.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:
|
2018-03-14 06:43:16 +00:00
|
|
|
void updatePageButtons();
|
2018-03-14 15:22:00 +00:00
|
|
|
void saveParts();
|
|
|
|
void loadParts();
|
2018-03-10 06:57:14 +00:00
|
|
|
private:
|
2018-03-14 06:43:16 +00:00
|
|
|
QPushButton *m_partsPageButton;
|
|
|
|
QPushButton *m_combinePageButton;
|
2018-03-14 15:22:00 +00:00
|
|
|
QPushButton *m_motionPageButton;
|
|
|
|
QStackedWidget *m_stackedWidget;
|
|
|
|
QString m_savePartsAs;
|
|
|
|
SkeletonWidget *m_skeletonWidget;
|
2018-03-10 06:57:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|