-
Notifications
You must be signed in to change notification settings - Fork 5
/
Qsodlg.h
133 lines (119 loc) · 3.95 KB
/
Qsodlg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
//Copyright+LGPL
//-----------------------------------------------------------------------------------------------------------------------------------------------
// Copyright 2000-2013 Makoto Mori, Nobuyuki Oba
//-----------------------------------------------------------------------------------------------------------------------------------------------
// This file is part of MMVARI.
// MMVARI is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
// MMVARI 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 Lesser General Public License for more details.
// You should have received a copy of the GNU Lesser General Public License along with MMTTY. If not, see
// <http://www.gnu.org/licenses/>.
//-----------------------------------------------------------------------------------------------------------------------------------------------
//----------------------------------------------------------------------------
#ifndef QsoDlgH
#define QsoDlgH
//----------------------------------------------------------------------------
/* JA7UDE 0428
#include <vcl\System.hpp>
#include <vcl\Windows.hpp>
#include <vcl\SysUtils.hpp>
#include <vcl\Classes.hpp>
#include <vcl\Graphics.hpp>
#include <vcl\StdCtrls.hpp>
#include <vcl\Forms.hpp>
#include <vcl\Controls.hpp>
#include <vcl\Buttons.hpp>
#include <vcl\ExtCtrls.hpp>
#include <vcl\Grids.hpp>
*/
//----------------------------------------------------------------------------
#include "LogFile.h"
#include <Buttons.hpp>
#include <Classes.hpp>
#include <Controls.hpp>
#include <Grids.hpp>
#include <StdCtrls.hpp>
//----------------------------------------------------------------------------
class TQSODlgBox : public TForm
{
__published:
TButton *OKBtn;
TButton *CancelBtn;
TGroupBox *GB1;
TStringGrid *Grid;
TLabel *Label1;
TEdit *EditDate;
TLabel *LTimeZone;
TEdit *EditBgn;
TLabel *Label3;
TEdit *EditEnd;
TLabel *Label4;
TEdit *EditCall;
TLabel *Label5;
TEdit *EditName;
TLabel *Label6;
TEdit *EditQTH;
TLabel *Label7;
TComboBox *EditMy;
TLabel *Label8;
TComboBox *EditHis;
TLabel *Label9;
TComboBox *EditBand;
TLabel *Label10;
TComboBox *EditMode;
TLabel *Label11;
TEdit *EditRem;
TLabel *Label12;
TEdit *EditQSL;
TLabel *Label13;
TLabel *Label14;
TLabel *Label15;
TEdit *EditEnv;
TLabel *Label16;
TEdit *EditOpt1;
TLabel *Label17;
TEdit *EditOpt2;
TLabel *Label18;
TComboBox *EditM;
TComboBox *EditS;
TComboBox *EditR;
TLabel *Label19;
TComboBox *EditPow;
TLabel *LStat;
TLabel *Label20;
TEdit *EditUsr1;
TLabel *Label21;
TEdit *EditUsr2;
TSpeedButton *SBMMCG;
void __fastcall SBMMCGClick(TObject *Sender);
void __fastcall EditDateChange(TObject *Sender);
void __fastcall GridSelectCell(TObject *Sender, int Col, int Row,
bool &CanSelect);
void __fastcall GridDrawCell(TObject *Sender, int Col, int Row,
TRect &Rect, TGridDrawState State);
void __fastcall GridClick(TObject *Sender);
private:
CLogFind *m_fp;
int m_EditFlag;
int m_CurNo;
SDMMLOG m_sd;
BOOL m_fSelect;
AnsiString m_Country;
void __fastcall UpdateBtn(void);
void __fastcall SetCountry(void);
// CAlignList AlignList;
// void __fastcall EntryAlignControl(void);
void __fastcall UpdateStat(void);
void __fastcall UpdateTextData(SDMMLOG *sp, int n);
void __fastcall UpdateTextData(SDMMLOG *sp);
void __fastcall UpdateCurData(SDMMLOG *sp);
public:
virtual __fastcall TQSODlgBox(TComponent* AOwner);
int __fastcall Execute(CLogFind *fp, SDMMLOG *sp, int n);
int __fastcall ShowFind(CLogFind *fp);
};
//----------------------------------------------------------------------------
//extern TQSODlgBox *QSODlgBox;
//----------------------------------------------------------------------------
#endif