mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-24 12:34:39 +03:00
Font editor has been fixed
This commit is contained in:
parent
a2d74f8204
commit
afcdee3e24
@ -127,7 +127,7 @@ RCC_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/rcc
|
|||||||
|
|
||||||
LIMEREPORT_VERSION_MAJOR = 1
|
LIMEREPORT_VERSION_MAJOR = 1
|
||||||
LIMEREPORT_VERSION_MINOR = 5
|
LIMEREPORT_VERSION_MINOR = 5
|
||||||
LIMEREPORT_VERSION_RELEASE = 0
|
LIMEREPORT_VERSION_RELEASE = 1
|
||||||
|
|
||||||
LIMEREPORT_VERSION = '$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}'
|
LIMEREPORT_VERSION = '$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}'
|
||||||
DEFINES *= LIMEREPORT_VERSION_STR=\\\"$${LIMEREPORT_VERSION}\\\"
|
DEFINES *= LIMEREPORT_VERSION_STR=\\\"$${LIMEREPORT_VERSION}\\\"
|
||||||
|
@ -140,19 +140,24 @@ void FontEditorWidget::slotPropertyChanged(const QString &objectName, const QStr
|
|||||||
|
|
||||||
void FontEditorWidgetForPage::slotFontChanged(const QFont& font)
|
void FontEditorWidgetForPage::slotFontChanged(const QFont& font)
|
||||||
{
|
{
|
||||||
m_page->setFont(font);
|
if (!ignoreSlots())
|
||||||
|
m_page->setFont(font);
|
||||||
}
|
}
|
||||||
|
|
||||||
void FontEditorWidgetForPage::slotFontSizeChanged(const QString& value)
|
void FontEditorWidgetForPage::slotFontSizeChanged(const QString& value)
|
||||||
{
|
{
|
||||||
FontEditorWidget::slotFontSizeChanged(value);
|
if (!ignoreSlots()){
|
||||||
m_page->setFont(resFont());
|
FontEditorWidget::slotFontSizeChanged(value);
|
||||||
|
m_page->setFont(resFont());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void FontEditorWidgetForPage::slotFontAttribsChanged(bool value)
|
void FontEditorWidgetForPage::slotFontAttribsChanged(bool value)
|
||||||
{
|
{
|
||||||
FontEditorWidget::slotFontAttribsChanged(value);
|
if (!ignoreSlots()){
|
||||||
m_page->setFont(resFont());
|
FontEditorWidget::slotFontAttribsChanged(value);
|
||||||
|
m_page->setFont(resFont());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_REPORT_DESIGNER
|
#ifdef HAVE_REPORT_DESIGNER
|
||||||
|
Loading…
Reference in New Issue
Block a user