24 lines
375 B
C
24 lines
375 B
C
|
#pragma once
|
||
|
|
||
|
#include <QWidget>
|
||
|
#include <QPushButton>
|
||
|
|
||
|
#include "objectselectiondialog.h"
|
||
|
|
||
|
class IDSelector : public QWidget
|
||
|
{
|
||
|
public:
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
explicit IDSelector(ObjectSelectionType type, int& ref, QWidget* parent = nullptr);
|
||
|
|
||
|
signals:
|
||
|
void onValueChanged();
|
||
|
|
||
|
private:
|
||
|
void ReloadLabel();
|
||
|
|
||
|
int& m_reference;
|
||
|
QPushButton* m_assetButton;
|
||
|
};
|