File tree 2 files changed +12
-6
lines changed
2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ void BandmapWidget::update()
140
140
141
141
int steps = static_cast <int >(round ((currentBand.end - currentBand.start ) / step));
142
142
143
- ui->graphicsView ->setFixedSize (330 , steps * PIXELSPERSTEP + 30 );
143
+ ui->graphicsView ->setFixedSize (270 , steps * PIXELSPERSTEP + 30 );
144
144
145
145
/* ***************/
146
146
/* Draw bandmap */
@@ -163,13 +163,13 @@ void BandmapWidget::update()
163
163
if (i % 5 == 0 )
164
164
{
165
165
QGraphicsTextItem* text = bandmapScene->addText (QString::number (plottedFreq, ' f' , digits));
166
- text->setPos (- (text->boundingRect ().width ()) - 10 ,
166
+ text->setPos (- (text->boundingRect ().width ()) - 5 ,
167
167
i * PIXELSPERSTEP - (text->boundingRect ().height () / 2 ));
168
168
}
169
169
}
170
170
171
171
const QString &endFreqDigits= QString::number (currentBand.end + step*steps, ' f' , digits);
172
- bandmapScene->setSceneRect (160 - (endFreqDigits.size () * PIXELSPERSTEP),
172
+ bandmapScene->setSceneRect (135 - (endFreqDigits.size () * PIXELSPERSTEP),
173
173
0 ,
174
174
0 ,
175
175
steps * PIXELSPERSTEP + 10 );
Original file line number Diff line number Diff line change 6
6
<rect >
7
7
<x >0</x >
8
8
<y >0</y >
9
- <width >451 </width >
9
+ <width >283 </width >
10
10
<height >662</height >
11
11
</rect >
12
12
</property >
77
77
<item >
78
78
<widget class =" QLabel" name =" clearSpotOlderLabel" >
79
79
<property name =" text" >
80
- <string >Clear older than </string >
80
+ <string >Clear older</string >
81
81
</property >
82
82
</widget >
83
83
</item >
84
84
<item >
85
85
<widget class =" QSpinBox" name =" clearSpotOlderSpin" >
86
+ <property name =" sizePolicy" >
87
+ <sizepolicy hsizetype =" Minimum" vsizetype =" Fixed" >
88
+ <horstretch >0</horstretch >
89
+ <verstretch >0</verstretch >
90
+ </sizepolicy >
91
+ </property >
86
92
<property name =" focusPolicy" >
87
93
<enum >Qt::ClickFocus</enum >
88
94
</property >
135
141
<rect >
136
142
<x >0</x >
137
143
<y >0</y >
138
- <width >451 </width >
144
+ <width >283 </width >
139
145
<height >591</height >
140
146
</rect >
141
147
</property >
You can’t perform that action at this time.
0 commit comments