Hello Bill,
Thanks again for a fine explanation.
I had a look at the country list and noted that some 53 country names are
'too long'.
It won't be easy to abbreviate these country names, such that it remains
clear for everybody.
Leaving the view port scrolled to the far left looks like the way to go
because then the user can scroll to see the full name.
I didn't have much time yet but I like to explore that a bit further. I let
you know if I succeed or not.
73,
Ton PA0TBR
> Date: Tue, 07 Apr 2015 16:57:12 +0100
> From: Bill Somerville <[email protected]>
> Subject: Re: [wsjt-devel] Horizontal scroll bar in WSJT-X Band
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="windows-1252"
>
> On 07/04/2015 16:30, Ton PA0TBR wrote:
> > Hello Bill,
> Hi Ton,
> >
> > Thanks for your quick answer and the work you have been doing to
> > reduce the length.
> >
> > Where in the source can I find the country list?
> The country list is taken from a standard CTY.DAT file (it is embedded
> in the application) which you can override with a user version if you wish.
>
> The extra abbreviation as it stands now is:
>
> // do some obvious abbreviations
> countryName.replace ("Islands", "Is.");
> countryName.replace ("Island", "Is.");
> countryName.replace ("North ", "N. ");
> countryName.replace ("Northern ", "N. ");
> countryName.replace ("South ", "S. ");
> countryName.replace ("East ", "E. ");
> countryName.replace ("Eastern ", "E. ");
> countryName.replace ("West ", "W. ");
> countryName.replace ("Western ", "W. ");
> countryName.replace ("Central ", "C. ");
> countryName.replace (" and ", " & ");
> countryName.replace ("Republic", "Rep.");
> countryName.replace ("United States", "U.S.A.");
> countryName.replace ("Fed. Rep. of ", "");
> countryName.replace ("French ", "Fr.");
> countryName.replace ("Asiatic", "AS");
> countryName.replace ("European", "EU");
> countryName.replace ("African", "AF");
>
> which is in displaytext.cpp. They seemed to be good choices after
> reviewing a current CTY.DAT file. More similar unambiguous replacement
> could be added.
> >
> > The position of the heading is not so important, but when I look at
> > decoded callsigns, I like to see when the decode took place.
> > Enlarging the window is no option for me, running 2 instances, logbook
> > and PowerSDR, my monitors are crowded as it is.
> >
> > Maybe an option to allow truncation? It's probably not that easy to
> > know what will fit, with the different font sizes, fonts and
> environments.
> You are correct that is potentially a complex calculation, but my
> problem with truncation is that there is no indication that truncation
> has happened, the horizontal scroll bar is the idiomatic way of
> indicating truncation of a text field. I did have a brief attempt at
> ensuring that the scroll view port is left scrolled as far to the left
> as possible after new decodes but hit some issues with implementation.
> If you think this would help I can have another go at that.
>
> I have recently improved the ability to set the decoded text font fixing
> some defects. You may find that selecting smaller font for decoded text
> is your best option.
>
> I have plans to make the activity windows into proper table views as the
> current implementation using a text edit widget is not the most suitable
> for displaying this sort of information. Text edits provide a vast
> number of features that we don't need but complicate populating and
> manipulating them a great deal. A table view will allow user setting of
> column width and even hiding columns. A table view would even allow
> wrapping within a column if we wished or a tool tip to display extra
> information about the decode line.
>
> Another option with a table view could be to have only a single activity
> window with a "filter" button that filters it to decodes and Tx messages
> on the current Rx frequency i.e. the same window could then double as a
> band activity and on frequency activity monitor.
> >
> > 73,
> > Ton PA0TBR
> >
> 73
> Bill
> G4WJS.
>
>
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel