mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-22 11:09:59 +02:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user