1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-08 20:33:13 -04:00

Massive UI revamping (v7): unify custom widget borders

This commit is contained in:
f4exb
2022-04-10 02:19:26 +02:00
parent 4ff5d241c8
commit 32973132d9
45 changed files with 102 additions and 257 deletions
+2 -1
View File
@@ -50,7 +50,8 @@ TestSinkGui::TestSinkGui(DeviceUISet *deviceUISet, QWidget* parent) :
{
setAttribute(Qt::WA_DeleteOnClose, true);
ui->setupUi(getContents());
getContents()->setStyleSheet("#TestSinkGui { border: 1px solid #C06900 }");
getContents()->setStyleSheet(QString(tr("#TestSinkGui { border: 1px solid %1 }")
.arg(palette().highlight().color().darker(115).name())));
m_helpURL = "plugins/samplesink/testsink/readme.md";
m_sampleSink = (TestSinkOutput*) m_deviceUISet->m_deviceAPI->getSampleSink();