38 lines
746 B
C++
38 lines
746 B
C++
#ifndef MAIN_WINDOW_H
|
|
#define MAIN_WINDOW_H
|
|
#include <QMainWindow>
|
|
#include <QString>
|
|
#include <QVBoxLayout>
|
|
#include <QPushButton>
|
|
#include <QStackedWidget>
|
|
#include "skeletonwidget.h"
|
|
|
|
class MainWindow : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
MainWindow();
|
|
public slots:
|
|
void updatePageButtons();
|
|
void saveModel();
|
|
void loadModel();
|
|
void exportModel();
|
|
void newFile();
|
|
void open();
|
|
void save();
|
|
void undo();
|
|
void redo();
|
|
void cut();
|
|
void copy();
|
|
void paste();
|
|
private:
|
|
QPushButton *m_modelPageButton;
|
|
QPushButton *m_sharePageButton;
|
|
QStackedWidget *m_stackedWidget;
|
|
QString m_saveModelAs;
|
|
SkeletonWidget *m_skeletonWidget;
|
|
QWidget *m_edgePropertyWidget;
|
|
};
|
|
|
|
#endif
|