mirror of
				https://github.com/python-LimeReport/LimeReport.git
				synced 2025-11-03 23:21:23 +03:00 
			
		
		
		
	CheckBox editor has been fixed ( Qt4 )
This commit is contained in:
		@@ -313,13 +313,3 @@ void PreviewReportWindow::on_actionShowMessages_toggled(bool 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);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user