优化曲线颜色默认值,岩性填充默认图片文件路径
This commit is contained in:
parent
13eb6cacd3
commit
8437f5d7c4
|
|
@ -5,6 +5,7 @@
|
|||
#include <QSvgRenderer>
|
||||
#include <QLabel>
|
||||
#include "CallManage.h"
|
||||
#include "geometryutils.h"
|
||||
|
||||
extern int g_iScale;
|
||||
extern double g_dPixelPerCm;//每厘米像素数
|
||||
|
|
@ -855,8 +856,13 @@ void PropertyWidget::initCurveProperty(FormInfo *formInfo, QStringList strListOt
|
|||
_CreateEnumPropertyItem("岩性填充", "填充类型", listFillType.indexOf(formInfo->m_newFillType), listFillType);
|
||||
_CreateEnumPropertyItem("岩性填充", "填充模式", listFillMode.indexOf(formInfo->m_newFillMode), listFillMode);
|
||||
_CreateVariantPropertyItem("岩性填充", "填充颜色", formInfo->m_newColor, QVariant::Color);
|
||||
if(formInfo->m_newLithosImage=="")
|
||||
{
|
||||
_CreateVariantPropertyItem("岩性填充", "填充岩性", ::GetLithSymbolDir(), VariantManager::filePathTypeId());
|
||||
}
|
||||
else {
|
||||
_CreateVariantPropertyItem("岩性填充", "填充岩性", formInfo->m_newLithosImage, VariantManager::filePathTypeId()); //"./image/胜利符号库/岩性符号/砂岩.png"
|
||||
|
||||
}
|
||||
_CreateVariantPropertyItem("岩性填充", "岩性前景色", formInfo->m_frontColor, QVariant::Color);
|
||||
_CreateVariantPropertyItem("岩性填充", "岩性背景色", formInfo->m_backColor, QVariant::Color);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1112,7 +1112,7 @@ void QMyCustomPlot::s_ChangeFillMode(QString strUuid, QString strSlfName, QStrin
|
|||
|
||||
|
||||
void QMyCustomPlot::addRandomGraph(QVector<double> x, QVector<double> y, QString strSlfName, QString strLineName, QString strAliasName, QString strUnit,
|
||||
double newLeftScale, double newRightScale, QString strScaleType, QColor newlineColor, double width, Qt::PenStyle lineStyle)
|
||||
double newLeftScale, double newRightScale, QString strScaleType, QColor &newlineColor, double width, Qt::PenStyle lineStyle)
|
||||
{
|
||||
//AppendConsole(PAI_INFO, "FormDraw addRandomGraph");
|
||||
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ public:
|
|||
void init(QString strName, QVector<double> x, QVector<double> y);
|
||||
void addImageToPlot(double left_Low, double right_Hight, const QString imagePath);
|
||||
void addRandomGraph(QVector<double> x, QVector<double> y, QString strSlfName, QString strLineName, QString strAliasName, QString strUnit,
|
||||
double newLeftScale, double newRightScale, QString strScaleType, QColor newlineColor, double width, Qt::PenStyle lineStyle);
|
||||
double newLeftScale, double newRightScale, QString strScaleType, QColor &newlineColor, double width, Qt::PenStyle lineStyle);
|
||||
|
||||
void addTextToPlot(double left_Low, double right_Hight, const QString strText);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user