aboutsummaryrefslogtreecommitdiff
path: root/tools/ArtistTools/source/BlastPlugin/Window/SupportPanel.h
blob: 0987e4699e67216ebba43d129add774ae8fa9d16 (plain) (blame)
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
#ifndef SUPPORTPANEL_H
#define SUPPORTPANEL_H

#include <QtWidgets/QWidget>
#include "BlastSceneTree.h"

namespace Ui {
class SupportPanel;
}

class SupportPanel : public QWidget, public ISceneObserver
{
    Q_OBJECT

public:
    explicit SupportPanel(QWidget *parent = 0);
    ~SupportPanel();
	void updateValues();

	virtual void dataSelected(std::vector<BlastNode*> selections);

private slots:
    void on_comboBoxHealthMask_currentIndexChanged(int index);

    void on_btnAddHealthMask_clicked();

    void on_btnPen_clicked();

    void on_btnRemove_clicked();

    void on_spinBoxBondStrength_valueChanged(double arg1);

    void on_checkBoxEnableJoint_stateChanged(int arg1);

private:
    Ui::SupportPanel *ui;
	std::vector<BPPBond*> _selectedBonds;
};

#endif // SUPPORTPANEL_H