mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-03 21:40:52 -05:00 
			
		
		
		
	Add suitable labels for logging to the real-time logging window.
This commit is contained in:
		
							parent
							
								
									c392a26b70
								
							
						
					
					
						commit
						ce5426ed3d
					
				@ -5201,6 +5201,10 @@ void MainWindow::cabLog()
 | 
			
		||||
    out << t << endl;
 | 
			
		||||
    f.close();
 | 
			
		||||
    if(m_msgAvgWidget != NULL and m_msgAvgWidget->isVisible()) {
 | 
			
		||||
      QString band;
 | 
			
		||||
      band.sprintf(" %5d ",nfreq);
 | 
			
		||||
      t=QDateTime::currentDateTimeUtc().toString("yyyy-MM-dd hhmm ") + band +
 | 
			
		||||
          m_hisCall.leftJustified(13,' ') + m_xSent.leftJustified(14,' ') + m_xRcvd;
 | 
			
		||||
      m_msgAvgWidget->foxAddLog(t);
 | 
			
		||||
    }
 | 
			
		||||
  } else {
 | 
			
		||||
 | 
			
		||||
@ -20,6 +20,8 @@ MessageAveraging::MessageAveraging(QSettings * settings, QFont const& font, QWid
 | 
			
		||||
  read_settings ();
 | 
			
		||||
  if(m_title_.contains("Fox")) {
 | 
			
		||||
    ui->header_label->setText("   Date     Time   Call Grid Sent Rcvd Band");
 | 
			
		||||
  } else if(m_title_.contains("Contest")) {
 | 
			
		||||
    ui->header_label->setText("    Date    UTC   Band Call          Sent          Rcvd");
 | 
			
		||||
  } else {
 | 
			
		||||
    ui->header_label->setText("   UTC  Sync    DT  Freq   ");
 | 
			
		||||
    ui->lab1->setVisible(false);
 | 
			
		||||
@ -98,17 +100,10 @@ void MessageAveraging::foxLogSetup(int nContest)
 | 
			
		||||
  if(nContest>0 and nContest<5) {
 | 
			
		||||
    m_title_=QApplication::applicationName () + " - Contest Log";
 | 
			
		||||
    setWindowTitle(m_title_);
 | 
			
		||||
    ui->header_label->setText("   Date    Time  Call    Grid Sent Rcvd Band");
 | 
			
		||||
    ui->header_label->setText("    Date    UTC   Band Call          Sent          Rcvd");
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void MessageAveraging::contestLogSetup()
 | 
			
		||||
{
 | 
			
		||||
  m_title_=QApplication::applicationName () + " - Contest Log";
 | 
			
		||||
  setWindowTitle(m_title_);
 | 
			
		||||
  ui->header_label->setText("   Date    Time  Call    Grid Sent Rcvd Band");
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void MessageAveraging::foxLabCallers(int n)
 | 
			
		||||
{
 | 
			
		||||
  QString t;
 | 
			
		||||
 | 
			
		||||
@ -18,7 +18,6 @@ public:
 | 
			
		||||
  void displayAvg(QString const&);
 | 
			
		||||
  void changeFont (QFont const&);
 | 
			
		||||
  void foxLogSetup(int nContest);
 | 
			
		||||
  void contestLogSetup();
 | 
			
		||||
  void foxLabCallers(int n);
 | 
			
		||||
  void foxLabQueued(int n);
 | 
			
		||||
  void foxLabRate(int n);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user