mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-20 19:00:22 +08:00
37 lines
891 B
C++
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
|