📄 settings_f.h
字号:
//License: GNU
//
//
//
// J-QAM sound card modem
//
// Copyright (C) 2008 Jonti Olds
//
//
//
// This program is free software: you can redistribute it and/or modify
//
// it under the terms of the GNU General Public License as published by
//
// the Free Software Foundation, either version 3 of the License, or
//
// (at your option) any later version.
//
//
//
// This program is distributed in the hope that it will be useful,
//
// but WITHOUT ANY WARRANTY; without even the implied warranty of
//
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//
// GNU General Public License for more details.
//
//
//
// You should have received a copy of the GNU General Public License
//
// along with this program. If not, see <http://www.gnu.org/licenses/>
//---------------------------------------------------------------------------
#ifndef Settings_FH
#define Settings_FH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "JvExStdCtrls.hpp"
#include "JvListBox.hpp"
#include "JvExControls.hpp"
#include "JvPageList.hpp"
#include "JvXPButtons.hpp"
#include "JvXPCore.hpp"
#include "JvLabel.hpp"
#include "JvStaticText.hpp"
#include "JvXPCheckCtrls.hpp"
#include "JvCombobox.hpp"
#include "JvEdit.hpp"
#include "JvValidateEdit.hpp"
#include "JvExMask.hpp"
#include "JvToolEdit.hpp"
#include <Grids.hpp>
#include <Mask.hpp>
#include <ValEdit.hpp>
#include "Settings.h"
#include "Constants.h"
#include "JvAppIniStorage.hpp"
#include "JvAppStorage.hpp"
#include "JvComponentBase.hpp"
#include "JvFormPlacement.hpp"
//---------------------------------------------------------------------------
class TSettingsForm : public TForm
{
__published: // IDE-managed Components
TJvListBox *JvListBox1;
TJvPageList *JvPageList1;
TJvXPButton *JvXPButtonOk;
TJvXPButton *JvXPButtonCancel;
TJvStandardPage *GeneralPage;
TJvStandardPage *ModulatorGeneralPage;
TJvStaticText *JvStaticText1;
TJvStaticText *JvStaticText2;
TJvStandardPage *DemodulatorPage;
TJvStaticText *JvStaticText3;
TJvXPCheckbox *JvXPStartOnLoading;
TJvXPCheckbox *JvXPShowWindowOnstartup;
TJvXPCheckbox *JvXPCheckboxDeModOn;
TJvXPCheckbox *JvXPCheckboxModOn;
TGroupBox *SoundCardGroupBox;
TJvLabel *JvLabel9;
TJvLabel *JvLabel10;
TJvLabel *JvLabel12;
TJvValidateEdit *JvValidateEditSoundCardBufferSize;
TJvComboBox *JvComboBoxSoundCardDevice;
TJvComboBox *JvComboBoxSoundCardSampleRate;
TJvValidateEdit *JvValidateEditRSErrorPercent;
TJvLabel *JvLabel31;
TJvLabel *JvLabel32;
TJvValidateEdit *JvValidateEditFramePriod;
TJvLabel *JvLabel33;
TJvValidateEdit *JvValidateEditInterleavingLength;
TJvValidateEdit *JvValidateEditFreq;
TJvLabel *JvLabel1;
TJvLabel *JvLabel2;
TJvValidateEdit *JvValidateEditAlpha;
TJvLabel *JvLabel3;
TJvValidateEdit *JvValidateEditGamma;
TJvValidateEdit *JvValidateEditModFIRSize;
TJvLabel *JvLabel4;
TJvComboBox *JvComboBoxCT;
TJvLabel *JvLabel5;
TGroupBox *GroupBox1;
TJvLabel *JvLabel17;
TJvLabel *JvLabel18;
TJvComboBox *JvComboBoxRS232Port;
TJvComboBox *JvComboBoxRS232Baudrate;
TJvXPCheckbox *JvXPCheckboxEnableRS232;
TJvLabel *JvLabel16;
TJvEdit *JvEditUdpSendAddr;
TJvLabel *JvLabel15;
TJvValidateEdit *JvValidateEditUDPSendPort;
TJvLabel *JvLabel20;
TJvValidateEdit *JvValidateEditUnRealQAMTcpPort;
TJvStandardPage *ModulatorUnrealPage;
TJvStaticText *JvStaticText4;
TJvXPCheckbox *JvXPCheckboxEnableWebServer;
TJvXPCheckbox *JvXPCheckboxEnableUnRealStreaming;
TJvXPCheckbox *JvXPCheckboxEnableStationID;
TJvEdit *JvEditUnRealAlias;
TJvLabel *JvLabel8;
TJvLabel *JvLabel21;
TJvValidateEdit *JvValidateEditUnRealHeaderSendPriod;
TJvValidateEdit *JvValidateEditUnRealServerPort;
TJvLabel *JvLabel19;
TJvEdit *JvEditUnRealServerAddr;
TJvLabel *JvLabel7;
TJvStandardPage *ModulatorStationID;
TJvValidateEdit *JvValidateEditStationIDSendPeriod;
TJvLabel *JvLabel23;
TJvLabel *JvLabel24;
TJvEdit *JvEditStationID;
TJvStaticText *JvStaticText5;
TJvStandardPage *ModulatorUDP;
TJvStaticText *JvStaticText6;
TJvValidateEdit *JvValidateEditUDPListenPort;
TJvLabel *JvLabel14;
TJvStandardPage *ModulatorWebServer;
TJvStaticText *JvStaticText7;
TGroupBox *GroupBox3;
TJvDirectoryEdit *JvDirectoryEditWebDir;
TValueListEditor *ValueListEditorFiles;
TJvValidateEdit *JvValidateEditWebPacketSendSize;
TJvLabel *JvLabel27;
TJvValidateEdit *JvValidateEditIdleThreshold;
TJvLabel *JvLabel26;
TJvEdit *JvEditFTPPassWord;
TJvLabel *JvLabel28;
TJvEdit *JvEditFTPUserName;
TJvLabel *JvLabel30;
TJvEdit *JvEditFtpPort;
TJvLabel *JvLabel29;
TJvValidateEdit *JvValidateEditHTTPServerPort;
TJvLabel *JvLabel25;
TJvFormStorage *JvFormStorage1;
TJvAppIniFileStorage *JvAppIniFileStorage1;
TJvStandardPage *DemodulatorAdvancedPage;
TJvStaticText *JvStaticText8;
TJvXPCheckbox *JvXPCheckboxAllwaysRunFFT;
TJvLabel *JvLabel11;
TJvValidateEdit *JvValidateEditQAM16CMAThreshold;
TJvValidateEdit *JvValidateEditQAM16AMAThreshold;
TJvLabel *JvLabel13;
TJvLabel *JvLabel22;
TJvValidateEdit *JvValidateEditQAM64CMAThreshold;
TJvValidateEdit *JvValidateEditQAM64AMAThreshold;
TJvLabel *JvLabel34;
TJvLabel *JvLabel35;
TJvValidateEdit *JvValidateEditCMATimeOut;
TJvValidateEdit *JvValidateEditAMATimeOut;
TJvLabel *JvLabel36;
TJvValidateEdit *JvValidateEditEqualizerStepSize;
TJvLabel *JvLabel37;
TJvComboBox *JvComboBoxFIRSize;
TJvLabel *JvLabel38;
TJvLabel *JvLabel39;
TJvXPButton *JvXPButton1;
TJvValidateEdit *JvValidateEditNumberOfSettingsToTry;
TJvLabel *JvLabel40;
TJvValidateEdit *JvValidateEditPostSymbolCnt;
TJvValidateEdit *JvValidateEditLockingSymbolCnt;
TJvLabel *JvLabel6;
TJvLabel *JvLabel41;
TJvValidateEdit *JvValidateEditPreSymbolCnt;
TJvLabel *JvLabel42;
void __fastcall JvListBox1Click(TObject *Sender);
void __fastcall FormShow(TObject *Sender);
void __fastcall JvXPButtonCancelClick(TObject *Sender);
void __fastcall JvXPButtonOkClick(TObject *Sender);
void __fastcall JvXPCheckboxModOnClick(TObject *Sender);
void __fastcall JvXPCheckboxEnableRS232Click(TObject *Sender);
void __fastcall JvDirectoryEditWebDirAfterDialog(TObject *Sender,
AnsiString &AName, bool &AAction);
void __fastcall ValueListEditorFilesValidate(TObject *Sender,
int ACol, int ARow, const AnsiString KeyName,
const AnsiString KeyValue);
void __fastcall JvXPCheckboxEnableStationIDClick(TObject *Sender);
void __fastcall JvXPCheckboxEnableWebServerClick(TObject *Sender);
void __fastcall JvXPCheckboxDeModOnClick(TObject *Sender);
void __fastcall JvXPCheckboxEnableUnRealStreamingClick(
TObject *Sender);
void __fastcall JvXPButton1Click(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TSettingsForm(TComponent* Owner);
//vector<NameSize> SendFileList;
//void __fastcall FileListBoxApplyPath(AnsiString APath);
//void __fastcall AttachFileNames();
void __fastcall ClickSet(void);
};
//---------------------------------------------------------------------------
extern PACKAGE TSettingsForm *SettingsForm;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -