mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-23 20:22:58 +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);
|
||||
}
|
||||
|
||||
}// namespace LimeReport
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}// namespace LimeReport
|
@ -57,7 +57,9 @@ void CheckBoxEditor::init()
|
||||
QVBoxLayout *layout=new QVBoxLayout(this);
|
||||
layout->addStretch();
|
||||
layout->addWidget(m_checkBox);
|
||||
#ifdef HAVE_QT5
|
||||
m_checkBox->setFocusPolicy(Qt::NoFocus);
|
||||
#endif
|
||||
connect(m_checkBox, SIGNAL(stateChanged(int)), this, SLOT(slotStateChanged(int)));
|
||||
layout->addStretch();
|
||||
layout->setContentsMargins(2,1,1,1);
|
||||
|
Loading…
Reference in New Issue
Block a user