Qucs-GUI  0.0.19
/home/travis/build/Qucs/qucs/qucs/qucs/misc.h
Go to the documentation of this file.
00001 /***************************************************************************
00002                                   misc.h
00003                                  --------
00004     begin                : Wed Nov 12 2004
00005     copyright            : (C) 2014 by YodaLee
00006     email                : lc85301@gmail.com
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00022 class QString;
00023 
00024 namespace misc {
00025   QString complexRect(double, double, int Precision=3);
00026   QString complexDeg (double, double, int Precision=3);
00027   QString complexRad (double, double, int Precision=3);
00028   QString StringNum  (double, char form='g', int Precision=3);
00029   void    str2num    (const QString&, double&, QString&, double&);
00030   QString num2str    (double);
00031   QString StringNiceNum(double);
00032   void    convert2Unicode(QString&);
00033   void    convert2ASCII(QString&);
00034   QString properName(const QString&);
00035   QString properAbsFileName(const QString&);
00036   QString properFileName(const QString&);
00037   bool    VHDL_Time(QString&, const QString&);
00038   bool    VHDL_Delay(QString&, const QString&);
00039   bool    Verilog_Time(QString&, const QString&);
00040   bool    Verilog_Delay(QString&, const QString&);
00041   QString Verilog_Param(const QString);
00042   bool    checkVersion(QString&);
00043 }
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines