<commit_before>#ifndef VSC_SETTING_H
#define VSC_SETTING_H

#include <QWidget>
#include "ui_vscsetting.h"
#include "utility.hpp"
#include "factory.hpp"
#include "vscvwidget.h"
#include "vsclicense.h"
#include "vscversion.h"
#include "vscrecorderconf.h"
#include "vscdevicelist.h"
#include "vscuser.h"
#include "vsclanguage.h"
#include "vschdfsrecord.h"
#include "vscrtsprtp.h"


#define VSC_SETTING_INDEX_SYSTEM 0
#define VSC_SETTING_INDEX_MEDIA 1
#define VSC_SETTING_INDEX_STORAGE 2

class VSCSetting : public QWidget
{
    Q_OBJECT

public:
    VSCSetting(QWidget *parent, VSCDeviceList &pDeviceList);
    ~VSCSetting();
public:
    void mouseDoubleClickEvent(QMouseEvent *e);
    void createContentMenu();
    void setupDefaultValue();
    void updateParamValue(QLineEdit *ld, s8 * pParam);
    void removeAll();
	
private slots:

    void radioButtonClicked();
    void applyConfig();
    void treeClicked(QTreeWidgetItem *item, int column);
signals:
    void RecorderTreeUpdated();

public:
    void SetupConnections();

	
public:
    Ui::VSCSetting ui;
private:
	QWidget *m_pParent;
	VSCLicense *m_License;
	VSCVersion *m_Version;
	VSCUser *m_User;
	VSCLanguage *m_Language;
	VSCRecorderConf *m_RecorderConf;
	VSCHdfsRecord *m_HdfsRecord;
	VSCRtspRtp *m_RtspRtp;
	QVBoxLayout* m_Layout;
	VSCDeviceList &m_DeviceList;
};

#endif // VSC_SETTING_H<commit_msg>add oapi and video setting<commit_after>#ifndef VSC_SETTING_H
#define VSC_SETTING_H

#include <QWidget>
#include "ui_vscsetting.h"
#include "utility.hpp"
#include "factory.hpp"
#include "vscvwidget.h"
#include "vsclicense.h"
#include "vscversion.h"
#include "vscrecorderconf.h"
#include "vscdevicelist.h"
#include "vscuser.h"
#include "vsclanguage.h"
#include "vschdfsrecord.h"
#include "vscrtsprtp.h"
#include "vscvideosetting.h"
#include "vscoapi.h"


#define VSC_SETTING_INDEX_SYSTEM 0
#define VSC_SETTING_INDEX_NETWORK 1
#define VSC_SETTING_INDEX_MEDIA 2
#define VSC_SETTING_INDEX_STORAGE 3

class VSCSetting : public QWidget
{
    Q_OBJECT

public:
    VSCSetting(QWidget *parent, VSCDeviceList &pDeviceList);
    ~VSCSetting();
public:
    void mouseDoubleClickEvent(QMouseEvent *e);
    void createContentMenu();
    void setupDefaultValue();
    void updateParamValue(QLineEdit *ld, s8 * pParam);
    void removeAll();
	
private slots:

    void radioButtonClicked();
    void applyConfig();
    void treeClicked(QTreeWidgetItem *item, int column);
signals:
    void RecorderTreeUpdated();

public:
    void SetupConnections();

	
public:
    Ui::VSCSetting ui;
private:
	QWidget *m_pParent;
	VSCLicense *m_License;
	VSCVersion *m_Version;
	VSCUser *m_User;
	VSCLanguage *m_Language;
	VSCRecorderConf *m_RecorderConf;
	VSCHdfsRecord *m_HdfsRecord;
	VSCRtspRtp *m_RtspRtp;
	VSCOAPI *m_OAPI;
	VSCVideoSetting *m_VideoSetting;
	QVBoxLayout* m_Layout;
	VSCDeviceList &m_DeviceList;
};

#endif // VSC_SETTING_H
{'fraction_non_alphanumeric': 0.10330434782608695, 'fraction_numerical': 0.003130434782608696, 'mean_word_length': 5.688372093023256, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3486246', 'n_tokens_mistral': 1114, 'n_tokens_neox': 1108, 'n_words': 230}