mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-25 00:54:39 +03:00
Finish 1.4.87
This commit is contained in:
commit
7863c62736
@ -62,7 +62,7 @@ RCC_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/rcc
|
||||
|
||||
LIMEREPORT_VERSION_MAJOR = 1
|
||||
LIMEREPORT_VERSION_MINOR = 4
|
||||
LIMEREPORT_VERSION_RELEASE = 86
|
||||
LIMEREPORT_VERSION_RELEASE = 87
|
||||
|
||||
LIMEREPORT_VERSION = '\\"$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}\\"'
|
||||
DEFINES += LIMEREPORT_VERSION_STR=\"$${LIMEREPORT_VERSION}\"
|
||||
|
@ -228,6 +228,7 @@ void PreviewReportWidget::setScalePercent(int percent)
|
||||
m_scaleType = OneToOne;
|
||||
} else {
|
||||
m_scaleType = Percents;
|
||||
m_scalePercent = percent;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -179,9 +179,9 @@ void XmlFontSerializator::save(const QVariant &value, QString name)
|
||||
_node.setAttribute("Type","QFont");
|
||||
_node.setAttribute("family",font.family());
|
||||
_node.setAttribute("pointSize",font.pointSize());
|
||||
#if QT_VERSION>0x040800
|
||||
_node.setAttribute("stylename",font.styleName());
|
||||
#endif
|
||||
//#if QT_VERSION>0x040800
|
||||
// _node.setAttribute("stylename",font.styleName());
|
||||
//#endif
|
||||
_node.setAttribute("weight",font.weight());
|
||||
//saveBool(_node,"bold",font.bold());
|
||||
saveBool(_node,"italic",font.italic());
|
||||
@ -194,9 +194,9 @@ QVariant XmlFontSerializator::loadValue()
|
||||
QFont font;
|
||||
font.setFamily(node()->attribute("family"));
|
||||
font.setPointSize(node()->attribute("pointSize").toInt());
|
||||
#if QT_VERSION>0x040800
|
||||
font.setStyleName(node()->attribute("stylename"));
|
||||
#endif
|
||||
//#if QT_VERSION>0x040800
|
||||
// font.setStyleName(node()->attribute("stylename"));
|
||||
//#endif
|
||||
font.setWeight(node()->attribute("weight").toInt());
|
||||
if (!node()->attribute("bold").isEmpty())
|
||||
font.setBold(node()->attribute("bold").toInt());
|
||||
|
Loading…
Reference in New Issue
Block a user