mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-03 21:40:52 -05:00 
			
		
		
		
	Better window flags for secondardy windows
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5596 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
		
							parent
							
								
									0f395a4794
								
							
						
					
					
						commit
						21cf5a0cd0
					
				@ -68,7 +68,7 @@ private:
 | 
			
		||||
 | 
			
		||||
Dialog::Dialog (QSettings * settings, Configuration const * configuration, BandList const * WSPR_bands
 | 
			
		||||
                , QBitArray * bands, int * gray_line_duration, QWidget * parent)
 | 
			
		||||
  : QDialog {parent, Qt::WindowTitleHint | Qt::WindowCloseButtonHint}
 | 
			
		||||
  : QDialog {parent, Qt::Window | Qt::WindowTitleHint | Qt::WindowCloseButtonHint | Qt::WindowMinimizeButtonHint}
 | 
			
		||||
  , settings_ {settings}
 | 
			
		||||
  , configuration_ {configuration}
 | 
			
		||||
  , WSPR_bands_ {WSPR_bands}
 | 
			
		||||
 | 
			
		||||
@ -21,7 +21,7 @@
 | 
			
		||||
#include "moc_astro.cpp"
 | 
			
		||||
 | 
			
		||||
Astro::Astro(QSettings * settings, Configuration const * configuration, QWidget * parent)
 | 
			
		||||
  : QWidget {parent, Qt::Dialog | Qt::WindowCloseButtonHint | Qt::WindowMinimizeButtonHint}
 | 
			
		||||
  : QWidget {parent, Qt::WindowTitleHint | Qt::WindowCloseButtonHint | Qt::WindowMinimizeButtonHint | Qt::MSWindowsFixedSizeDialogHint}
 | 
			
		||||
  , settings_ {settings}
 | 
			
		||||
  , configuration_ {configuration}
 | 
			
		||||
  , ui_ {new Ui::Astro}
 | 
			
		||||
 | 
			
		||||
@ -8,16 +8,15 @@
 | 
			
		||||
#define NSMAX2 1366
 | 
			
		||||
 | 
			
		||||
EchoGraph::EchoGraph(QSettings * settings, QWidget *parent) :
 | 
			
		||||
  QDialog(parent),
 | 
			
		||||
  QDialog {parent, Qt::Window | Qt::WindowTitleHint | Qt::WindowCloseButtonHint | Qt::WindowMinimizeButtonHint},
 | 
			
		||||
  m_settings (settings),
 | 
			
		||||
  ui(new Ui::EchoGraph)
 | 
			
		||||
{
 | 
			
		||||
  ui->setupUi(this);
 | 
			
		||||
  this->setWindowFlags(Qt::Dialog);
 | 
			
		||||
  this->installEventFilter(parent);                   //Installing the filter
 | 
			
		||||
  installEventFilter(parent);                   //Installing the filter
 | 
			
		||||
  ui->echoPlot->setCursor(Qt::CrossCursor);
 | 
			
		||||
  this->setMaximumWidth(2048);
 | 
			
		||||
  this->setMaximumHeight(880);
 | 
			
		||||
  setMaximumWidth(2048);
 | 
			
		||||
  setMaximumHeight(880);
 | 
			
		||||
  ui->echoPlot->setMaximumHeight(800);
 | 
			
		||||
 | 
			
		||||
//Restore user's settings
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user