8#ifndef PARALLEL_RESISTORS_H
9#define PARALLEL_RESISTORS_H
40 void computeResults();
46 void removeResistor();
49 void on_inputChanged();
52 void showDocumentation() {
53 QString path = QString(
"/Calculators/ParallelSeriesEquivalents/ParallelResistors/index.html");
67 QTableWidget *tableResistors;
75 QTableWidget *resultsTable;
82 double parseResistance(
const QString &valueStr)
const;
87 QString formatResistance(
double value)
const;
92 QString formatCurrent(
double value)
const;
97 QString formatPower(
double value)
const;
101 QVector<double> getResistors()
const;
106 double calculateParallelResistance(
const QVector<double> &resistors)
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 calculating equivalent resistance of parallel resistors.
Definition parallel_resistors.h:31
Utility functions needed across the whole project.
void showHTMLDocs(QString path)
Show HTML documentation in the web browser.
Definition showHTMLDocs.cpp:17