All pictures moved to ./bitmaps
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 7.3 KiB |
@ -111,7 +111,7 @@ QucsActiveFilter::QucsActiveFilter(QWidget *parent)
|
||||
lblAFR = new QLabel(tr("General amplitude frequency response"));
|
||||
lblTopology = new QLabel(tr("Filter topology preview (one stage)"));
|
||||
|
||||
QString s1 = ":/images/AFR.svg";
|
||||
QString s1 = ":/images/bitmaps/AFR.svg";
|
||||
QSvgRenderer *ren = new QSvgRenderer(s1);
|
||||
QSize sz = ren->defaultSize();
|
||||
sz *= 1.1;
|
||||
@ -120,7 +120,7 @@ QucsActiveFilter::QucsActiveFilter(QWidget *parent)
|
||||
imgAFR->setFixedSize(sz);
|
||||
imgAFR->show();
|
||||
|
||||
s1 = ":/images/cauer.svg";
|
||||
s1 = ":/images/bitmaps/cauer.svg";
|
||||
ren = new QSvgRenderer(s1);
|
||||
sz = ren->defaultSize();
|
||||
sz *= 0.65;
|
||||
@ -326,14 +326,14 @@ void QucsActiveFilter::slotCalcSchematic()
|
||||
|
||||
void QucsActiveFilter::slotUpdateResponse()
|
||||
{
|
||||
QString s = ":/images/AFR.svg";
|
||||
QString s = ":/images/bitmaps/AFR.svg";
|
||||
|
||||
switch (cbxResponse->currentIndex()) {
|
||||
case 0 :
|
||||
s = ":/images/AFR.svg";
|
||||
s = ":/images/bitmaps/AFR.svg";
|
||||
ftyp = Filter::LowPass;
|
||||
break;
|
||||
case 1 : s = ":/images/high-pass.svg";
|
||||
case 1 : s = ":/images/bitmaps/high-pass.svg";
|
||||
ftyp = Filter::HighPass;
|
||||
break;
|
||||
case 2 : ftyp = Filter::BandPass;
|
||||
@ -361,18 +361,18 @@ void QucsActiveFilter::slotUpdateSchematic()
|
||||
case 0 : s = ":images/cauer.svg";
|
||||
break;
|
||||
case 1 : if (ftyp==Filter::HighPass) {
|
||||
s = ":/images/mfb-highpass.svg";
|
||||
s = ":/images/bitmaps/mfb-highpass.svg";
|
||||
} else if (ftyp==Filter::LowPass) {
|
||||
s = ":/images/mfb-lowpass.svg";
|
||||
s = ":/images/bitmaps/mfb-lowpass.svg";
|
||||
}
|
||||
break;
|
||||
case 2 : if (ftyp==Filter::HighPass) {
|
||||
s = ":/images/sk-highpass.svg";
|
||||
s = ":/images/bitmaps/sk-highpass.svg";
|
||||
} else if (ftyp==Filter::LowPass) {
|
||||
s = ":/images/sk-lowpass.svg";
|
||||
s = ":/images/bitmaps/sk-lowpass.svg";
|
||||
}
|
||||
break;
|
||||
case 3 : s = ":/images/mfb-lowpass.svg";
|
||||
case 3 : s = ":/images/bitmaps/mfb-lowpass.svg";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -1,12 +1,12 @@
|
||||
<RCC>
|
||||
<qresource prefix="/images">
|
||||
<file>sk-highpass.svg</file>
|
||||
<file>sk-lowpass.svg</file>
|
||||
<file>mfb-lowpass.svg</file>
|
||||
<file>mfb-highpass.svg</file>
|
||||
<file>AFR.svg</file>
|
||||
<file>cauer.svg</file>
|
||||
<file>high-pass.svg</file>
|
||||
<file>trfunc.png</file>
|
||||
<file>bitmaps/AFR.svg</file>
|
||||
<file>bitmaps/cauer.svg</file>
|
||||
<file>bitmaps/high-pass.svg</file>
|
||||
<file>bitmaps/mfb-highpass.svg</file>
|
||||
<file>bitmaps/mfb-lowpass.svg</file>
|
||||
<file>bitmaps/sk-highpass.svg</file>
|
||||
<file>bitmaps/sk-lowpass.svg</file>
|
||||
<file>bitmaps/trfunc.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
@ -24,7 +24,7 @@ TransferFuncDialog::TransferFuncDialog(QVector<long double> &a, QVector<long dou
|
||||
this->setWindowTitle(tr("Define filter transfer function"));
|
||||
|
||||
imgTrfuncEq = new QLabel;
|
||||
imgTrfuncEq->setPixmap(QPixmap(":images/trfunc.png"));
|
||||
imgTrfuncEq->setPixmap(QPixmap(":images/bitmaps/trfunc.png"));
|
||||
//imgTrfuncEq->setScaledContents(true);
|
||||
|
||||
|
||||
|