Merge pull request #344 from OH1KH/operator_visible

Added checbox 'Operator' to preferences/visible columns
This commit is contained in:
Petr Hlozek 2020-11-23 16:36:03 +01:00 committed by GitHub
commit 0b1d7dbcef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 29 additions and 14 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 KiB

After

Width:  |  Height:  |  Size: 95 KiB

View File

@ -2337,6 +2337,7 @@ begin
ChangeVis('STX_STRING',cqrini.ReadBool('Columns', 'ContMsgSent', False));
ChangeVis('SRX_STRING',cqrini.ReadBool('Columns', 'ContMsgRcvd', False));
ChangeVis('DOK',cqrini.ReadBool('Columns', 'DarcDok', False));
ChangeVis('OPERATOR',cqrini.ReadBool('Columns', 'Operator', False));
end;
procedure TfrmMain.MarkQSLSend(symbol: string);

View File

@ -1131,7 +1131,7 @@ object frmPreferences: TfrmPreferences
AnchorSideTop.Side = asrBottom
Left = 163
Height = 23
Top = 110
Top = 133
Width = 56
BorderSpacing.Top = 3
Caption = 'IOTA'
@ -1143,7 +1143,7 @@ object frmPreferences: TfrmPreferences
AnchorSideTop.Side = asrBottom
Left = 163
Height = 23
Top = 136
Top = 159
Width = 66
BorderSpacing.Top = 3
Caption = 'Award'
@ -1155,7 +1155,7 @@ object frmPreferences: TfrmPreferences
AnchorSideTop.Side = asrBottom
Left = 163
Height = 23
Top = 162
Top = 185
Width = 72
BorderSpacing.Top = 3
Caption = 'County'
@ -1167,7 +1167,7 @@ object frmPreferences: TfrmPreferences
AnchorSideTop.Side = asrBottom
Left = 163
Height = 23
Top = 188
Top = 211
Width = 66
BorderSpacing.Top = 3
Caption = 'Power'
@ -1179,7 +1179,7 @@ object frmPreferences: TfrmPreferences
AnchorSideTop.Side = asrBottom
Left = 163
Height = 23
Top = 214
Top = 237
Width = 62
BorderSpacing.Top = 3
Caption = 'DXCC'
@ -1191,7 +1191,7 @@ object frmPreferences: TfrmPreferences
AnchorSideTop.Side = asrBottom
Left = 163
Height = 23
Top = 240
Top = 263
Width = 139
BorderSpacing.Top = 3
Caption = 'Comment to QSO'
@ -1203,7 +1203,7 @@ object frmPreferences: TfrmPreferences
AnchorSideTop.Side = asrBottom
Left = 163
Height = 23
Top = 266
Top = 289
Width = 56
BorderSpacing.Top = 3
Caption = 'WAZ'
@ -1215,7 +1215,7 @@ object frmPreferences: TfrmPreferences
AnchorSideTop.Side = asrBottom
Left = 163
Height = 23
Top = 292
Top = 315
Width = 48
BorderSpacing.Top = 3
Caption = 'ITU'
@ -1227,7 +1227,7 @@ object frmPreferences: TfrmPreferences
AnchorSideTop.Side = asrBottom
Left = 163
Height = 23
Top = 318
Top = 341
Width = 60
BorderSpacing.Top = 3
Caption = 'State'
@ -1418,7 +1418,7 @@ object frmPreferences: TfrmPreferences
AnchorSideTop.Side = asrBottom
Left = 163
Height = 23
Top = 344
Top = 367
Width = 121
BorderSpacing.Top = 3
Caption = 'Satellite name'
@ -1430,7 +1430,7 @@ object frmPreferences: TfrmPreferences
AnchorSideTop.Side = asrBottom
Left = 163
Height = 23
Top = 370
Top = 393
Width = 113
BorderSpacing.Top = 3
Caption = 'RX frequency'
@ -1498,11 +1498,11 @@ object frmPreferences: TfrmPreferences
end
object chkDistance: TCheckBox
AnchorSideLeft.Control = chkQSL_VIA
AnchorSideTop.Control = chkMyLoc
AnchorSideTop.Control = chkOperator
AnchorSideTop.Side = asrBottom
Left = 163
Height = 23
Top = 84
Top = 107
Width = 133
BorderSpacing.Top = 3
Caption = 'Distance (in pnl)'
@ -1516,6 +1516,17 @@ object frmPreferences: TfrmPreferences
Caption = 'DARC DOK'
TabOrder = 46
end
object chkOperator: TCheckBox
AnchorSideLeft.Control = chkQSL_VIA
AnchorSideTop.Control = chkMyLoc
AnchorSideTop.Side = asrBottom
Left = 163
Height = 23
Top = 81
Width = 83
Caption = 'Operator'
TabOrder = 47
end
end
object tabBands: TTabSheet
Caption = 'Bands'

View File

@ -122,6 +122,7 @@ type
cb30cm: TCheckBox;
cgLimit: TCheckGroup;
cbNoKeyerReset: TCheckBox;
chkOperator: TCheckBox;
chkDarcDok: TCheckBox;
chkNewDOKTables: TCheckBox;
chkRot1AzMinMax: TCheckBox;
@ -1224,6 +1225,7 @@ begin
cqrini.WriteBool('Columns', 'QSL_VIA', chkQSL_VIA.Checked);
cqrini.WriteBool('Columns', 'Locator', chkLoc.Checked);
cqrini.WriteBool('Columns', 'MyLoc', chkMyLoc.Checked);
cqrini.WriteBool('Columns', 'Operator', chkOperator.Checked);
cqrini.WriteBool('Columns', 'Distance', chkDistance.Checked);
cqrini.WriteBool('Columns', 'IOTA', chkIOTA.Checked);
cqrini.WriteBool('Columns', 'Award', chkAward.Checked);
@ -2706,6 +2708,7 @@ begin
chkQSL_VIA.Checked := cqrini.ReadBool('Columns', 'QSL_VIA', False);
chkLoc.Checked := cqrini.ReadBool('Columns', 'Locator', False);
chkMyLoc.Checked := cqrini.ReadBool('Columns', 'MyLoc', False);
chkOperator.Checked := cqrini.ReadBool('Columns', 'Operator', False);
chkDistance.Checked := cqrini.ReadBool('Columns', 'Distance', False);
chkIOTA.Checked := cqrini.ReadBool('Columns', 'IOTA', False);
chkAward.Checked := cqrini.ReadBool('Columns', 'Award', False);

View File

@ -9,7 +9,7 @@ const
cMINOR = 4;
cRELEAS = 0;
cBUILD = 1;
cBUILD_DATE = '2020-10-27';
cBUILD_DATE = '2020-11-12';
implementation