37 lines
677 B
C
37 lines
677 B
C
|
|
#ifndef DIALOGALGOARG_H
|
||
|
|
#define DIALOGALGOARG_H
|
||
|
|
|
||
|
|
#include <QWidget>
|
||
|
|
#include <QDialog>
|
||
|
|
#include <QString>
|
||
|
|
#include "IVrConfig.h"
|
||
|
|
|
||
|
|
namespace Ui {
|
||
|
|
class DialogAlgoarg;
|
||
|
|
}
|
||
|
|
|
||
|
|
class DialogAlgoarg : public QDialog
|
||
|
|
{
|
||
|
|
Q_OBJECT
|
||
|
|
|
||
|
|
public:
|
||
|
|
explicit DialogAlgoarg(IVrConfig* vrConfig, QWidget *parent = nullptr);
|
||
|
|
~DialogAlgoarg();
|
||
|
|
|
||
|
|
private slots:
|
||
|
|
void on_btn_camer_ok_clicked();
|
||
|
|
void on_btn_camer_cancel_clicked();
|
||
|
|
|
||
|
|
private:
|
||
|
|
void LoadConfigToUI();
|
||
|
|
bool SaveConfigFromUI();
|
||
|
|
|
||
|
|
private:
|
||
|
|
Ui::DialogAlgoarg *ui;
|
||
|
|
IVrConfig* m_vrConfig;
|
||
|
|
ConfigResult m_configData;
|
||
|
|
QString m_configFilePath;
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif // DIALOGALGOARG_H
|