Hi Ton, Thanks for the suggested patch. It's a useful addition, and I have included it in my current working branch. (It may be a while before I do a merge into the main development branch, though.)
-- 73, Joe, K1JT On 3/2/2015 5:10 AM, Ton PA0TBR wrote: > Hi all, > > I have a small patch for WSJT-X which I think would also be useful for > other users and would like to see it added in the mainstream. > > The patch puts the band info in the last n characters of the separator > line in the decodes windows, like: > > -------------------------------------10m > 0900 -8 0.2 745 # CQ UN7BK MO51 ~Kazakhstan > 0900 -16 0.4 1032 # OZ1SMS VK3FZ QF22 > -------------------------------------20m > 0902 -1 0.3 1200 # SM7MME R7RIB KN64 > 0902 -16 0.3 1794 # CQ DG7EL JO31 ~F.. of Germany > -------------------------------------20m > 0903 -17 0.2 955 # UA9OES UA6LJX 73 > 0903 -13 -0.2 1585 # VK6PG IW1APE JN35 > -------------------------------------15m > 0904 -21 0.5 1485 # CQ DL7UKA JO50 ~F.. of Germany > -------------------------------------15m > 0905 -2 0.5 784 # RA9CHS RW6AB R-05 > 0905 -18 0.6 1461 # CQ OO6A JO11 ~Belgium > -------------------------------------10m > 0906 -20 -0.2 748 # CQ UN7BK MO51 ~Kazakhstan > 0906 -10 0.4 1643 # UA0CGR ZS1BHJ JF97 > > > The changes are as follows: > =========================================== > > displaytext.cpp (from line 25) > > Old: > > void DisplayText::insertLineSpacer() > > { > > QString tt="----------------------------------------"; > > QString bg="#d3d3d3"; > > _insertText(tt,bg); > > } > > Replace with: > > void DisplayText::insertLineSpacer(QString tt) > > { > > QString bg="#d3d3d3"; > > _insertText(tt,bg); > > } > > displaytext.h(from line16) > > Old: > > void insertLineSpacer(); > > > Replace with: > > void insertLineSpacer(QString tt); > > mainwindow.cpp(from line1360) > > Old: > > if(m_config.insert_blank () && m_blankLine) > > { > > ui->decodedTextBrowser->insertLineSpacer(); > > m_blankLine=false; > > } > > Replace with: > > if(m_config.insert_blank () && m_blankLine) > > { > > QString band = ADIF::bandFromFrequency ((m_dialFreq + > ui->TxFreqSpinBox->value ()) / 1.e6); > > band = band.rightJustified(40, '-'); > > ui->decodedTextBrowser->insertLineSpacer(band); > > m_blankLine=false; > > } > > =========================================== > > > I run 2 instances of WSJT-X and found it difficult to keep track when I > changed to another band. > > Recently I run an AutoIt script which performs band hopping on my > transceiver (openHPSDR + ANAN-100D) which makes it even more desirable > to have the band data in the decodes window. > > > I hope that one of the developers can assist to get this in the mainstream. > > > 73, > > Ton PA0TBR > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > > > > _______________________________________________ > wsjt-devel mailing list > wsjt-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wsjt-devel ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ wsjt-devel mailing list wsjt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wsjt-devel