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-15 15:40:30 +00:00
|
|
|
void saveModel();
|
|
|
|
void loadModel();
|
2018-03-10 06:57:14 +00:00
|
|
|
private:
|
2018-03-15 15:40:30 +00:00
|
|
|
QPushButton *m_modelPageButton;
|
|
|
|
QPushButton *m_sharePageButton;
|
2018-03-14 15:22:00 +00:00
|
|
|
QStackedWidget *m_stackedWidget;
|
2018-03-15 15:40:30 +00:00
|
|
|
QString m_saveModelAs;
|
2018-03-14 15:22:00 +00:00
|
|
|
SkeletonWidget *m_skeletonWidget;
|
2018-03-19 07:58:51 +00:00
|
|
|
QWidget *m_edgePropertyWidget;
|
2018-03-10 06:57:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|