Includes for Coverity Scan, again.
--HG-- branch : develop
This commit is contained in:
parent
7f18d2302e
commit
c3355e37e4
|
@ -26,6 +26,9 @@ uic/
|
||||||
rcc/
|
rcc/
|
||||||
man/
|
man/
|
||||||
|
|
||||||
|
#Ignore Coverity Scan Build Tool
|
||||||
|
cov-int/
|
||||||
|
|
||||||
# Ignore file used QtCreator for user profile.
|
# Ignore file used QtCreator for user profile.
|
||||||
*.pro.user
|
*.pro.user
|
||||||
|
|
||||||
|
|
|
@ -31,6 +31,8 @@
|
||||||
#include "../widgets/vapplication.h"
|
#include "../widgets/vapplication.h"
|
||||||
#include "../geometry/varc.h"
|
#include "../geometry/varc.h"
|
||||||
#include "../geometry/vsplinepath.h"
|
#include "../geometry/vsplinepath.h"
|
||||||
|
#include <QLineF>
|
||||||
|
#include <QtAlgorithms>
|
||||||
|
|
||||||
quint32 VContainer::_id = 0;
|
quint32 VContainer::_id = 0;
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,8 @@
|
||||||
#include "../geometry/vdetail.h"
|
#include "../geometry/vdetail.h"
|
||||||
#include "../geometry/vgobject.h"
|
#include "../geometry/vgobject.h"
|
||||||
#include "../exception/vexceptionbadid.h"
|
#include "../exception/vexceptionbadid.h"
|
||||||
|
#include <QCoreApplication>
|
||||||
|
#include <QHash>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief The VContainer class container of all variables.
|
* @brief The VContainer class container of all variables.
|
||||||
|
|
|
@ -27,10 +27,16 @@
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
#include "configdialog.h"
|
#include "configdialog.h"
|
||||||
|
#include <QListWidget>
|
||||||
|
#include <QtWidgets>
|
||||||
|
#include <QPushButton>
|
||||||
|
#include <QHBoxLayout>
|
||||||
|
#include <QVBoxLayout>
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
ConfigDialog::ConfigDialog(QWidget *parent) :
|
ConfigDialog::ConfigDialog(QWidget *parent) :
|
||||||
QDialog(parent), contentsWidget(nullptr), pagesWidget(nullptr), configurationPage(nullptr), patternPage(nullptr)
|
QDialog(parent), contentsWidget(nullptr), pagesWidget(nullptr), configurationPage(nullptr), patternPage(nullptr),
|
||||||
|
communityPage(nullptr)
|
||||||
{
|
{
|
||||||
contentsWidget = new QListWidget;
|
contentsWidget = new QListWidget;
|
||||||
contentsWidget->setViewMode(QListView::IconMode);
|
contentsWidget->setViewMode(QListView::IconMode);
|
||||||
|
|
|
@ -37,6 +37,7 @@
|
||||||
#include <QFileDialog>
|
#include <QFileDialog>
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
|
#include <QCloseEvent>
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
#include "../../xml/vindividualmeasurements.h"
|
#include "../../xml/vindividualmeasurements.h"
|
||||||
#include <QFileDialog>
|
#include <QFileDialog>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
|
#include <QPushButton>
|
||||||
#include "../../widgets/vapplication.h"
|
#include "../../widgets/vapplication.h"
|
||||||
#include "../../container/vcontainer.h"
|
#include "../../container/vcontainer.h"
|
||||||
|
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#include "dialogpatternproperties.h"
|
#include "dialogpatternproperties.h"
|
||||||
#include "ui_dialogpatternproperties.h"
|
#include "ui_dialogpatternproperties.h"
|
||||||
#include <QSettings>
|
#include <QSettings>
|
||||||
|
#include <QPushButton>
|
||||||
#include "../../xml/vpattern.h"
|
#include "../../xml/vpattern.h"
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#include "dialogpatternxmledit.h"
|
#include "dialogpatternxmledit.h"
|
||||||
#include "ui_dialogpatternxmledit.h"
|
#include "ui_dialogpatternxmledit.h"
|
||||||
|
|
||||||
|
#include <QInputDialog>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
|
|
||||||
const short int DialogPatternXmlEdit::ChangeTypeDelete=1;
|
const short int DialogPatternXmlEdit::ChangeTypeDelete=1;
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#include "dialogstandardmeasurements.h"
|
#include "dialogstandardmeasurements.h"
|
||||||
#include "ui_dialogstandardmeasurements.h"
|
#include "ui_dialogstandardmeasurements.h"
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
|
#include <QPushButton>
|
||||||
#include "../../xml/vstandardmeasurements.h"
|
#include "../../xml/vstandardmeasurements.h"
|
||||||
#include "../../widgets/vapplication.h"
|
#include "../../widgets/vapplication.h"
|
||||||
#include "../../container/vcontainer.h"
|
#include "../../container/vcontainer.h"
|
||||||
|
|
|
@ -30,10 +30,22 @@
|
||||||
#include "../../options.h"
|
#include "../../options.h"
|
||||||
#include "../../widgets/vapplication.h"
|
#include "../../widgets/vapplication.h"
|
||||||
#include "../../widgets/vmaingraphicsview.h"
|
#include "../../widgets/vmaingraphicsview.h"
|
||||||
|
#include <QDir>
|
||||||
|
#include <QGroupBox>
|
||||||
|
#include <QLabel>
|
||||||
|
#include <QSettings>
|
||||||
|
#include <QTimer>
|
||||||
|
#include <QCheckBox>
|
||||||
|
#include <QSpinBox>
|
||||||
|
#include <QComboBox>
|
||||||
|
#include <QMessageBox>
|
||||||
|
#include <QCheckBox>
|
||||||
|
#include <QIcon>
|
||||||
|
#include <QLineEdit>
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
ConfigurationPage::ConfigurationPage(QWidget *parent):
|
ConfigurationPage::ConfigurationPage(QWidget *parent)
|
||||||
QWidget(parent), autoSaveCheck(nullptr), autoTime(nullptr), langCombo(nullptr), unitCombo(nullptr),
|
: QWidget(parent), autoSaveCheck(nullptr), autoTime(nullptr), langCombo(nullptr), unitCombo(nullptr),
|
||||||
osOptionCheck(nullptr), langChanged(false), unitChanged(false)
|
osOptionCheck(nullptr), langChanged(false), unitChanged(false)
|
||||||
{
|
{
|
||||||
QGroupBox *saveGroup = SaveGroup();
|
QGroupBox *saveGroup = SaveGroup();
|
||||||
|
|
|
@ -30,6 +30,8 @@
|
||||||
#define PAGES_H
|
#define PAGES_H
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
#include <QWidget>
|
||||||
|
#include <QFormLayout>
|
||||||
|
|
||||||
class QCheckBox;
|
class QCheckBox;
|
||||||
class QSpinBox;
|
class QSpinBox;
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
#include "ui_dialogarc.h"
|
#include "ui_dialogarc.h"
|
||||||
|
|
||||||
#include <QPushButton>
|
#include <QPushButton>
|
||||||
|
#include <QTimer>
|
||||||
|
|
||||||
#include "../../geometry/vpointf.h"
|
#include "../../geometry/vpointf.h"
|
||||||
#include "../../container/vcontainer.h"
|
#include "../../container/vcontainer.h"
|
||||||
|
|
|
@ -36,6 +36,20 @@
|
||||||
#include "../../../libs/qmuparser/qmuparsererror.h"
|
#include "../../../libs/qmuparser/qmuparsererror.h"
|
||||||
#include "../../widgets/vapplication.h"
|
#include "../../widgets/vapplication.h"
|
||||||
#include "../../xml/vdomdocument.h"
|
#include "../../xml/vdomdocument.h"
|
||||||
|
#include <QTimer>
|
||||||
|
#include <QCloseEvent>
|
||||||
|
#include <QShowEvent>
|
||||||
|
#include <QComboBox>
|
||||||
|
#include <QListWidgetItem>
|
||||||
|
#include <QLineEdit>
|
||||||
|
#include <QTextCursor>
|
||||||
|
#include <QPlainTextEdit>
|
||||||
|
#include <QLabel>
|
||||||
|
#include <QSettings>
|
||||||
|
#include <QPushButton>
|
||||||
|
#include <QDoubleSpinBox>
|
||||||
|
#include <QListWidget>
|
||||||
|
#include <QRadioButton>
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -32,6 +32,7 @@
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
#include <QDialogButtonBox>
|
#include <QDialogButtonBox>
|
||||||
#include "../../widgets/vapplication.h"
|
#include "../../widgets/vapplication.h"
|
||||||
|
#include <QPushButton>
|
||||||
|
|
||||||
class QDoubleSpinBox;
|
class QDoubleSpinBox;
|
||||||
class QLabel;
|
class QLabel;
|
||||||
|
|
|
@ -27,12 +27,12 @@
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
#include "vexception.h"
|
#include "vexception.h"
|
||||||
|
#include <QGridLayout>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
|
#include <QSpacerItem>
|
||||||
|
#include <QApplication>
|
||||||
#include "../options.h"
|
#include "../options.h"
|
||||||
|
|
||||||
class QSpacerItem;
|
|
||||||
class QGridLayout;
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
/**
|
/**
|
||||||
* @brief VException constructor exception
|
* @brief VException constructor exception
|
||||||
|
|
|
@ -26,12 +26,12 @@
|
||||||
**
|
**
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#ifndef VEXCEPTION_H
|
#ifndef VEXCEPTION_H
|
||||||
#define VEXCEPTION_H
|
#define VEXCEPTION_H
|
||||||
|
|
||||||
#include <QException>
|
#include <QException>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
#include <QCoreApplication>
|
||||||
|
|
||||||
class QWidget;
|
class QWidget;
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
|
|
||||||
#include "vexceptionemptyparameter.h"
|
#include "vexceptionemptyparameter.h"
|
||||||
#include <QDomElement>
|
#include <QDomElement>
|
||||||
|
#include <QTextStream>
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -28,6 +28,9 @@
|
||||||
|
|
||||||
#include "varc.h"
|
#include "varc.h"
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
#include <QLineF>
|
||||||
|
#include <QPainterPath>
|
||||||
|
#include <QPointF>
|
||||||
|
|
||||||
#ifdef Q_OS_WIN32
|
#ifdef Q_OS_WIN32
|
||||||
# include <QtMath> // for M_PI on Windows
|
# include <QtMath> // for M_PI on Windows
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
|
|
||||||
#include "vgobject.h"
|
#include "vgobject.h"
|
||||||
#include "vpointf.h"
|
#include "vpointf.h"
|
||||||
|
#include <QCoreApplication>
|
||||||
|
|
||||||
class QPainterPath;
|
class QPainterPath;
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
#define VDETAIL_H
|
#define VDETAIL_H
|
||||||
|
|
||||||
#include "vnodedetail.h"
|
#include "vnodedetail.h"
|
||||||
|
#include <QString>
|
||||||
#include <QVector>
|
#include <QVector>
|
||||||
|
|
||||||
class QString;
|
class QString;
|
||||||
|
|
|
@ -30,6 +30,8 @@
|
||||||
#define VGOBJECT_H
|
#define VGOBJECT_H
|
||||||
|
|
||||||
#include "../options.h"
|
#include "../options.h"
|
||||||
|
#include <QString>
|
||||||
|
#include <QtGlobal>
|
||||||
|
|
||||||
enum class GOType : char { Point, Arc, Spline, SplinePath };
|
enum class GOType : char { Point, Arc, Spline, SplinePath };
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
#define VNODEDETAIL_H
|
#define VNODEDETAIL_H
|
||||||
|
|
||||||
#include "../options.h"
|
#include "../options.h"
|
||||||
|
#include <QMetaType>
|
||||||
|
|
||||||
enum class NodeDetail : char { Contour, Modeling };
|
enum class NodeDetail : char { Contour, Modeling };
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
|
|
||||||
#include "vspline.h"
|
#include "vspline.h"
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
#include <QPainterPath>
|
||||||
|
|
||||||
#ifdef Q_OS_WIN32
|
#ifdef Q_OS_WIN32
|
||||||
# include <QtMath> // for M_PI on Windows
|
# include <QtMath> // for M_PI on Windows
|
||||||
|
|
|
@ -31,8 +31,9 @@
|
||||||
|
|
||||||
#include "vpointf.h"
|
#include "vpointf.h"
|
||||||
#include "vgobject.h"
|
#include "vgobject.h"
|
||||||
|
#include <QLineF>
|
||||||
|
#include <QPointF>
|
||||||
|
|
||||||
class QLineF;
|
|
||||||
class QPainterPath;
|
class QPainterPath;
|
||||||
|
|
||||||
#define M_2PI 6.28318530717958647692528676655900576
|
#define M_2PI 6.28318530717958647692528676655900576
|
||||||
|
|
|
@ -32,6 +32,9 @@
|
||||||
#include "vgobject.h"
|
#include "vgobject.h"
|
||||||
#include "vspline.h"
|
#include "vspline.h"
|
||||||
#include "vsplinepoint.h"
|
#include "vsplinepoint.h"
|
||||||
|
#include <QCoreApplication>
|
||||||
|
#include <QVector>
|
||||||
|
#include <QPainterPath>
|
||||||
|
|
||||||
enum class SplinePointPosition : char { FirstPoint, LastPoint };
|
enum class SplinePointPosition : char { FirstPoint, LastPoint };
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
|
|
||||||
#include "vsplinepoint.h"
|
#include "vsplinepoint.h"
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
#include <QLineF>
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
#define VSPLINEPOINT_H
|
#define VSPLINEPOINT_H
|
||||||
|
|
||||||
#include "vpointf.h"
|
#include "vpointf.h"
|
||||||
|
#include <QMetaType>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief The VSplinePoint class keep information about point in spline path. Each point have two angles and two
|
* @brief The VSplinePoint class keep information about point in spline path. Each point have two angles and two
|
||||||
|
|
|
@ -47,6 +47,8 @@
|
||||||
#include <QScrollBar>
|
#include <QScrollBar>
|
||||||
#include <QFileDialog>
|
#include <QFileDialog>
|
||||||
#include <QSourceLocation>
|
#include <QSourceLocation>
|
||||||
|
#include <QUndoStack>
|
||||||
|
#include <QAction>
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
#define VTOOLPOINT_H
|
#define VTOOLPOINT_H
|
||||||
|
|
||||||
#include "vdrawtool.h"
|
#include "vdrawtool.h"
|
||||||
|
#include <QGraphicsEllipseItem>
|
||||||
|
|
||||||
class VPointF;
|
class VPointF;
|
||||||
class VGraphicsSimpleTextItem;
|
class VGraphicsSimpleTextItem;
|
||||||
|
|
|
@ -30,6 +30,8 @@
|
||||||
|
|
||||||
#include "../../widgets/vapplication.h"
|
#include "../../widgets/vapplication.h"
|
||||||
#include "../../geometry/varc.h"
|
#include "../../geometry/varc.h"
|
||||||
|
#include <QGraphicsSceneMouseEvent>
|
||||||
|
#include <QPen>
|
||||||
|
|
||||||
const QString VNodeArc::TagName = QStringLiteral("arc");
|
const QString VNodeArc::TagName = QStringLiteral("arc");
|
||||||
const QString VNodeArc::ToolType = QStringLiteral("modeling");
|
const QString VNodeArc::ToolType = QStringLiteral("modeling");
|
||||||
|
|
|
@ -31,6 +31,9 @@
|
||||||
#include "../../widgets/vapplication.h"
|
#include "../../widgets/vapplication.h"
|
||||||
#include "../../geometry/vpointf.h"
|
#include "../../geometry/vpointf.h"
|
||||||
#include "../../widgets/vgraphicssimpletextitem.h"
|
#include "../../widgets/vgraphicssimpletextitem.h"
|
||||||
|
#include <QPen>
|
||||||
|
#include <QBrush>
|
||||||
|
#include <QGraphicsSceneMouseEvent>
|
||||||
|
|
||||||
const QString VNodePoint::TagName = QStringLiteral("point");
|
const QString VNodePoint::TagName = QStringLiteral("point");
|
||||||
const QString VNodePoint::ToolType = QStringLiteral("modeling");
|
const QString VNodePoint::ToolType = QStringLiteral("modeling");
|
||||||
|
|
|
@ -30,6 +30,8 @@
|
||||||
|
|
||||||
#include "../../widgets/vapplication.h"
|
#include "../../widgets/vapplication.h"
|
||||||
#include "../../geometry/vspline.h"
|
#include "../../geometry/vspline.h"
|
||||||
|
#include <QGraphicsSceneMouseEvent>
|
||||||
|
#include <QPen>
|
||||||
|
|
||||||
const QString VNodeSpline::TagName = QStringLiteral("spline");
|
const QString VNodeSpline::TagName = QStringLiteral("spline");
|
||||||
const QString VNodeSpline::ToolType = QStringLiteral("modelingSpline");
|
const QString VNodeSpline::ToolType = QStringLiteral("modelingSpline");
|
||||||
|
|
|
@ -30,6 +30,8 @@
|
||||||
|
|
||||||
#include "../../widgets/vapplication.h"
|
#include "../../widgets/vapplication.h"
|
||||||
#include "../../geometry/vsplinepath.h"
|
#include "../../geometry/vsplinepath.h"
|
||||||
|
#include <QGraphicsSceneMouseEvent>
|
||||||
|
#include <QPen>
|
||||||
|
|
||||||
const QString VNodeSplinePath::TagName = QStringLiteral("spline");
|
const QString VNodeSplinePath::TagName = QStringLiteral("spline");
|
||||||
const QString VNodeSplinePath::ToolType = QStringLiteral("modelingPath");
|
const QString VNodeSplinePath::ToolType = QStringLiteral("modelingPath");
|
||||||
|
|
|
@ -715,7 +715,7 @@ QVector<VDetail> VToolUnionDetails::GetDetailFromFile(VPattern *doc, const QDomE
|
||||||
quint32 id = doc->GetParametrUInt(element, VToolDetail::AttrIdObject, "0");
|
quint32 id = doc->GetParametrUInt(element, VToolDetail::AttrIdObject, "0");
|
||||||
qreal mx = qApp->toPixel(doc->GetParametrDouble(element, VAbstractTool::AttrMx, "0.0"));
|
qreal mx = qApp->toPixel(doc->GetParametrDouble(element, VAbstractTool::AttrMx, "0.0"));
|
||||||
qreal my = qApp->toPixel(doc->GetParametrDouble(element, VAbstractTool::AttrMy, "0.0"));
|
qreal my = qApp->toPixel(doc->GetParametrDouble(element, VAbstractTool::AttrMy, "0.0"));
|
||||||
Tool tool;
|
Tool tool = Tool::NodePoint;
|
||||||
NodeDetail nodeType = NodeDetail::Contour;
|
NodeDetail nodeType = NodeDetail::Contour;
|
||||||
QString t = doc->GetParametrString(element, "type", "NodePoint");
|
QString t = doc->GetParametrString(element, "type", "NodePoint");
|
||||||
if (t == "NodePoint")
|
if (t == "NodePoint")
|
||||||
|
|
|
@ -40,9 +40,7 @@
|
||||||
#include <QSettings>
|
#include <QSettings>
|
||||||
#include <QUndoStack>
|
#include <QUndoStack>
|
||||||
|
|
||||||
#ifdef Q_OS_WIN32
|
#include <QtMath>
|
||||||
# include <QtMath> // for M_PI on Windows
|
|
||||||
#endif /*Q_OS_WIN32*/
|
|
||||||
|
|
||||||
const qreal VApplication::PrintDPI = 96.0;
|
const qreal VApplication::PrintDPI = 96.0;
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,8 @@
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
#include "vgraphicssimpletextitem.h"
|
#include "vgraphicssimpletextitem.h"
|
||||||
|
#include <QFont>
|
||||||
|
#include <QBrush>
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
#include "vmaingraphicsscene.h"
|
#include "vmaingraphicsscene.h"
|
||||||
|
#include <QGraphicsSceneMouseEvent>
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#include "vsimplesplinepath.h"
|
#include "vsimplesplinepath.h"
|
||||||
#include "../widgets/vapplication.h"
|
#include "../widgets/vapplication.h"
|
||||||
#include <QGraphicsSceneMouseEvent>
|
#include <QGraphicsSceneMouseEvent>
|
||||||
|
#include <QPen>
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -29,7 +29,10 @@
|
||||||
#include "vtablegraphicsview.h"
|
#include "vtablegraphicsview.h"
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
#include <QGraphicsItem>
|
||||||
|
#include <QGuiApplication>
|
||||||
#include <QWheelEvent>
|
#include <QWheelEvent>
|
||||||
|
#include <QScrollBar>
|
||||||
#include "../options.h"
|
#include "../options.h"
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
#include "vtranslation.h"
|
#include "vtranslation.h"
|
||||||
|
#include <QCoreApplication>
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
VTranslation VTranslation::translate(const QString &context, const QString &sourceText, const QString &disambiguation,
|
VTranslation VTranslation::translate(const QString &context, const QString &sourceText, const QString &disambiguation,
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
|
|
||||||
#include "vindividualmeasurements.h"
|
#include "vindividualmeasurements.h"
|
||||||
#include "../widgets/vapplication.h"
|
#include "../widgets/vapplication.h"
|
||||||
|
#include <QDate>
|
||||||
|
|
||||||
const QString VIndividualMeasurements::AttrValue = QStringLiteral("value");
|
const QString VIndividualMeasurements::AttrValue = QStringLiteral("value");
|
||||||
const QString VIndividualMeasurements::TagFamily_name = QStringLiteral("family-name");
|
const QString VIndividualMeasurements::TagFamily_name = QStringLiteral("family-name");
|
||||||
|
|
|
@ -895,6 +895,7 @@ void VPattern::ParseDetailElement(VMainGraphicsScene *sceneDetail, const QDomEle
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
qDebug()<<"Wrong node type."<<Q_FUNC_INFO;
|
qDebug()<<"Wrong node type."<<Q_FUNC_INFO;
|
||||||
|
continue;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
detail.append(VNodeDetail(id, tool, nodeType, mx, my));
|
detail.append(VNodeDetail(id, tool, nodeType, mx, my));
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
#endif /*Q_OS_WIN32*/
|
#endif /*Q_OS_WIN32*/
|
||||||
|
|
||||||
#include <QtGlobal>
|
#include <QtGlobal>
|
||||||
|
#include <QtMath>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
******************************************************************************************************/
|
******************************************************************************************************/
|
||||||
|
|
||||||
#include "qmuparserbase.h"
|
#include "qmuparserbase.h"
|
||||||
//#include <QTextStream>
|
#include <QtMath>
|
||||||
|
|
||||||
#ifdef Q_OS_WIN32
|
#ifdef Q_OS_WIN32
|
||||||
# include <QtMath> // for M_PI on Windows
|
# include <QtMath> // for M_PI on Windows
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include "qmuparsertoken.h"
|
#include "qmuparsertoken.h"
|
||||||
|
#include <QtMath>
|
||||||
|
|
||||||
|
|
||||||
namespace qmu
|
namespace qmu
|
||||||
|
|
Loading…
Reference in New Issue
Block a user