first commit
This commit is contained in:
53
project/fm_viewer/cfg/window_settings_standard.h
Normal file
53
project/fm_viewer/cfg/window_settings_standard.h
Normal file
@@ -0,0 +1,53 @@
|
||||
#ifndef WINDOW_SETTINGS_H
|
||||
#define WINDOW_SETTINGS_H
|
||||
#if (USE_DEVICE_SETTINGS && !USE_DEVICE_SETTINGS_JSON && !RM_MODEL_EMT_KR)
|
||||
|
||||
#include "../rm_include.h"
|
||||
#include "rm_settings_window_base.h"
|
||||
//#if (RM_MODEL == RM_MODEL_TYPE_STANDARD || RM_MODEL == RM_MODEL_TYPE_XLDR_88)
|
||||
|
||||
#include "../ui/rm_popup.h"
|
||||
#include <QGroupBox>
|
||||
#include <QRadioButton>
|
||||
|
||||
#define SETTING_NUM_ROW 3
|
||||
|
||||
class RMTextEdit;
|
||||
class WindowSettings : public RMSettingsWindowBase
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
|
||||
explicit WindowSettings(QWidget *parent = 0);
|
||||
~WindowSettings();
|
||||
virtual void afterSave() override;
|
||||
#if (RM_MODEL == RM_MODEL_TYPE_AN6000)
|
||||
virtual bool validateData() override;
|
||||
#endif // #if (RM_MODEL == RM_MODEL_TYPE_AN6000)
|
||||
|
||||
private:
|
||||
// Utility
|
||||
QVBoxLayout* _createRow(QWidget** rw);
|
||||
|
||||
RMRadioButtons* videoResolution; // 1
|
||||
RMRadioButtons* videoQuality; // 2
|
||||
RMRadioButtons* videoBrightness; // 3
|
||||
RMRadioButtons* videoContrast; // 4
|
||||
|
||||
#if (RM_MODEL == RM_MODEL_TYPE_AN6000)
|
||||
// 검증용 데이터 KEY 명칭, (REGEX,CONTROL)
|
||||
QMap<QString,QPair<QString,RMTextEdit*>> validateList;
|
||||
#endif // #if (RM_MODEL == RM_MODEL_TYPE_AN6000)
|
||||
|
||||
void _createRowA();
|
||||
|
||||
|
||||
private slots:
|
||||
|
||||
// void onRecordSetting(int index);
|
||||
// void onGSensorSensitivity(int index);
|
||||
};
|
||||
//#endif // #if (RM_MODEL == RM_MODEL_TYPE_CS_91FH)
|
||||
#endif // #if (USE_DEVICE_SETTINGS)
|
||||
#endif // WINDOW_SETTINGS_H
|
||||
Reference in New Issue
Block a user