Seems like plenty of room to have both on the title bar...though the program 
title is also in the About box.So how about just adding the config info to 
what's already there if you still want it visible on the main window?

Index: 
mainwindow.cpp===================================================================---
 mainwindow.cpp      (revision 7251)+++ mainwindow.cpp      (working copy)@@ 
-512,8 +512,6 @@       setDecodedTextFont (font);     });
-  setWindowTitle (program_title ());-   connect(&proc_jt9, 
&QProcess::readyReadStandardOutput, this, &MainWindow::readFromStdout);   
connect(&proc_jt9, static_cast<void (QProcess::*) (QProcess::ProcessError)> 
(&QProcess::error),           [this] (QProcess::ProcessError error) {@@ -838,6 
+836,8 @@   splashTimer.setSingleShot (true);   splashTimer.start (20 * 1000);
+  setWindowTitle(program_title () + " - " + 
m_multi_settings->common_value("CurrentName","Default").toString());+   // this 
must be the last statement of constructor   if (!m_valid) throw 
std::runtime_error {"Fatal initialization exception"}; }

Took a quick look at menu shortcuts and seems like there's more then just 
adding &File for example to allow the Alt key to access the menus.A duckduckgo 
search isn't turning up much cogent info on just enabling that.
Found this info -- does this look right to you?  Looks like we should be able 
to use the first letter of each menu item.   
   - QShortcut* fileshortcut = new QShortcut(QKeySequence("Alt+F"), this);
   - QObject::connect(fileshortcut,SIGNAL(activated()),this,SLOT(customSlot()));
   -  
   - void customSlot()
   - {m_projectMenu->exec();}

de Mike W9MDB 

      From: Bill Somerville <[email protected]>
 To: [email protected] 
 Sent: Friday, October 28, 2016 5:17 AM
 Subject: Re: [wsjt-devel] [wsjtgroup] Current configuration in WSJT-X
   
 On 28/10/2016 04:27, Black Michael wrote:
  
 Well...the version in the window title is pretty useless.  It doesn't give the 
version#. What's in the About box does. 
 Hi Mike, what you are calling the version number is the source control change 
number which bears no relation to the version of the software, for example it 
does not tell you the branch that the code has been built from. The version 
number on the window title refers to released or to be released evolutionary 
step and is by far the best indication of what is to be expected in terms of 
program features. IMHO removing the version string from the window title bars 
is not a good idea. OTOH I do agree that if multiple configurations are being 
used then some indication of the current selection would be useful although I 
do not consider two mouse clicks to be particularly onerous to discover the 
current  configuration. I do note that the top level menu keyboard short cuts 
seem to be broken so finding the current configuration from the keyboard is a 
bit ugly at present (Alt, Right-arrow, Down-arrow, ESC, ESC).
  73
 Bill
 G4WJS.
  
------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


   
------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to