mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2025-03-21 01:33:51 +03:00
CheckBox editor has been fixed ( Qt4 )
This commit is contained in:
parent
80f2a135cd
commit
fc9e7c792b
@ -312,14 +312,4 @@ void PreviewReportWindow::on_actionShowMessages_toggled(bool value)
|
|||||||
m_previewReportWidget->setErrorsMesagesVisible(value);
|
m_previewReportWidget->setErrorsMesagesVisible(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
}// namespace LimeReport
|
}// namespace LimeReport
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -57,7 +57,9 @@ void CheckBoxEditor::init()
|
|||||||
QVBoxLayout *layout=new QVBoxLayout(this);
|
QVBoxLayout *layout=new QVBoxLayout(this);
|
||||||
layout->addStretch();
|
layout->addStretch();
|
||||||
layout->addWidget(m_checkBox);
|
layout->addWidget(m_checkBox);
|
||||||
|
#ifdef HAVE_QT5
|
||||||
m_checkBox->setFocusPolicy(Qt::NoFocus);
|
m_checkBox->setFocusPolicy(Qt::NoFocus);
|
||||||
|
#endif
|
||||||
connect(m_checkBox, SIGNAL(stateChanged(int)), this, SLOT(slotStateChanged(int)));
|
connect(m_checkBox, SIGNAL(stateChanged(int)), this, SLOT(slotStateChanged(int)));
|
||||||
layout->addStretch();
|
layout->addStretch();
|
||||||
layout->setContentsMargins(2,1,1,1);
|
layout->setContentsMargins(2,1,1,1);
|
||||||
|
Loading…
Reference in New Issue
Block a user