| 1 |
//--------------------------------------------------------------------------- |
| 2 |
#ifndef LangConfigH |
| 3 |
#define LangConfigH |
| 4 |
//--------------------------------------------------------------------------- |
| 5 |
#include <Classes.hpp> |
| 6 |
#include <Controls.hpp> |
| 7 |
#include <StdCtrls.hpp> |
| 8 |
#include <Forms.hpp> |
| 9 |
#include <ComCtrls.hpp> |
| 10 |
//--------------------------------------------------------------------------- |
| 11 |
#include "KCopalConfig.h" |
| 12 |
#include <Dialogs.hpp> |
| 13 |
//--------------------------------------------------------------------------- |
| 14 |
#include "KLangForm.h" |
| 15 |
//--------------------------------------------------------------------------- |
| 16 |
class TFLangConfig : public TForm { |
| 17 |
__published: // IDE 管理のコンポーネント |
| 18 |
TPageControl *PageControl; |
| 19 |
TButton *BtOK; |
| 20 |
TButton *BtCancel; |
| 21 |
TTabSheet *TSEnvironment; |
| 22 |
TComboBox *CBLanguage; |
| 23 |
TGroupBox *GroupBox1; |
| 24 |
TEdit *EdExePath; |
| 25 |
TButton *BtBrouseExepath; |
| 26 |
TLabel *Label1; |
| 27 |
TEdit *EdOption; |
| 28 |
TLabel *Label2; |
| 29 |
TButton *BtSet; |
| 30 |
TTabSheet *TSEditor; |
| 31 |
TGroupBox *GroupBox2; |
| 32 |
TEdit *EdHelpFile; |
| 33 |
TLabel *Label3; |
| 34 |
TButton *BtBrouseHelpFile; |
| 35 |
TCheckBox *CBUseHelpFile; |
| 36 |
TTabSheet *TSDebug; |
| 37 |
TGroupBox *GroupBox3; |
| 38 |
TLabel *Label4; |
| 39 |
TOpenDialog *OpenDialog; |
| 40 |
TEdit *EdRegExpErr; |
| 41 |
TGroupBox *GroupBox4; |
| 42 |
TCheckBox *CBShowError; |
| 43 |
TLabel *Label5; |
| 44 |
TEdit *EdTempFile; |
| 45 |
TEdit *EdExt; |
| 46 |
TLabel *Label6; |
| 47 |
TEdit *EdTempDir; |
| 48 |
TLabel *Label7; |
| 49 |
TGroupBox *GroupBox5; |
| 50 |
TCheckBox *CBUseTagJumpToOtherFile; |
| 51 |
TEdit *EdRegExpFile; |
| 52 |
TLabel *Label9; |
| 53 |
TCheckBox *CBCheckErrorCode; |
| 54 |
void __fastcall CBLanguageChange(TObject *Sender); |
| 55 |
void __fastcall BtOKClick(TObject *Sender); |
| 56 |
void __fastcall BtCancelClick(TObject *Sender); |
| 57 |
void __fastcall BtSetClick(TObject *Sender); |
| 58 |
void __fastcall FormKeyPress(TObject *Sender, char &Key); |
| 59 |
void __fastcall BtBrouseExepathClick(TObject *Sender); |
| 60 |
void __fastcall BtBrouseHelpFileClick(TObject *Sender); |
| 61 |
private: // ユーザー宣言 |
| 62 |
|
| 63 |
KCopalConfig *CopalConfig;//定義情報 |
| 64 |
//--------------------------------------------------------------------------- |
| 65 |
void ShowConfig(void); |
| 66 |
void SetConfig(void);//設定の更新 |
| 67 |
bool CheckConfig(void);//設定内容のチェック |
| 68 |
//--------------------------------------------------------------------------- |
| 69 |
|
| 70 |
public: // ユーザー宣言 |
| 71 |
void Execute(KCopalConfig *_CopalConfig); |
| 72 |
|
| 73 |
|
| 74 |
|
| 75 |
|
| 76 |
__fastcall TFLangConfig(TComponent* Owner); |
| 77 |
}; |
| 78 |
//--------------------------------------------------------------------------- |
| 79 |
extern PACKAGE TFLangConfig *FLangConfig; |
| 80 |
//--------------------------------------------------------------------------- |
| 81 |
#endif |