Hi Colin,
Some comments in line below.
On 20/03/2017 16:37, Colin99 Campbell wrote:
I’d like to contribute code but I’m up against a brick wall at the
moment L
I will try and help out, but be prepared for a different solution that
requires no code or UI changes.
I’ve loaded up configuration.ui in QTcreator and for the life of me I
can’t add another section into the Audio Tab section because I can’t
get the vertical spacer to go smaller and the main box to go bigger. I
come from a MS Visual Studio background so this is a steep learning curve.
I am not 100% certain the audio tab would be the best place but to add
widgets for the purpose you propose.
As for adding widgets, you have to first understand that usually widgets
are added to a layout manager. They come in four varieties, horizontal,
vertical, grid and form. Layout managers show as red outlined boxes in
Qt Designer and on the Configuration.ui Audio tab you would have seen a
single vertical layout manager (QVBoxLayout) -- actually this layout
manager was unnecessary (see below) so I have just removed it.
It is not the only layout manager on that screen as widgets themselves
can contain other widgets and a widget container also optionally has a
layout manager. For example click the group box label "Soundcard" and
then scroll down the object properties browser at the lower left screen
edge. At the bottom you will see a pink section that shows the layout
properties of that group box (QGroupBox). You should see that it is a
grid style layout manager (QGridLayout).
So when you drop a new widget into a layout manager it is placed
according to the style and properties of the layout manager.
You wanted to add a widget below the others, simply drop it into the red
outlined layout manager (actually now drop onto the tab widget that
contains the various group box widgets that contain and layout the other
widgets). You will get real time position indicators (bold blue lines)
as you drag the widget across the layout showing where the widget item
will be inserted.
The feature I’d like to see implemented is to keep the last widegraph
settings for the different JT modes so that when I change mode the
settings are filled in for me.
The wide graph settings are related to your rig's pass band more than
the mode of operation.
For example, the WSJT-X user guide suggests Bins/Pixel = 4 and Start =
200 for JT9 and Bins/Pixel = 7, Start = 200 and the JT65/JT9 split at
2500 for JT65.
If your rig has a wide Rx passband around 4kHz then you can use dual
JT9/JT65 mode and not have to change modes. To be able to transmit
across the whole of your Rx passband you can enable
"Settings->Radio->Split Operating" as "Rig" (preferred) or "Fake It" if
your rig does not support split.
If I’m in JT9 and change to JT65 I need to change these settings,
similarly when I go back to JT9 from JT65.
My solution was going to be to add another tickbox in the “Audio”
section of configuration.ui labelled something like “Remember Wide
Graph Settings”, under “Remember power settings by band” and then
modify the code in widegraph.ui each time the mode is changed to save
the current settings and load the previous settings for the new mode.
The pseudo code works a treat!!!
If you are limited to a fixed and small Rx pass band then you will need
to switch between JT65 and JT9 mode and only operate one of them at any
one time. This is fine and the same wide graph settings are appropriate
for both.
If you really want to have mode or band specific settings and WSJT-X is
not restoring the settings you need then try the "Menu->Configurations"
facilities, this allows you to recall *all* settings as a named
configuration.
73
Bill
G4WJS.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel