summaryrefslogtreecommitdiff
path: root/lspaneeditor.h
blob: 4955a7206fe961160fde9679ecc9385fef817aef (plain)
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
46
47
48
49
50
51
52
#ifndef LSPANEEDITOR_H
#define LSPANEEDITOR_H

#include <QWidget>
#include <QGridLayout>
#include <QTabWidget>
#include <QMenu>
#include <QToolButton>
#include <QLabel>
#include <QLineEdit>
#include <QDoubleSpinBox>
#include <QComboBox>
#include <QCheckBox>

class LSPaneEditor : public QWidget {
	Q_OBJECT
public:
	explicit LSPaneEditor(QWidget *parent = 0);

private:
	QLabel *m_headingLabel;
	QTabWidget *m_tabs;

	QToolButton *m_addChildButton;
	QMenu *m_addChildMenu;
	QToolButton *m_removeButton;


	// Main pane tab
	QWidget *m_paneTab;

	QLineEdit *m_nameEntry, *m_userDataEntry;
	QSpinBox *m_alpha;
	QCheckBox *m_influencedAlpha;

	QDoubleSpinBox *m_width, *m_height;
	QComboBox *m_horzOrigin, *m_vertOrigin;
	QCheckBox *m_widescreen, *m_visible;

	QDoubleSpinBox *m_transX, *m_transY, *m_transZ;
	QDoubleSpinBox *m_rotX, *m_rotY, *m_rotZ;
	QDoubleSpinBox *m_scaleX, *m_scaleY;

	void createPaneTab();
	
signals:
	
public slots:
	
};

#endif // LSPANEEDITOR_H