Implemented reporting support via LimeReport
This commit is contained in:
+1
-5
@@ -134,7 +134,7 @@ void IGridForm::on_btnFilter_toggled(bool checked)
|
||||
}
|
||||
}
|
||||
|
||||
void IGridForm::on_tableView_clicked(const QModelIndex &index)
|
||||
void IGridForm::on_tableView_clicked(const QModelIndex &)
|
||||
{
|
||||
if (ui->tableView->currentIndex().isValid())
|
||||
{
|
||||
@@ -145,10 +145,6 @@ void IGridForm::on_tableView_clicked(const QModelIndex &index)
|
||||
|
||||
void IGridForm::on_btnPrint_clicked()
|
||||
{
|
||||
/*ReportViewer *viewer = new ReportViewer(this);
|
||||
viewer->setAttribute(Qt::WA_DeleteOnClose);
|
||||
viewer->showMaximized();*/
|
||||
|
||||
ReportDialog *dialog = new ReportDialog(this);
|
||||
dialog->setAttribute(Qt::WA_DeleteOnClose);
|
||||
dialog->setReports(Context::instance().plugin(pluginId())->reports());
|
||||
|
||||
Reference in New Issue
Block a user