0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-24 16:44:39 +03:00

Show error action in preview window has been fixed

This commit is contained in:
Arin Alexander 2016-04-21 12:25:16 +03:00
parent 8bbdefed20
commit 84953b6847
2 changed files with 12 additions and 1 deletions

View File

@ -307,6 +307,11 @@ void PreviewReportWindow::slotScalePercentChanged(int percent)
m_scalePercent->setEditText(QString("%1%").arg(percent)); m_scalePercent->setEditText(QString("%1%").arg(percent));
} }
void PreviewReportWindow::on_actionShowMessages_toggled(bool value)
{
m_previewReportWidget->setErrorsMesagesVisible(value);
}
}// namespace LimeReport }// namespace LimeReport
@ -314,3 +319,7 @@ void PreviewReportWindow::slotScalePercentChanged(int percent)

View File

@ -84,7 +84,9 @@ private slots:
void on_actionFit_page_triggered(); void on_actionFit_page_triggered();
void on_actionOne_to_one_triggered(); void on_actionOne_to_one_triggered();
void scaleComboboxChanged(QString text); void scaleComboboxChanged(QString text);
void slotScalePercentChanged(int percent); void slotScalePercentChanged(int percent);
void on_actionShowMessages_toggled(bool value);
private: private:
ItemsReaderIntf* reader(); ItemsReaderIntf* reader();
void initPercentCombobox(); void initPercentCombobox();