2018-10-25 00:19:38 +00:00
|
|
|
#ifndef DUST3D_RIG_WIDGET_H
|
|
|
|
#define DUST3D_RIG_WIDGET_H
|
2018-09-14 09:45:05 +00:00
|
|
|
#include <QWidget>
|
|
|
|
#include <QComboBox>
|
2018-09-18 03:17:35 +00:00
|
|
|
#include <QPushButton>
|
2018-10-25 00:19:38 +00:00
|
|
|
#include "document.h"
|
2018-09-14 09:45:05 +00:00
|
|
|
#include "rigtype.h"
|
|
|
|
#include "modelwidget.h"
|
|
|
|
#include "infolabel.h"
|
|
|
|
|
|
|
|
class RigWidget : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
signals:
|
|
|
|
void setRigType(RigType rigType);
|
|
|
|
public slots:
|
|
|
|
void rigTypeChanged();
|
|
|
|
void updateResultInfo();
|
|
|
|
public:
|
2018-10-25 00:19:38 +00:00
|
|
|
RigWidget(const Document *document, QWidget *parent=nullptr);
|
2018-09-14 09:45:05 +00:00
|
|
|
ModelWidget *rigWeightRenderWidget();
|
|
|
|
private:
|
2018-10-25 00:19:38 +00:00
|
|
|
const Document *m_document = nullptr;
|
2018-09-14 09:45:05 +00:00
|
|
|
QComboBox *m_rigTypeBox = nullptr;
|
|
|
|
ModelWidget *m_rigWeightRenderWidget = nullptr;
|
2018-11-06 16:26:19 +00:00
|
|
|
InfoLabel *m_infoLabel = nullptr;
|
2018-09-14 09:45:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|