mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-07-15 15:24:25 -04:00
Further progress for Echo mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5561 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
+6
-3
@@ -30,7 +30,6 @@ EPlotter::EPlotter(QWidget *parent) : //EPlotter Constructor
|
||||
m_TxFreq = 1500;
|
||||
m_line = 0;
|
||||
m_dBStepSize=10;
|
||||
m_Percent2DScreen = 89; //percent of screen used for 2D display
|
||||
}
|
||||
|
||||
EPlotter::~EPlotter() { } // Destructor
|
||||
@@ -52,8 +51,10 @@ void EPlotter::resizeEvent(QResizeEvent* ) //resizeEvent()
|
||||
m_Size = size();
|
||||
m_w = m_Size.width();
|
||||
m_h = m_Size.height();
|
||||
m_h1 = (100-m_Percent2DScreen)*(m_Size.height())/100;
|
||||
m_h2 = (m_Percent2DScreen)*(m_Size.height())/100;
|
||||
m_h1=30;
|
||||
m_h2=m_h-m_h1;
|
||||
|
||||
qDebug() << m_h << m_h1 << m_h2;
|
||||
|
||||
m_2DPixmap = QPixmap(m_Size.width(), m_h2);
|
||||
m_2DPixmap.fill(Qt::black);
|
||||
@@ -288,5 +289,7 @@ int EPlotter::getSmooth() //getSmooth()
|
||||
{
|
||||
return m_smooth;
|
||||
}
|
||||
|
||||
int EPlotter::plotWidth(){return m_2DPixmap.width();}
|
||||
|
||||
void EPlotter::UpdateOverlay() {DrawOverlay();}
|
||||
|
||||
Reference in New Issue
Block a user