mirror of
https://github.com/ra3xdh/qucs_s
synced 2025-03-28 21:13:26 +00:00
Clean up main.h inclusion list
This commit is contained in:
parent
ab768423b8
commit
f3cfb599a0
@ -18,6 +18,7 @@
|
||||
#include "libcomp.h"
|
||||
#include "main.h"
|
||||
#include "misc.h"
|
||||
#include "node.h"
|
||||
#include "extsimkernels/qucs2spice.h"
|
||||
#include "extsimkernels/spicecompat.h"
|
||||
|
||||
|
@ -16,6 +16,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
#include "main.h"
|
||||
#include "node.h"
|
||||
#include "mutual2.h"
|
||||
|
||||
#include<QFontMetrics>
|
||||
|
@ -16,6 +16,7 @@
|
||||
***************************************************************************/
|
||||
#include "rfedd.h"
|
||||
#include "main.h"
|
||||
#include "node.h"
|
||||
|
||||
#include <QFileInfo>
|
||||
#include <QFontMetrics>
|
||||
|
@ -16,6 +16,7 @@
|
||||
***************************************************************************/
|
||||
#include "rfedd2p.h"
|
||||
#include "main.h"
|
||||
#include "node.h"
|
||||
|
||||
#include <QFileInfo>
|
||||
#include <QFontMetrics>
|
||||
|
@ -16,6 +16,7 @@
|
||||
***************************************************************************/
|
||||
#include "main.h"
|
||||
#include "rlcg.h"
|
||||
#include "node.h"
|
||||
|
||||
#include "extsimkernels/spicecompat.h"
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
#include "sparamfile.h"
|
||||
#include "main.h"
|
||||
#include "misc.h"
|
||||
#include "node.h"
|
||||
|
||||
#include <QFileInfo>
|
||||
|
||||
|
@ -33,6 +33,7 @@
|
||||
|
||||
#include "spicefile.h"
|
||||
#include "main.h"
|
||||
#include "node.h"
|
||||
#include "qucs.h"
|
||||
#include "misc.h"
|
||||
#include "extsimkernels/spicecompat.h"
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include "verilogfile.h"
|
||||
#include "main.h"
|
||||
#include "misc.h"
|
||||
#include "node.h"
|
||||
|
||||
#include <QTextStream>
|
||||
#include <QRegularExpression>
|
||||
|
@ -17,6 +17,7 @@
|
||||
#include "vhdlfile.h"
|
||||
#include "main.h"
|
||||
#include "misc.h"
|
||||
#include "node.h"
|
||||
|
||||
#include <QTextStream>
|
||||
#include <QRegularExpression>
|
||||
|
@ -17,6 +17,7 @@
|
||||
#include "labeldialog.h"
|
||||
#include "../wirelabel.h"
|
||||
#include "main.h"
|
||||
#include "extsimkernels/spicecompat.h"
|
||||
|
||||
#include <QLabel>
|
||||
#include <QLineEdit>
|
||||
|
@ -27,10 +27,6 @@
|
||||
#include <QStringList>
|
||||
#include <QDir>
|
||||
|
||||
#include "wire.h"
|
||||
#include "node.h"
|
||||
#include "diagrams/diagram.h"
|
||||
#include "extsimkernels/spicecompat.h"
|
||||
|
||||
class QucsApp;
|
||||
class Component;
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include <QList>
|
||||
#include <QHash>
|
||||
#include <QMap>
|
||||
#include "component.h"
|
||||
|
||||
class QPixmap;
|
||||
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "main.h"
|
||||
#include "misc.h"
|
||||
#include "qucs.h"
|
||||
#include "extsimkernels/spicecompat.h"
|
||||
#include "octave_window.h"
|
||||
|
||||
#include <QAction>
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include "main.h"
|
||||
#include "misc.h"
|
||||
#include "extsimkernels/spicecompat.h"
|
||||
|
||||
#include <cmath>
|
||||
|
||||
SpiceDisto::SpiceDisto()
|
||||
{
|
||||
@ -93,8 +93,8 @@ QString SpiceDisto::spice_netlist(bool isXyce)
|
||||
Fstart *= fac;
|
||||
misc::str2num(Props.at(2)->Value,Fstop,unit,fac);
|
||||
Fstop *= fac;
|
||||
double Nd = ceil(log10(Fstop/Fstart)); // number of decades
|
||||
double Npd = ceil((Np - 1)/Nd); // points per decade
|
||||
double Nd = std::ceil(std::log10(Fstop/Fstart)); // number of decades
|
||||
double Npd = std::ceil((Np - 1)/Nd); // points per decade
|
||||
points = QString::number(Npd);
|
||||
} else {
|
||||
points = Props.at(3)->Value;
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include "main.h"
|
||||
#include "misc.h"
|
||||
#include "extsimkernels/spicecompat.h"
|
||||
#include <cmath>
|
||||
|
||||
|
||||
SpiceNoise::SpiceNoise()
|
||||
@ -94,8 +95,8 @@ QString SpiceNoise::spice_netlist(bool isXyce)
|
||||
Fstart *= fac;
|
||||
misc::str2num(Props.at(2)->Value,Fstop,unit,fac);
|
||||
Fstop *= fac;
|
||||
double Nd = ceil(log10(Fstop/Fstart)); // number of decades
|
||||
double Npd = ceil((Np - 1)/Nd); // points per decade
|
||||
double Nd = std::ceil(std::log10(Fstop/Fstart)); // number of decades
|
||||
double Npd = std::ceil((Np - 1)/Nd); // points per decade
|
||||
points = QString::number(Npd);
|
||||
} else {
|
||||
points = Props.at(3)->Value;
|
||||
|
@ -20,6 +20,7 @@
|
||||
#include "spicegeneric.h"
|
||||
|
||||
#include "main.h"
|
||||
#include "node.h"
|
||||
#include "extsimkernels/spicecompat.h"
|
||||
|
||||
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include "spicelibcomp.h"
|
||||
#include "main.h"
|
||||
#include "misc.h"
|
||||
#include "node.h"
|
||||
#include "extsimkernels/spicecompat.h"
|
||||
|
||||
#include <QTextStream>
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "xspicegeneric.h"
|
||||
|
||||
#include "main.h"
|
||||
#include "node.h"
|
||||
#include "extsimkernels/spicecompat.h"
|
||||
|
||||
|
||||
|
@ -20,6 +20,7 @@ Copyright (C) 2014 by Guilherme Brondani Torri <guitorri@gmail.com>
|
||||
#endif
|
||||
#include <QAction>
|
||||
#include <QMessageBox>
|
||||
#include <QTextStream>
|
||||
|
||||
#include "main.h"
|
||||
#include "misc.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user