dust3d/src/mainwindow.h

38 lines
746 B
C
Raw Normal View History

#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"
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();
void saveModel();
void loadModel();
2018-03-20 07:56:49 +00:00
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;
2018-03-14 15:22:00 +00:00
QStackedWidget *m_stackedWidget;
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;
};
#endif