blob: 5d7d5673e1750b637e2d6cbb57d8b9bf540119a4 (
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
|
#ifndef LSTEXCOORDSETEDITOR_H
#define LSTEXCOORDSETEDITOR_H
#include <QWidget>
#include <QComboBox>
#include <QDoubleSpinBox>
#include "lyt/common.h"
class LSTexCoordSetEditor : public QWidget
{
Q_OBJECT
public:
explicit LSTexCoordSetEditor(QWidget *parent = 0);
void setCoordPtr(QVector<LYTTexCoords> *coords);
private:
QVector<LYTTexCoords> *m_targetCoords;
QSpinBox *m_coordCount;
QComboBox *m_chooser;
QDoubleSpinBox *m_coordEntry[8];
int m_loadingThings;
void changeChooserCountTo(int count);
void showCoordSet(int index);
private slots:
void handleCoordCountChanged(int count);
void handleSetSelected(int index);
void handleCoordChanged(double value);
signals:
void coordsEdited();
public slots:
};
#endif // LSTEXCOORDSETEDITOR_H
|