first commit
This commit is contained in:
71
project/fm_viewer/cfg/window_settings_xdr6688.h
Normal file
71
project/fm_viewer/cfg/window_settings_xdr6688.h
Normal file
@@ -0,0 +1,71 @@
|
||||
#ifndef WINDOW_SETTINGS_H
|
||||
#define WINDOW_SETTINGS_H
|
||||
#if (USE_DEVICE_SETTINGS)
|
||||
|
||||
#include "../rm_include.h"
|
||||
#include "rm_settings_window_base.h"
|
||||
#if (RM_MODEL == RM_MODEL_TYPE_XLDR_88)
|
||||
|
||||
#include "../ui/rm_popup.h"
|
||||
#include <QGroupBox>
|
||||
#include <QRadioButton>
|
||||
|
||||
#define SETTING_NUM_ROW 3
|
||||
class RMSettingTime;
|
||||
class WindowSettings : public RMSettingsWindowBase
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
|
||||
int _wwidth;
|
||||
int _wheight;
|
||||
explicit WindowSettings(QWidget *parent = 0);
|
||||
~WindowSettings();
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
private slots:
|
||||
};
|
||||
|
||||
// XDR-66
|
||||
class WindowSettings66 : public WindowSettings
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit WindowSettings66(QWidget *parent = 0);
|
||||
QVBoxLayout* _createRow(QWidget** rw);
|
||||
void afterSave() override;
|
||||
bool validateData(){return true;}
|
||||
private:
|
||||
RMSettingTime* time;
|
||||
void _createRowA();
|
||||
|
||||
private slots:
|
||||
};
|
||||
|
||||
// XDR-88
|
||||
class RMSettingAdminPW;
|
||||
class RMSettingTime;
|
||||
class WindowSettings88 : public WindowSettings
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit WindowSettings88(QWidget *parent = 0);
|
||||
QVBoxLayout* _createRow(QWidget** rw);
|
||||
void afterSave() override;
|
||||
bool validateData(){return true;}
|
||||
private:
|
||||
RMSettingAdminPW* pw;
|
||||
//RMSettingTime* time;
|
||||
void _createRowA();
|
||||
void _createRowB();
|
||||
private slots:
|
||||
};
|
||||
|
||||
#endif // #if (RM_MODEL)
|
||||
#endif // #if (USE_DEVICE_SETTINGS)
|
||||
#endif // WINDOW_SETTINGS_H
|
||||
Reference in New Issue
Block a user