62 lines
1.7 KiB
C++
62 lines
1.7 KiB
C++
#ifndef WINDOW_SETTINGS_H
|
|
#define WINDOW_SETTINGS_H
|
|
|
|
#include "../rm_include.h"
|
|
#include "rm_settings_window_base.h"
|
|
#if (RM_MODEL == RM_MODEL_TYPE_XLDR_F_ADAS)
|
|
|
|
#include "../ui/rm_popup.h"
|
|
#include <QGroupBox>
|
|
#include <QRadioButton>
|
|
|
|
#define SETTING_NUM_ROW 3
|
|
|
|
class WindowSettings : public RMSettingsWindowBase
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit WindowSettings(QWidget *parent = 0);
|
|
~WindowSettings();
|
|
|
|
private:
|
|
|
|
// custom value save
|
|
//int _lastRecordingSetting;
|
|
//void _saveCustomRecordingSetting();
|
|
//void _loadCustomRecordingSetting();
|
|
|
|
// Utility
|
|
QVBoxLayout* _createRow(QWidget** rw);
|
|
|
|
//void _createRecordSetting(QWidget* row,QVBoxLayout* rowLayout);
|
|
// RMRadioButtons* videoResolution; // 1
|
|
// RMRadioButtons* videoQuality; // 2
|
|
// RMRadioButtons* videoBrightness; // 3
|
|
// RMRadioButtons* videoContrast; // 4
|
|
|
|
// void _createGSensorSensitivity(QWidget* row,QVBoxLayout* rowLayout);
|
|
// RMGroupComboBox* gSensorSensitivity;
|
|
// RMComboBox* gSensorSensitivityFB;
|
|
// RMComboBox* gSensorSensitivityLR;
|
|
// RMComboBox* gSensorSensitivityUD;
|
|
|
|
//void _createOrbis(QWidget* row,QVBoxLayout* rowLayout);
|
|
//void _createDisasterAlarm(QWidget* row,QVBoxLayout* rowLayout);
|
|
void _createFCWS(QWidget* row,QVBoxLayout* rowLayout);
|
|
//void _createBCWS(QWidget* row,QVBoxLayout* rowLayout);
|
|
//void _createFLIP(QWidget* row,QVBoxLayout* rowLayout);
|
|
|
|
void _createRowA();
|
|
void _createRowB();
|
|
//void _createRowC();
|
|
|
|
private slots:
|
|
|
|
//void onRecordSetting(int index);
|
|
//void onGSensorSensitivity(int index);
|
|
};
|
|
#endif // #if (RM_MODEL == RM_MODEL_TYPE_CS_91FH)
|
|
#endif // WINDOW_SETTINGS_H
|