频率统计图属性 yxzpdialog修改文件编码
This commit is contained in:
parent
00ba45c4d9
commit
3685398d01
|
|
@ -2282,7 +2282,11 @@ void PropertyWidget::SlotPropertyChanged( QtProperty *pProperty, const QVariant
|
||||||
m_item->setFont(newFont);
|
m_item->setFont(newFont);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if(m_strCurrentProperty == PL_OBJECT_PROPERTY) // 频率统计图
|
||||||
|
{
|
||||||
|
CommonPropertyChanged(pProperty, variant);
|
||||||
|
changedPlObjectProperty(m_propertyData[pProperty], variant);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -4106,9 +4110,14 @@ void PropertyWidget::initPlObjectProperty(FormInfo *formInfo)
|
||||||
_CreateVariantPropertyItem("分类", "自定义2", formInfo->m_strAliasName, QVariant::String);
|
_CreateVariantPropertyItem("分类", "自定义2", formInfo->m_strAliasName, QVariant::String);
|
||||||
}
|
}
|
||||||
|
|
||||||
void PropertyWidget::changedPlObjectProperty(QString strProName, QVariant val)
|
void PropertyWidget::changedPlObjectProperty(QString strProperty, QVariant varVal)
|
||||||
{
|
{
|
||||||
|
if ("名称" == strProperty)
|
||||||
|
{
|
||||||
|
QFont newFont = varVal.value<QFont>();
|
||||||
|
m_formInfo->m_curveNameFont = newFont;
|
||||||
|
this->m_formInfo->repaint();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void PropertyWidget::changedDepthProperty(QString strProperty, QVariant varVal)
|
void PropertyWidget::changedDepthProperty(QString strProperty, QVariant varVal)
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@
|
||||||
#define CORE_PHYSICS_ITEM_PROPERTY "CORE_PHYSICS_ITEM_PROPERTY" // 岩心分析item
|
#define CORE_PHYSICS_ITEM_PROPERTY "CORE_PHYSICS_ITEM_PROPERTY" // 岩心分析item
|
||||||
|
|
||||||
#define Depth_Property "Depth_Property" // 深度
|
#define Depth_Property "Depth_Property" // 深度
|
||||||
#define PL_OBJECT_PROPERTY "PL_OBJECT_PROPERTY" // 深度
|
#define PL_OBJECT_PROPERTY "PL_OBJECT_PROPERTY" // 频率统计图
|
||||||
|
|
||||||
#define SwallCore_Property "SwallCore_Property" //井壁取心
|
#define SwallCore_Property "SwallCore_Property" //井壁取心
|
||||||
#define SwallCoreItem_Property "SwallCoreItem_Property" //井壁取心item
|
#define SwallCoreItem_Property "SwallCoreItem_Property" //井壁取心item
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#include "YxzpDialog.h"
|
#include "YxzpDialog.h"
|
||||||
|
|
||||||
YxzpDialog::YxzpDialog(QWidget *parent)
|
YxzpDialog::YxzpDialog(QWidget *parent)
|
||||||
: QDialog(parent)
|
: QDialog(parent)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef YXZPDIALOG_H
|
#ifndef YXZPDIALOG_H
|
||||||
#define YXZPDIALOG_H
|
#define YXZPDIALOG_H
|
||||||
// 岩心照片 自定义 dialog
|
// 岩心照片 自定义 dialog
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
|
|
@ -8,10 +8,10 @@
|
||||||
#include <QHBoxLayout>
|
#include <QHBoxLayout>
|
||||||
#include <QVBoxLayout>
|
#include <QVBoxLayout>
|
||||||
#include <QFileDialog>
|
#include <QFileDialog>
|
||||||
|
|
||||||
|
|
||||||
#include <QPixmap>
|
#include <QPixmap>
|
||||||
|
|
||||||
|
#pragma execution_character_set("utf-8")
|
||||||
|
|
||||||
class YxzpDialog : public QDialog
|
class YxzpDialog : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user