Qv2ray/src/w_PrefrencesWindow.h
2019-07-05 20:43:33 +08:00

37 lines
891 B
C++

#ifndef HVCONF_H
#define HVCONF_H
#include <QDialog>
#include <ui_w_PrefrencesWindow.h>
#include "HConfigObjects.hpp"
namespace Qv2ray
{
namespace Ui_Impl
{
class PrefrencesWindow : public QDialog
{
Q_OBJECT
public:
explicit PrefrencesWindow(QWidget *parent = nullptr);
~PrefrencesWindow();
QWidget *parentMW;
private slots:
void on_buttonBox_accepted();
void on_httpCB_stateChanged(int arg1);
void on_socksCB_stateChanged(int arg1);
void on_httpAuthCB_stateChanged(int arg1);
void on_runAsRootCheckBox_stateChanged(int arg1);
private:
Qv2ray::QvConfigModels::Qv2Config CurrentConfig;
Ui_PrefrencesWindow *ui;
};
}
}
#endif // HVCONF_H