Ubuntu 24.04 running X11
mariadb V15.1
QT6 V6.4.2
CQRLOG Alpha_(134)_QT6
In the New QSO window, it allows me to change the widths and order of the fields of previous QSOs. However, if I close and reopen CQRLOG, then the fields are back to some default width and ordering.
If this is NOT a bug, then how do I make my changes permanent?
Thanks!
-David, N9KT
Hi David!
Start Cqrlog
At "Database connection" window select your log but do not open it.
Instead press "Utils" and select "Configuration/Export"
Give a filename for ex: /tmp/myconf, press "Save button
Open file /tmp/myconf.cfg with plain text editor like nano, vi, leafpad etc.
Search "[frmNewQSO_dbgrdQSOBefore]"
Check all values. They are columns (in order) and their widths. They should be clear text with no special characters etc.
Like:
[frmNewQSO_dbgrdQSOBefore]
qsodate=79
time_on=67
callsign=53
mode=244
freq=60
loc=60
rst_s=60
rst_r=60
name=0
qth=0
remarks=60
lotw_qsls=0
eqsl_qsl_sent=0
qslr=55
qsl_s=60
dxcc_ref=0
state=0
lotw_qslr=60
eqsl_qsl_rcvd=60
srx=60
stx=60
srx_string=60
stx_string=60
contestname=60
my_loc=60[frmNewQSO_dbgrdQSOBefore]
qsodate=79
time_on=67
callsign=53
mode=244
freq=60
loc=60
rst_s=60
rst_r=60
name=0
qth=0
remarks=60
lotw_qsls=0
eqsl_qsl_sent=0
qslr=55
qsl_s=60
dxcc_ref=0
state=0
lotw_qslr=60
eqsl_qsl_rcvd=60
srx=60
stx=60
srx_string=60
stx_string=60
contestname=60
my_loc=60
When fixed, save file and return to "Database connection" window.
There press utils button and select "Configuration import"
Find your edited file and load it.
After that press button "open" and look the NewQSO, change order of columns, close and reopen to see if change was saved.
--
Saku
OH1KH
Sorry!
Example list has error that came while typing message in.
There should NOT be "[frmNewQSO_dbgrdQSOBefore]" in the middle of list.
Just at beginning only.
--
Saku
OH1KH
Thank you Saku for the quick reply. That worked!
-David, N9KT
FYI, I thought that fixed it for me, but eventually after using it several times I'll open the log and all the fields will be reset back to their original order and size. I'm trying to figure out a sequence of events that I can give you that causes them to go back to the default. I'm currently using Alpha (135) QT6.
-David, N9KT
Hi David!
Perhaps closing computer without closing Cqrlog first?
Or something similar where Cqrlog suddenly closes. Error splash with Abort/OK?
When NewQSO, and other windows, close their current values are written to config (memory). When Cqrlog closes values are flushed to file and the file is stored to SQL database and then then file is deleted. You cannot find then file when Cqrlog is not running.
When Cqrlog starts file is written from database contents and when windows are opening their values are read from file.
Something like that it goes.
So it is sensitive to happenings that break the normal order.
--
Saku
OH1KH