mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 08:04:49 -05:00
Massive UI revamping (v7): Main spectrum: set the border on the outer side of the window. Part of #1213
This commit is contained in:
parent
218237c466
commit
e285be84ff
@ -42,6 +42,10 @@ MainSpectrumGUI::MainSpectrumGUI(GLSpectrum *spectrum, GLSpectrumGUI *spectrumGU
|
||||
qDebug("MainSpectrumGUI::MainSpectrumGUI: %p", parent);
|
||||
setWindowFlags(windowFlags() | Qt::FramelessWindowHint);
|
||||
m_helpURL = "sdrgui/mainspectrum/readme.md";
|
||||
setObjectName("MainSpectrumGUI");
|
||||
setStyleSheet(QString(tr("#MainSpectrumGUI { border: 1px solid %1; background-color: %2; }")
|
||||
.arg(palette().highlight().color().darker(115).name()))
|
||||
.arg(palette().window().color().name()));
|
||||
|
||||
setMinimumSize(m_MinimumWidth, m_MinimumHeight);
|
||||
|
||||
@ -118,6 +122,7 @@ MainSpectrumGUI::MainSpectrumGUI(GLSpectrum *spectrum, GLSpectrumGUI *spectrumGU
|
||||
m_bottomLayout->addWidget(m_statusLabel);
|
||||
m_sizeGripBottomRight = new QSizeGrip(this);
|
||||
m_sizeGripBottomRight->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
|
||||
m_sizeGripBottomRight->setFixedHeight(10);
|
||||
//m_bottomLayout->addStretch(1);
|
||||
m_bottomLayout->addWidget(m_sizeGripBottomRight, 0, Qt::AlignBottom | Qt::AlignRight);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user