mirror of
https://github.com/ra3xdh/qucs_s
synced 2025-03-28 21:13:26 +00:00
fix background color.
This commit is contained in:
parent
d48cbade77
commit
efabb31d59
@ -222,8 +222,9 @@ QucsActiveFilter::QucsActiveFilter(QWidget *parent)
|
||||
QSize sz;
|
||||
QString s1 = ":/images/bitmaps/AFR.svg";
|
||||
imgAFR = new QSvgWidget(s1);
|
||||
imgAFR->setStyleSheet("background-color: white;");
|
||||
sz = gpbPar->size(); // take left box size as reference size
|
||||
sz *= 0.6;
|
||||
sz *= 0.75;
|
||||
imgAFR->setFixedSize(sz);
|
||||
vl1->addWidget(imgAFR);
|
||||
vl1->setAlignment(imgAFR, Qt::AlignHCenter);
|
||||
@ -234,6 +235,7 @@ QucsActiveFilter::QucsActiveFilter(QWidget *parent)
|
||||
gpbSCH->setLayout(vl2);
|
||||
s1 = ":/images/bitmaps/cauer.svg";
|
||||
sch_pic = new QSvgWidget(s1);
|
||||
sch_pic->setStyleSheet("background-color: white;");
|
||||
sz = gpbFunc->size(); // take lefbox size as reference size
|
||||
sz *= 0.95;
|
||||
sch_pic->setFixedSize(sz);
|
||||
|
@ -97,6 +97,7 @@ QucsAttenuator::QucsAttenuator()
|
||||
topoGrid->addWidget(ComboTopology, 1,0,1,2);
|
||||
|
||||
pixTopology = new QLabel(TopoGroup);//====================Pixmap for Topology
|
||||
pixTopology->setStyleSheet("background-color: white;");
|
||||
pixTopology->setPixmap(QPixmap((":/bitmaps/att_pi.png")));
|
||||
topoGrid->addWidget(pixTopology,2,0,3,2);
|
||||
|
||||
|
@ -280,6 +280,7 @@ QucsPowerCombiningTool::QucsPowerCombiningTool()
|
||||
QString s1 = ":/bitmaps/Wilkinson_idealTL.svg";
|
||||
QGridLayout * imgLayout = new QGridLayout();
|
||||
imgWidget = new QSvgWidget(s1);
|
||||
imgWidget->setStyleSheet("background-color: white;");
|
||||
sz = imgWidget->size();
|
||||
imgWidget->setFixedSize(.6*sz);
|
||||
imgLayout->addWidget(imgWidget);
|
||||
|
Loading…
x
Reference in New Issue
Block a user