mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-20 05:43:40 +00:00
Minor UI improvememts
- Add space between number and unit - Increase width of toolbar items to (hopefully) be fully visible for all operating systems and themes - Adjust order of automatically created calibration measurements to match LibreCAL - Disable edit triggers for calibration measurement table - Show timestamps of calibration measurements in local time - Allow starting calibration measurements by double clicking row
This commit is contained in:
parent
d77215aecb
commit
937b002dfb
4 changed files with 16 additions and 6 deletions
|
|
@ -112,7 +112,7 @@ SpectrumAnalyzer::SpectrumAnalyzer(AppWindow *window, QString name)
|
|||
|
||||
auto eStart = new SIUnitEdit("Hz", " kMG", 6);
|
||||
// calculate width required with expected string length
|
||||
auto width = QFontMetrics(eStart->font()).horizontalAdvance("3.00000GHz") + 15;
|
||||
auto width = QFontMetrics(eStart->font()).horizontalAdvance("10.00000 MHz") + 15;
|
||||
eStart->setFixedWidth(width);
|
||||
eStart->setToolTip("Start frequency");
|
||||
connect(eStart, &SIUnitEdit::valueChanged, this, &SpectrumAnalyzer::SetStartFreq);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue