Add TODO compile var + Fix doxygen issue

You can make your code warn on compile time for the TODO's
In order to do so, uncomment the following line. in pro file
DEFINES += TODO_LIST
This commit is contained in:
Simon De Backer
2020-09-24 17:01:33 +02:00
parent 65ba816859
commit 36dbe65457
40 changed files with 1147 additions and 966 deletions

View File

@@ -1,17 +1,17 @@
/*
Copyright 2006-2020 The QElectroTech Team
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
@@ -40,11 +40,11 @@ class Createdxf
double,
int);
static void drawCircle(
const QString& ,
QPointF,
double,
int );
static void drawCircle(
const QString& ,
QPointF,
double,
int );
static void drawArc(
const QString&,
@@ -69,14 +69,14 @@ class Createdxf
qreal rotation_angle,
const int &colorcode);
static void drawArcEllipse(
const QString &file_path,
QRectF rect,
qreal startAngle,
qreal spanAngle,
QPointF hotspot,
qreal rotation_angle,
const int &colorcode);
static void drawArcEllipse(
const QString &file_path,
QRectF rect,
qreal startAngle,
qreal spanAngle,
QPointF hotspot,
qreal rotation_angle,
const int &colorcode);
static void drawEllipse (const QString &filepath,
const QRectF &rect,
@@ -117,16 +117,16 @@ class Createdxf
double,double,
double,
double,
int,
double xScale=1.0);
static void drawText(
const QString&,
const QString&,
QPointF,
double,
double,
int,
double xScale=1.0);
int,
double xScale=1.0);
static void drawText(
const QString&,
const QString&,
QPointF,
double,
double,
int,
double xScale=1.0);
static void drawTextAligned(
const QString& fileName,
const QString& text,
@@ -141,19 +141,19 @@ class Createdxf
double xScale,
int colour);
static void drawPolyline(
const QString &filepath,
const QPolygonF &poly,
const int &colorcode,
bool preScaled = false);
static void drawPolyline(
const QString &filepath,
const QPolygonF &poly,
const int &colorcode,
bool preScaled = false);
static int getcolorCode (
const long red,
const long green,
const long blue);
static long RGBcodeTable[];
static int dxfColor(QColor color);
static int dxfColor(QPen pen);
static int dxfColor(QColor color);
static int dxfColor(QPen pen);
static const double sheetWidth;
static const double sheetHeight;