8#ifndef RF_POWER_CONVERTER_H
9#define RF_POWER_CONVERTER_H
40 void computeConversion();
43 void on_inputChanged();
46 void showDocumentation() {
47 QString path = QString(
"/Calculators/RFPowerUnitConverter/index.html");
59 QComboBox *comboOldUnits;
62 QComboBox *comboNewUnits;
71 double convertToWatts(
double power,
const QString &units)
const;
77 double convertFromWatts(
double powerW,
const QString &units)
const;
83 QString formatResult(
double value,
const QString &units)
const;
Custom QDoubleSpinBox. It includes a context menu (right-click) for setting the minimum,...
A QDoubleSpinBox subclass that provides a context menu for configuring range and step.
Definition CustomDoubleSpinBox.h:28
Dialog for converting RF power between different units.
Definition RF_power_converter.h:31
Utility functions needed across the whole project.
void showHTMLDocs(QString path)
Show HTML documentation in the web browser.
Definition showHTMLDocs.cpp:17