mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-04-06 09:15:37 -05:00
33 lines
610 B
C++
33 lines
610 B
C++
#pragma once
|
|
#include "source-interaction-step.hpp"
|
|
|
|
#include <QComboBox>
|
|
#include <QStackedWidget>
|
|
#include <QWidget>
|
|
|
|
namespace advss {
|
|
|
|
class SourceInteractionStepEdit : public QWidget {
|
|
Q_OBJECT
|
|
public:
|
|
SourceInteractionStepEdit(QWidget *parent,
|
|
const SourceInteractionStep &step);
|
|
SourceInteractionStep GetStep() const { return _step; }
|
|
|
|
signals:
|
|
void StepChanged(const SourceInteractionStep &);
|
|
|
|
private slots:
|
|
void TypeChanged(int);
|
|
void UpdateStep();
|
|
|
|
private:
|
|
void RebuildFields();
|
|
|
|
QComboBox *_typeCombo;
|
|
QStackedWidget *_fields;
|
|
SourceInteractionStep _step;
|
|
};
|
|
|
|
} // namespace advss
|