-
Notifications
You must be signed in to change notification settings - Fork 7
/
askBoneDialog.h
45 lines (36 loc) · 1010 Bytes
/
askBoneDialog.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/* OpenBRF -- by marco tarini. Provided under GNU General Public License */
#ifndef ASKBONEDIALOG_H
#define ASKBONEDIALOG_H
#include "brfSkeleton.h"
#include "carryPosition.h"
#include <QDialog>
#include <vector>
namespace Ui {
class AskBoneDialog;
}
class BrfSkeleton;
class AskBoneDialog : public QDialog {
Q_OBJECT
public:
AskBoneDialog(QWidget *parent, const std::vector<BrfSkeleton> &skel
,const std::vector<CarryPosition> &cp);
~AskBoneDialog();
void setSkeleton(const BrfSkeleton &s);
int getSkel() const;
int getBone() const;
int getCarryPos() const;
bool pieceAtOrigin() const;
void sayNotSkinned(bool say);
protected:
void changeEvent(QEvent *e);
//const std::vector<BrfSkeleton> &sv;
std::vector<BrfSkeleton> sv;
std::vector<CarryPosition> carrypos;
protected slots:
void onSelectSkel(int i);
void onSelectCarryPos(int i);
void onSelectBone(int i);
private:
Ui::AskBoneDialog *ui;
};
#endif // ASKBONEDIALOG_H